Start the ID with ~
Set request field model to ~provider/series-latest. The leading ~ is required.
Modellix LLM
Use one Modellix API key for Chat Completions, Responses, and Messages. Requests are synchronous with optional SSE. Image and video generation continue to use the media API.
https://llm.modellix.aiThis is the text gateway host. OpenAI-compatible clients should use https://llm.modellix.ai/v1.
Quickstart
Set the base URL, provide a Modellix API key, and set model to provider/name.
Create it under Console → API Key, then send it as Bearer or x-api-key.
Console → API KeyAuthorization: Bearer mdlx-xxxxxxxxOpenAI-compatible clients include /v1; Anthropic and Claude Code do not.
https://llm.modellix.ai/v1Always use provider/name. Refer to the product documentation for available models.
openai/gpt-5.6-solGateway capabilities
One key covers Chat Completions, Responses, and Anthropic Messages.
Chat Completions, Responses, and Messages each have their own URL and request body. Choose the protocol for your client and do not mix their fields.
OpenAI and Anthropic SDKs plus Codex, Claude Code, Cursor, OpenCode, and more connect by overriding the base URL. No Modellix-specific SDK is required.
Bearer and x-api-key are both supported. Use a key from Modellix Console, not a provider-issued key.
Text calls return synchronously. Setting stream: true enables the protocol-specific SSE stream. Media generation remains asynchronous.
Set model to provider/name, such as openai/gpt-5.6-sol or anthropic/claude-sonnet-5.
Successful responses are billed from usage. Models with Input Context tiers show every tier in the price table.
Protocol selection
Changing only the URL is not enough. Chat Completions uses messages, Responses uses input, and Messages requires max_tokens.
curl -sS "https://llm.modellix.ai/v1/chat/completions" \
-H "Authorization: Bearer ${API_KEY}" \
-H "Content-Type: application/json" \
-d '{
"model": "openai/gpt-5.6-sol",
"stream": false,
"max_tokens": 256,
"messages": [{"role": "user", "content": "Introduce yourself in one sentence"}]
}'| Chat Completions | Responses | Messages | |
|---|---|---|---|
| Path | /v1/chat/completions | /v1/responses | /v1/messages |
| Primary input | messages | input | messages + optional system |
| Length field | max_tokens / max_completion_tokens | max_output_tokens | max_tokens (required) |
| Base URL | https://llm.modellix.ai/v1 | https://llm.modellix.ai/v1 | https://llm.modellix.ai |
Model catalog
Prices are in USD per 1M tokens. The Context column shows the model’s supported window. Some models use Input Context pricing tiers; the number of tiers varies by model and is independent of the context-window size.
The input-token count automatically selects the matching Input Context tier.
openai/gpt-5.6-solOriginal price: approximately $0.36 , approximately 10% less
| Model | Modalities | Context | Input Context | Input | Output | Cached Read | Cached Write | Discount |
|---|---|---|---|---|---|---|---|---|
Claude Fable 5.1 anthropic/claude-fable-5.1 | TextImage Text | 1M | — | 10% OFF | ||||
Claude Haiku 4.5 anthropic/claude-haiku-4.5 | TextImage Text | 200K | — | 10% OFF | ||||
Claude Opus 5 anthropic/claude-opus-5 | TextImage Text | 1M | — | 10% OFF | ||||
Claude Sonnet 5 anthropic/claude-sonnet-5 | TextImage Text | 1M | — | 10% OFF | ||||
Deepseek V4 Flash deepseek/deepseek-v4-flash | Text Text | 1.05M | — | $0 | 10% OFF | |||
Deepseek V4 Flash Vision deepseek/deepseek-v4-flash-vision | TextImage Text | 1.05M | — | $0.44 | $1.32 | $0.014 | $0 | — |
Context is the supported model window. Input and output modalities include text, image, audio, and video. Successful responses are billed from token usage.
Stable model aliases
Call the newest LLM in a model family through one stable alias without updating your client for every version.
Set request field model to ~provider/series-latest. The leading ~ is required.
The gateway routes to the newest concrete model in the family. When a new version ships, the alias changes target and your client stays unchanged.
Pricing and capabilities follow the current target. For evaluations or regression tests, use a fixed model ID such as openai/gpt-5.6-sol.
| Latest Model ID | Currently routes to |
|---|---|
~openai/gpt-latest | openai/gpt-6-astra |
~anthropic/claude-fable-latest | anthropic/claude-fable-5.1 |
~anthropic/claude-haiku-latest | anthropic/claude-haiku-4.5 |
~anthropic/claude-opus-latest | anthropic/claude-opus-5 |
~anthropic/claude-sonnet-latest | anthropic/claude-sonnet-5 |
~anthropic/sonnet-latest | anthropic/claude-sonnet-5 |
~google/gemini-flash-latest | google/gemini-3.8-flash |
~google/gemini-pro-latest | google/gemini-3.1-pro |
~xai/grok-latest | xai/grok-4.6 |
~moonshot/kimi-latest | moonshot/kimi-k3 |
~qwen/qwen-latest | qwen/qwen3.8-max |
~zai/glm-latest | zai/glm-5.3 |
Targets change as each family evolves. The mappings on this page are current.
Client integrations
Point your existing OpenAI or Anthropic configuration at Modellix without changing the application protocol.
See the LLM API guide for the complete list.
Help
Direct answers about developer integration and billing.
Modellix LLM is a text-model gateway hosted at https://llm.modellix.ai. With one Modellix API key, you can call OpenAI-compatible Chat Completions and Responses or Anthropic-compatible Messages. Requests are synchronous with optional SSE streaming.
LLM text requests use https://llm.modellix.ai and return synchronously. Image, video, and speech generation use the asynchronous media API at https://api.modellix.ai. Do not mix the hosts or request fields.
Create a key on the API Key page and send it as Authorization: Bearer or x-api-key. Do not use a model-provider platform key. The headers are equivalent; if both are present, they must contain the same key.
Pass provider/name in the request body, such as openai/gpt-5.6-sol, anthropic/claude-sonnet-5, or google/gemini-3.6-flash. Refer to product documentation for current models and prices.
Some models are priced by the request’s input-token count (Input Context). Tier count varies and is separate from the model context window. Context in the table is the supported window; Input Context is the pricing tier. Claude, most Gemini Flash, Qwen, and DeepSeek models are flat-rate. The calculator selects the tier automatically.
OpenAI SDK, Codex, and Cursor use Chat Completions or Responses with https://llm.modellix.ai/v1. Anthropic SDK and Claude Code use Messages with https://llm.modellix.ai without /v1. The protocols have different URLs and request bodies; do not mix their fields.
Successful responses are billed from token usage in USD per 1M tokens. Availability and prices may change; refer to product documentation. Insufficient balance returns 402.
Modellix LLM
Modellix does not require a separate SDK. Create an API key and point your existing client base URL at Modellix to call LLMs from Cursor, Claude Code, or your backend.