June 28, 20261 min readClaude CodeFreeSetup

How to use Claude Code for free (and cheaper after that)

You don't need a Claude Max subscription to use Claude Code. With AnyModel you start on free credits and then pay only per token — usually far less than a monthly plan.

Start free — no card

Sign up and you get 1,000,000 tokens on the house. Link your Telegram and that jumps to 6,000,000 tokens total. No credit card required. That's enough to genuinely try Claude Code on real work before you pay a cent.

Connect Claude Code in one command

Point Claude Code at AnyModel's endpoint:

bash <(curl -fsSL "https://anymodel.org/i?tool=claude") <YOUR_API_KEY>

That writes the config for you. Now Claude Code talks to Claude Sonnet 4.6, Opus 4.6 — and you can switch to GPT or Gemini by changing one model id.

Why this beats a flat subscription

A subscription bills you whether you use it or not. Pay-per-token bills only for what you actually run — and across every model, not just one vendor. Light week? You pay almost nothing. Heavy week? Still usually cheaper than stacking multiple subscriptions.

Privacy, if you need it

Working on something sensitive? Turn on Ghost Mode for a zero-retention key — your prompts and responses aren't stored on our side.

Ready? Grab a free key and connect Claude Code in a minute.

Read next