Connect CC Switch to the private Morse API, uncensored models included: set it up, pick a model, and check it works. Updated December 1, 2026.

Page: https://trymorse.ai/inference/docs/tools/cc-switch

# Use CC Switch with a private, uncensored API

Give [CC Switch](https://github.com/farion1231/cc-switch) the base URL `https://inference.trymorse.ai` and a Morse API key. It calls Anthropic's Messages API, which Morse serves too.

The same key also calls 12 uncensored models. [See them](https://trymorse.ai/inference/uncensored).

## Before you start

Make a key for CC Switch alone, with a spend limit, under **API keys** in the [console](https://console.trymorse.ai). Then one tool can't spend all your credits. See [Limit a key](https://trymorse.ai/inference/docs/authentication#limits).

You'll paste the key into CC Switch, which writes it into Claude Code's settings as written.

## Set up CC Switch

1. Add Morse for Claude CodeChoose **Claude Code** at the top of CC Switch, then **Add Provider**. Pick **Custom Configuration** and name it Morse.Paste your key in **API Key**.Set **API Endpoint** to `https://inference.trymorse.ai`, without `/v1`. Claude Code adds `/v1/messages` itself.Under **Advanced Options**, leave **Upstream Format** on **Anthropic Messages (Native)**.
2. Set the modelsUnder **Model Mapping**, type `moonshotai/kimi-k3.1-pro` and choose **Quick Set** to give it every role. Set **Default fallback model** to the same id, then choose **Add**. Claude Code sends background work to its Haiku role, which can take a cheaper model from the table below.
3. Switch to MorseChoose **Enable** on the Morse card, then start a new Claude Code session in your project's folder.
4. Add Morse for CodexTo switch Codex too, choose **Codex** at the top, then **Add Provider** and **Custom Configuration**.Paste your key in **API Key**.Set **API Request URL** to `https://inference.trymorse.ai/v1`, with `/v1`.Leave **Upstream Format** on **OpenAI Responses API (Native)**, and set **Default Model** to `moonshotai/kimi-k3.1-pro`.Choose **Add**, then **Enable**, and restart Codex.

## Which model to pick

| Model | Context | Input / output | Why |
| --- | --- | --- | --- |
| `qwen/qwen3-coder` | 262.1K | $0.375 / $1.25 | Qwen's coding model. It doesn't reason, so it starts writing sooner. |
| `moonshotai/kimi-k3.1-pro` | 1M | $2 / $10 | Reasons, and reads images. |
| `z-ai/glm-5.3` | 1M | $1.40 / $4.40 | Reasons, and takes tools at TEE too. |
| `deepseek/deepseek-v4-pro-0813` | 1M | $1.32 / $3.96 | Reasons, at a lower price. |
| `z-ai/glm-5.3-flash` | 1M | $0.15 / $0.50 | Cheap and fast for small edits, and takes tools at TEE too. |

Prices are in dollars per million tokens, on each model's default endpoint. Every model is on the [models page](https://trymorse.ai/inference/models).

## Check it works

Ask Claude Code to change a line in one of your files. It reads the file and edits it with its tools, so a finished edit shows that Morse took the request and its tool calls.

## Keep it private

Set a privacy floor on CC Switch's key to hold it to a tier, such as TEE. Without a floor, a request runs on its model's default privacy tier. The floor only decides which endpoints serve the requests. See [Privacy tiers](https://trymorse.ai/inference/docs/privacy-tiers) and [Provider routing](https://trymorse.ai/inference/docs/provider-routing).

On a plain API call, TLS ends inside Morse's door, an attested enclave, which seals the request before the relay receives it. A plain client checks the door's certificate, not its attestation. To check the attestation yourself, see [Sealed API keys](https://trymorse.ai/inference/docs/sealed-api-keys).

## If something goes wrong

| What you see | What to do |
| --- | --- |
| Claude Code reports a problem with the selected model | Take `/v1` off **API Endpoint**, and check that each role in **Model Mapping** names a model from the table above. |
| Codex still uses its own models | Restart Codex after you choose Enable. Codex reads its settings only as it starts. |
| `401 invalid_api_key` | Check the key you gave CC Switch in full, and that it isn't revoked. |
| `402 insufficient_balance` or `key_spend_limit_reached` | Add credits, or raise the key's spend limit. A request holds credit for its output limit before it starts: see [Holds](https://trymorse.ai/inference/docs/pricing#holds). |
| `404 model_not_found` | Use a model's id exactly as the table above writes it, with the part before the slash. |

Every code is in [Error codes](https://trymorse.ai/inference/docs/api/errors). For other tools, see [Tools and coding agents](https://trymorse.ai/inference/docs/tools).
