96 models · 9 providers
One key.
Every model.
NightRouter routes leading AI models through one OpenAI- and Anthropic-compatible API. Use it in your code, in Claude Code, Codex CLI, Cline or Cursor. Pay only for what you use.
Models
96
Providers
9
Lowest input price · per 1M tokens
- $0.02qwen3.8-omni-flash
- $0.02claude-haiku-5-5
- $0.02glm-5.3-flash
- $0.02claude-sonnet-5
- $0.02deepseek-v4.1-flash
Providers
- Anthropic
- DeepSeek
- MiniMax
- Moonshot
- OpenAI
- xAI
- 智谱
- 阿里巴巴
APIs
- Anthropic Messages
- OpenAI Chat
- claude-fable-5$0.07in / 1M
- claude-fable-5-1$0.12in / 1M
- claude-fable-5-2-req$0.0077/ request
- claude-haiku-5-5$0.02in / 1M
- claude-haiku-5-5-req$0.0012/ request
- claude-opus-4-6$0.03in / 1M
- claude-opus-4-7$0.03in / 1M
- claude-opus-4-7-req$0.0019/ request
- claude-opus-4-8$0.03in / 1M
- claude-opus-4-8-req$0.0023/ request
- claude-opus-5$0.05in / 1M
- claude-opus-5-5$0.07in / 1M
- claude-opus-5-5-req$0.0046/ request
- claude-opus-5-codex$0.15in / 1M
- claude-opus-5-req$0.0031/ request
- claude-sonnet-4-5$3.60in / 1M
- claude-sonnet-4-6$0.03in / 1M
- claude-sonnet-4-6-req$0.0010/ request
- claude-sonnet-5$0.02in / 1M
- claude-sonnet-5-5$0.05in / 1M
- claude-sonnet-5-5-req$0.0027/ request
- claude-sonnet-5-req$0.0019/ request
- deepseek-v3.2-req$0.0019/ request
- deepseek-v4-flash$0.06in / 1M
- deepseek-v4-flash-0731$0.0004/ request
- deepseek-v4-flash-0731-req$0.0012/ request
- deepseek-v4-flash-0731-Uncensored$0.0012/ request
- deepseek-v4-flash-req$0.0012/ request
- deepseek-v4-flash-Uncensored$0.0012/ request
- deepseek-v4-flash-vision-exp-req$0.0012/ request
- deepseek-v4-pro-0813$0.05in / 1M
- deepseek-v4-pro-0813-req$0.0012/ request
- deepseek-v4-pro-req$0.0012/ request
- deepseek-v4-pro-Uncensored$0.0015/ request
- deepseek-v4.1-flash$0.02in / 1M
- deepseek-v4.1-flash-1017$0.02in / 1M
- deepseek-v4.1-flash-1017-req$0.0008/ request
- deepseek-v4.1-flash-full-Uncensored$0.50in / 1M
- deepseek-v4.1-flash-req$0.0012/ request
- deepseek-v4.1-flash-Uncensored$0.0010/ request
- Gemini 4 Argon$0.12in / 1M
- gemini-3.1-pro-preview$0.05in / 1M
- gemini-3.6-flash$0.04in / 1M
- gemini-3.6-flash-req$0.0019/ request
- gemini-3.7-flash$0.05in / 1M
- gemini-3.7-flash-req$0.0019/ request
- gemini-3.8-flash$0.03in / 1M
- gemini-3.8-flash-req$0.0019/ request
- gemini-4-argon$0.12in / 1M
- gemini-4-argon-req$0.0046/ request
- gemini-4-hydrogen-req$0.0058/ request
- minimax-m3$0.0008/ request
- minimax-m3.1-flash$0.0012/ request
- kimi-2.7-code$0.0012/ request
- kimi-2.7-req$0.0019/ request
- kimi-k2.7-code$0.0012/ request
- kimi-k2.8$0.04in / 1M
- kimi-k3$0.04in / 1M
- kimi-k3-req$0.0027/ request
- kimi-k3-Uncensored$0.0038/ request
- kimi-k3.1-pro$0.09in / 1M
- kimi-k3.1-pro-req$0.0019/ request
- kimi-k3.1-pro-Uncensored$0.0058/ request
- gpt-5.6-sol$0.10in / 1M
- gpt-5.6-sol-req$0.0023/ request
- gpt-5.6-terra$0.04in / 1M
- gpt-5.6-terra-req$0.0015/ request
- gpt-6-astra$0.07in / 1M
- gpt-6-astra-req$0.0046/ request
- gpt-6-luna$0.02in / 1M
- gpt-6-luna-req$0.0015/ request
- gpt-6-sol-Uncensored$0.0058/ request
- gpt-6.1-sol$0.04in / 1M
- gpt-6.1-sol-req$0.0019/ request
- gpt-6.2-sol$0.08in / 1M
- grok-4.6$0.0038/ request
- grok-4.7$0.0038/ request
- glm-5.1$0.04in / 1M
- glm-5.1-req$0.0019/ request
- glm-5.2$0.04in / 1M
- glm-5.2-req$0.0019/ request
- glm-5.3$0.07in / 1M
- glm-5.3-flash$0.02in / 1M
- glm-5.3-flash-req$0.0012/ request
- glm-5.3-flash-Uncensored$0.0010/ request
- glm-5.3-prime-req$0.0027/ request
- glm-5.3-req$0.0019/ request
- qwen3.7-max-req$0.0038/ request
- qwen3.8-flash$0.02in / 1M
- qwen3.8-flash-req$0.0012/ request
- qwen3.8-max-0902$0.07in / 1M
- qwen3.8-max-0902-req$0.0023/ request
- qwen3.8-max-req$0.0019/ request
- qwen3.8-omni-flash$0.02in / 1M
- qwen3.8-omni-flash-req$0.0008/ request
- qwen4-max$0.08in / 1M
Model finder
Not sure which model? Start from the job.
Pick what you are building — we list models from the current catalog, with today's prices.
Text models with tool use and a native Anthropic Messages or Responses API — the APIs that coding agents such as Claude Code and Codex CLI speak. Lowest price first: per-token models by input price, then per-request models by price per request; models without a price come last.
No model in the current catalog matches this task.
Text models billed per token, lowest input price per 1M tokens first. Per-request models cannot be compared with that price, so they are left out.
- qwen3.8-omni-flash阿里巴巴$0.02 in · $0.06 out / 1M
- claude-haiku-5-5Anthropic$0.02 in · $0.10 out / 1M
- glm-5.3-flash智谱$0.02 in · $0.08 out / 1M
- claude-sonnet-5Anthropic$0.02 in · $0.12 out / 1M
Showing 4 of 41 matching models
Browse in the catalogText models tagged as reasoning models. Lowest price first: per-token models by input price, then per-request models by price per request; models without a price come last.
No model in the current catalog matches this task.
Text models that accept images as input. Lowest price first: per-token models by input price, then per-request models by price per request; models without a price come last.
No model in the current catalog matches this task.
Image generation models. Lowest price first: per-token models by input price, then per-request models by price per request; models without a price come last.
No model in the current catalog matches this task.
Video generation models. Lowest price first: per-token models by input price, then per-request models by price per request; models without a price come last.
No model in the current catalog matches this task.
Audio models. Lowest price first: per-token models by input price, then per-request models by price per request; models without a price come last.
No model in the current catalog matches this task.
Works with
Plug it into the tool you already use.
NightRouter speaks the OpenAI and Anthropic APIs natively, so coding agents, CLIs and SDKs work without patches.
Claude Code
Terminal coding agent from Anthropic. Uses the Anthropic Messages API.
Generate configCodex CLI
Terminal coding agent from OpenAI. Uses the Responses API.
Generate configCline · Roo Code · Cursor
Editor agents and IDEs. Add NightRouter as an OpenAI-compatible provider.
Generate configSDKs & HTTP
The OpenAI and Anthropic SDKs, or plain cURL. Change the base URL and the key.
Generate config
Get started
Three steps. From zero to first request.
Create an account
Sign up with a username and password.
Continue with usernameTop up your balance
Pay as you go with a bank QR (VietQR) or a redemption code. Card and crypto are coming soon.
VietQR bank transferRedemption codeCard · USDTsoonGet your API key
Use it in your code, in Claude Code or in any OpenAI-compatible client.
NIGHTROUTER_API_KEYsk-nr-your-keyOpenAI + Anthropic compatible
Cost calculator
Know your bill before you run it.
Pick a model and your monthly usage. Prices are the current per-token or per-request rates of each model.
$0.07 in · $0.36 out per 1M tokens
Estimated cost
$0.14per month
- Input
- $0.07
- Output
- $0.07
Made for Vietnam
VietQR payments, VND prices, a Vietnamese interface.
VietQR top-up via SePay
Scan the QR with any Vietnamese banking app. SePay confirms the transfer and your balance is credited automatically.
Clear VND pricing
Switch to VND in the header to see every price in dong. 1 credit ($1) = 26.000 ₫.
Vietnamese interface
Switch the language to Tiếng Việt in the header and the whole dashboard follows.
Setup generator
Your config, ready to paste.
Pick your tool and model — we write the exact settings. Only models that support the API your tool uses are listed.
22 models with Anthropic Messages API
Add to ~/.zshrc, then run claude.
export ANTHROPIC_BASE_URL='https://api.nightrouter.ai' export ANTHROPIC_AUTH_TOKEN='sk-nr-your-key' export ANTHROPIC_MODEL='claude-fable-5'
Why NightRouter
Built for people who ship with AI.
One key, every model
Every model in the catalog shares one balance and one bill.
Two APIs, no rewrites
OpenAI- and Anthropic-compatible, so coding agents, CLIs and SDKs work as they are.
Pay as you go
Top up what you need. No subscription.
Transparent usage
Every request is logged with its tokens and cost, and you can export the log.
Scoped keys
Create separate keys, set limits and revoke any of them at any time.
English & Tiếng Việt
A bilingual dashboard, local bank payments and VND prices.
FAQ
Questions, answered.
Which APIs does NightRouter support?
OpenAI-compatible /v1/chat/completions and /v1/responses, plus the native Anthropic /v1/messages API used by Claude Code. Each model supports some of them — see its model page.
How is usage billed?
Per token (input and output) or per request, depending on the model. Prices are on every model page, shown in USD, VND or CNY.
Does my balance expire?
No. Pay-as-you-go credit stays on your account until you use it.
How do I pay?
Vietnamese bank transfer via QR (credited automatically) and redemption codes. Card and USDT are coming soon.
Can I use it with Claude Code?
Yes — set ANTHROPIC_BASE_URL=https://api.nightrouter.ai and your NightRouter key. The setup generator above writes the exact settings.