N·07Integration guides

CC Switch

A free desktop helper that fills in the address and key for Claude Code, Codex, Gemini CLI and similar tools, so you don't edit their settings files yourself. Switching providers later is a click.

The three things this tool needs

Address
https://api.xylemnode.com
Key
sk-your-key
Model name
Per tool, see step 3

In CC Switch the address stops at .com; it adds /v1 itself when it writes Codex's settings.

  1. 01

    Install CC Switch

    1. Go to the Releases page of CC Switch's official GitHub repository (farion1231/cc-switch) and download the installer for your system.
    2. Install it and open it.

    You should seeThe left sidebar lists Claude Code, Codex, Gemini CLI and other tools.

    Why, and what to do if it goes wrong

    CC Switch is completely free and open source. Fake paid sites have appeared lately; trust only the official GitHub repository, and don't enter anything on a "CC Switch" site that asks you to pay or sign in. The tool you're setting up (Claude Code, say) has to be installed first; CC Switch only fills in its settings.

  2. 02

    Add XylemNode as a provider

    1. In the left sidebar, pick the tool you want to use, such as Claude Code.
    2. Click the + at the top right to open the add page.
    3. At the bottom of the categories on the left, under Across apps, choose Universal Provider, with the NewAPI preset.
    4. Fill in the name, address and key as in the table.
    5. Tick the tools to sync: for now, only the one your key can serve (see below).
    Name
    XylemNode
    API address
    https://api.xylemnode.com
    API Key
    sk-your-key

    You should seeThe form is filled in, and a Model configuration section shows below it.

    Why, and what to do if it goes wrong

    Why only one: every ticked tool shares this one key, and a key can only use the models in its group. If your key is in a Claude group, for example, tick only Claude Code. For the other tools, add a provider separately on each tool's own page, with a key from that tool's group: if XylemNode isn't among the presets, choose a custom configuration; Claude Code and Gemini CLI take the address up to .com, Codex takes https://api.xylemnode.com/v1.

  3. 03

    Fill in the model names

    In the Model configuration section of the same form, each tool has its own model boxes. The preset puts default models there; change them to ones the console has:

    1. Claude Code: claude-opus-5-5 as the main model, and Claude models from the console in the Haiku / Sonnet / Opus boxes too.
    2. Codex: gpt-6.2-astra.
    3. Gemini CLI: gemini-4-argon.

    You should seeEvery ticked tool's model boxes hold names you can find in the console.

  4. 04

    Save and enable it

    1. Click Save. CC Switch writes the settings into the ticked tools.
    2. On that tool's page, click Enable on the XylemNode card.
    3. Open the tool and send "Hi, reply with OK only".

    You should seeThe XylemNode card shows as enabled, and the tool replies.

    Why, and what to do if it goes wrong

    Claude Code switches straight away; Codex and Gemini CLI need closing and reopening (quit the Codex desktop app completely). If you change this provider later, click Save & Sync while editing to update everything at once. You can also switch each tool's provider from the system tray.

Common questions

I switched providers in CC Switch but the tool still uses the old one

The official notes point at two causes. One is the tool not having re-read its config yet: Claude Code hot-switches, so a switch usually applies right away; Codex and Gemini CLI only read their config at startup, so restart the terminal or run them again (quit the Codex desktop app completely and reopen it). The other is environment variables competing with it — they outrank config files, so variables like ANTHROPIC_BASE_URL, ANTHROPIC_AUTH_TOKEN or GEMINI_API_KEY that you set by hand earlier override whatever CC Switch writes, and requests go to the old endpoint. CC Switch detects this and flags it at the top of the window, where you can select the offenders and remove them, with a backup made first. You can also clear them yourself from the system environment or your shell profile. If you configured XylemNode through system environment variables per the Claude Code or Gemini CLI guides, expect to meet this one as soon as you install CC Switch; OPENAI_ variables set for the Aider and Qwen Code guides may be listed as conflicts too, and those two tools need them, so keep them if you still use those tools.