CC Switch
CC Switch multi-tool provider configuration guide
CC Switch is a provider management tool that lets you configure API providers for multiple AI development tools — Claude Code, Codex, Gemini CLI, and more — from a single interface, making it easy to switch between backend services.
Configure Claude Code
Step 1: Add a provider
Click the plus button to add a provider with the following settings:
| Setting | Value |
|---|---|
| Provider | HAI |
| API Key | Your HAI Gateway access key |
| Base URL | https://api.hai.network/anthropic |
| API Format | Anthropic Message (native) |
| Auth Field | ANTHROPIC_API_KEY |
The auth field must be set to ANTHROPIC_API_KEY — do not select ANTHROPIC AUTH TOKEN.
Step 2: Save
Click save to start using the provider.
Configure Codex
Step 1: Add a provider
Click the plus button to add a provider with the following settings:
| Setting | Value |
|---|---|
| Provider | HAI |
| API Key | Your HAI Gateway access key |
| Base URL | https://api.hai.network/openai/v1 |
| Model Name | Visit the HAI Gateway pricing page and copy the full model name, e.g. gpt-5.4-2026-03-05 |
The base URL must include the /v1 suffix.
Step 2: Save
Click save to start using the provider.
Configure Gemini CLI
Step 1: Add a provider
Click the plus button to add a provider with the following settings:
| Setting | Value |
|---|---|
| Provider | HAI |
| API Key | Your HAI Gateway access key |
| Base URL | https://api.hai.network/google |
| Model Name | Visit the HAI Gateway pricing page and copy the full model name, e.g. gemini-3.1-pro-preview |
Step 2: Save
Click save to start using the provider.