Access Claude Opus 4.8, Claude Sonnet 4.6, and GPT-5 directly in Claude Code. Set up in under 2 minutes.
Sign up and generate an API key in your dashboard.
Contact Create account & get API key →CC Switch is a configuration tool that manages Claude Code, Codex, and Gemini CLI connections.
git clone https://github.com/farion1231/cc-switch.git
cd cc-switch
python3 cc_switch.py
In CC Switch, select the Claude panel and enter:
https://api.silom.cn/llm-apiYOUR_API_KEYImportant: The base URL for Claude Code does NOT include /v1. Use https://api.silom.cn/llm-api (not /v1).
Launch Claude Code and start building with AI. Your requests will be routed through MaxRouter.
Set environment variables directly:
export ANTHROPIC_BASE_URL="https://api.silom.cn/llm-api" export ANTHROPIC_API_KEY="YOUR_API_KEY" # Then launch Claude Code claude
Claude Code uses the Anthropic Messages API protocol, which has a different URL structure than OpenAI. Our Anthropic-compatible endpoint is at /llm-api without the /v1 suffix.
Yes. All Claude Code features work including Agent mode, tool use, file editing, and terminal commands.
Get your API key and start building in under 2 minutes.
Contact Get API Key