Claude Code
Connect Claude Code to Munito through the Anthropic Messages API.
Create an API key, then set these variables before you start Claude Code.
export ANTHROPIC_AUTH_TOKEN=munitoai_...
export ANTHROPIC_BASE_URL=https://api.munito.ai/inference
export ANTHROPIC_MODEL=zai-org/glm-5.3-flash
export ANTHROPIC_DEFAULT_OPUS_MODEL=zai-org/glm-5.3-flash
export ANTHROPIC_DEFAULT_SONNET_MODEL=zai-org/glm-5.3-flash
export ANTHROPIC_DEFAULT_HAIKU_MODEL=qwen/qwen3.8-27b
claudeANTHROPIC_AUTH_TOKEN supplies the Bearer token without a separate key approval prompt.
If an existing Claude account session interferes, run /logout and start Claude Code again.
ANTHROPIC_MODEL selects the main model.
ANTHROPIC_DEFAULT_HAIKU_MODEL selects the small model for background requests.
The Opus and Sonnet variables map those aliases to the main model, for /model and for subagents.
The base URL excludes /v1 because the Anthropic client adds it.
To keep processing in the EU or the US, use a regional host in place of api.munito.ai.
See the Messages reference for the request contract.