ChatGPT/Claude Desktop
CC Switch is suitable for unified management of vendor configurations for Claude Code, Codex, and Gemini. Claude Code uses https://ai2save.com, while Codex / OpenAI Compatible use https://ai2save.com/v1. This tutorial follows the sequence "Download Client → Create API Key → Import Configuration → Test and Enable," with images and text provided by the current site server.
1. Download Client
- Codex official client: https://developers.openai.com/codex/app
- Claude official client: https://claude.com/download
- CC Switch release page: https://github.com/farion1231/cc-switch/releases
For a typical Windows PC, choose the x64 installer; only select arm64 for ARM architecture devices. On macOS, select the DMG/ZIP according to your chip. Start CC Switch after installation.

2. Create API Key in the Console
- Log in to the current site console and open "API Key" from the user menu in the top right corner.
- Click "Create Key" and fill in a name that is easy to recognize.
- Select the group you want to use: choose the Codex group for Codex, and the Claude group for Claude Code.
- Click create and immediately copy the full Key. The full Key is usually shown only once, so save it to a password manager.

3. One-Click Import into CC Switch
- Find the Key you just created in the API Key list and click "Import to CCS".
- In the CC Switch import confirmation window, check the vendor, Base URL, and the default model.
- Confirm import and return to the vendor list.
- Click "Enable" for the corresponding vendor, then click "Test" to confirm the request was successful.

If you do not want to manually modify environment variables, prioritize using "Import to CCS." It will directly write the API Key and endpoint address into CC Switch, suitable for first-time configuration.

4. Manual Configuration Reference
Claude Code
Base URL: https://ai2save.com
API Key: your API key
Codex / OpenAI Compatible
Base URL: https://ai2save.com/v1
API Key: your API key
Usually, Claude Code's address should not include /v1; Codex and OpenAI Compatible clients usually require /v1.
Common Issues
- 401 / invalid_api_key: Re-copy the Key starting with
sk-and make sure the Key's group matches the client protocol. - 404 or connection failed: Check Base URL; Claude's address should not include
/v1, Codex's address requires/v1. - model not exist: Go to the console or CC Switch to reselect the real model ID opened for the current group.
- Not effective after enabling: Completely exit Claude Code, Codex, or the desktop client, then go to CC Switch, click enable, and reopen the client.