Skip to main content
Modellix LLM is a text model gateway at https://llm.modellix.ai. Use one Modellix API key to call OpenAI-compatible Chat Completions and Responses, or Anthropic-compatible Messages, with the same synchronous request model and optional streaming SSE.
LLM text runs on https://llm.modellix.ai. Image, video, and speech generation use the media API at https://api.modellix.ai with async tasks—see REST API.

What you get

Three protocols

Chat Completions, Responses, and Messages—each with its own URL and request body. Do not mix fields across protocols.

Drop-in clients

Point OpenAI or Anthropic SDKs, Codex, Claude Code, Cursor, and OpenCode at Modellix with a base URL override.

One API key

Authenticate with Bearer or x-api-key using a Modellix key from the console—not a vendor platform key.

provider/name models

Pass model IDs like openai/gpt-5.5, anthropic/claude-sonnet-5, or google/gemini-3.6-flash. Availability follows the console.

Models & Pricing

Pass model as a provider/name ID (for example openai/gpt-5.6-sol). Prices below are USD per 1M tokens. Official is the vendor list price; Modellix is what you are charged. Supported LLMs:

OpenAI

GPT 5.6 Sol

  • Model ID: openai/gpt-5.6-sol
  • Discount: 20% OFF
Input Context ≤ 272K Input Context > 272K

GPT 5.6 Terra

  • Model ID: openai/gpt-5.6-terra
  • Discount: 20% OFF
Input Context ≤ 272K Input Context > 272K

GPT 5.6 Luna

  • Model ID: openai/gpt-5.6-luna
  • Discount: 20% OFF
Input Context ≤ 272K Input Context > 272K

GPT 5.5

  • Model ID: openai/gpt-5.5
  • Discount: 20% OFF
Input Context ≤ 272K Input Context > 272K

Anthropic

Claude Opus 5

  • Model ID: anthropic/claude-opus-5
  • Discount: 3% OFF

Claude Sonnet 5

  • Model ID: anthropic/claude-sonnet-5
  • Discount: 3% OFF

Claude Haiku 4.5

  • Model ID: anthropic/claude-haiku-4.5
  • Discount: 3% OFF

Google

Gemini 3.6 Flash

  • Model ID: google/gemini-3.6-flash
  • Discount: 15% OFF

Gemini 3.5 Flash

  • Model ID: google/gemini-3.5-flash
  • Discount: 15% OFF

Gemini 3.1 Pro

  • Model ID: google/gemini-3.1-pro
  • Discount: 15% OFF
Input Context ≤ 200K Input Context > 200K

xAI

Grok 4.5

  • Model ID: xai/grok-4.5
  • Discount: 15% OFF
Input Context ≤ 200K Input Context > 200K

Grok 4.3

  • Model ID: xai/grok-4.3
  • Discount: 15% OFF
Input Context ≤ 200K Input Context > 200K
Availability and prices can change. Confirm the live catalog and rates in the Modellix console. Billing uses token usage on successful responses.

Quick start

1

Get an API key

Create a key in the Modellix console and store it securely.
2

Pick a protocol and base URL

3

Send a request

Use your SDK or a curl example from the API guide. Always set model to a provider/name ID.

Guides in this section

Start with the API guide for protocols, auth, errors, and billing. Then open the client page that matches your stack.

API guide

Protocols, curl examples, session header, errors, rate limits, and billing.

OpenAI SDK

OPENAI_BASE_URL + Modellix key for Chat Completions and Responses.

Anthropic SDK

ANTHROPIC_BASE_URL without /v1 for Messages.

Codex

openai_base_url in ~/.codex/config.toml.

Claude Code

Environment variables or ~/.claude/settings.json.

Cursor

OpenAI-compatible provider pointed at the LLM gateway.

OpenCode

Provider baseURL for OpenAI- or Anthropic-compatible mode.

API reference

OpenAPI pages for the three endpoints live under API Reference → LLM:

Protocol cheat sheet

For full field tables and error codes, see the LLM API guide.