Claude Code
Point Claude Code at Webway's Anthropic-compatible Messages endpoint.
1. Install
curl -fsSL https://claude.ai/install.sh | bash
2. Configure
export ANTHROPIC_BASE_URL="https://api.webway.sh"
export ANTHROPIC_API_KEY="sk-ww-…"
export ANTHROPIC_DEFAULT_OPUS_MODEL="anthropic/claude-opus-5"
export ANTHROPIC_DEFAULT_SONNET_MODEL="anthropic/claude-sonnet-5"
export ANTHROPIC_DEFAULT_HAIKU_MODEL="anthropic/claude-sonnet-5"
Webway's launch catalogue has no Haiku tier, so background work uses Sonnet. Put these values in your shell profile if you want them to persist.
3. Run
claude --model sonnet
Claude Code sends native
POST /v1/messages requests. If it opens the
Anthropic login flow, close it and confirm ANTHROPIC_API_KEY is visible in the
same shell.