Agent Guides10 min read
Running Claude Code with Other Models Through an Anthropic-Compatible Gateway
Claude Code only speaks the Anthropic Messages API, so any gateway that speaks it can put a different model behind the CLI. Here is how the environment variables fit together, what Anthropic doesn't support, and which settings keep a non-Claude model usable.
Tokens Team · 3 Oct 2026