Repository navigation
Releases
v1.1.1
- Codex request compatibility. Provider and per-model controls can omit
tool_choiceandparallel_tool_calls, including the unsupported fields on
Alibaba Token Planauto. An authenticated loopback adapter preserves tools
and streaming and starts automatically through Codex's credential helper.
Available in the extension and terminal editors, with JSON export/import.
v1.1.0
- Independent terminal application. The arrow-key menu now works on computers without
VS Code, storing profiles in~/.claude-provider-switcher/profiles.json. Existing editor
profiles remain supported;--standalone/--configexplicitly select independent storage. - Optional clients. Claude Code and Codex sections are detected independently from commands,
config files and saved profiles. Settings can show or hide either section, including configuring
a client before installation. Editor actions and settings are hidden in standalone mode. - User-local installers.
install.cmd/install.ps1on Windows andsh install.shon
Linux/macOS install theclaude-providerscommand with no npm packages, editor or AI clients
required. An existing Node.js 18+ is reused; otherwise the installer downloads a private
Node 24 LTS runtime from nodejs.org and checks SHA-256 before use. No system Node installation
or administrator access is required. Windows adds the command to user PATH. - Import extension exports in the CLI. The main menu's JSON import accepts both
claude-providers.jsonandcodex-providers.json, including optional API keys and multiple
Codex models. Preview before adding; existing profiles remain, duplicate names are made unique,
local ids are regenerated, and imported providers are activated only when selected. - Releases now attach a standalone CLI ZIP with installers alongside the VSIX and run tests
before packaging. The extension's entry point, profile storage, SecretStorage and defaults
remain unchanged; upgrading the extension does not install or start the CLI or Node.js.
v1.0.4
- Codex image attachments for Token Plan. The model catalog now advertises image input
for Qwen 3.8 Max/Flash, Qwen 3.7 Plus, Qwen 3.6 Flash and DeepSeek V4.1 Flash.
Previously every third-party model was marked text-only, so Codex blocked image attachments
before sending a request. Existing managed catalogs are refreshed on the next sync.
v1.0.3
-
Token Plan reasoning picker. The generated catalog advertises each known Alibaba model's
supported effort levels separately from the profile default, so the desktop app can select
another effort. Qwen 3.8, DeepSeek V4/V4.1 and GLM 5.2/5.3 use their documented Responses tiers. -
Multiple models per Codex provider. Select several models when adding a third-party
profile, or edit Available models later. Discovered and manually entered ids can be
combined; Default model chooses the starting model. The managed Codex model catalog
includes all models of the active provider. Existing single-model profiles remain compatible. -
Saved models remain selectable when the provider's model list is unavailable. The terminal
profile editor also supports a comma-separated model list. Profile export/import preserves
the complete model list.
v1.0.2
- Alibaba plan templates. Separate Qwen (Alibaba Token Plan) and Qwen (Alibaba Coding
Plan) templates for Claude Code, each with its own Base URL and models; the existing
pay-as-you-go Qwen (Alibaba) template (Singapore endpoint) is unchanged, and nothing is
migrated automatically — existing profiles keep working. Keys are plan-specific (sk-sp-for
Token / Coding Plan). - Codex catalog: Qwen (Alibaba Token Plan) on the Responses-compatible
/compatible-mode/v1endpoint (modelqwen3.8-max, effortmedium); the generated model
metadata disables parallel tool calls and reasoning summaries, per Alibaba's docs. Coding Plan
is not offered for Codex — it has no Responses API support.
v1.0.1
- Codex: clearer "start a new chat" hint. A Codex chat stays on the provider it was started
with — after a switch the Codex extension only updates the model name in an open chat, so
continuing a ChatGPT-signed-in chat after switching to a third-party provider (e.g. MiniMax)
fails with "The 'MiniMax-M3' model is not supported when using Codex with a ChatGPT account".
The switch / reset messages and the active-provider tooltip (status bar and Codex view) now say
so and point to a new chat; the README (EN / RU / ZH) explains the error.
v1.0.0
- Sidebar renamed: the Activity Bar panel is now Providers, with a Claude view and a
Codex view (was Claude Providers → Providers). - Codex provider switcher (stage 1 / MVP). A second switcher for OpenAI Codex next to the
Claude one: a Codex view in the sidebar, a Codex status-bar item and aclaude-providers
section (plusclaude-providers codex list | current | use <name|#n> | default).- Switching writes
model_provider,modelandmodel_reasoning_effortinto Codex's
~/.codex/config.toml(or$CODEX_HOME/config.toml) — the one file both thecodexCLI and
the Codex IDE extension read — plus a managed[model_providers.*]block. The rest of the
file is left byte for byte; your own values come back with Codex default, and a one-time
backup (config.toml.cps-backup) is kept before the first write. - Built-in catalog: OpenAI (built-in,
codex login), OpenAI API, OpenRouter, LM Studio, Ollama,
vLLM, or any endpoint that serves the OpenAI Responses API (Codex no longer supports
Chat Completions). Models can be picked from the endpoint's/v1/modelslist. - API keys are kept in SecretStorage (shared with the terminal app through
shareKeysWithTerminal). - New settings:
codexProfiles,showCodexStatusBarItem.
- Switching writes
- Codex switcher, stage 2 — on par with the Claude one.
- Keys out of
config.toml: each Codex key lives in its own owner-only file
(~/.claude-provider-switcher/codex-keys/<id>.key) and Codex reads it through
auth = { command }(cat, orcmd /c typeon Windows — no Node or PATH setup). The new
codexKeyStoragesetting (file|config) switches back to writing the active key as
experimental_bearer_token; keys an earlier build wrote there move to key files automatically. - Parallel runs: every profile also gets
~/.codex/<key>.config.toml, so
codex --profile <key>uses it next to whatever is active (your own profile files are never
touched). - Editor for every field (name, badge, hotkey, fallback, Base URL, API key, model from the
endpoint's list, reasoning effort, HTTP headers, query parameters), in the sidebar and in
claude-providers. - Test connection (a tiny
POST /responses), health check (Codex rows get the 🟢/🔴 tint),
Switch with fallback /autoFallbackOnApply, Switch & reload window,switchAction. - Hotkeys
Ctrl+Shift+Alt+1…0per profile, cycle withCtrl+Shift+Alt+]/[
(macOSCmd+Shift+Alt+…); duplicate and move up / down. - Custom providers: a Codex Base URL column; rows with it appear in the Codex Add menu
(extension and terminal app).
- Keys out of
- Codex switcher, stage 3.
- Token statistics for Codex profiles (today / 7 days / 30 days, in / out / cached, per
model) in the tooltip, read from Codex's own session logs
(~/.codex/sessions/…/rollout-*.jsonl). Each log records the provider it ran on, so usage
is attributed exactly; gated byshowTokenStats, cleared by Reset usage statistics. - Pin to this workspace for Codex profiles (📌 in the Codex view, honours
applyPinnedOnOpen). - Import / Export Codex providers — a separate
codex-providers.json(keys only on request),
so older versions never misread Codex entries; the Claude importer skips them. - README (EN / RU / ZH): a Codex section, the new settings and the
codexsubcommands.
- Token statistics for Codex profiles (today / 7 days / 30 days, in / out / cached, per
- Codex catalog: DeepSeek and MiniMax. They publish first-party Codex guides (Responses API,
wire_api = "responses"), so both belong in the Codex catalog with their recommended model and
reasoning effort. (Anthropic-compatible endpoints from the Claude catalog still don't — Codex
only speaks Responses.) - Codex catalog: Z.ai (GLM). Z.ai's
devpack/latest-modeldocuments an OpenAI Responses
endpoint athttps://api.z.ai/api/v1for Codex (withreasoning_effort). Verified:
POST /api/v1/responsesreturns 200 with a key requirement error, so the route is live. - Codex catalog: Vercel AI Gateway. Vercel documents a separate Codex-compatibility endpoint
athttps://ai-gateway.vercel.sh/codex/v1(wire_api = "responses", models in
provider/modelform,env_key = "AI_GATEWAY_API_KEY"). Verified:GET /codex/v1/models
returns 200,POST /codex/v1/responsesrequires auth — so the route is live. - Codex catalog: Kimi (Moonshot). Moonshot publishes a Codex integration at
https://api.moonshot.ai/v1/responses(modelkimi-k3, key inKIMI_API_KEY). Verified:
POST /v1/responsesreturns 401 without a key (route is live). - Codex model names in the picker. While a third-party Codex profile is active, Codex's
/modelpicker shows its model by name instead of Custom model: the switcher points
model_catalog_jsonat~/.codex/model-catalogs/cps-custom.json. The catalog replaces Codex's
own model list, so it is set only for third-party providers and removed again on the built-in
one or Codex default; the file is checked with the localcodexCLI before it is used (no
CLI or a rejected file → no catalog, nothing breaks). Amodel_catalog_jsonof your own is
left alone. - Reuse a key across Claude and Codex. Adding a Codex profile, or changing its key, offers the
keys your Claude profiles already have for the same host (e.g.api.minimax.io/anthropic↔
api.minimax.io/v1) — and the other way round in the Claude profile's token field. The key is
shown masked; Enter a key manually… is always there.
v0.9.1
- Updated provider presets to the current model generations (applies to profiles created from
the Add provider menu; existing profiles are not changed):- Xiaomi MiMo:
mimo-v2.6-pro(Opus, Sonnet) /mimo-v2.6-flash(Haiku), was
mimo-v2.5-pro/mimo-v2-pro/mimo-v2-flash. Heads-up:mimo-v2.5-proandmimo-v2.5
are deprecated on 21 October 2026 — update existing MiMo profiles before then. - DeepSeek: Sonnet and Haiku →
deepseek-flash(V4.1 Flash);deepseek-v4-flashis only a
temporary alias now. Opus staysdeepseek-v4-pro. - Kimi (Moonshot): all tiers →
kimi-k3(waskimi-k2.5). - Z.ai / Zhipu: Opus and Sonnet →
glm-5.3, Haiku →glm-5.3-flash(wasglm-5.2/
glm-4.7/glm-4.5-air). - MiniMax (both): Sonnet and Haiku →
MiniMax-M3(wasMiniMax-M2.7). - Qwen (Alibaba):
qwen3.8-max/qwen3.7-plus/qwen3.7-flash(wasqwen3-max/
qwen3-coder-plus/qwen3.5-flash).
- Xiaomi MiMo:
v0.9.0
- Terminal app
claude-providers: manage the switcher without VS Code — a full-screen menu driven
by the arrow keys (no numbered items). Switch theclaudeCLI (~/.claude/settings.json), the VS
Code extension, or both; add / edit / duplicate / reorder / delete providers (built-in and custom
presets, model list fetched from the endpoint, extra env vars); set API keys; test connections;
check health; change the extension's settings. Also scriptable:list,current,
use <name|#n> [--vscode]. Works on the same profiles: VS Code'ssettings.jsonis edited in place
with comments and formatting preserved. Install withnpm i -g github:lobacom/claude-provider-switcher
or runbin/claude-providers.jsfrom the installed extension. - New setting
shareKeysWithTerminal(off by default): mirrors API keys from SecretStorage to
~/.claude-provider-switcher/keys.json(owner-only) for the terminal app, and imports keys entered
there — so both sides use the same keys.
v0.8.3
-
Model auto-fetch for split-catalog gateways: the model picker now finds the catalog on
providers that route the Anthropic API and the model list on different paths. Z.ai and
Zhipu serve the list on their OpenAI-compatible…/api/paas/v4/models, DashScope on
…/compatible-mode/v1/models, and Novita on…/v3/openai/models— none of which the old
host-root probe reached. These previously failed with a misleading "couldn't list models (no
list)"; they now fetch the catalog, or report a clear "needs token" when it's gated behind auth. -
Updated provider presets: Z.ai and Zhipu now default the Opus tier to GLM-5.2 (was
glm-5.1); both MiniMax profiles map the Sonnet and Haiku tiers to MiniMax-M2.7 (Opus stays
MiniMax-M3).