Quick start
- 01Create an accountSign up and top up your balance in Billing with any token on any chain.
- 02Get an API keyCreate a key in API Keys. It is shown once, so store it safely.
- 03Make a requestUse any OpenAI SDK with our base URL, or try the examples below.
Base URL & keys
Every request carries your Lain API key as a Bearer token. Keys start with lain_; revoke one any time in the dashboard.
Base URL: https://lain-os.com/v1 Authorization: Bearer lain_xxxxxxxxxxxxxxxxxxxx
Chat completions
POST /v1/chat/completions takes the standard OpenAI body: model, messages and optional parameters such as temperature, max_tokens or tools, which are passed through to the model.
curl https://lain-os.com/v1/chat/completions \
-H "Authorization: Bearer $LAIN_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"model": "anthropic/claude-haiku-5.5",
"messages": [{"role": "user", "content": "Hello"}]
}'
Streaming
Set "stream": true to receive the answer as server-sent events while it is generated, exactly like OpenAI's API. The last chunk carries token usage, and the request is billed from it once the stream ends.
stream = client.chat.completions.create(
model="anthropic/claude-haiku-5.5",
messages=[{"role": "user", "content": "Tell me a story"}],
stream=True,
)
for chunk in stream:
if chunk.choices and chunk.choices[0].delta.content:
print(chunk.choices[0].delta.content, end="", flush=True)
List models
GET /v1/models lists the models your key can use. Besides the OpenAI fields, each entry has its display name and pricing in US dollars per 1M tokens.
Models come from more than one provider. OpenRouter's keep their own ids (openai/gpt-oss-120b:free); Groq's fast open models are listed as groq/<id> (for example groq/openai/gpt-oss-120b) and cost nothing while they run on the free tier.
{
"object": "list",
"data": [
{
"id": "anthropic/claude-haiku-5.5",
"object": "model",
"owned_by": "lain-os",
"name": "Anthropic: Claude Haiku 5.5",
"pricing": {
"input": 0.1,
"output": 0.5
}
}
]
}
Lain agent & MCP
Every model in the catalog is plain: your messages go to it as sent, nothing added. The Lain OS models — lain-free, lain-lite, lain and lain-pro — are Lain herself: a system prompt, a growing knowledge base, skills, and live read-only tools that run on our side while she answers.
Tools
DEX markets for any token on any chain, coin prices and market caps, on-chain reads of tokens, wallets, transactions and contracts on Robinhood Chain, Ethereum, Base, Arbitrum, OP, BNB Chain and Polygon, DeFi TVL, news, and the Lain OS knowledge base. Nothing signs or moves funds.Billing
An answer can take several model rounds (each tool result goes back to the model); every round is billed at the model's price, so a tool-heavy answer costs a few replies.lain-free runs on free models.
Over the API they return an ordinary chat completion, plus a lain object with the rounds and tools used. When streaming, tool activity arrives as delta.reasoning and the answer as delta.content. Your own tools keep working: a call to one of them ends the response with finish_reason: "tool_calls" as usual.
MCP server
The same tools (and the skills, as prompts) for any MCP client at https://lain-os.com/mcp, with your API key as the Bearer token. Tool calls cost no credits and are limited to 60 a minute.
{
"mcpServers": {
"lain-os": {
"url": "https://lain-os.com/mcp",
"headers": {
"Authorization": "Bearer lain_xxx"
}
}
}
}
Models & pricing
Prices are per 1 million tokens, input / output. Use the id in the model field; click an id to copy it.
| Model | Input | Output |
|---|---|---|
| Lain OS | ||
| Lain $el.textContent = 'lain', 1200)">lain | $0.03 | $0.13 |
| Lain Free $el.textContent = 'lain-free', 1200)">lain-free | Free | Free |
| Lain Lite $el.textContent = 'lain-lite', 1200)">lain-lite | $0.30 | $1.20 |
| Lain Pro $el.textContent = 'lain-pro', 1200)">lain-pro | $0.10 | $0.50 |
| AionLabs | ||
| Aion-2.0 $el.textContent = 'aion-labs\/aion-2.0', 1200)">aion-labs/aion-2.0 | $0.80 | $1.60 |
| Aion-3.0 $el.textContent = 'aion-labs\/aion-3.0', 1200)">aion-labs/aion-3.0 | $3 | $6 |
| Aion-3.0-Mini $el.textContent = 'aion-labs\/aion-3.0-mini', 1200)">aion-labs/aion-3.0-mini | $0.70 | $1.40 |
| Aion-RP 1.0 (8B) $el.textContent = 'aion-labs\/aion-rp-llama-3.1-8b', 1200)">aion-labs/aion-rp-llama-3.1-8b | $0.80 | $1.60 |
| Aion 3.5 $el.textContent = 'aion-labs\/aion-3.5', 1200)">aion-labs/aion-3.5 | $3 | $6 |
| Aion 3.5 Mini $el.textContent = 'aion-labs\/aion-3.5-mini', 1200)">aion-labs/aion-3.5-mini | $0.70 | $1.40 |
| Amazon | ||
| Nova 2 Lite $el.textContent = 'amazon\/nova-2-lite-v1', 1200)">amazon/nova-2-lite-v1 | $0.30 | $2.50 |
| Nova Lite 1.0 $el.textContent = 'amazon\/nova-lite-v1', 1200)">amazon/nova-lite-v1 | $0.06 | $0.24 |
| Nova Micro 1.0 $el.textContent = 'amazon\/nova-micro-v1', 1200)">amazon/nova-micro-v1 | $0.035 | $0.14 |
| Nova Premier 1.0 $el.textContent = 'amazon\/nova-premier-v1', 1200)">amazon/nova-premier-v1 | $2.50 | $12.50 |
| Nova Pro 1.0 $el.textContent = 'amazon\/nova-pro-v1', 1200)">amazon/nova-pro-v1 | $0.80 | $3.20 |
| Anthracite | ||
| Magnum v4 72B $el.textContent = 'anthracite-org\/magnum-v4-72b', 1200)">anthracite-org/magnum-v4-72b | $2.50 | $5 |
| Anthropic | ||
| Claude Fable 5 $el.textContent = 'anthropic\/claude-fable-5', 1200)">anthropic/claude-fable-5 | $10 | $50 |
| Claude Fable 5.1 $el.textContent = 'anthropic\/claude-fable-5.1', 1200)">anthropic/claude-fable-5.1 | $10 | $50 |
| Claude Fable 5.2 $el.textContent = 'anthropic\/claude-fable-5.2', 1200)">anthropic/claude-fable-5.2 | $8 | $40 |
| Claude Fable Latest $el.textContent = '~anthropic\/claude-fable-latest', 1200)">~anthropic/claude-fable-latest | $8 | $40 |
| Claude Haiku 4.5 $el.textContent = 'anthropic\/claude-haiku-4.5', 1200)">anthropic/claude-haiku-4.5 | $1 | $5 |
| Claude Haiku 5.5 $el.textContent = 'anthropic\/claude-haiku-5.5', 1200)">anthropic/claude-haiku-5.5 | $0.10 | $0.50 |
| Claude Haiku Latest $el.textContent = '~anthropic\/claude-haiku-latest', 1200)">~anthropic/claude-haiku-latest | $0.10 | $0.50 |
| Claude Opus 4.1 $el.textContent = 'anthropic\/claude-opus-4.1', 1200)">anthropic/claude-opus-4.1 | $15 | $75 |
| Claude Opus 4.5 $el.textContent = 'anthropic\/claude-opus-4.5', 1200)">anthropic/claude-opus-4.5 | $5 | $25 |
| Claude Opus 4.6 $el.textContent = 'anthropic\/claude-opus-4.6', 1200)">anthropic/claude-opus-4.6 | $5 | $25 |
| Claude Opus 4.7 $el.textContent = 'anthropic\/claude-opus-4.7', 1200)">anthropic/claude-opus-4.7 | $5 | $25 |
| Claude Opus 4.8 $el.textContent = 'anthropic\/claude-opus-4.8', 1200)">anthropic/claude-opus-4.8 | $5 | $25 |
| Claude Opus 5 $el.textContent = 'anthropic\/claude-opus-5', 1200)">anthropic/claude-opus-5 | $5 | $25 |
| Claude Opus 5.5 $el.textContent = 'anthropic\/claude-opus-5.5', 1200)">anthropic/claude-opus-5.5 | $4 | $20 |
| Claude Opus Latest $el.textContent = '~anthropic\/claude-opus-latest', 1200)">~anthropic/claude-opus-latest | $4 | $20 |
| Claude Sonnet 4.5 $el.textContent = 'anthropic\/claude-sonnet-4.5', 1200)">anthropic/claude-sonnet-4.5 | $3 | $15 |
| Claude Sonnet 4.6 $el.textContent = 'anthropic\/claude-sonnet-4.6', 1200)">anthropic/claude-sonnet-4.6 | $3 | $15 |
| Claude Sonnet 5 $el.textContent = 'anthropic\/claude-sonnet-5', 1200)">anthropic/claude-sonnet-5 | $2 | $10 |
| Claude Sonnet 5.5 $el.textContent = 'anthropic\/claude-sonnet-5.5', 1200)">anthropic/claude-sonnet-5.5 | $2 | $10 |
| Claude Sonnet Latest $el.textContent = '~anthropic\/claude-sonnet-latest', 1200)">~anthropic/claude-sonnet-latest | $2 | $10 |
| Baidu | ||
| ERNIE-5.5-Flash-Preview (free) $el.textContent = 'baidu\/ernie-5.5-flash-preview:free', 1200)">baidu/ernie-5.5-flash-preview:free | Free | Free |
| ERNIE-Light-DT-1.0 $el.textContent = 'baidu\/ernie-light-dt-1.0-intl', 1200)">baidu/ernie-light-dt-1.0-intl | $1.13 | $3.94 |
| ByteDance | ||
| UI-TARS 7B $el.textContent = 'bytedance\/ui-tars-1.5-7b', 1200)">bytedance/ui-tars-1.5-7b | $0.10 | $0.20 |
| ByteDance Seed | ||
| Seed-2.0-Lite $el.textContent = 'bytedance-seed\/seed-2.0-lite', 1200)">bytedance-seed/seed-2.0-lite | $0.25 | $2 |
| Seed-2.0-Mini $el.textContent = 'bytedance-seed\/seed-2.0-mini', 1200)">bytedance-seed/seed-2.0-mini | $0.10 | $0.40 |
| Seed 2.1 Turbo $el.textContent = 'bytedance-seed\/seed-2-1-turbo', 1200)">bytedance-seed/seed-2-1-turbo | $0.50 | $2.50 |
| Cohere | ||
| Command A $el.textContent = 'cohere\/command-a', 1200)">cohere/command-a | $2.50 | $10 |
| Command A+ $el.textContent = 'cohere\/command-a-plus', 1200)">cohere/command-a-plus | $0.30 | $1.50 |
| Command R (08-2024) $el.textContent = 'cohere\/command-r-08-2024', 1200)">cohere/command-r-08-2024 | $0.15 | $0.60 |
| Command R+ (08-2024) $el.textContent = 'cohere\/command-r-plus-08-2024', 1200)">cohere/command-r-plus-08-2024 | $2.50 | $10 |
| Command R7B (12-2024) $el.textContent = 'cohere\/command-r7b-12-2024', 1200)">cohere/command-r7b-12-2024 | $0.0375 | $0.15 |
| North Mini Code (free) $el.textContent = 'cohere\/north-mini-code:free', 1200)">cohere/north-mini-code:free | Free | Free |
| DeepSeek | ||
| DeepSeek Flash Latest $el.textContent = '~deepseek\/deepseek-flash-latest', 1200)">~deepseek/deepseek-flash-latest | $0.036 | $0.50 |
| DeepSeek Pro Latest $el.textContent = '~deepseek\/deepseek-pro-latest', 1200)">~deepseek/deepseek-pro-latest | $0.0999 | $8 |
| DeepSeek V3 $el.textContent = 'deepseek\/deepseek-chat', 1200)">deepseek/deepseek-chat | $0.2574 | $1.0287 |
| DeepSeek V3 0324 $el.textContent = 'deepseek\/deepseek-chat-v3-0324', 1200)">deepseek/deepseek-chat-v3-0324 | $0.29 | $1.14 |
| DeepSeek V3.1 $el.textContent = 'deepseek\/deepseek-chat-v3.1', 1200)">deepseek/deepseek-chat-v3.1 | $0.25 | $0.95 |
| DeepSeek V3.1 Terminus $el.textContent = 'deepseek\/deepseek-v3.1-terminus', 1200)">deepseek/deepseek-v3.1-terminus | $0.27 | $1 |
| DeepSeek V3.2 $el.textContent = 'deepseek\/deepseek-v3.2', 1200)">deepseek/deepseek-v3.2 | $0.26 | $0.38 |
| DeepSeek V3.2 Exp $el.textContent = 'deepseek\/deepseek-v3.2-exp', 1200)">deepseek/deepseek-v3.2-exp | $0.27 | $0.41 |
| DeepSeek V4 Flash 0423 $el.textContent = 'deepseek\/deepseek-v4-flash', 1200)">deepseek/deepseek-v4-flash | $0.09 | $0.18 |
| DeepSeek V4 Flash 0731 $el.textContent = 'deepseek\/deepseek-v4-flash-0731', 1200)">deepseek/deepseek-v4-flash-0731 | $0.06 | $0.18 |
| DeepSeek V4 Flash Latest $el.textContent = '~deepseek\/deepseek-v4-flash-latest', 1200)">~deepseek/deepseek-v4-flash-latest | $0.0434 | $0.30 |
| DeepSeek V4 Flash Vision Exp $el.textContent = 'deepseek\/deepseek-v4-flash-vision-exp', 1200)">deepseek/deepseek-v4-flash-vision-exp | $0.44 | $1.32 |
| DeepSeek V4 Pro 0423 $el.textContent = 'deepseek\/deepseek-v4-pro', 1200)">deepseek/deepseek-v4-pro | $0.90 | $1.50 |
| DeepSeek V4 Pro 0813 $el.textContent = 'deepseek\/deepseek-v4-pro-0813', 1200)">deepseek/deepseek-v4-pro-0813 | $0.111 | $4.44 |
| DeepSeek V4.1 Flash $el.textContent = 'deepseek\/deepseek-v4.1-flash', 1200)">deepseek/deepseek-v4.1-flash | $0.14 | $0.42 |
| DeepSeek V4.1 Flash 1017 $el.textContent = 'deepseek\/deepseek-v4.1-flash-1017', 1200)">deepseek/deepseek-v4.1-flash-1017 | $0.036 | $0.50 |
| R1 0528 $el.textContent = 'deepseek\/deepseek-r1-0528', 1200)">deepseek/deepseek-r1-0528 | $0.50 | $2.15 |
| Dots Studio | ||
| Dots3-Note Preview (free) $el.textContent = 'dots-studio\/dots-3-note-preview:free', 1200)">dots-studio/dots-3-note-preview:free | Free | Free |
| Elorian | ||
| Glimpse $el.textContent = 'elorian\/glimpse', 1200)">elorian/glimpse | $0.60 | $3 |
| Fireworks | ||
| Ember-1 $el.textContent = 'fireworks\/ember-1', 1200)">fireworks/ember-1 | $3 | $15 |
| Gemini 2.5 Flash $el.textContent = 'google\/gemini-2.5-flash', 1200)">google/gemini-2.5-flash | $0.30 | $2.50 |
| Gemini 2.5 Flash Lite $el.textContent = 'google\/gemini-2.5-flash-lite', 1200)">google/gemini-2.5-flash-lite | $0.10 | $0.40 |
| Gemini 2.5 Pro $el.textContent = 'google\/gemini-2.5-pro', 1200)">google/gemini-2.5-pro | $1.25 | $10 |
| Gemini 2.5 Pro Preview 06-05 $el.textContent = 'google\/gemini-2.5-pro-preview', 1200)">google/gemini-2.5-pro-preview | $1.25 | $10 |
| Gemini 3 Flash Preview $el.textContent = 'google\/gemini-3-flash-preview', 1200)">google/gemini-3-flash-preview | $0.50 | $3 |
| Gemini 3.1 Flash Lite $el.textContent = 'google\/gemini-3.1-flash-lite', 1200)">google/gemini-3.1-flash-lite | $0.25 | $1.50 |
| Gemini 3.1 Flash Lite Preview $el.textContent = 'google\/gemini-3.1-flash-lite-preview', 1200)">google/gemini-3.1-flash-lite-preview | $0.25 | $1.50 |
| Gemini 3.1 Pro Preview $el.textContent = 'google\/gemini-3.1-pro-preview', 1200)">google/gemini-3.1-pro-preview | $2 | $12 |
| Gemini 3.1 Pro Preview Custom Tools $el.textContent = 'google\/gemini-3.1-pro-preview-customtools', 1200)">google/gemini-3.1-pro-preview-customtools | $2 | $12 |
| Gemini 3.5 Flash $el.textContent = 'google\/gemini-3.5-flash', 1200)">google/gemini-3.5-flash | $1.50 | $9 |
| Gemini 3.5 Flash Lite $el.textContent = 'google\/gemini-3.5-flash-lite', 1200)">google/gemini-3.5-flash-lite | $0.30 | $2.50 |
| Gemini 3.6 Flash $el.textContent = 'google\/gemini-3.6-flash', 1200)">google/gemini-3.6-flash | $0.75 | $3.75 |
| Gemini 3.7 Flash $el.textContent = 'google\/gemini-3.7-flash', 1200)">google/gemini-3.7-flash | $0.75 | $3.75 |
| Gemini 3.8 Flash $el.textContent = 'google\/gemini-3.8-flash', 1200)">google/gemini-3.8-flash | $0.75 | $3.75 |
| Gemini 4 Argon $el.textContent = 'google\/gemini-4-argon', 1200)">google/gemini-4-argon | $2 | $10 |
| Gemini 4 Carbon $el.textContent = 'google\/gemini-4-carbon', 1200)">google/gemini-4-carbon | $2 | $10 |
| Gemini 4 Hydrogen $el.textContent = 'google\/gemini-4-hydrogen', 1200)">google/gemini-4-hydrogen | $1.50 | $7.50 |
| Gemini Flash Latest $el.textContent = '~google\/gemini-flash-latest', 1200)">~google/gemini-flash-latest | $1.50 | $7.50 |
| Gemini Omni 1.1 Flash $el.textContent = 'google\/gemini-omni-1.1-flash', 1200)">google/gemini-omni-1.1-flash | $1.50 | $9 |
| Gemini Omni 1.2 Flash $el.textContent = 'google\/gemini-omni-1.2-flash', 1200)">google/gemini-omni-1.2-flash | $1.50 | $9 |
| Gemini Pro Latest $el.textContent = '~google\/gemini-pro-latest', 1200)">~google/gemini-pro-latest | $2 | $10 |
| Gemma 2 27B $el.textContent = 'google\/gemma-2-27b-it', 1200)">google/gemma-2-27b-it | $0.65 | $0.65 |
| Gemma 3 4B $el.textContent = 'google\/gemma-3-4b-it', 1200)">google/gemma-3-4b-it | $0.05 | $0.10 |
| Gemma 3 12B $el.textContent = 'google\/gemma-3-12b-it', 1200)">google/gemma-3-12b-it | $0.05 | $0.15 |
| Gemma 3 27B $el.textContent = 'google\/gemma-3-27b-it', 1200)">google/gemma-3-27b-it | $0.08 | $0.35 |
| Gemma 4 26B A4B $el.textContent = 'google\/gemma-4-26b-a4b-it', 1200)">google/gemma-4-26b-a4b-it | $0.0675 | $0.225 |
| Gemma 4 26B A4B (free) $el.textContent = 'google\/gemma-4-26b-a4b-it:free', 1200)">google/gemma-4-26b-a4b-it:free | Free | Free |
| Gemma 4 31B $el.textContent = 'google\/gemma-4-31b-it', 1200)">google/gemma-4-31b-it | $0.20 | $0.40 |
| Gemma 4 31B (free) $el.textContent = 'google\/gemma-4-31b-it:free', 1200)">google/gemma-4-31b-it:free | Free | Free |
| Lyria 3 Clip Preview $el.textContent = 'google\/lyria-3-clip-preview', 1200)">google/lyria-3-clip-preview | Free | Free |
| Lyria 3 Pro Preview $el.textContent = 'google\/lyria-3-pro-preview', 1200)">google/lyria-3-pro-preview | Free | Free |
| Nano Banana (Gemini 2.5 Flash Image) $el.textContent = 'google\/gemini-2.5-flash-image', 1200)">google/gemini-2.5-flash-image | $0.30 | $2.50 |
| Nano Banana 2 (Gemini 3.1 Flash Image) $el.textContent = 'google\/gemini-3.1-flash-image', 1200)">google/gemini-3.1-flash-image | $0.50 | $3 |
| Nano Banana 2 (Gemini 3.1 Flash Image Preview) $el.textContent = 'google\/gemini-3.1-flash-image-preview', 1200)">google/gemini-3.1-flash-image-preview | $0.50 | $3 |
| Nano Banana 2 Lite (Gemini 3.1 Flash Lite Image) $el.textContent = 'google\/gemini-3.1-flash-lite-image', 1200)">google/gemini-3.1-flash-lite-image | $0.25 | $1.50 |
| Nano Banana 2.1 $el.textContent = 'google\/gemini-nano-banana-2.1', 1200)">google/gemini-nano-banana-2.1 | $1.50 | $7.50 |
| Nano Banana Pro (Gemini 3 Pro Image) $el.textContent = 'google\/gemini-3-pro-image', 1200)">google/gemini-3-pro-image | $2 | $12 |
| Nano Banana Pro (Gemini 3 Pro Image Preview) $el.textContent = 'google\/gemini-3-pro-image-preview', 1200)">google/gemini-3-pro-image-preview | $2 | $12 |
| Gryphe | ||
| MythoMax 13B $el.textContent = 'gryphe\/mythomax-l2-13b', 1200)">gryphe/mythomax-l2-13b | $0.08 | $0.11 |
| IBM | ||
| Granite 4.2 8B $el.textContent = 'ibm-granite\/granite-4.2-8b', 1200)">ibm-granite/granite-4.2-8b | $0.06 | $0.25 |
| inclusionAI | ||
| Ling 3.0 Flash $el.textContent = 'inclusionai\/ling-3.0-flash', 1200)">inclusionai/ling-3.0-flash | $0.021 | $0.063 |
| Ling 3.0 Flash VL $el.textContent = 'inclusionai\/ling-3.0-flash-vl', 1200)">inclusionai/ling-3.0-flash-vl | $0.06 | $0.18 |
| Ling 3.0 Tiny $el.textContent = 'inclusionai\/ling-3.0-tiny', 1200)">inclusionai/ling-3.0-tiny | $0.015 | $0.045 |
| Ling 3.1 Flash $el.textContent = 'inclusionai\/ling-3.1-flash', 1200)">inclusionai/ling-3.1-flash | $0.045 | $0.135 |
| Ling 3.2 Flash (free) $el.textContent = 'inclusionai\/ling-3.2-flash:free', 1200)">inclusionai/ling-3.2-flash:free | Free | Free |
| Inference.net | ||
| Schematron V2 Small $el.textContent = 'inference-net\/schematron-v2-small', 1200)">inference-net/schematron-v2-small | $0.05 | $0.23 |
| Schematron V2 Turbo $el.textContent = 'inference-net\/schematron-v2-turbo', 1200)">inference-net/schematron-v2-turbo | $0.03 | $0.15 |
| KT | ||
| Mi:dm K 3.0 Pro $el.textContent = 'kt\/midm-k-3.0-pro', 1200)">kt/midm-k-3.0-pro | $0.20 | $0.80 |
| LiquidAI | ||
| LFM2.5-24B-A2B $el.textContent = 'liquid\/lfm-2.5-24b-a2b', 1200)">liquid/lfm-2.5-24b-a2b | $0.05 | $0.70 |
| LFM3-1.7B $el.textContent = 'liquid\/lfm-3-1.7b', 1200)">liquid/lfm-3-1.7b | $0.08 | $0.20 |
| LFM3-1.7B (free) $el.textContent = 'liquid\/lfm-3-1.7b:free', 1200)">liquid/lfm-3-1.7b:free | Free | Free |
| Mancer | ||
| Weaver (alpha) $el.textContent = 'mancer\/weaver', 1200)">mancer/weaver | $0.30 | $0.50 |
| Meituan | ||
| LongCat 2.0 $el.textContent = 'meituan\/longcat-2.0', 1200)">meituan/longcat-2.0 | $0.30 | $1.20 |
| Meta | ||
| Llama 3.1 8B Instruct $el.textContent = 'meta-llama\/llama-3.1-8b-instruct', 1200)">meta-llama/llama-3.1-8b-instruct | $0.02 | $0.04 |
| Llama 3.1 70B Instruct $el.textContent = 'meta-llama\/llama-3.1-70b-instruct', 1200)">meta-llama/llama-3.1-70b-instruct | $0.72 | $0.72 |
| Llama 3.2 1B Instruct $el.textContent = 'meta-llama\/llama-3.2-1b-instruct', 1200)">meta-llama/llama-3.2-1b-instruct | $0.027 | $0.201 |
| Llama 3.2 3B Instruct $el.textContent = 'meta-llama\/llama-3.2-3b-instruct', 1200)">meta-llama/llama-3.2-3b-instruct | $0.0509 | $0.335 |
| Llama 3.3 70B Instruct $el.textContent = 'meta-llama\/llama-3.3-70b-instruct', 1200)">meta-llama/llama-3.3-70b-instruct | $0.71 | $0.71 |
| Llama 4 Maverick $el.textContent = 'meta-llama\/llama-4-maverick', 1200)">meta-llama/llama-4-maverick | $0.35 | $1 |
| Llama 4 Scout $el.textContent = 'meta-llama\/llama-4-scout', 1200)">meta-llama/llama-4-scout | $0.10 | $0.30 |
| Llama Guard 4 12B $el.textContent = 'meta-llama\/llama-guard-4-12b', 1200)">meta-llama/llama-guard-4-12b | $0.18 | $0.18 |
| Muse Ember $el.textContent = 'meta\/muse-ember', 1200)">meta/muse-ember | $0.10 | $0.50 |
| Muse Glimmer 30B $el.textContent = 'meta\/muse-glimmer-30b', 1200)">meta/muse-glimmer-30b | $0.30 | $1.20 |
| Muse Spark 1.1 $el.textContent = 'meta\/muse-spark-1.1', 1200)">meta/muse-spark-1.1 | $1.25 | $4.25 |
| Muse Spark 1.2 $el.textContent = 'meta\/muse-spark-1.2', 1200)">meta/muse-spark-1.2 | $1.25 | $4.25 |
| Muse Spark 1.3 $el.textContent = 'meta\/muse-spark-1.3', 1200)">meta/muse-spark-1.3 | $1.25 | $4.25 |
| Muse Spark Open $el.textContent = 'meta\/muse-spark-open', 1200)">meta/muse-spark-open | $1.25 | $4.25 |
| Muse Wonder $el.textContent = 'meta\/muse-wonder', 1200)">meta/muse-wonder | $4 | $20 |
| Microsoft | ||
| Phi 4 $el.textContent = 'microsoft\/phi-4', 1200)">microsoft/phi-4 | $0.07 | $0.14 |
| MiniMax | ||
| MiniMax M2.5 $el.textContent = 'minimax\/minimax-m2.5', 1200)">minimax/minimax-m2.5 | $0.295 | $1.20 |
| MiniMax M2.7 $el.textContent = 'minimax\/minimax-m2.7', 1200)">minimax/minimax-m2.7 | $0.21 | $0.84 |
| MiniMax M3 $el.textContent = 'minimax\/minimax-m3', 1200)">minimax/minimax-m3 | $0.30 | $1.20 |
| MiniMax M3.1 Flash $el.textContent = 'minimax\/minimax-m3.1-flash', 1200)">minimax/minimax-m3.1-flash | $0.15 | $0.60 |
| Mistral | ||
| Codestral 2508 $el.textContent = 'mistralai\/codestral-2508', 1200)">mistralai/codestral-2508 | $0.30 | $0.90 |
| Devstral 2 2512 $el.textContent = 'mistralai\/devstral-2512', 1200)">mistralai/devstral-2512 | $0.40 | $2 |
| Ministral 3 3B 2512 $el.textContent = 'mistralai\/ministral-3b-2512', 1200)">mistralai/ministral-3b-2512 | $0.10 | $0.10 |
| Ministral 3 8B 2512 $el.textContent = 'mistralai\/ministral-8b-2512', 1200)">mistralai/ministral-8b-2512 | $0.15 | $0.15 |
| Ministral 3 14B 2512 $el.textContent = 'mistralai\/ministral-14b-2512', 1200)">mistralai/ministral-14b-2512 | $0.20 | $0.20 |
| Mistral Large $el.textContent = 'mistralai\/mistral-large', 1200)">mistralai/mistral-large | $2 | $6 |
| Mistral Large 3 2512 $el.textContent = 'mistralai\/mistral-large-2512', 1200)">mistralai/mistral-large-2512 | $0.50 | $1.50 |
| Mistral Large 4 $el.textContent = 'mistralai\/mistral-large-4-0', 1200)">mistralai/mistral-large-4-0 | $0.70 | $2.10 |
| Mistral Large 2407 $el.textContent = 'mistralai\/mistral-large-2407', 1200)">mistralai/mistral-large-2407 | $2 | $6 |
| Mistral Medium 3 $el.textContent = 'mistralai\/mistral-medium-3', 1200)">mistralai/mistral-medium-3 | $0.40 | $2 |
| Mistral Medium 3.1 $el.textContent = 'mistralai\/mistral-medium-3.1', 1200)">mistralai/mistral-medium-3.1 | $0.40 | $2 |
| Mistral Medium 3.5 $el.textContent = 'mistralai\/mistral-medium-3-5', 1200)">mistralai/mistral-medium-3-5 | $1.50 | $7.50 |
| Mistral Nemo $el.textContent = 'mistralai\/mistral-nemo', 1200)">mistralai/mistral-nemo | $0.029 | $0.03 |
| Mistral Small 3 $el.textContent = 'mistralai\/mistral-small-24b-instruct-2501', 1200)">mistralai/mistral-small-24b-instruct-2501 | $0.05 | $0.08 |
| Mistral Small 3.1 24B $el.textContent = 'mistralai\/mistral-small-3.1-24b-instruct', 1200)">mistralai/mistral-small-3.1-24b-instruct | $0.351 | $0.555 |
| Mistral Small 3.2 24B $el.textContent = 'mistralai\/mistral-small-3.2-24b-instruct', 1200)">mistralai/mistral-small-3.2-24b-instruct | $0.10 | $0.30 |
| Mistral Small 4 $el.textContent = 'mistralai\/mistral-small-2603', 1200)">mistralai/mistral-small-2603 | $0.15 | $0.60 |
| Mixtral 8x22B Instruct $el.textContent = 'mistralai\/mixtral-8x22b-instruct', 1200)">mistralai/mixtral-8x22b-instruct | $2 | $6 |
| Saba $el.textContent = 'mistralai\/mistral-saba', 1200)">mistralai/mistral-saba | $0.20 | $0.60 |
| Voxtral Small 24B 2507 $el.textContent = 'mistralai\/voxtral-small-24b-2507', 1200)">mistralai/voxtral-small-24b-2507 | $0.10 | $0.30 |
| Moondream | ||
| Moondream 3 Preview $el.textContent = 'moondream\/moondream3-preview', 1200)">moondream/moondream3-preview | $0.30 | $2.50 |
| Moondream 3.1 $el.textContent = 'moondream\/moondream3.1-9b-a2b', 1200)">moondream/moondream3.1-9b-a2b | $0.30 | $2.50 |
| MoonshotAI | ||
| Kimi K2 0711 $el.textContent = 'moonshotai\/kimi-k2', 1200)">moonshotai/kimi-k2 | $0.57 | $2.30 |
| Kimi K2 0905 $el.textContent = 'moonshotai\/kimi-k2-0905', 1200)">moonshotai/kimi-k2-0905 | $0.60 | $2.50 |
| Kimi K2 Thinking $el.textContent = 'moonshotai\/kimi-k2-thinking', 1200)">moonshotai/kimi-k2-thinking | $0.60 | $2.50 |
| Kimi K2.5 $el.textContent = 'moonshotai\/kimi-k2.5', 1200)">moonshotai/kimi-k2.5 | $0.50 | $2.50 |
| Kimi K2.6 $el.textContent = 'moonshotai\/kimi-k2.6', 1200)">moonshotai/kimi-k2.6 | $0.65 | $3.41 |
| Kimi K2.7 Code $el.textContent = 'moonshotai\/kimi-k2.7-code', 1200)">moonshotai/kimi-k2.7-code | $0.60 | $3.50 |
| Kimi K3 $el.textContent = 'moonshotai\/kimi-k3', 1200)">moonshotai/kimi-k3 | $0.192 | $16 |
| Kimi K3.1 Pro $el.textContent = 'moonshotai\/kimi-k3.1-pro', 1200)">moonshotai/kimi-k3.1-pro | $2.30 | $11.50 |
| Kimi Latest $el.textContent = '~moonshotai\/kimi-latest', 1200)">~moonshotai/kimi-latest | $0.1824 | $11.0055 |
| Morph | ||
| Morph V3 Fast $el.textContent = 'morph\/morph-v3-fast', 1200)">morph/morph-v3-fast | $0.80 | $1.20 |
| Morph V3 Large $el.textContent = 'morph\/morph-v3-large', 1200)">morph/morph-v3-large | $0.90 | $1.90 |
| Motif Technologies | ||
| Motif 3 $el.textContent = 'motif-technologies\/motif-3', 1200)">motif-technologies/motif-3 | $0.30 | $1.20 |
| Nex AGI | ||
| Nex-N2.5-Mini $el.textContent = 'nex-agi\/nex-n2.5-mini', 1200)">nex-agi/nex-n2.5-mini | $0.025 | $0.10 |
| Nex-N2.5-Pro $el.textContent = 'nex-agi\/nex-n2.5-pro', 1200)">nex-agi/nex-n2.5-pro | $0.075 | $0.25 |
| Nex-N2.6 $el.textContent = 'nex-agi\/nex-n2.6', 1200)">nex-agi/nex-n2.6 | $0.12 | $0.40 |
| Nous | ||
| Hermes 4 405B $el.textContent = 'nousresearch\/hermes-4-405b', 1200)">nousresearch/hermes-4-405b | $1 | $3 |
| NVIDIA | ||
| Nemotron 3 Nano 30B A3B $el.textContent = 'nvidia\/nemotron-3-nano-30b-a3b', 1200)">nvidia/nemotron-3-nano-30b-a3b | $0.06 | $0.24 |
| Nemotron 3 Nano Omni (free) $el.textContent = 'nvidia\/nemotron-3-nano-omni-30b-a3b-reasoning:free', 1200)">nvidia/nemotron-3-nano-omni-30b-a3b-reasoning:free | Free | Free |
| Nemotron 3 Super $el.textContent = 'nvidia\/nemotron-3-super-120b-a12b', 1200)">nvidia/nemotron-3-super-120b-a12b | $0.075 | $0.40 |
| Nemotron 3 Ultra $el.textContent = 'nvidia\/nemotron-3-ultra-550b-a55b', 1200)">nvidia/nemotron-3-ultra-550b-a55b | $0.60 | $2.40 |
| Nemotron 3 Ultra (free) $el.textContent = 'nvidia\/nemotron-3-ultra-550b-a55b:free', 1200)">nvidia/nemotron-3-ultra-550b-a55b:free | Free | Free |
| Nemotron 3.5 Content Safety $el.textContent = 'nvidia\/nemotron-3.5-content-safety', 1200)">nvidia/nemotron-3.5-content-safety | $0.20 | $0.20 |
| Nemotron 3.5 Lightning $el.textContent = 'nvidia\/nemotron-3.5-lightning', 1200)">nvidia/nemotron-3.5-lightning | $0.07 | $0.20 |
| Nemotron 3.5 Lightning (free) $el.textContent = 'nvidia\/nemotron-3.5-lightning:free', 1200)">nvidia/nemotron-3.5-lightning:free | Free | Free |
| Nemotron 3.5 Super VL $el.textContent = 'nvidia\/nemotron-3.5-super-vl', 1200)">nvidia/nemotron-3.5-super-vl | $0.15 | $0.50 |
| Nemotron 3.5 Super VL (free) $el.textContent = 'nvidia\/nemotron-3.5-super-vl:free', 1200)">nvidia/nemotron-3.5-super-vl:free | Free | Free |
| OpenAI | ||
| GPT-3.5 Turbo (older v0613) $el.textContent = 'openai\/gpt-3.5-turbo-0613', 1200)">openai/gpt-3.5-turbo-0613 | $1 | $2 |
| GPT-3.5 Turbo 16k $el.textContent = 'openai\/gpt-3.5-turbo-16k', 1200)">openai/gpt-3.5-turbo-16k | $3 | $4 |
| GPT-4 $el.textContent = 'openai\/gpt-4', 1200)">openai/gpt-4 | $30 | $60 |
| GPT-4.1 $el.textContent = 'openai\/gpt-4.1', 1200)">openai/gpt-4.1 | $2 | $8 |
| GPT-4.1 Mini $el.textContent = 'openai\/gpt-4.1-mini', 1200)">openai/gpt-4.1-mini | $0.40 | $1.60 |
| GPT-4.1 Nano $el.textContent = 'openai\/gpt-4.1-nano', 1200)">openai/gpt-4.1-nano | $0.10 | $0.40 |
| GPT-4o $el.textContent = 'openai\/gpt-4o', 1200)">openai/gpt-4o | $2.50 | $10 |
| GPT-4o (2024-05-13) $el.textContent = 'openai\/gpt-4o-2024-05-13', 1200)">openai/gpt-4o-2024-05-13 | $5 | $15 |
| GPT-4o (2024-08-06) $el.textContent = 'openai\/gpt-4o-2024-08-06', 1200)">openai/gpt-4o-2024-08-06 | $2.50 | $10 |
| GPT-4o (2024-11-20) $el.textContent = 'openai\/gpt-4o-2024-11-20', 1200)">openai/gpt-4o-2024-11-20 | $2.50 | $10 |
| GPT-4o-mini $el.textContent = 'openai\/gpt-4o-mini', 1200)">openai/gpt-4o-mini | $0.15 | $0.60 |
| GPT-4o-mini (2024-07-18) $el.textContent = 'openai\/gpt-4o-mini-2024-07-18', 1200)">openai/gpt-4o-mini-2024-07-18 | $0.15 | $0.60 |
| GPT-5 $el.textContent = 'openai\/gpt-5', 1200)">openai/gpt-5 | $1.25 | $10 |
| GPT-5 Image $el.textContent = 'openai\/gpt-5-image', 1200)">openai/gpt-5-image | $10 | $10 |
| GPT-5 Image Mini $el.textContent = 'openai\/gpt-5-image-mini', 1200)">openai/gpt-5-image-mini | $2.50 | $2 |
| GPT-5 Mini $el.textContent = 'openai\/gpt-5-mini', 1200)">openai/gpt-5-mini | $0.25 | $2 |
| GPT-5 Nano $el.textContent = 'openai\/gpt-5-nano', 1200)">openai/gpt-5-nano | $0.05 | $0.40 |
| GPT-5 Pro $el.textContent = 'openai\/gpt-5-pro', 1200)">openai/gpt-5-pro | $15 | $120 |
| GPT-5.1 $el.textContent = 'openai\/gpt-5.1', 1200)">openai/gpt-5.1 | $1.25 | $10 |
| GPT-5.1-Codex $el.textContent = 'openai\/gpt-5.1-codex', 1200)">openai/gpt-5.1-codex | $1.25 | $10 |
| GPT-5.1-Codex-Max $el.textContent = 'openai\/gpt-5.1-codex-max', 1200)">openai/gpt-5.1-codex-max | $1.25 | $10 |
| GPT-5.1-Codex-Mini $el.textContent = 'openai\/gpt-5.1-codex-mini', 1200)">openai/gpt-5.1-codex-mini | $0.25 | $2 |
| GPT-5.2 $el.textContent = 'openai\/gpt-5.2', 1200)">openai/gpt-5.2 | $1.75 | $14 |
| GPT-5.2 Pro $el.textContent = 'openai\/gpt-5.2-pro', 1200)">openai/gpt-5.2-pro | $21 | $168 |
| GPT-5.2-Codex $el.textContent = 'openai\/gpt-5.2-codex', 1200)">openai/gpt-5.2-codex | $1.75 | $14 |
| GPT-5.3-Codex $el.textContent = 'openai\/gpt-5.3-codex', 1200)">openai/gpt-5.3-codex | $1.75 | $14 |
| GPT-5.4 $el.textContent = 'openai\/gpt-5.4', 1200)">openai/gpt-5.4 | $2.50 | $15 |
| GPT-5.4 Image 2 $el.textContent = 'openai\/gpt-5.4-image-2', 1200)">openai/gpt-5.4-image-2 | $8 | $15 |
| GPT-5.4 Mini $el.textContent = 'openai\/gpt-5.4-mini', 1200)">openai/gpt-5.4-mini | $0.75 | $4.50 |
| GPT-5.4 Nano $el.textContent = 'openai\/gpt-5.4-nano', 1200)">openai/gpt-5.4-nano | $0.20 | $1.25 |
| GPT-5.4 Pro $el.textContent = 'openai\/gpt-5.4-pro', 1200)">openai/gpt-5.4-pro | $30 | $180 |
| GPT-5.5 $el.textContent = 'openai\/gpt-5.5', 1200)">openai/gpt-5.5 | $5 | $30 |
| GPT-5.5 Pro $el.textContent = 'openai\/gpt-5.5-pro', 1200)">openai/gpt-5.5-pro | $30 | $180 |
| GPT-5.6 Luna $el.textContent = 'openai\/gpt-5.6-luna', 1200)">openai/gpt-5.6-luna | $0.20 | $1.20 |
| GPT-5.6 Luna Pro $el.textContent = 'openai\/gpt-5.6-luna-pro', 1200)">openai/gpt-5.6-luna-pro | $0.20 | $1.20 |
| GPT-5.6 Sol $el.textContent = 'openai\/gpt-5.6-sol', 1200)">openai/gpt-5.6-sol | $4 | $20 |
| GPT-5.6 Sol Pro $el.textContent = 'openai\/gpt-5.6-sol-pro', 1200)">openai/gpt-5.6-sol-pro | $4 | $20 |
| GPT-5.6 Terra $el.textContent = 'openai\/gpt-5.6-terra', 1200)">openai/gpt-5.6-terra | $2 | $12 |
| GPT-5.6 Terra Pro $el.textContent = 'openai\/gpt-5.6-terra-pro', 1200)">openai/gpt-5.6-terra-pro | $2 | $12 |
| GPT-6 Astra $el.textContent = 'openai\/gpt-6-astra', 1200)">openai/gpt-6-astra | $10 | $50 |
| GPT-6 Astra Pro $el.textContent = 'openai\/gpt-6-astra-pro', 1200)">openai/gpt-6-astra-pro | $10 | $50 |
| GPT-6 Luna $el.textContent = 'openai\/gpt-6-luna', 1200)">openai/gpt-6-luna | $0.10 | $0.50 |
| GPT-6 Luna Pro $el.textContent = 'openai\/gpt-6-luna-pro', 1200)">openai/gpt-6-luna-pro | $0.10 | $0.50 |
| GPT-6 Sol $el.textContent = 'openai\/gpt-6-sol', 1200)">openai/gpt-6-sol | $2 | $10 |
| GPT-6 Sol Pro $el.textContent = 'openai\/gpt-6-sol-pro', 1200)">openai/gpt-6-sol-pro | $2 | $10 |
| GPT-6.1 Sol $el.textContent = 'openai\/gpt-6.1-sol', 1200)">openai/gpt-6.1-sol | $2 | $10 |
| GPT-6.1 Sol Pro $el.textContent = 'openai\/gpt-6.1-sol-pro', 1200)">openai/gpt-6.1-sol-pro | $2 | $10 |
| GPT-6.1 Terra $el.textContent = 'openai\/gpt-6.1-terra', 1200)">openai/gpt-6.1-terra | $1 | $5 |
| GPT-6.1 Terra Pro $el.textContent = 'openai\/gpt-6.1-terra-pro', 1200)">openai/gpt-6.1-terra-pro | $1 | $5 |
| gpt-oss-20b $el.textContent = 'openai\/gpt-oss-20b', 1200)">openai/gpt-oss-20b | $0.075 | $0.30 |
| gpt-oss-safeguard-20b $el.textContent = 'openai\/gpt-oss-safeguard-20b', 1200)">openai/gpt-oss-safeguard-20b | $0.075 | $0.30 |
| GPT-OSS 120B $el.textContent = 'gpt-oss-120b', 1200)">gpt-oss-120b | $1 | $5 |
| GPT Astra Latest $el.textContent = '~openai\/gpt-astra-latest', 1200)">~openai/gpt-astra-latest | $10 | $50 |
| GPT Audio $el.textContent = 'openai\/gpt-audio', 1200)">openai/gpt-audio | $2.50 | $10 |
| GPT Audio Mini $el.textContent = 'openai\/gpt-audio-mini', 1200)">openai/gpt-audio-mini | $0.60 | $2.40 |
| GPT Chat Latest $el.textContent = 'openai\/gpt-chat-latest', 1200)">openai/gpt-chat-latest | $5 | $30 |
| GPT Luna Latest $el.textContent = '~openai\/gpt-luna-latest', 1200)">~openai/gpt-luna-latest | $0.10 | $0.50 |
| GPT Mini Latest $el.textContent = '~openai\/gpt-mini-latest', 1200)">~openai/gpt-mini-latest | $0.75 | $4.50 |
| GPT Sol Latest $el.textContent = '~openai\/gpt-sol-latest', 1200)">~openai/gpt-sol-latest | $2 | $10 |
| GPT Terra Latest $el.textContent = '~openai\/gpt-terra-latest', 1200)">~openai/gpt-terra-latest | $1 | $5 |
| o3 $el.textContent = 'openai\/o3', 1200)">openai/o3 | $2 | $8 |
| o3 Pro $el.textContent = 'openai\/o3-pro', 1200)">openai/o3-pro | $20 | $80 |
| OpenRouter | ||
| Lain Router $el.textContent = 'lain-router', 1200)">lain-router | $1 | $5 |
| Particle AI | ||
| Particle-1 $el.textContent = 'particle-ai\/particle-1', 1200)">particle-ai/particle-1 | $0.06 | $0.50 |
| Particle-1 (free) $el.textContent = 'particle-ai\/particle-1:free', 1200)">particle-ai/particle-1:free | Free | Free |
| Perceptron | ||
| Perceptron Mk1 $el.textContent = 'perceptron\/perceptron-mk1', 1200)">perceptron/perceptron-mk1 | $0.15 | $1.50 |
| Perceptron Mk1.5 $el.textContent = 'perceptron\/perceptron-mk1.5', 1200)">perceptron/perceptron-mk1.5 | $0.15 | $1.50 |
| Perplexity | ||
| Sonar $el.textContent = 'perplexity\/sonar', 1200)">perplexity/sonar | $1 | $1 |
| Sonar Deep Research $el.textContent = 'perplexity\/sonar-deep-research', 1200)">perplexity/sonar-deep-research | $2 | $8 |
| Sonar Pro $el.textContent = 'perplexity\/sonar-pro', 1200)">perplexity/sonar-pro | $3 | $15 |
| Sonar Pro Search $el.textContent = 'perplexity\/sonar-pro-search', 1200)">perplexity/sonar-pro-search | $3 | $15 |
| Sonar Reasoning Pro $el.textContent = 'perplexity\/sonar-reasoning-pro', 1200)">perplexity/sonar-reasoning-pro | $2 | $8 |
| PrismML | ||
| Ternary Bonsai 2 9B $el.textContent = 'prism-ml\/ternary-bonsai-2-9b', 1200)">prism-ml/ternary-bonsai-2-9b | $0.08 | $0.13 |
| Ternary Bonsai 2 27B $el.textContent = 'prism-ml\/ternary-bonsai-2-27b', 1200)">prism-ml/ternary-bonsai-2-27b | $0.075 | $0.50 |
| Qwen | ||
| Qwen-Plus $el.textContent = 'qwen\/qwen-plus', 1200)">qwen/qwen-plus | $0.26 | $0.78 |
| Qwen2.5 72B Instruct $el.textContent = 'qwen\/qwen-2.5-72b-instruct', 1200)">qwen/qwen-2.5-72b-instruct | $0.36 | $0.40 |
| Qwen2.5 Coder 32B Instruct $el.textContent = 'qwen\/qwen-2.5-coder-32b-instruct', 1200)">qwen/qwen-2.5-coder-32b-instruct | $0.66 | $1 |
| Qwen2.5 VL 72B Instruct $el.textContent = 'qwen\/qwen2.5-vl-72b-instruct', 1200)">qwen/qwen2.5-vl-72b-instruct | $0.80 | $1 |
| Qwen3 14B $el.textContent = 'qwen\/qwen3-14b', 1200)">qwen/qwen3-14b | $0.12 | $0.24 |
| Qwen3 30B A3B $el.textContent = 'qwen\/qwen3-30b-a3b', 1200)">qwen/qwen3-30b-a3b | $0.12 | $0.50 |
| Qwen3 30B A3B Instruct 2507 $el.textContent = 'qwen\/qwen3-30b-a3b-instruct-2507', 1200)">qwen/qwen3-30b-a3b-instruct-2507 | $0.10 | $0.30 |
| Qwen3 32B $el.textContent = 'qwen\/qwen3-32b', 1200)">qwen/qwen3-32b | $0.08 | $0.28 |
| Qwen3 235B A22B Instruct 2507 $el.textContent = 'qwen\/qwen3-235b-a22b-2507', 1200)">qwen/qwen3-235b-a22b-2507 | $0.14 | $0.80 |
| Qwen3 235B A22B Thinking 2507 $el.textContent = 'qwen\/qwen3-235b-a22b-thinking-2507', 1200)">qwen/qwen3-235b-a22b-thinking-2507 | $0.45 | $3.50 |
| Qwen3 Coder 30B A3B Instruct $el.textContent = 'qwen\/qwen3-coder-30b-a3b-instruct', 1200)">qwen/qwen3-coder-30b-a3b-instruct | $0.15 | $0.60 |
| Qwen3 Coder 480B A35B $el.textContent = 'qwen\/qwen3-coder', 1200)">qwen/qwen3-coder | $0.30 | $1 |
| Qwen3 Coder Flash $el.textContent = 'qwen\/qwen3-coder-flash', 1200)">qwen/qwen3-coder-flash | $0.195 | $0.975 |
| Qwen3 Coder Next $el.textContent = 'qwen\/qwen3-coder-next', 1200)">qwen/qwen3-coder-next | $0.12 | $0.80 |
| Qwen3 Next 80B A3B Instruct $el.textContent = 'qwen\/qwen3-next-80b-a3b-instruct', 1200)">qwen/qwen3-next-80b-a3b-instruct | $0.09 | $1.10 |
| Qwen3 VL 8B Instruct $el.textContent = 'qwen\/qwen3-vl-8b-instruct', 1200)">qwen/qwen3-vl-8b-instruct | $0.25 | $0.75 |
| Qwen3 VL 30B A3B Instruct $el.textContent = 'qwen\/qwen3-vl-30b-a3b-instruct', 1200)">qwen/qwen3-vl-30b-a3b-instruct | $0.15 | $0.60 |
| Qwen3 VL 235B A22B Instruct $el.textContent = 'qwen\/qwen3-vl-235b-a22b-instruct', 1200)">qwen/qwen3-vl-235b-a22b-instruct | $0.21 | $1.90 |
| Qwen3.5 397B A17B $el.textContent = 'qwen\/qwen3.5-397b-a17b', 1200)">qwen/qwen3.5-397b-a17b | $0.45 | $3 |
| Qwen3.5 Plus 2026-02-15 $el.textContent = 'qwen\/qwen3.5-plus-02-15', 1200)">qwen/qwen3.5-plus-02-15 | $0.26 | $1.56 |
| Qwen3.5 Plus 2026-04-20 $el.textContent = 'qwen\/qwen3.5-plus-20260420', 1200)">qwen/qwen3.5-plus-20260420 | $0.30 | $1.80 |
| Qwen3.5-9B $el.textContent = 'qwen\/qwen3.5-9b', 1200)">qwen/qwen3.5-9b | $0.109 | $0.16 |
| Qwen3.5-27B $el.textContent = 'qwen\/qwen3.5-27b', 1200)">qwen/qwen3.5-27b | $0.26 | $2.60 |
| Qwen3.5-35B-A3B $el.textContent = 'qwen\/qwen3.5-35b-a3b', 1200)">qwen/qwen3.5-35b-a3b | $0.14 | $1 |
| Qwen3.5-122B-A10B $el.textContent = 'qwen\/qwen3.5-122b-a10b', 1200)">qwen/qwen3.5-122b-a10b | $0.26 | $2.08 |
| Qwen3.5-Flash $el.textContent = 'qwen\/qwen3.5-flash-02-23', 1200)">qwen/qwen3.5-flash-02-23 | $0.065 | $0.26 |
| Qwen3.6 27B $el.textContent = 'qwen\/qwen3.6-27b', 1200)">qwen/qwen3.6-27b | $0.32 | $3.20 |
| Qwen3.6 35B A3B $el.textContent = 'qwen\/qwen3.6-35b-a3b', 1200)">qwen/qwen3.6-35b-a3b | $0.10 | $0.90 |
| Qwen3.6 Flash $el.textContent = 'qwen\/qwen3.6-flash', 1200)">qwen/qwen3.6-flash | $0.1875 | $1.125 |
| Qwen3.6 Plus $el.textContent = 'qwen\/qwen3.6-plus', 1200)">qwen/qwen3.6-plus | $0.325 | $1.95 |
| Qwen3.7 Flash $el.textContent = 'qwen\/qwen3.7-flash', 1200)">qwen/qwen3.7-flash | $0.03 | $0.13 |
| Qwen3.7 Max $el.textContent = 'qwen\/qwen3.7-max', 1200)">qwen/qwen3.7-max | $1.475 | $4.425 |
| Qwen3.7 Plus $el.textContent = 'qwen\/qwen3.7-plus', 1200)">qwen/qwen3.7-plus | $0.32 | $1.28 |
| Qwen3.8 2.4T A95B $el.textContent = 'qwen\/qwen3.8-2.4t-a95b', 1200)">qwen/qwen3.8-2.4t-a95b | $2 | $6 |
| Qwen3.8 27B $el.textContent = 'qwen\/qwen3.8-27b', 1200)">qwen/qwen3.8-27b | $0.15 | $1.875 |
| Qwen3.8 Flash $el.textContent = 'qwen\/qwen3.8-flash', 1200)">qwen/qwen3.8-flash | $0.15 | $0.47 |
| Qwen3.8 Max (0902) $el.textContent = 'qwen\/qwen3.8-max-0902', 1200)">qwen/qwen3.8-max-0902 | $2 | $6 |
| Qwen3.8 Max Prime $el.textContent = 'qwen\/qwen3.8-max-prime', 1200)">qwen/qwen3.8-max-prime | $4 | $12 |
| Qwen3.8 Omni Flash $el.textContent = 'qwen\/qwen3.8-omni-flash', 1200)">qwen/qwen3.8-omni-flash | $0.15 | $0.47 |
| Qwen4 Max $el.textContent = 'qwen\/qwen4-max', 1200)">qwen/qwen4-max | $1.50 | $4.50 |
| Recursive | ||
| Flint (free) $el.textContent = 'recursive\/flint-v1.0:free', 1200)">recursive/flint-v1.0:free | Free | Free |
| Reflection | ||
| Beam 1.0 501B A23B $el.textContent = 'reflection\/beam-1.0-501b-a23b', 1200)">reflection/beam-1.0-501b-a23b | $0.30 | $1 |
| Reka | ||
| Reka Edge $el.textContent = 'rekaai\/reka-edge', 1200)">rekaai/reka-edge | $0.10 | $0.10 |
| Reka Flash 3 $el.textContent = 'rekaai\/reka-flash-3', 1200)">rekaai/reka-flash-3 | $0.10 | $0.20 |
| Relace | ||
| Relace Apply 3 $el.textContent = 'relace\/relace-apply-3', 1200)">relace/relace-apply-3 | $0.85 | $1.25 |
| Relace Search $el.textContent = 'relace\/relace-search', 1200)">relace/relace-search | $1 | $3 |
| Ricursive | ||
| Ripple 65B Preview $el.textContent = 'ricursiveai\/ripple-65b-preview', 1200)">ricursiveai/ripple-65b-preview | $0.10 | $0.30 |
| Sakana | ||
| Fugu Max $el.textContent = 'sakana\/fugu-max', 1200)">sakana/fugu-max | $2 | $6 |
| Fugu Ultra $el.textContent = 'sakana\/fugu-ultra', 1200)">sakana/fugu-ultra | $5 | $30 |
| Fugu Ultra v2 $el.textContent = 'sakana\/fugu-ultra-v2', 1200)">sakana/fugu-ultra-v2 | $5 | $30 |
| Sao10K | ||
| Llama 3 8B Lunaris $el.textContent = 'sao10k\/l3-lunaris-8b', 1200)">sao10k/l3-lunaris-8b | $0.04 | $0.05 |
| Llama 3.1 Euryale 70B v2.2 $el.textContent = 'sao10k\/l3.1-euryale-70b', 1200)">sao10k/l3.1-euryale-70b | $0.85 | $0.85 |
| ScaleDown | ||
| Extract $el.textContent = 'scaledown\/extract', 1200)">scaledown/extract | $0.04 | Free |
| Summarize $el.textContent = 'scaledown\/summarize', 1200)">scaledown/summarize | $0.04 | Free |
| SpaceXAI | ||
| Grok 4.3 $el.textContent = 'x-ai\/grok-4.3', 1200)">x-ai/grok-4.3 | $1.25 | $2.50 |
| Grok 4.5 $el.textContent = 'x-ai\/grok-4.5', 1200)">x-ai/grok-4.5 | $2 | $6 |
| Grok 4.6 $el.textContent = 'x-ai\/grok-4.6', 1200)">x-ai/grok-4.6 | $2 | $6 |
| Grok 4.7 $el.textContent = 'x-ai\/grok-4.7', 1200)">x-ai/grok-4.7 | $2 | $6 |
| Grok 4.20 $el.textContent = 'x-ai\/grok-4.20', 1200)">x-ai/grok-4.20 | $1.25 | $2.50 |
| Grok 4.20 Multi-Agent $el.textContent = 'x-ai\/grok-4.20-multi-agent', 1200)">x-ai/grok-4.20-multi-agent | $1.25 | $2.50 |
| Grok Build 0.1 $el.textContent = 'x-ai\/grok-build-0.1', 1200)">x-ai/grok-build-0.1 | $1 | $2 |
| Grok Latest $el.textContent = '~x-ai\/grok-latest', 1200)">~x-ai/grok-latest | $2 | $6 |
| StepFun | ||
| Step 3.7 Flash $el.textContent = 'stepfun\/step-3.7-flash', 1200)">stepfun/step-3.7-flash | $0.20 | $1.15 |
| Step 5 Preview $el.textContent = 'stepfun\/step-5-preview', 1200)">stepfun/step-5-preview | $1 | $2.70 |
| Tencent | ||
| Hy-MT2-1.8B $el.textContent = 'tencent\/hy-mt2-1.8b', 1200)">tencent/hy-mt2-1.8b | $0.044 | $0.177 |
| Hy-MT2-7B $el.textContent = 'tencent\/hy-mt2-7b', 1200)">tencent/hy-mt2-7b | $0.074 | $0.295 |
| Hy-MT2-30B-A3B $el.textContent = 'tencent\/hy-mt2-30b-a3b', 1200)">tencent/hy-mt2-30b-a3b | $0.074 | $0.295 |
| Hy3 $el.textContent = 'tencent\/hy3', 1200)">tencent/hy3 | $0.132 | $0.528 |
| Hy3 preview $el.textContent = 'tencent\/hy3-preview', 1200)">tencent/hy3-preview | $0.18 | $0.60 |
| Hy4 $el.textContent = 'tencent\/hy4', 1200)">tencent/hy4 | $0.417 | $1.2505 |
| Hy4 preview $el.textContent = 'tencent\/hy4-preview', 1200)">tencent/hy4-preview | $0.834 | $2.501 |
| TheDrummer | ||
| Cydonia 24B V4.1 $el.textContent = 'thedrummer\/cydonia-24b-v4.1', 1200)">thedrummer/cydonia-24b-v4.1 | $0.30 | $0.50 |
| Skyfall 36B V2 $el.textContent = 'thedrummer\/skyfall-36b-v2', 1200)">thedrummer/skyfall-36b-v2 | $0.55 | $0.80 |
| UnslopNemo 12B $el.textContent = 'thedrummer\/unslopnemo-12b', 1200)">thedrummer/unslopnemo-12b | $0.40 | $0.40 |
| Thinking Machines | ||
| Inkling $el.textContent = 'thinkingmachines\/inkling', 1200)">thinkingmachines/inkling | $1 | $4.05 |
| Inkling 2 Small $el.textContent = 'thinkingmachines\/inkling-2-small', 1200)">thinkingmachines/inkling-2-small | $0.30 | $1 |
| Inkling 2 Small (free) $el.textContent = 'thinkingmachines\/inkling-2-small:free', 1200)">thinkingmachines/inkling-2-small:free | Free | Free |
| Inkling Small $el.textContent = 'thinkingmachines\/inkling-small', 1200)">thinkingmachines/inkling-small | $0.45 | $1.20 |
| Unbiased | ||
| Pareto 26.9 $el.textContent = 'unbiased\/pareto-26.9', 1200)">unbiased/pareto-26.9 | $2.50 | $7.50 |
| Pareto 26.10 $el.textContent = 'unbiased\/pareto-26.10', 1200)">unbiased/pareto-26.10 | $0.80 | $3.20 |
| Pareto Latest $el.textContent = '~unbiased\/pareto-latest', 1200)">~unbiased/pareto-latest | $0.80 | $3.20 |
| Undi95 | ||
| ReMM SLERP 13B $el.textContent = 'undi95\/remm-slerp-l2-13b', 1200)">undi95/remm-slerp-l2-13b | $0.30 | $0.50 |
| Upstage | ||
| Solar Mini 4 $el.textContent = 'upstage\/solar-mini4', 1200)">upstage/solar-mini4 | $0.05 | $0.20 |
| Solar Pro 4 $el.textContent = 'upstage\/solar-pro4', 1200)">upstage/solar-pro4 | $0.15 | $0.60 |
| Venice | ||
| Uncensored $el.textContent = 'cognitivecomputations\/dolphin-mistral-24b-venice-edition', 1200)">cognitivecomputations/dolphin-mistral-24b-venice-edition | $0.20 | $0.90 |
| Writer | ||
| Palmyra X5 $el.textContent = 'writer\/palmyra-x5', 1200)">writer/palmyra-x5 | $0.60 | $6 |
| Xiaomi | ||
| MiMo-V2.5 $el.textContent = 'xiaomi\/mimo-v2.5', 1200)">xiaomi/mimo-v2.5 | $0.40 | $2 |
| MiMo-V2.5-Pro $el.textContent = 'xiaomi\/mimo-v2.5-pro', 1200)">xiaomi/mimo-v2.5-pro | $0.435 | $0.87 |
| MiMo-V2.6-Flash $el.textContent = 'xiaomi\/mimo-v2.6-flash', 1200)">xiaomi/mimo-v2.6-flash | $0.14 | $0.28 |
| MiMo-V2.6-Pro $el.textContent = 'xiaomi\/mimo-v2.6-pro', 1200)">xiaomi/mimo-v2.6-pro | $0.435 | $0.87 |
| MiMo-V2.6-Pro-UltraSpeed $el.textContent = 'xiaomi\/mimo-v2.6-pro-ultraspeed', 1200)">xiaomi/mimo-v2.6-pro-ultraspeed | $4.35 | $8.70 |
| Z.ai | ||
| GLM 4.5 $el.textContent = 'z-ai\/glm-4.5', 1200)">z-ai/glm-4.5 | $0.60 | $2.20 |
| GLM 4.5 Air $el.textContent = 'z-ai\/glm-4.5-air', 1200)">z-ai/glm-4.5-air | $0.13 | $0.85 |
| GLM 4.5V $el.textContent = 'z-ai\/glm-4.5v', 1200)">z-ai/glm-4.5v | $0.60 | $1.80 |
| GLM 4.6 $el.textContent = 'z-ai\/glm-4.6', 1200)">z-ai/glm-4.6 | $0.50 | $2 |
| GLM 4.6V $el.textContent = 'z-ai\/glm-4.6v', 1200)">z-ai/glm-4.6v | $0.30 | $0.90 |
| GLM 4.7 $el.textContent = 'z-ai\/glm-4.7', 1200)">z-ai/glm-4.7 | $0.40 | $1.75 |
| GLM 4.7 Flash $el.textContent = 'z-ai\/glm-4.7-flash', 1200)">z-ai/glm-4.7-flash | $0.0605 | $0.40 |
| GLM 5 $el.textContent = 'z-ai\/glm-5', 1200)">z-ai/glm-5 | $1 | $3.20 |
| GLM 5 Turbo $el.textContent = 'z-ai\/glm-5-turbo', 1200)">z-ai/glm-5-turbo | $1.20 | $4 |
| GLM 5.1 $el.textContent = 'z-ai\/glm-5.1', 1200)">z-ai/glm-5.1 | $1.40 | $4.40 |
| GLM 5.2 $el.textContent = 'z-ai\/glm-5.2', 1200)">z-ai/glm-5.2 | $0.007 | $6.80 |
| GLM 5.3 $el.textContent = 'z-ai\/glm-5.3', 1200)">z-ai/glm-5.3 | $0.0699 | $1.40 |
| GLM 5.3 Flash $el.textContent = 'z-ai\/glm-5.3-flash', 1200)">z-ai/glm-5.3-flash | $0.0399 | $0.0784 |
| GLM 5.3 FlashX $el.textContent = 'z-ai\/glm-5.3-flashx', 1200)">z-ai/glm-5.3-flashx | $0.37 | $1.25 |
| GLM 5.3 FlashX Legal $el.textContent = 'z-ai\/glm-5.3-flashx-legal', 1200)">z-ai/glm-5.3-flashx-legal | $0.37 | $1.25 |
| GLM 5.3 Prime $el.textContent = 'z-ai\/glm-5.3-prime', 1200)">z-ai/glm-5.3-prime | $2.80 | $8.80 |
| GLM 5V Turbo $el.textContent = 'z-ai\/glm-5v-turbo', 1200)">z-ai/glm-5v-turbo | $1.20 | $4 |
| GLM Flash Latest $el.textContent = '~z-ai\/glm-flash-latest', 1200)">~z-ai/glm-flash-latest | $0.0399 | $0.0784 |
| GLM Latest $el.textContent = '~z-ai\/glm-latest', 1200)">~z-ai/glm-latest | $0.0699 | $1.40 |
Billing
There is no subscription. Each request is charged from your balance by the tokens it used, at the model's price above; if the upstream provider charges more for a request (very long prompts, routers), you pay what it actually cost. Failed upstream requests are free.
Top up in Billing with any token on any chain; it arrives as USDC credit. Every request is itemised in Usage. When the balance reaches zero, requests return 402 until you top up.
Errors & limits
Errors use OpenAI's shape, {"error": {"message": "…", "type": "…"}}, so SDKs raise their usual exceptions.
| Status | Meaning |
|---|---|
| 400 | Unknown or disabled model, or a malformed body. |
| 401 | Missing or invalid API key. |
| 402 | Your balance is empty. Top up in Billing. |
| 403 | The account is disabled. |
| 429 | More than 60 requests a minute per account. |
| 502 | The upstream model provider failed. Nothing is charged. |
Chat app, phone, extension & TUI
Chat in the browser
Every model with search, conversation history, file uploads and agents at chat.lain-os.com. Sign in with your Lain OS account; messages are billed from the same balance.
Lain OS TUI
The terminal agent. Install it with the command below, then point it at this API in its .env with your key.
Android app
The chat as an app (LainOS.apk). Share any text or link to Ask Lain from another app and a new chat opens with it typed in; long-press the icon for a new chat, the desktop or the roadmap.
Browser extension
Lain in the browser's side panel (LainOS-extension.zip): select text → Ask Lain, Summarise this page, or select a contract address → Research this token. It uses your own API key; Alt+L opens it.
curl -fsSL https://lain-os.com/install.sh | sh
The Wired
Community compute. Ask for wired/<model> with the same key and the request runs on an online node that serves that model, at that node's price per token (free nodes cost nothing). /v1/models lists what is online. Answers arrive in one piece; a streamed request gets the whole answer as one chunk. If no node serves the model you get 503, if none answers in time 504.
Other people's machines run these prompts and their operators can read them, so don't send secrets. Lain erases the prompt and the answer once delivered; each job has a public receipt with its cost and hashes. Have a GPU? Run a node and earn credits.