Documentation

Up and running in a few lines

Copy the configuration for your favourite agent — just a base URL and your key, nothing hidden.

Claude Code configuration

Point Anthropic's official CLI at OmniRouter with two environment variables.

Configuration
powershell
PS> setx ANTHROPIC_BASE_URL "https://omnirouter.cc"
setx ANTHROPIC_AUTH_TOKEN "sk-<your OmniRouter key>"
# reopen PowerShell, then run:  claude
tip

OmniRouter is Anthropic wire-compatible — Claude Code works unchanged. setx persists for new shells; already-open terminals need a restart.

What this configures

  • Set ANTHROPIC_BASE_URL to https://omnirouter.cc
  • Set ANTHROPIC_AUTH_TOKEN to your OmniRouter key (sk-…)
  • Restart the terminal and run claude — no other config needed