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. In each cell, the strikethrough amount is the official vendor list price; the following amount is what Modellix charges. Supported LLMs:

OpenAI

GPT 5.6 Sol

  • Model ID: openai/gpt-5.6-sol
  • Discount: 20% OFF

GPT 5.6 Terra

  • Model ID: openai/gpt-5.6-terra
  • Discount: 20% OFF

GPT 5.6 Luna

  • Model ID: openai/gpt-5.6-luna
  • Discount: 20% OFF

GPT 5.5

  • Model ID: openai/gpt-5.5
  • Discount: 20% OFF

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

xAI

Grok 4.5

  • Model ID: xai/grok-4.5

Grok 4.3

  • Model ID: xai/grok-4.3
  • Discount: 15% OFF

Moonshot

Kimi K2.7

  • Model ID: moonshot/kimi-k2.7
  • Discount: 5% OFF

Kimi K3

  • Model ID: moonshot/kimi-k3

Qwen

Qwen 3.7 Plus

  • Model ID: qwen/qwen3.7-plus
  • Discount: 10% OFF

Qwen 3.7 Max

  • Model ID: qwen/qwen3.7-max
  • Discount: 10% OFF

Qwen 3.8 Max

  • Model ID: qwen/qwen3.8-max

DeepSeek

DeepSeek V4 Flash

  • Model ID: deepseek/deepseek-v4-flash
  • Discount: 25% OFF

DeepSeek V4 Pro

  • Model ID: deepseek/deepseek-v4-pro
  • Discount: 25% OFF

ZAI

GLM 5.2

  • Model ID: zai/glm-5.2
  • Discount: 25% OFF
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.

LangChain

ChatOpenAI with base_url pointed at the LLM gateway.

Vercel AI SDK

createOpenAICompatible with baseURL pointed at the LLM gateway.

Mastra

Custom OpenAI-compatible model.url pointed at the LLM gateway.

CrewAI

LLM with base_url and custom_openai pointed at the LLM gateway.

Agno

OpenAILike with base_url pointed at the LLM gateway.

OpenAI Agents SDK

Custom AsyncOpenAI client + Chat Completions for agents.

Microsoft Agent Framework

OpenAIChatCompletionClient with base_url pointed at the LLM gateway.

Codex

openai_base_url in ~/.codex/config.toml.

Claude Code

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

Claude Agent SDK

ANTHROPIC_BASE_URL without /v1 for the Agent SDK harness.

Cursor

OpenAI-compatible provider pointed at the LLM gateway.

OpenCode

Provider baseURL for OpenAI- or Anthropic-compatible mode.

OpenClaw

Custom models.providers entry pointed at the LLM gateway.

Hermes

Custom Endpoint in config.yaml pointed at the LLM gateway.

Junie

Custom LLM JSON profile pointed at Chat Completions.

Pi

Custom provider in models.json pointed at the LLM gateway.

CodeBuddy

Custom model Endpoint or models.json pointed at Chat Completions.

WorkBuddy

Custom OpenAI-compatible model pointed at the LLM gateway.

Qwen Code

OPENAI_BASE_URL or modelProviders pointed at the LLM gateway.

Kilo Code

Custom OpenAI Compatible provider in kilo.jsonc pointed at the LLM gateway.

Cline

OpenAI Compatible provider pointed at the LLM gateway.

CC Switch

Custom provider for Claude Code, Codex, and OpenAI Compatible apps.

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.