Claude Code
Integration status
- Recommended protocol: Anthropic Messages
- Configuration checked: July 15, 2026 (official Claude Code settings documentation)
- Runtime verification: Pending
GetRouter exposes Claude Messages at https://getrouter.ai/v1/messages. Claude Code gateway settings and model-routing behavior can change by release, so verify the current Claude Code documentation before entering credentials.
Safe setup process
- Update Claude Code to the version you intend to support.
- Create a dedicated GetRouter API key.
- Choose a model that supports Claude Messages and tool calling.
- Configure the gateway root as
https://getrouter.aionly if the current Claude Code release appends/v1/messages. - Configure the selected model using the exact GetRouter model ID.
- Restart Claude Code and send a read-only test prompt.
Warning
Do not copy unverified environment-variable names from third-party posts. Confirm the current upstream configuration reference and inspect the resulting request path before production use.
If the request reaches /v1/chat/completions or /v1/responses, the tool is not using Claude Messages. See Integration troubleshooting.
