Unified LLM API gateway — OpenAI-compatible. Claude, GPT, DeepSeek, GLM, Gemini.
Get started → Affiliate link — I may earn account credit at no extra cost to you. Up to $200 welcome credit; terms apply.Swap your base URL to https://agentrouter.org/v1 and keep your code.
Claude Opus 5, GPT-5.6, GLM-5.3, DeepSeek V4, Gemini 4 — one key.
No subscription. Welcome bonus + daily check-in + referral credit.
Claude Code, Codex, OpenCode, Cline, and any OpenAI-compatible SDK.
curl https://agentrouter.org/v1/chat/completions \
-H "Authorization: Bearer $AGENTROUTER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"model":"claude-opus-4-6","messages":[{"role":"user","content":"Hello!"}]}'
There's no subscription. New accounts get a welcome bonus plus daily check-in and referral credit, and you can stack up to $200 with a qualifying GitHub account. Beyond the credits it's pay-as-you-go.
Yes — routing is automatic by model name, so each request goes to the right provider without extra config.
If it works with the OpenAI API, it works here — just change the base URL to https://agentrouter.org/v1.
Yes. Point Claude Code (or Codex, OpenCode, Cline, and other OpenAI-compatible clients) at the AgentRouter base URL with your key.