One API for China's frontier reasoning models
Compatible with the OpenAI API, AnRouter gives you lower-cost access to DeepSeek, GLM, Kimi, MiniMax, and Qwen—so you can build production-grade AI agents and automated workflows faster.
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.
Three protocols, native
OpenAI, Anthropic, and Gemini protocols are supported natively — not through translation layers. 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
Each model is selected for a distinct strength — reasoning, code generation, long-context comprehension, agentic execution, or creative work — and delivered through the same endpoint with consistent API semantics.
DeepSeek
deepseek-v4-flash-0731
Z.ai
glm-5.3
Z.ai
glm-5.3-flash
Moonshot AI
kimi-k2.6
MiniMax
minimax-m3
Qwen
qwen-3.8-27b
Get started
Start building with AnRouter.
Free API access. No credit card required.