All routes operationalMọi routes đang hoạt động

Unify every model behind one gateway.Hợp nhất mọi model sau một gateway.

One unified gateway for AI: a unified API, a unified CLI to launch any coding agent, and a unified MCP gateway. Bring your own keys or subscriptions, swap models live, and auto-failover keeps you under the rate limit. Free to start.Một gateway hợp nhất cho AI: unified API, unified CLI để chạy mọi coding agent, và unified MCP gateway. Mang key hoặc subscription của bạn, đổi model tức thì, auto-failover giúp bạn không chạm rate limit. Miễn phí để bắt đầu.

Free $2 credit when you sign up, no card required. Use our credits, or connect your own keys.Tặng $2 credit khi đăng ký, không cần thẻ. Dùng credit của chúng tôi, hoặc kết nối key của bạn.

Use it withDùng vớiOpenAIxAIAnthropic+ 158 models across 17 providers+ 158 model qua 17 provider
anyrouter ~ cli
#Launch Claude Code, no setupChạy Claude Code, không cần cấu hình
$npx @anyr/cli claude
#Pick any model (e.g. GLM-5.2)Chọn model bất kỳ (vd. GLM-5.2)
$npx @anyr/cli claude --model z-ai/glm-5.2
#One key works for Codex tooMột key dùng được cho cả Codex
$npx @anyr/cli codex --model z-ai/glm-5.2 --effort high
#Load a shared skill hubTải một skill hub dùng chung
$npx @anyr/cli claude --hub frontend-engineering
Migrate in one promptMigrate chỉ với một prompt

Copy, paste into your coding agent, done.Copy, dán vào coding agent của bạn, xong.

Claude CodeAnyRouter

One API for all major providers

Everything in one placeTất cả ở một nơi

Explore the platformKhám phá nền tảng

One gateway, many surfaces. Jump straight to the part you need.Một gateway, nhiều bề mặt. Đi thẳng tới phần bạn cần.

Unified API gatewayGateway API thống nhất

One OpenAI-compatible URL routes every request, with auth, presets & failover.Một URL OpenAI-compatible định tuyến mọi request, kèm auth, preset & failover.

Free to startMiễn phí để bắt đầu

$2 monthly credit, free models forever, or bring your own keys. No card.$2 credit/tháng, model miễn phí mãi mãi, hoặc dùng key của bạn. Không cần thẻ.

Bring your own keysDùng key của bạn

Add provider keys with no markup. Pooled, balanced, and donate-for-credits.Thêm key provider không markup. Gom pool, cân bằng, đóng góp nhận credit.

PlaygroundPlayground

Test prompts and compare models side by side, right in the browser.Thử prompt và so sánh model cạnh nhau, ngay trên trình duyệt.

Model catalogDanh mục model

Browse every model and compare pricing, context, latency and capabilities.Duyệt mọi model và so sánh giá, context, độ trễ và khả năng.

MCP gatewayMCP gateway

One MCP endpoint for tools and upstream servers across your agents.Một endpoint MCP cho tools và server upstream cho mọi agent.

Prompts libraryThư viện prompt

Curated, forkable prompts. Publish, star and run them anywhere.Prompt được tuyển chọn, fork được. Đăng, star và chạy ở bất cứ đâu.

LeaderboardsBảng xếp hạng

Real usage and performance rankings across models and providers.Xếp hạng theo usage và hiệu năng thực tế giữa các model và provider.

CLI & coding agentsCLI & coding agent

Launch Claude Code, Codex, Gemini and more through AnyRouter, no config.Chạy Claude Code, Codex, Gemini và hơn nữa qua AnyRouter, không cần config.

One gateway routes every request.Một gateway ��ịnh tuyến mọi request.

Point your app, CLI, or agent at one OpenAI-compatible URL. AnyRouter unifies your provider keys and subscriptions, resolving presets, balancing load, falling back on failure, and tracking cost and logs for every request.Trỏ app, CLI hoặc agent tới một URL OpenAI-compatible. AnyRouter gom provider keys và subscriptions, resolve preset, cân bằng load, fallback khi lỗi và theo dõi chi phí và log cho mỗi request.

ClientsClients
AnyRouter
GatewayGateway
/chat/messages/responses/embeddings
AuthAuth
Rate limitGiới hạn
RouteRoute
Key poolKey pool
FailoverFailover
CacheCache
Cost logsChi phí
LLM upstreamsLLM upstreams
FirecrawlContext7GitHubNotionLinearPlaywright
MCP GatewayMCP Gateway
Skills hubSkills hub
Example flowsLuồng ví dụ

Launch any coding agent through AnyRouter with one command, no config files.Chạy bất kỳ coding agent nào qua AnyRouter với một lệnh, không cần config.

command line
$npx @anyr/cli claude# Claude Code · Anthropic-compatible
$npx @anyr/cli codex# Codex · OpenAI-compatible
$npx @anyr/cli gemini# Gemini CLI · Google
$npx @anyr/cli grok# Grok CLI · xAI
$npx @anyr/cli opencode# OpenCode · open source
Unify keys & subscriptionsGom keys & subscriptions

Drop in your provider keys or paid subscriptions. AnyRouter pools them, balances load, and quarantines burned keys automatically.Thêm provider keys hoặc subscriptions. AnyRouter gom thành pool, cân bằng load và tự cách ly key bị burn.

Create presetsTạo preset

Bundle many models behind one @preset name. Swap what's behind it without touching a line of client code.Gom nhiều model sau một tên @preset. Thay đổi bên trong mà không cần sửa code client.

Cost & log trackingTheo dõi chi phí & log

Spend, RPS, error rate, and full request logs, broken down by key, model, and route.Chi phí, RPS, tỉ lệ lỗi và log đầy đủ, phân tích theo key, model và route.

Three ways to start free

Every account starts on the Free plan: a monthly credit to spend on any model, plus a set of open models that are free forever. Or bring your own provider keys and pay no markup. No card required.

Free plan

$2 free credit / month

Spend it on any model. On fast ones, that's millions of tokens — here's how far it goes.

Estimated tokens for $2, based on a typical 3:1 input/output split.

Free models, forever

Route to the anyrouter/free preset: open models at $0 that never touch your credit (up to 50 requests/day).

DeepSeek-V4-Flash
$0 in$0 out
DeepSeek V3.1
$0 in$0 out
DeepSeek V3.2
$0 in$0 out
DiffusionGemma 26B A4B
$0 in$0 out
Gemma 4 31B
$0 in$0 out
Llama 3.1 405B Instruct
$0 in$0 out
Llama 3.1 8B Instruct
$0 in$0 out
Llama 3.3 70B Instruct FP8 Fast
$0 in$0 out
MiniMax M2.5
$0 in$0 out
MiniMax M2.7
$0 in$0 out
Mistral Medium 3.5 128B
$0 in$0 out
Nemotron 3 120B A12B
$0 in$0 out
Bring your own keys

Use your own keys, no markup

Add a key from a provider's free tier (Gemini, Groq, NVIDIA NIM and more) and route it through one API. You're billed by the provider; AnyRouter never marks it up.

Google AI Studio
OpenRouter
NVIDIA NIM
Cerebras