Point Claude Code at any model

Anthropic-Compatible API

Use the Anthropic Messages API format at /v1/messages to call any model in the catalog, including from Claude Code.

Claude Code → /v1/messages
Claude Code/v1/messagesclaude-sonnetAnthropicgpt-5OpenAIgemini-3-proGoogleglm-5Zhipu
Same Messages format, any model
01

Drop-in

Swap the base URL and token. Done.

02

Any model

Claude format in, every catalog model out.

03

Claude Code ready

Three env vars and you're running.

04

Streaming + tools

Tool use and streaming translated.

Built for

  • Claude Code on any model

    Run the CLI on GPT, Gemini or open models

  • Claude-first apps

    Keep the Anthropic SDK, add more models

  • Cost control

    Route agent work to cheaper models

Run Claude Code through the gateway
terminal
1export ANTHROPIC_BASE_URL=https://api.llmgateway.io2export ANTHROPIC_AUTH_TOKEN=$LLM_GATEWAY_API_KEY3export ANTHROPIC_MODEL=gpt-54 5claude
Read docs

More in routing & reliability

All features

Start using Anthropic-Compatible API today

One API key. Every model. Live in minutes.