Loading
Loading
The catalog lists the models your key can call, with prices. A model’s identifier is the id field in the author/model form, as on OpenRouter: for example, anthropic/claude-sonnet-4.6.
GET https://llmproxy.org/v1/models returns the list in the OpenAI format (object: list, data[]). The standard fields are extended with the model type, context sizes and prices. Filter with ?kind=chat, ?kind=embedding or ?kind=image.
curl https://llmproxy.org/v1/models?kind=chat -H "Authorization: Bearer $LLMPROXY_API_KEY"If the key has a model list, other models are hidden from the response. The same data in a friendlier view is on the Models page.
| Field | Meaning |
|---|---|
| id | Identifier for the model field in requests: author/model |
| owned_by | Model developer |
| kind | Type: chat, embedding or image |
| display_name | Name for user interfaces |
| context_window | Context size, tokens |
| max_output_tokens | Maximum output tokens; for image models, the maximum images per request |
| pricing_rub_per_million | Price per million tokens: input, cached_input, output (chat and embeddings) |
| pricing_rub_per_image | Price per image (image models) |
| long_context_pricing_rub_per_million | Only for models whose long requests cost more: a list of tiers with min_input_tokens, input, cached_input, output. A request whose input reaches the threshold is billed entirely at that tier |
| created | When the model was added to the catalog, Unix seconds |
GET https://llmproxy.org/v1/models/{id} returns the same record. Keep the slash in the id as is: https://llmproxy.org/v1/models/anthropic/claude-sonnet-4.6. An unknown id returns 404 model_not_found.
curl https://llmproxy.org/v1/models/mistralai/mistral-nemo -H "Authorization: Bearer $LLMPROXY_API_KEY"id exactly as in GET /models and on the page: author/model, for example openai/gpt-6-sol or deepseek/deepseek-v4.1-flash. Ids may contain letters, digits and . _ : -, up to 128 characters.claude-sonnet-4.6). When a provider ships a new version, a new id appears in the catalog; the old one is never repointed.model_not_found. A model outside the key’s list returns 403 model_not_allowed.model is the same catalog id. If the request went to a fallback model, its id is in the x-maxai-model header: .The short ids the catalog started with (claude-sonnet, gpt-6-sol, deepseek-chat) are accepted as aliases and keep working: they’re resolved to the canonical id before the key’s model list is checked and before billing. Key model lists and fallbacks understand both forms.
GET /models doesn’t list aliases, and the response model and the x-maxai-model header carry the canonical id. Use it in new code: the /models/claude-sonnet page leads to /models/anthropic/claude-sonnet-4.6.
| Type | Method | Section |
|---|---|---|
| chat | POST /v1/chat/completions | |
| embedding | POST /v1/embeddings | |
| image | POST /v1/images/generations |
Calling a model with the wrong method returns 400 invalid_request with a hint about the right one. Automatic fallbacks also stay within a single type.