Chỉ Claude Code vào anyrouter.dev
Claude Code trên sản phẩm này là anyrouter.dev.
Base URL tương thích Anthropic là https://anyrouter.dev/api (không /v1 trên biến môi trường đó — Claude Code tự nối /v1/messages). API tương thích OpenAI là https://anyrouter.dev/api/v1.
Đường nhanh: setup.sh + anyr claude
curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr login
anyr claudeTham chiếu đầy đủ: docs.anyrouter.dev/cli/claude-code.
Env thủ công (chỉ khi bỏ qua anyr)
export ANTHROPIC_BASE_URL="https://anyrouter.dev/api"
export ANTHROPIC_API_KEY="sk-ar-your-key"
claudeTạo key trong dashboard trước — mọi key AnyRouter bắt đầu bằng sk-ar-.
BYOK và anyr
Gắn key nhà cung cấp của bạn dưới Dashboard → BYOK. Lưu lượng BYOK không có markup AnyRouter. anyr claude vẫn nói chuyện với https://anyrouter.dev/api.
Muốn Go không cần thẻ, góp một key BYOK đủ điều kiện.
Free không có credit tháng
Gói Free không gồm credit tháng. Mọi người dùng đã đăng nhập, kể cả gói Free, gọi được anyrouter/free và :free không tốn credit và không có trần theo ngày (chỉ giới hạn 2400 req/phút mỗi key). Model trả phí 402 nếu chưa có credit hoặc gói.
Go là $2/tháng (Polar trừ $2.63) → $4 credit. Hoặc góp một key BYOK đủ điều kiện.
Hạn mức Go: 60 req/phút và 3.000 req mỗi 5 giờ lăn. Bài cũ nói $1 Go là sai — xem Free và Go.
Bài liên quan
Donate a key for Go — no card
Two ways to Go: pay $2/mo (card charged $2.63, $4 credits) or donate one eligible BYOK key (DeepSeek, Z.ai GLM, Moonshot Kimi). No Alipay or WeChat. Donor cut 5%/8%, capped at $1 per key per UTC day — that $1 is the donor cap, not the Go price.
AnyRouter pricing: Free vs Go (the $1 posts are wrong)
Older pages still say $1 Go — wrong. Free has no monthly credits; anyrouter/free has no daily cap. Go is $2/mo ($2.63 charged) → $4. Pro $10 ($11.05) → $20; Pro+ $45 ($47.89) → $100; Max $100 ($105.79) → $300.
BYOK: bring your own keys to every provider
Attach the OpenAI, Anthropic, Google, and 60+ other provider keys you already pay for, route them through one OpenAI-compatible URL at $0 markup, cap spend per key, and — if you donate idle quota to the shared pool — earn up to 8% back and unlock Go for free while a donated key stays active.
Gửi request đầu trong hai phút
Bắt đầu miễn phí với key của bạn, hoặc nạp rồi trả theo token. Go: $4 credit/tháng — $2/tháng, hoặc miễn phí khi góp một provider key.
Bắt đầu miễn phí