
Create or copy your API key from the console before configuring Claude Code.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Configure Claude Code to use AI Gateway through the Anthropic-compatible endpoint.

export ANTHROPIC_BASE_URL=https://llm.gpuhub.com/api/v1/anthropic
export ANTHROPIC_AUTH_TOKEN=$API_KEY
export ANTHROPIC_DEFAULT_HAIKU_MODEL=GLM-5
export ANTHROPIC_DEFAULT_SONNET_MODEL=GLM-5
export ANTHROPIC_DEFAULT_OPUS_MODEL=GLM-5
claude