Estimate one call
The input-token count automatically selects the matching Input Context tier.
Modellix LLM
Access leading language models with one API key, compatible with OpenAI and Anthropic clients.
OpenAI-compatible base URL: https://llm.modellix.ai/v1.
Quickstart
Set the base URL, provide a Modellix API key, and set model to provider/name.
Gateway 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"}]
}'| Compare | 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
Compare model capabilities and per-token prices. Every pricing tier is listed.
The input-token count automatically selects the matching Input Context tier.
| Model | Context window | Pricing tier | Input | Output | Cached Read | Cached Write |
|---|---|---|---|---|---|---|
| 1M | Flat rate | $0.16 | $0.47 | $0.016 | $0.20 | |
| 1.048576M | Flat rate | $0.07 | $0.281 | $0.003 | $0 | |
| 1.048576M | Flat rate | $0.834 | $2.501 | $0.042 | $0 | |
| 1.048576M | Flat rate | $3.00 | $15.00 | $0.15 | $0 | |
| 1.05M | ≤ 272K | $2.00 | $10.00 | $0.10 | $2.50 | |
| > 272K | $4.00 | $15.00 | $0.20 | $5.00 | ||
| 1.05M | ≤ 272K | $8.00 | $40.00 | $0.40 | $10.00 | |
| > 272K | $16.00 | $60.00 | $0.80 | $20.00 |
| Pricing tier | Input | Output |
|---|---|---|
| Flat rate | $0.16 | $0.47 |
| Pricing tier | Cached Read | Cached Write |
|---|---|---|
| Flat rate | $0.016 | $0.20 |
| Pricing tier | Input | Output |
|---|---|---|
| Flat rate | $0.07 | $0.281 |
| Pricing tier | Cached Read | Cached Write |
|---|---|---|
| Flat rate | $0.003 | $0 |
| Pricing tier | Input | Output |
|---|---|---|
| Flat rate | $0.834 | $2.501 |
| Pricing tier | Cached Read | Cached Write |
|---|---|---|
| Flat rate | $0.042 | $0 |
| Pricing tier | Input | Output |
|---|---|---|
| Flat rate | $3.00 | $15.00 |
| Pricing tier | Cached Read | Cached Write |
|---|---|---|
| Flat rate | $0.15 | $0 |
| Pricing tier | Input | Output |
|---|---|---|
| ≤ 272K | $2.00 | $10.00 |
| > 272K | $4.00 | $15.00 |
| Pricing tier | Cached Read | Cached Write |
|---|---|---|
| ≤ 272K | $0.10 | $2.50 |
| > 272K | $0.20 | $5.00 |
| Pricing tier | Input | Output |
|---|---|---|
| ≤ 272K | $8.00 | $40.00 |
| > 272K | $16.00 | $60.00 |
| Pricing tier | Cached Read | Cached Write |
|---|---|---|
| ≤ 272K | $0.40 | $10.00 |
| > 272K | $0.80 | $20.00 |
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 |
|---|---|
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.
Organizations / Enterprises
Bring your organization’s LLM usage together. As usage grows, discuss better rates and billing arrangements. Tell us what you need, and a dedicated specialist will follow up.
Apply for bulk discounts and negotiate rates based on your combined usage.
One Modellix API key for leading language models, with consolidated billing.
Get help evaluating usage, integration options, and future scaling.
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.
Yes. The pricing table shows standard rates. Organizations with bulk purchases or high usage can discuss better rates and billing arrangements. Use “Contact us” to share your requirements, and a dedicated specialist will follow up, without separate negotiations with each model provider.
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.