Skip to content

Claude Code on free models

Two lines of setup. Free models bill $0 per token, with no card required.

Setup

curl -fsSL https://anyrouter.dev/setup.sh | bash
anyr claude --model anyrouter/free

The first run asks you to sign in, creates a key and saves it. Prefer your own setup? Point Claude Code at AnyRouter with two environment variables.

Manual setup
export ANTHROPIC_BASE_URL="https://anyrouter.dev/api"
export ANTHROPIC_API_KEY="sk-ar-your-anyrouter-key"
Model
Glyph Clusterstealth/glyph-cluster
Gemma 3n E2B (on-device)google/gemma-3n-e2b
Step 5 Previewstepfun/step-5-preview
DeepSeek-V4-Flashdeepseek/deepseek-v4-flash
Qwen3-8Bqwen/qwen3-8b
Nemotron-3 Super 120Bnvidia/nemotron-3-super-120b-a12b
Nemotron 3 Ultra 550Bnvidia/nemotron-3-ultra-550b-a55b

anyrouter/free picks one of these for you. Pass any listed id to --model to choose.

Start freePricing