UpgradeMajor upgrade underway: a new video studio, with more models coming soon. Stay tuned.
Inferway
Back to client guides
Client guides

CC Switch

Switch Claude Code, Codex and OpenCode to Inferway with CC Switch in one click.

Available

CC Switch is an open-source desktop app (Windows / macOS / Linux) that manages which service these coding tools connect to. Importing fills in the address, key and model for you, so you don't edit configuration files by hand.

Claude models are not available in interactive Claude Code for now, so the configuration below uses the default model.

Current Inferway catalog

Context window1,048,576
Sample max tokens262,144

Verified on CC Switch 4.0.31 · Claude Code 2.1.309 · Codex 0.160.0 · OpenCode 2.0.32, macOS 27.2.1 arm64, 2026-11-15: the configuration CC Switch writes, then a basic reply and a file-read tool round trip in Claude Code, Codex and OpenCode against deepseek/deepseek-v4.1-flash-1017.

Before you start

Download CC Switch from its official GitHub releases page (this guide was verified on v4.0.31). Then install the tool you want to use: Claude Code, Codex or OpenCode.

Once your Inferway account is activated, create a key under Console → API Keys. Use a dedicated key for CC Switch; a project's monthly budget caps what it can spend.

Option 1: one-click import (recommended)

Your browser hands the key to CC Switch on your own computer; no third party sees it. To stop using it, revoke that key in the Console; other keys are unaffected.

  1. On a computer, open Console → API Keys → New key.
  2. In the key-created window, under “Import to CC Switch”, pick the tool and model, then click Import to CC Switch.
  3. CC Switch shows a confirmation dialog. Check the address and model, then click Import.
  4. In CC Switch, make Inferway the current provider, then restart the tool.

Option 2: add it by hand

In CC Switch, pick the tool, add a new provider and fill it in as below:

  1. Claude Code: API format Anthropic; address https://api.inferway.ai (no /v1); set the main model and all three Haiku / Sonnet / Opus tiers to deepseek/deepseek-v4.1-flash-1017; add the environment variable CLAUDE_CODE_MAX_CONTEXT_TOKENS=1048576.
  2. Codex: API format OpenAI Responses; address https://api.inferway.ai/v1; model deepseek/deepseek-v4.1-flash-1017.
  3. OpenCode: API format OpenAI-compatible; address https://api.inferway.ai/v1; model deepseek/deepseek-v4.1-flash-1017.

Verify the connection

Send a short message, then ask it to read a file. Console → Requests shows whether the request was recorded.

Frequently asked questions

Why fill in all three Claude Code model tiers? Claude Code switches to the Haiku tier for sub-tasks. With only the main model set, it asks Inferway for a Claude model name and the request fails.

How do I switch back? Pick your previous provider in CC Switch, then restart the tool.

Which cost figure counts? A client's own cost display is only its estimate; actual usage is on the Console's Requests and Usage pages.

Verification status

Verified on CC Switch 4.0.31 · Claude Code 2.1.309 · Codex 0.160.0 · OpenCode 2.0.32, macOS 27.2.1 arm64, 2026-11-15: the configuration CC Switch writes, then a basic reply and a file-read tool round trip in Claude Code, Codex and OpenCode against deepseek/deepseek-v4.1-flash-1017.

Read-tool evidence does not cover edits, shell commands, images, session resume, or reasoning control. Client-side cost estimates are not billing amounts; use Console → Requests and Usage for actual consumption.