Source: https://ailoot.ai/docs/api/models/
Canonical: https://ailoot.ai/docs/en/api/models/
Language: en

[API](https://ailoot.ai/docs/en/) 

# Model list

[Markdown](https://ailoot.ai/docs/en/api/models/index.md)

A catalog of models available to your key, with supported formats and prices.

GET`https://api.ailoot.ai/v1/models`

Model list

```bash
curl -s https://api.ailoot.ai/v1/models \
  -H "Authorization: Bearer $AILOOT_API_KEY" | jq '.data[] | {id, formats: [.methods[].path]}'
```

```python
for m in client.models.list():
    print(m.id)
```

200 OK · abbreviated

```json
{
  "object": "list",
  "data": [
    {
      "id": "claude-sonnet-5-5",
      "type": "model",
      "display_name": "claude-sonnet-5-5",
      "methods": [
        {
          "endpoint": "messages",
          "http_method": "POST",
          "path": "/v1/messages",
          "price_unit": "token",
          "pricing": {
            "currency": "USD",
            "input_usd_per_token": 0.000002,
            "output_usd_per_token": 0.00001,
            "max_input_tokens": 1000000,
            "max_output_tokens": 128000
          }
        }
      ]
    }
  ]
}
```

## Authentication

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `Authorization` | header | required | The key in the format `Bearer sk-…`. The following headers also work: `x-api-key` or `x-goog-api-key`. |

Viewing the catalog does not incur a charge and is available with a zero balance as long as your key is valid; key restrictions still apply. Generation cannot start with a zero balance: you need enough funds for the reserve. For each model, the array `methods` describes the supported paths and prices.

## Model fields

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string |  | Identifier for the field `model` in requests. |
| `methods[].path` | string |  | Format path: `/v1/chat/completions`, `/v1/responses`, `/v1/messages` and so on. |
| `methods[].pricing` | object |  | Price in dollars per token (`input_usd_per_token`, `output_usd_per_token`, cache) or per unit (`unit_prices`), plus context and response limits. |
| `alias_of` | string |  | For an alias, the model it currently points to. |

## Other formats

The Anthropic SDK and Claude Code read the same `GET /v1/models`. Gemini clients can use `GET /v1beta/models`. Codex CLI automatically receives the list in its own format.

For an easier way to browse the catalog, visit [Models](https://ailoot.ai/models/en/): search, filters by format and type, and prices per 1 million tokens.

Still have questions? Send your Request ID and a description — we'll help you troubleshoot.[Contact support](mailto:support@ailoot.ai)

## Ailoot · The company and its project portfolio





Ailoot combines established operating experience, a large client base, stable service and ongoing KPI control.





The company and its project portfolio: millions of customers; monthly sales in the billions.





Ailoot brings that operating experience to API access for AI features in customer products, agents, applications and automations.
