One API key for every major AI model

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.

One endpoint

Swap your base URL to https://agentrouter.org/v1 and keep your code.

Every model

Claude Opus 5, GPT-5.6, GLM-5.3, DeepSeek V4, Gemini 4 — one key.

Pay as you go

No subscription. Welcome bonus + daily check-in + referral credit.

Works with your tools

Claude Code, Codex, OpenCode, Cline, and any OpenAI-compatible SDK.

Quick start

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!"}]}'

FAQ

Is AgentRouter free?

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.

Is it really one key for all providers?

Yes — routing is automatic by model name, so each request goes to the right provider without extra config.

Will it work with my current app?

If it works with the OpenAI API, it works here — just change the base URL to https://agentrouter.org/v1.

Does it work with Claude Code?

Yes. Point Claude Code (or Codex, OpenCode, Cline, and other OpenAI-compatible clients) at the AgentRouter base URL with your key.