One API for China’s Frontier AI Models
Leading open-source ecosystems, one unified interface, flexible access.
Access DeepSeek, GLM, MiniMax, Qwen, and MiMo through OpenAI-compatible APIs to build production AI agents and automated workflows at lower cost.
curl -X POST "https://api.anrouter.com/v1/chat/completions" \
-H "Authorization: Bearer sk-••••" \
-d '{
"model": "glm-5.3",
"messages": [
{ "role": "user", "content": "..." }
]
}'Extended context, no chunking
Context windows up to one million tokens. Complete codebases, long-form legal documents, and multi-source research can be processed in a single API call.
Built for production economics
Frontier reasoning at rates designed for sustained, high-volume usage. Committed usage unlocks volume discounts across every model.
Mainstream protocols, directly compatible
OpenAI and Anthropic protocols are directly supported without rewriting existing application logic. Point any compatible SDK at AnRouter and it works.
Works with the tools developers already use
OpenCode, Codex, Cline, Claude Code, and every major AI development tool integrates with AnRouter through standard protocols. No application code changes and no prompt rewrites.
The model lineup
Eleven models cover reasoning, coding, multimodal input, long context, and agent workflows through one endpoint with consistent API semantics. Card prices are input, cached input, and output.
DeepSeek
deepseek-v4-flash-0731
DeepSeek
deepseek-v4.1-flash
Z.AI
glm-5
Z.AI
glm-5.2
Z.AI
glm-5.3
Z.AI
glm-5.3-flash
MiniMax
minimax-m3
Qwen
qwen3.8-27b
Qwen
qwen3.8-flash-next
Xiaomi MiMo
mimo-v2.6-pro
Xiaomi MiMo
mimo-v2.6-flash
Get started
Start building with AnRouter.
Free API access. No credit card required.