AnRouter

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.

POST/v1/chat/completions
Request
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.

Cursor
Windsurf
GitHub Copilot
Claude Code
VS Code
OpenClaw
OpenCode
Cline
LangChain
Dify
n8n
OpenAI SDK
Ollama
Hugging Face
Vercel AI
Perplexity
GitHub
Qoder
Codex CLI
OpenRouter

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.

Explore All Models →

DeepSeek

deepseek-v4-flash-0731

Coding · Reasoning

Z.ai

glm-5.3

Coding · Long-horizon agents

Z.ai

glm-5.3-flash

Multimodal · Agentic coding

Moonshot AI

kimi-k2.6

Multimodal · Agent orchestration

MiniMax

minimax-m3

Multimodal · Agentic coding

Qwen

qwen-3.8-27b

Vision-language · Coding

Get started

Start building with AnRouter.

Free API access. No credit card required.