Vigyata.AI
Is this your channel?
"ANTHROPIC_BASE_URL": "
OpenrouterOpenrouter"ANTHROPIC_BASE_URL"

"ANTHROPIC_BASE_URL": "

This is the base URL you set so Claude Code stops calling Anthropic directly and routes through OpenRouter instead. It’s the key switch that makes the OpenRouter free-model method work inside Claude Code.

Buy on Openrouter

You'll be taken to Openrouter to complete your purchase.

Pros

  • +Enables Claude Code to talk to OpenRouter models
  • +Simple environment-variable change

Cons

  • -Misconfiguration can cause accidental paid model usage if you don’t override all defaults

Featured in this video