Documentation

An OpenAI-compatible API. If you already have code using the official OpenAI SDK, just change the base_url and the key.

Quickstart

  1. 1. Sign up
  2. 2. Top up your balance and create an API key in the dashboard.
  3. 3. Paste your key into the snippet below and run the request.
curl https://apimira.com/v1/chat/completions \
  -H "Authorization: Bearer ya-ВАШ_КЛЮЧ" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "openai/gpt-5.4-mini",
    "messages": [
      {
        "role": "user",
        "content": "Hello!"
      }
    ]
  }'

The base_url is the address above with a /v1 suffix. The model is set via the model parameter.

Copy the Model ID from the catalog in full, including the part before «/»: for example openai/gpt-5.4-mini or anthropic/claude-sonnet-4.6.