# One gateway to leading language models

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.

[Get an API key](<https://www.modellix.ai/console/api-key>)[View pricing](<https://www.modellix.ai/llm#pricing>)[Enterprise services](<https://www.modellix.ai/llm#volume>)

Quickstart

## Connect your client in three steps

Set the base URL, provide a Modellix API key, and set model to provider/name.

1. 01 · Key

   ### Create an API key

   Create it under Console → API Key, then send it as Bearer or x-api-key.

   [Console → API Key](<https://www.modellix.ai/console/api-key>)
2. 02 · Base URL

   ### Choose the host for your protocol

   OpenAI-compatible clients include /v1; Anthropic and Claude Code do not.
3. 03 · Model

   ### Pass a model ID

   Always use provider/name. Refer to the product documentation for available models.

Gateway capabilities

## A gateway built for common clients and agents

One key covers Chat Completions, Responses, and Anthropic Messages.

- ### Three mainstream protocols

  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.
- ### Compatible with common clients

  OpenAI and Anthropic SDKs plus Codex, Claude Code, Cursor, OpenCode, and more connect by overriding the base URL. No Modellix-specific SDK is required.
- ### One Modellix key

  Bearer and x-api-key are both supported. Use a key from Modellix Console, not a provider-issued key.
- ### Synchronous with optional streaming

  Text calls return synchronously. Setting stream: true enables the protocol-specific SSE stream. Media generation remains asynchronous.
- ### Consistent model IDs

  Set model to provider/name, such as openai/gpt-5.6-sol or anthropic/claude-sonnet-5.
- ### Transparent per-token pricing

  Successful responses are billed from usage. Models with Input Context tiers show every tier in the price table.

Protocol selection

## Choose the protocol before sending a request

Changing only the URL is not enough. Chat Completions uses messages, Responses uses input, and Messages requires max\_tokens.

`POST /v1/chat/completions` · For the OpenAI SDK, Codex, Cursor, and most chat clients. The base URL must include /v1.

```
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

## Models and pricing

Compare model capabilities and per-token prices. Every pricing tier is listed.

Cost calculator

### Estimate one call

The input-token count automatically selects the matching Input Context tier.

Model

Input tokens

Output tokens

Cached Read tokens

Cached Write tokens

`Input Context ≤ 272K`Priced by this request’s Input Context

Input**$0.288**

Output**$0.036**

Cached Read**$0**

Cached Write**$0**

Estimated Modellix cost**$0.324**

Original price: approximately $0.36 , approximately 10% less

USD / 1M tokens

| 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 |
|  | 1.05M | \> 272K | $4.00 | $15.00 | $0.20 | $5.00 |
|  | 1.05M | ≤ 272K | $8.00 | $40.00 | $0.40 | $10.00 |
|  | 1.05M | \> 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 |

...

### [Volume pricing for your team](<https://www.modellix.ai/llm#volume>)

Buying in bulk for your organization? Discounts are available.

Explore enterprise options

Stable model aliases

## Latest Model IDs that always follow the newest release

Call the newest LLM in a model family through one stable alias without updating your client for every version.

### Start the ID with \~

Set request field `model` to `~provider/series-latest`. **The leading \~ is required**.

### Automatically follow the latest release

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.

### Billed at the current target rate

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

## Supported clients

Point your existing OpenAI or Anthropic configuration at Modellix without changing the application protocol.

- [**OpenAI SDK**Chat Completions / Responses](<https://docs.modellix.ai/llm/sdk/openai-sdk>)
- [**Anthropic SDK**Messages](<https://docs.modellix.ai/llm/sdk/anthropic-sdk>)
- [**Cursor**OpenAI-compatible provider](<https://docs.modellix.ai/llm/ide/cursor>)
- [**Claude Code**ANTHROPIC\_BASE\_URL](<https://docs.modellix.ai/llm/agent/claude-code>)
- [**Codex**openai\_base\_url](<https://docs.modellix.ai/llm/agent/codex>)
- [**Vercel AI SDK**createOpenAICompatible](<https://docs.modellix.ai/llm/sdk/vercel-ai-sdk>)
- [**LangChain**ChatOpenAI base\_url](<https://docs.modellix.ai/llm/framework/langchain>)
- [**OpenCode**Custom provider](<https://docs.modellix.ai/llm/agent/opencode>)

See the [LLM API guide](<https://docs.modellix.ai/llm/api/api>) for the complete list.

Organizations / Enterprises

## Enterprise LLM usage, with volume discounts available

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.

- ### Volume pricing

  Apply for bulk discounts and negotiate rates based on your combined usage.
- ### Unified billing

  One Modellix API key for leading language models, with consolidated billing.
- ### Dedicated support

  Get help evaluating usage, integration options, and future scaling.

[Contact us](<https://www.modellix.ai/contact?intent=llm-enterprise>)

## FAQ

### ### What is Modellix LLM?

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.

### ### How is the LLM gateway different from the image and video API?

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.

### ### How do I authenticate?

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.

### ### How should I format a model ID?

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.

### ### Why do some models have pricing tiers?

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.

### ### Which should I use: Chat Completions, Responses, or Messages?

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.

### ### How does billing work?

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.

### ### Can organizations or enterprises apply for discounts?

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

## Compatible with OpenAI and Anthropic protocols

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.

[Get an API key](<https://www.modellix.ai/console/api-key>)[Open Console](<https://www.modellix.ai/console>)[View the full LLM documentation](<https://docs.modellix.ai/llm/overview>)
