---
title: "GET /ai/models — Current AI model prices"
url: https://lumean.app/de/developers/docs/api/get-ai-models
locale: de
description: "Current AI model prices"
generated: 2026-12-02
operationId: aiModel.index
method: GET
path: /ai/models
scopes: []
spec_version: 1.0.0
---

# GET /ai/models

**Current AI model prices**

AI API models (`https://api.lumean.app/v1`) and their **current** prices in LUMC.

**Prices change** — providers raise and cut them, and a model can disappear for a
while. Check the price before an expensive generation and compare it with your own
threshold; it cannot be locked in advance.

- `price.<class>.per_mtok_minor` — per 1M tokens (`input`, `cached_input`, `output`,
  `reasoning`, `cache_write`); `price.request.per_call_minor` — per call (images). The
  real value is `minor / 10^asset.precision`, the ready one is `*_formatted`.
- `*_display` — the same rate in the `display_currency` currency (the
  `X-Display-Currency` header, otherwise the account currency), for reference; `null`
  — no exchange rate. The charge is always in LUMC.
- `price: null` or `billing_available: false` — the model cannot be called for money
  right now.
- `version` and the `ETag` header change with any price change. A repeated request with
  `If-None-Match: <ETag>` answers **304** with no body while the prices stay the same.

The charge uses the price at request time; the key's monthly limit
(`ai_monthly_limit_minor`) protects against an unexpected rise in spending.

**Required key permission:** none — any active key works.

- Benötigtes Recht: keins — jeder aktive Schlüssel genügt

## Anfrage

```bash
curl -X GET 'https://api.lumean.app/api/public/ai/models' \
  -H 'Accept: application/json' \
  -H 'X-API-KEY: YOUR_API_KEY'
```

## Parameter

| Feld | In | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- | --- |
| `X-Locale` | header | `string` | — | Language of the localised texts in the response (`message`, labels, failure reasons), an ISO-639-1 code. Optional; without it — the key owner’s account language, then `Accept-Language`, then the default language. An unknown or unsupported code is skipped as if it were absent. |
| `X-Timezone` | header | `string` | — | IANA time zone (`Europe/Moscow`) in which the response shows moments in time — ISO-8601 with an offset. Optional; without it dates come in UTC. An invalid zone is ignored. The server returns the applied zone in the response header of the same name. |

## Request-Body

Kein Body.

## Antworten

### 200 — Models with their current prices.

**Antwortfelder**

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `success` | `boolean` | Pflicht | Success flag. Branch on the HTTP status code instead: any 2xx response carries `true` here, while an error comes back in a different shape that need not contain this field at all. |
| `message` | `string` | Pflicht | A human-readable note in the account language. Fine to show to a user; do not parse it — the wording changes without notice and is not an error code. |
| `data` | `object` | Pflicht | The response payload. |
| `data.version` | `string` | Pflicht | Price list version. It changes with any price change, together with the `ETag` header. |
| `data.models` | `array<AiGatewayCatalogModel>` | Pflicht | AI API models with their current prices. |
| `data.models[].key` | `string` | Pflicht | The model name for the `model` field of an AI API request, exactly as written: the gateway looks the model up by exact match. |
| `data.models[].name` | `string` | Pflicht | Human-readable model name. |
| `data.models[].family` | `string` | Pflicht | Model family (for example `claude`, `gpt`) — for grouping in a list. |
| `data.models[].kind` | `string` | Pflicht | `chat` or `image`. An `image` model is called through `/v1/images` (or through chat — the answer arrives as a markdown image); its price is `price.request`. |
| `data.models[].description` | `string` — nullable | Pflicht | A short description of the model; `null` when there is none. |
| `data.models[].context_window` | `string` | Pflicht | The model context window, in tokens. |
| `data.models[].max_output_tokens` | `string` | Pflicht | How many tokens the model can produce in one answer. |
| `data.models[].capabilities` | `string` | Pflicht | Model capabilities (image input, tools, reasoning and so on). Image models carry `image_options` — allowed values of the `size` / `aspect_ratio` fields of `/v1/images/*`, the first one is the default; no key means no choice. |
| `data.models[].pricing_mode` | `string` | Pflicht | How the rate is set: `markup` follows the provider price and may change, `fixed` is set by Lumean and does not depend on the provider. |
| `data.models[].price` | `object` — nullable | Pflicht | Current rates per token class. `null` — the model is not sold for money right now. A zero for a single class means that class is not billed (for example `request` on chat models). |
| `data.models[].price.*` | `object` — beliebige Schlüssel | — |  |
| `data.models[].billing_available` | `boolean` | Pflicht | Whether the model can be called with a paid key. `false` on a live model — it is listed for calls with your own provider key (BYOK), and a paid call is refused. |
| `data.models[].byok` | `string` | Pflicht | Whether the model can be called with your own provider key (BYOK): `available` and the refusal `reason` — `not_entitled` (the plan does not include BYOK), `no_credential` (no key of yours for a matching provider) or `null`. |
| `data.asset` | `Asset` | Pflicht | The asset the rates are in (LUMC), with `precision`: the real rate is `minor / 10^precision`. |
| `data.asset.id` | `integer` | Pflicht | Internal identifier of the asset. |
| `data.asset.code` | `string` | Pflicht | Asset code: `LUMC` is the internal currency, `TOKEN` the generation tokens. |
| `data.asset.kind` | `AssetKind` — `money` · `unit` | Pflicht | Kind of asset: money or consumable units. It decides whether an amount counts as a payment or as quota consumption. |
| `data.asset.precision` | `integer` | Pflicht | Number of decimal places. **The load-bearing field:** every integer amount in this asset is divided by `10^precision` to obtain the real value. Do not assume the divisor is 100. |
| `data.asset.name` | `string` | Pflicht | Display name of the asset, in the account language. |
| `data.asset.deleted_at` | `string` — date-time — nullable | Pflicht | When the asset was retired, ISO 8601. `null` while it is in use. |
| `data.asset.created_at` | `string` — date-time — nullable | Pflicht | When the asset was created, ISO 8601. |
| `data.asset.updated_at` | `string` — date-time — nullable | Pflicht | When the asset last changed, ISO 8601. |
| `data.display_currency` | `object` | Pflicht | The currency the `*_display` values are in: from the `X-Display-Currency` header, otherwise the account currency. For reference only — the charge is always in LUMC. |
| `data.display_currency.code` | `string` | Pflicht | Display currency code (for example `RUB`, `USD`). |
| `data.display_currency.symbol` | `string` — nullable | Pflicht | Currency symbol for display; `null` when there is none. |
| `data.display_currency.precision` | `integer` | Pflicht | How many decimal places to show for `*_display`. |
| `data.display_currency.available` | `boolean` | Pflicht | `false` — there is no exchange rate to this currency right now, and every `*_display` is `null`. |

**Beispiel**

```json
{
  "success": true,
  "message": "string",
  "data": {
    "version": "string",
    "models": [
      {
        "key": "string",
        "name": "string",
        "family": "string",
        "kind": "string",
        "description": "string",
        "context_window": "string",
        "max_output_tokens": "string",
        "capabilities": "string",
        "pricing_mode": "string",
        "price": {
          "key": {
            "per_mtok_minor": 1,
            "per_mtok_formatted": 1
          }
        },
        "billing_available": true,
        "byok": "string"
      }
    ],
    "asset": {
      "id": 1,
      "code": "string",
      "kind": "money",
      "precision": 1,
      "name": null,
      "is_active": true,
      "is_default": true,
      "default_balance": 1,
      "deleted_at": "2026-07-17T12:34:56+00:00",
      "created_at": "2026-07-17T12:34:56+00:00",
      "updated_at": "2026-07-17T12:34:56+00:00"
    },
    "display_currency": {
      "code": "string",
      "symbol": "string",
      "precision": 1,
      "available": true
    }
  }
}
```

### 304 — Prices have not changed since the ETag you sent.

**Beispiel**

```json
"string"
```

### 401 — The key is missing, unknown, disabled or expired.

**Antwortfelder**

| Feld | Typ | Pflicht | Beschreibung |
| --- | --- | --- | --- |
| `success` | `boolean` | Pflicht | Always `false` in error responses. |
| `message` | `string` | Pflicht | Error text in the key's language (set through the `X-Locale` header). |
| `data` | `null` — nullable | Pflicht | Always `null` when the request is rejected before processing. |

**Beispiel**

```json
{
  "success": false,
  "message": "API key is missing. Provide it in the X-API-KEY header.",
  "data": null
}
```

---

- Diese Seite im Browser: https://lumean.app/de/developers/docs/api/get-ai-models
- Vollständige maschinenlesbare Referenz: https://api.lumean.app/docs/llm.md
