ai2saveai2save

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

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.

Screenshot for step 01

2. Create API Key in the Console

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

Screenshot for step 02 Screenshot for step 03 Screenshot for step 04 Screenshot for step 05 Screenshot for step 06

3. One-Click Import into CC Switch

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

Screenshot for step 07 Screenshot for step 08 Screenshot for step 09

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.

Screenshot for step 10 Screenshot for step 11 Screenshot for step 12

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.