Pointing a coding tool at another API means editing a different place for each tool. Claude Code reads settings.json, Codex reads config.toml, and Antigravity CLI takes its key from environment variables. CC Switch, a free open-source desktop app, writes those settings for you, and every key in the WRAITHERIX dashboard has a button that sends the key straight to it.
We went through the whole path on November 24, 2026 on macOS, with the CC Switch interface set to English. Everything below comes from that run.
The short version
- Install CC Switch and open it once.
- In the WRAITHERIX dashboard, open "API Keys", click the three dots on your key and choose "CC Switch".
- Pick the tool and a model, click "Open CC Switch", then "Import".
- Start the tool. Claude Code and Codex just work. Antigravity CLI is started from a button inside CC Switch.
The rest of the guide shows each step with screenshots and what to expect.
What you need
- A WRAITHERIX account with a small balance. All the checks for this article, about 30 requests across the three tools, cost us 36 cents.
- CC Switch, installed in the next step.
- The tool you want to use. Each tool's section says how to install it.
Install CC Switch
Open the latest release page on GitHub and download the file for your system:
- macOS:
CC-Switch-v4.0.40-macOS.dmg. Open it and drag CC Switch into Applications. - Windows:
CC-Switch-v4.0.40-Windows.msi. Run it and click through the installer. - Linux: the
.debfor Ubuntu and Debian, or the.AppImagefor everything else.
On a Mac with Homebrew, one line in Terminal does the same:
brew install --cask cc-switch
That is how we installed it, and we got version 4.0.40.
Open CC Switch once before you continue. On first launch it tells the system that ccswitch:// links should open in it. Until then the dashboard button does nothing.

This window also explains that CC Switch saved your existing setup as a provider named "default" and added an "Official" preset. Click either one whenever you want to switch back to the official settings.
Send a key from the dashboard
Go to wraitherix.com, sign in and open "API Keys" in the left menu. If you have no key yet, click "Create API Key", name it and save.

On your key's row, click the three dots on the right and choose "CC Switch".

The "Import to CC Switch" window opens with these fields:
- Application: Claude, Codex, Gemini or Antigravity.
- Name: how the card will be named in CC Switch. It starts as "My Claude", "My Codex" and so on. We used "WRAITHERIX Claude", "WRAITHERIX Codex" and "WRAITHERIX Antigravity".
- Model fields: choose from the list or start typing and the list narrows down.
Click "Open CC Switch". Your browser may ask whether this site can open the app; allow it. CC Switch shows a "Confirm Import Provider" window with the address, a partly hidden key and the models. Check it and click "Import". The next three sections cover what to choose in each tool.
Claude Code
Install it if you have not (Node.js 22 or newer is required; our Claude Code guide covers the details):
npm install -g @anthropic-ai/claude-code
Choose "Claude" in the dashboard window and fill in four models:
- Primary Model answers your messages. We set claude-sonnet-5-5.
- Haiku Model is used when you choose haiku by its short name. We set claude-haiku-4-5.
- Sonnet Model and Opus Model are used when you choose a model by its short name, with
/modelinside Claude Code or--model opusat launch. We set claude-sonnet-5-5 and claude-opus-5-5.


Keep "Switch to this provider after import" on and click "Import". A "WRAITHERIX Claude" card appears in the Claude Code list, marked "In use".

Open a new Terminal window, go to your project folder and run claude. To check from the command line:
$ echo "What is 17*23? Reply with the number only." | claude -p
391
We ran that with --output-format json added so the report would show which model answered: claude-sonnet-5-5, the one we chose. With --model opus the report named claude-opus-5-5, and with --model haiku it named claude-haiku-4-5.
Codex
Install it:
npm install -g @openai/codex
We got version 0.172.0. Choose "Codex" in the dashboard window and set one model. We tested only gpt-5.6-sol.


The address ends in /v1 here. The dashboard adds that itself, because Codex uses a different request format from Claude Code.
After the import, run the same question without any flags:
$ codex exec "What is 17*23? Reply with the number only."
391
Codex took the model from its config file, and the answer came back in 6 seconds. Then we gave it a real task: in a file calc.py the add function subtracted instead of adding.
$ codex exec -m gpt-5.6-sol -s workspace-write "add in calc.py is broken. Fix it."
Fixed calc.py: add now returns a + b instead of subtracting.
Verified with five checks covering positive, negative, zero, and decimal inputs.
That took 26 seconds. Codex wrote five checks itself and ran them, and the file now read return a + b. The -s workspace-write flag lets Codex change files in the project folder; without it Codex can only read. The -m flag sets the model for a single run.
Antigravity CLI
Our test covered the command-line version, Antigravity CLI, which uses the agy command. It works only with Gemini models, so the dashboard lists only those when you choose "Antigravity".
Install it on Mac or Linux:
curl -fsSL https://antigravity.google/cli/install.sh | bash
It installs to ~/.local/bin/agy. Close Terminal and open it again afterwards. We tested version 1.5.16.
Choose "Antigravity" in the dashboard window and a model. We used gemini-3.8-flash-medium.

This tool has a quirk. In its settings, agy understands a model only by its display name, for example Gemini 3.8 Flash (Medium), not by the model code. Use the display name, not the code. The dashboard converts the name for you, so CC Switch receives the right one.

In this window CC Switch labels the tool "Agy". Click "Import". A "WRAITHERIX Antigravity" card appears under "Antigravity" in the left menu.
Antigravity works differently from the other two: the key is not written to any file. CC Switch hands it only to a Terminal window that CC Switch opens itself. To start it:
- In CC Switch, open "Antigravity" in the left menu.
- On the "WRAITHERIX Antigravity" card, click the terminal icon on the right.
- Click "Choose Folder…" and pick your project folder, then click "Open Terminal".

In the window that opens, agy already runs through WRAITHERIX. The dialog says so itself: the key and endpoint go only to agy in that terminal and are never written to a file. An agy started in any other window keeps your own sign-in.
We ran agy with the same settings CC Switch passes:
$ agy -p "What is 17*23? Reply with the number only." --model "Gemini 3.8 Flash (Medium)"
391
That took 13 seconds, and the calc.py task took 34.
About permissions. The terminal dialog has a checkbox, "Skip permission prompts", which adds --dangerously-skip-permissions to the launch. That is a separate matter from the -p mode we used above. When we ran agy -p "..." on the calc.py task with --mode accept-edits, it refused to run commands, because in that mode it cannot ask. With --dangerously-skip-permissions added by hand, it fixed the file. Use that flag only in a folder where you can afford to lose files.
What CC Switch changed on your machine
You never have to open these files, but it helps to know where they are.
Claude Code, in ~/.claude/settings.json (the key is hidden here):
{
"env": {
"ANTHROPIC_AUTH_TOKEN": "sk-…",
"ANTHROPIC_BASE_URL": "https://api.wraitherix.com",
"ANTHROPIC_MODEL": "claude-sonnet-5-5",
"ANTHROPIC_DEFAULT_HAIKU_MODEL": "claude-haiku-4-5",
"ANTHROPIC_DEFAULT_SONNET_MODEL": "claude-sonnet-5-5",
"ANTHROPIC_DEFAULT_OPUS_MODEL": "claude-opus-5-5"
}
}
Codex, in ~/.codex/config.toml:
model_provider = "custom"
model = "gpt-5.6-sol"
model_reasoning_effort = "high"
[model_providers.custom]
name = "WRAITHERIX Codex"
base_url = "https://api.wraitherix.com/v1"
wire_api = "responses"
requires_openai_auth = false
experimental_bearer_token = "sk-…"
Antigravity CLI: the key is never written to a file. Only the terminal that CC Switch opens receives it.
To go back to the official settings, open the tool's list in CC Switch and click "Official" (or "default") instead of the WRAITHERIX card.
If something does not work
The "Open CC Switch" button does nothing. CC Switch has probably never been launched. Open it by hand, close it, and click the dashboard button again.
Claude Code answers "401 Invalid token". An old ANTHROPIC_API_KEY variable may be set on your system and getting in the way. Our Claude Code guide shows how to find and remove it.
Antigravity CLI uses a different model than you expected. Check that the model is written as a display name like Gemini 3.8 Flash (Medium), not as a code.
What it costs
CC Switch is free. You pay only for model requests, at the prices in the catalog. The Usage Logs page in the dashboard shows what each request cost.
How we tested
November 24, 2026, macOS 27.2.1. CC Switch 4.0.40, Claude Code 2.1.331, Codex 0.172.0, Antigravity CLI 1.5.16. We ran CC Switch with a separate home folder so it would not touch the settings on our working machine. Keys were sent with the dashboard button. Claude Code and Codex were tested with the files CC Switch wrote. Antigravity CLI was run with the same variables CC Switch passes to its terminal. Model answers are copied from the run logs and trimmed in places.
