What is AnyRouter?
AnyRouter (anyrouter.top) is a free, community-run API relay best known as a way to use Claude Code without an Anthropic subscription. You register, create an sk- token, and point your client at the relay: Claude Code uses the Anthropic-compatible endpoint (ANTHROPIC_BASE_URL=https://anyrouter.top), while Codex and other OpenAI-compatible clients use https://anyrouter.top/v1. New accounts receive free credit — commonly $50, with more available through invites and daily check-ins — and usage is metered against that credit by model multipliers.
Because it is a community relay rather than an official provider, availability and model access vary, and it is not affiliated with Anthropic. Developers typically use it to try Claude-class models at zero cost, then move production workloads to an official or paid route. Note that anyrouter.dev is a different, unrelated LLM gateway product.
Key features
- Anthropic-compatible endpoint for Claude Code
- OpenAI-compatible /v1 route for Codex and other clients
- Free credit for new accounts, no card required
- Claude, GPT and Gemini models behind one token
- Daily check-in and invite bonuses top up credit
How to use AnyRouter
- 1
Register and create a token
Sign up at anyrouter.top (GitHub or community login) and create an sk- API token in the console; new accounts start with free credit.
- 2
Point your client at the relay
For Claude Code set ANTHROPIC_BASE_URL=https://anyrouter.top and ANTHROPIC_AUTH_TOKEN to your token; for OpenAI-compatible clients use base URL https://anyrouter.top/v1.
- 3
Pick a model and run
Choose an available Claude, GPT or Gemini model in your client; usage is metered against your credit by model multipliers.
- 4
Top up credit free
Use daily check-ins and invite bonuses to extend your balance while the promotions run.
AnyRouter pricing
| Plan | Price | Period |
|---|---|---|
| Free credit | $0 | one-timeNew accounts receive free credit (commonly $50, more via invites and daily check-ins); promotional amounts change over time |
| Usage | usage-based | Calls are metered against credit by group and model multipliers; the relay is community-run and free while credit lasts |
Who is AnyRouter for?
- Developers who want to try Claude Code at zero cost
- Students and hobbyists experimenting with Claude, GPT and Gemini APIs
- Users in regions where official subscriptions are hard to pay for
AnyRouter alternatives
See all AnyRouter alternatives →FAQ
Related tools
Categories & tags
Discover your next AI tool
Sign up for future tool roundups. We store your email for these updates.