AnyRouter logo

AnyRouter

Free

Free community API relay for Claude Code

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

    Top up credit free

    Use daily check-ins and invite bonuses to extend your balance while the promotions run.

AnyRouter pricing

PlanPricePeriod
Free credit$0one-timeNew accounts receive free credit (commonly $50, more via invites and daily check-ins); promotional amounts change over time
Usageusage-basedCalls 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 →
OpenRouter logo
OpenRouterFreemium

One API for many language models

Kie.ai logo
Kie.aiFreemium

One API key for 200+ AI models

Anthropic API logo

Claude models for text, reasoning and tool use

FAQ

Related tools

Groq logo
Groq
Freemium

Low-latency inference for open models

Together AI logo

Hosted open models and inference

Cohere logo
Cohere
Freemium

Enterprise language models and retrieval

Mistral AI Platform logo

Mistral models via API and console

AWS Bedrock logo

Managed foundation models on AWS

Azure OpenAI logo

OpenAI models hosted on Azure

Gemini API logo

Google's Gemini model API

Google AI Studio logo

Prototype with Gemini models

Categories & tags

Discover your next AI tool

Sign up for future tool roundups. We store your email for these updates.