AnyRouter
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.

Unified APIUnified API
one OpenAI-compatible URL
Unified CLIUnified CLI
launch any coding agent
Unified MCPUnified MCP
one gateway for every tool

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ớiOpenAIxAIAnthropicand many morevà nhiều hơn
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
Unified LLM API GatewayUnified LLM API Gateway

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.

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
ClientsClient
Unified APIUnified API
/chat/messages/responses/embeddings
AuthAuth
LimitsGiới hạn
RouteRoute
Key poolKey pool
FailoverFailover
CacheCache
UpstreamsUpstreams
Cost logsChi phí
Example flowsLuồng ví dụ

Launch Claude Code through AnyRouter — no config files.Chạy Claude Code qua AnyRouter — không cần config.

ClientsClients
AuthAuth
RouteRoute
Key poolKey pool
UpstreamsUpstreams
client
npx @anyr/cli claudeClaude Code
anyrouter model
Built-inCó sẵn4 models
@preset/coding-stack
glm-5.2
claude-sonnet-4.6
gpt-5.5
deepseek-v3.2
CustomTùy chỉnh4 models
@preset/acme-coding
kimi-k2.6
gemini-3-flash
llama-4-maverick
qwen3-coder
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.

Free to start

Two 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. No card required.

Free plan

$2 free credit / month

Spend it on any model. Here's roughly how many tokens it buys on popular ones.

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

Always free

Free models, forever

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

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

One preset name routes across every free upstream, with auto-failover.