settings.json or config.toml.
CC Switch is a desktop app that stores multiple provider configurations for Claude Code, Codex, and other coding tools, and swaps the active one into each tool’s config on demand.
Install
Download the desktop app from the releases page (macOS, Windows, Linux), or build from source.Get an API key
Create anak_... key in the console. You’ll paste it into CC Switch below.
Add abliteration.ai as a provider
Open CC Switch, pick the tool you want to route (Claude Code or Codex), and add a new provider with these values.- Claude Code
- Codex
abliteration.ai implements the Anthropic Messages API, so Claude Code talks to it natively.
CC Switch writes this into Claude Code’s
settings.json as:This example uses Large V2, the recommended text-only coding model. The
[1m] suffix tells Claude Code to use its 1M context window; Claude Code removes the suffix before sending the request. Use abliterated-model for image input. See the Claude Code guide for other models and context settings.Switch to it
Select the Abliteration provider in CC Switch and apply it. CC Switch updates the target tool’s config in place. Restart Claude Code or Codex if it was already running so it picks up the new provider.Verify
Notes
- Your
ak_...key stays local — CC Switch writes it only into the tool’s own config file. - Published policies scoped to the key’s project apply to requests routed through CC Switch.
- A built-in Abliteration preset for CC Switch’s provider list is planned; until it ships, use the custom-provider values above.