AnyRouter
A Claude Code relay station providing Anthropic-compatible API access to Claude, GPT, and Gemini models.
What is AnyRouter?
AnyRouter is a relay proxy for Claude Code that provides an Anthropic-compatible API endpoint. Developers point ANTHROPIC_BASE_URL to anyrouter.top and use a generated sk- token to call Claude, GPT, and Gemini models without a separate provider account.
What can AnyRouter do?
- 01
Anthropic-compatible endpoint
Set ANTHROPIC_BASE_URL to anyrouter.top and use an sk- token in Claude Code.
- 02
Multi-model access
Routes to 15 models across Anthropic, OpenAI, and Gemini families.
- 03
Pay-per-token billing
Cost = group rate × model rate × tokens / 500000 in USD.
- 04
$50 signup credit
New accounts get $50 in free credits with no credit card required.
- 05
Multiple login methods
Sign in with GitHub, LinuxDO, or an email account.
- 06
Referral rewards
Inviter and invitee each receive $50 in extra credits.
Use Cases
- Developers learning to code — Beginners use the $50 free credit to try Claude Code without a paid subscription or overseas credit card, calling AI coding help through the hosted endpoint.
- Experienced developers — Seasoned developers wire AnyRouter into Claude Code as a single base URL to reach Claude, GPT, and Gemini models on pay-per-token billing.
Quick facts about AnyRouter
- Pricing
- Signup Bonus — $50 free credits (no credit card)$0 for creditsClaude Opus 4.5 — input per 1M tokens$5 usage-basedClaude Opus 4.5 — output per 1M tokens$25 usage-basedClaude Sonnet 4.x — input per 1M tokens$3 usage-basedClaude Sonnet 4.x — output per 1M tokens$15 usage-basedGPT-5.5 — input per 1M tokens$2 usage-basedGPT-5.5 — output per 1M tokens$12 usage-basedas of Jun 9, 2026View official pricing
- Domain Rating
- Platforms
- Web·API
- Languages
- English·Chinese
Frequently Asked Questions
AnyRouter Traffic Analysis
Alternatives to AnyRouter
Looking for a AnyRouter alternative? Compare these curated AI tools that offer similar features and use cases.
AICodeMirror
AICodeMirror is a shared service platform that provides stable access to Claude Code, Codex, and Gemini CLI for developers in China, offering subscription tiers and pay-as-you-go credits with multi-node failover and enterprise invoicing.
BAI
B.AI is foundational economic infrastructure for AI Agents — providing a unified API to GPT-5.x, Claude 4.x, Gemini, DeepSeek and more, with TRON-based crypto payments, Agent-to-Agent settlement, and a BAIclaw browser extension.
YesCode
YesCode is a high-performance API router for Claude Code, OpenAI Codex, and Gemini CLI with unified billing, real-time usage tracking, 38ms median latency, SOC 2 Type II certification, and a free tier of 1M tokens per month.
