Skip to content

Provider setup index

Find pages by the provider you are connecting. A page may involve several providers, in which case it appears under each of them.

361 topic pages, distilled from 1728 real issuesHow this is counted

DeepSeek82

CC Switch local proxy failed while handlingUpgrade CC Switch to the latest version and start a new Codex conversation; invalid schema or image blocks left in old session history will keep triggering 400.43 issues merged502 Bad Gateway Codex proxy takeover overwrites config.tomlDisable global proxy and switch to rule mode with direct connection to 127.0.0.1, or upgrade cc-switch to avoid fully overwriting config.toml.29 issues mergedauth.json refilled with an existing account's auth.json - CodexUpgrade to v3.17.0+ and turn off 非接管切换时保留官方登录 (keep official login on non-takeover switch). Back up auth.json before upgrading.22 issues mergedGeneral config has no effect and gets overwritten by earlier config - Codex CC SwitchUpgrade to CC Switch v3.17.0+ to fix Codex general-config merging. If an old snapshot still overwrites it, switch to another provider and back to self-heal.21 issues mergedcc-switch DeepSeek usage statistics inaccurate / balance query failsUpgrade to v3.19.2 and rebuild Codex usage. The balance query needs a correct {{apiKey}}, or a proxy.17 issues mergedCodex DeepSeek HTTP 400 errorsUpgrade to v3.18.0 to fix the tool schema 400. Multi-turn tool_call_id and Responses native mode need case-by-case handling.40015 issues mergedConfig lost after switching: Claude Code / Codex / WSL path checkSwitching provider rewrites settings.json. Put hooks/statusLine/enabledPlugins into the shared/general config, not just the local file.15 issues mergedconfig.toml and auth.json still hold the previous third-party APIUpgrade CC Switch to v3.16.1+, restart, and switch Codex provider again. If official OAuth broke, run codex logout then codex login --device-auth.11 issues mergedcontent[].thinking must be passed backUpgrade cc-switch to v3.16.0 or newer. As a stopgap, roll Claude Code back to 2.1.150 or turn thinking off.11 issues mergedCodex model catalog template `gpt-5.5`Regenerate ~/.codex/models_cache.json and keep the Codex ChatGPT login, so CC Switch can write the route and show DeepSeek models.10 issues mergedCodex model catalog template `gpt-5.5`Run `codex debug models --bundled > ~/.codex/models_cache.json` to generate the missing model cache, then switch the Codex route again.10 issues merged<!-- Failed to upload "image.png" -->Screenshot upload failures do not affect the issue itself; please describe the error message in text.10 issues mergedsettings.json plugins and hooks lost after switching providerThis is cc-switch's full-snapshot overwrite design. Put the fields you need to keep into the shared / general config and tick write-general-config.9 issues mergedCodex desktop shows "Custom" or 401 UnauthorizedEnable "Keep official login when switching to third party" in cc-switch settings and ensure Codex is logged into the official ChatGPT account, or start a new…9 issues mergedapi failed deserialize json body intoDepending on the error: roll Claude Code back, upgrade cc-switch, turn the local proxy off, or stop sending unsupported fields.7 issues mergedCodex provider API keys overwrite each other after a restart or switchEnable CC Switch local proxy takeover, or use experimental_bearer_token in config.toml, to bypass the auth.json sync defect.openai_api_key7 issues mergedunexpected status 502 Bad Gateway CodexSet 127.0.0.1 to direct in your proxy software, or configure NO_PROXY in the Codex environment, so the local proxy is not intercepted.7 issues mergedCodex desktop not showing third-party modelsLog in with an official ChatGPT account in Codex desktop and enable "preserve official login" in cc-switch to restore display.6 issues mergedCodex shows no model list and will not switch modelsTurn on keeping the official login when switching to a third party in cc-switch, and make sure you signed in to official ChatGPT in Codex once.6 issues mergedNo DEEPSEEK settings in the json config fileUpgrade cc-switch to v3.20.0+, tick the reasoning level in the model mapping and save again, to fix config not being written or overwritten by a template.6 issues mergedConnection failedMost related issues remain unresolved; upgrade to v3.16.3+ to fix the SSL renegotiation bug, or restart the application to refresh proxy status.6 issues mergedIs codex no longer supported now that it became ChatGPT? - cc-switchUpgrade to cc-switch v3.17.0, which supports provider switching after Codex merged into ChatGPT Desktop, so old config is not overwritten.5 issues mergedcodex deepseek cannot select a model - cc-switchCodex desktop hides third-party models with no official ChatGPT login. Sign in once, enable keeping the official login in cc-switch, and restart Codex.5 issues mergedInvalid schema for function 'codex_app__automation_update'Upgrade cc-switch to v3.18.0+ to fix upstream HTTP 400 errors caused by missing type: object in Codex tool parameters.4005 issues mergedOnly a 200K context window shows in actual use - Claude CodeChange the default model in `~/.claude/settings.json` to the `[1m]` variant, or run `/model claude-opus-4-8[1m]` in the session, to activate the 1M context.5 issues merged404 Not FoundDeepSeek does not support the Responses API — use the built-in preset to route through Chat Completions. For image errors, drop the image modality.4045 issues mergedmodel does not support thinkingTurn the Proxy Rectifier off in cc-switch advanced settings, or upgrade to a fixed version. Qwen tool call loops and empty thinking blocks remain unresolved.5 issues merged[SRV-006] connection errorUpgrade cc-switch to v3.16.4, which fixes proxy forwarding disconnects with a custom DeepSeek provider and billing falling back to the request model.5 issues mergedtemporarily unavailable, so auto mode cannotUpgrade cc-switch to v3.15.0+ for the model mapping and thinking conversion fixes, or override the default model env var in general config.5 issues mergedANTHROPIC_AUTH_TOKEN and ANTHROPIC_API_KEYOpen `~/.claude/settings.json`, delete the duplicate auth variable so only the one your provider needs remains, save, and restart Claude Code.anthropic_auth_token4 issues mergedThe Codex Desktop UI project list is completely empty - CodexCC Switch changed the model_provider key name. Set it back to custom, or upgrade. Lost official login and fewer reasoning tiers remain unresolved.4 issues mergedMissing supports_reasoning_summaries field - CodexUpgrade cc-switch to v3.18.0 or newer, which fixes required fields missing from the generated model catalogue and stopping Codex from starting.4 issues mergedError running remote compact taskTurn Remote Compaction off in Codex settings and use local compaction, working around this protocol conversion defect.4 issues mergedTicking 1M for DeepSeek does nothing? cc-switch local proxy configWith the cc-switch local proxy on, do not enter [1m] and leave the main model empty. The [1m] suffix only works with the proxy off.anthropic_model4 issues mergeddeepseek check failed: Not found (404), the endpoint does not exist - CodexCodex needs the Responses API while DeepSeek only supports the Chat API — use a third-party proxy to convert between the protocols.4 issues mergedDeepSeek API key overwritten, causing a 401Upgrade cc-switch to v3.16.2+ and re-enter the DeepSeek API key, so it is not overwritten by another key when switching provider.4 issues merged400 content[].thinking must be passed backUpgrade cc-switch to v3.15.0 or newer to fix lost thinking blocks, or downgrade Claude Code and use the native DeepSeek Anthropic endpoint.4004 issues mergedDeepSeek usage statistics show the wrong cost / cache hit rateUpgrade to v3.16.3+, fixing input double-counting on the chat→message conversion path, streaming without usage, and wrong model billing attribution.4 issues merged502 Bad GatewayCodex/Claude Desktop reports 502 due to CLI proxy conflicts or app-server bypassing proxy. Remove proxy config or downgrade versions to fix.5024 issues mergedInvalid schema for function - Codex errorUpgrade cc-switch for the tool schema conversion fix. If upstream rejects oneOf strictly, use a historical task or switch model for now.4 issues mergedRequest body format invalid error - Claude CodeUpgrade cc-switch and enable the Rectifier, or add MAX_THINKING_TOKENS=0, for compatibility with third-party API formats.4 issues mergedunexpected status 404 Not FoundUpgrade cc-switch to v3.16.4+ and set the upstream format explicitly to Chat Completions on the Codex provider form.4 issues merged"is not a model this version of Claude Code recognizes" - CC SwitchSet CLAUDE_CODE_MAX_CONTEXT_TOKENS or append [1m] to the model name to define the correct context window size.claude_code_max_context_tokens3 issues merged401 authentication failed: Claude Desktop gateway token invalidClear the official Claude Desktop OAuth login state, or edit .claude.json, to resolve the 401 invalid gateway token.3 issues mergedNothing happens, cannot sign in to the official channel - CodexUpgrade cc-switch to v3.16.2 or newer and delete the .codex and .cc switch folders in your home directory, fixing auth.json being overwritten.3 issues mergedcodex never shows the ds model - CodexCodex desktop needs an official login state to show third-party models. Enable keep-official-login-when-switching in cc-switch and restart.deepseek_api_key3 issues mergedConsole Go: Upstream request failedThis 400 comes from the OpenCode Go gateway rejecting an incompatible payload. Restart the proxy to restore session mapping, or avoid WebSearch and images.3 issues mergedIt reports 401 in claude - Claude CodeTurn the cc-switch local proxy on to convert the API format, and make sure `ANTHROPIC_BASE_URL` is injected into the Claude Code process.3 issues mergedThe 'deepseek-v4-flash' modelEnable the keep-official-login option in cc-switch, confirm local route takeover is on, then restart Codex desktop.3 issues merged<tool_use_error>InputValidationErrorAn SSE parsing bug in the cc-switch conversion layer loses tool calls. Connect to the API directly, or switch to an official node, for now.3 issues mergedNot logged in · Please run /login ClaudeEdit `~/.claude.json` to move `PROXY_MANAGED` into the `approved` list, or answer yes at the prompt.2 issues mergedThe proxy takeover claude switch cannot be ticked in Claude Desktop modeIn claude-desktop mode, the takeover section hard-codes the Claude Code (claude) switch instead of the Claude Desktop one, so clicking does nothing.2 issues mergedunexpected status 401 Unauthorized CodexUse the built-in DeepSeek template instead of a hand-built config, or add http_headers to the config file by hand to pass the API Key.2 issues mergedConfiguring DeepSeek in Codex errors about gpt-5.5Install the Codex CLI and run codex debug models --bundled to regenerate models_cache.json.2 issues mergedInvalid schema: codex_app__automation_updateUpgrade CC Switch to v3.18.0 or newer to fix the 400 caused by type: null when Codex converts the DeepSeek protocol.2 issues mergedThe apply_patch tool is unavailable with the Codex proxy onUpgrade to cc-switch v3.16.2 or newer. On a relay, make sure the backend model matches what Codex expects or tool calls fail with routing on.2 issues mergedThe model cannot discover any tools - CodexUpgrade cc-switch past 3.16.1 and edit cc-switch-model-catalog.json to set supports_search_tool to false for the DeepSeek models.2 issues mergedThis model is not supported when usingComment out model_provider = custom in config.yaml to go back to the official OpenAI provider.2 issues mergedNo such file or directory (os error 2)Change the model_catalog_json absolute path in config.toml to the relative cc-switch-model-catalog.json, or upgrade cc-switch.2 issues mergedunexpected status 401 Unauthorized - CodexEdit the Codex config.toml by hand to add the model_provider declaration and the matching provider section, or upgrade cc-switch to the latest version.4012 issues mergedDeepSeek prefix cache hit rate drop - CC Switch fixUpgrade to cc-switch v3.16.3 to fix cache hit rate calculation errors caused by format conversion.anthropic_base_url2 issues mergedCodex conversation history disappears after switching providerAfter upgrading to v3.16.0 or above, CC Switch automatically migrates third-party provider history into the custom bucket; original files are backed up.2 issues mergedTest failed - Claude CodeChange the cc-switch outbound proxy port to match your local proxy software (7897, for instance) to restore the connection.2 issues mergedGateway rejected model "claude-haiku-4-5"Turn isFullUrl=true on in the configuration and enter the complete API path, stopping cc-switch from appending /v1/messages automatically.2 issues mergedThe Hermes Skill sync path does not check the HERMES_HOME environment variableCC Switch hard-codes the Skills path; await a fix supporting a custom HERMES_HOME.hermes_home2 issues mergedHTTP 400 maximum context length CodexUpgrade cc-switch to fix the missing auto_compact_token_limit, or manually set the context window limit in the model catalog json.4002 issues mergedAbsolutePathBuf deserialized without a base pathOn Codex for macOS, relative paths written by cc-switch cause this error. Change `model_catalog_json` in `~/.codex/config.toml` to an absolute path.2 issues mergedInvalid pages parameter: "" Claude CodeSwitch the API format to anthropic, or upgrade cc-switch to fix the empty pages field from Responses conversion.2 issues mergedInvalid schema: got 'type: null' - Claude CodeUpgrade cc-switch to v3.17.0 or later to fix the missing type field error during OpenAI format conversion.2 issues mergedAPI Error: 400 Param Incorrect Claude CodeUpgrade CC Switch to v3.16.2+ to fix 400 errors caused by missing reasoning_content in MiMo thinking mode.2 issues mergedProxy billing model not proxied, then error 405 - Claude CodeModify env vars like ANTHROPIC_DEFAULT_SONNET_MODEL to the target model name, as cc-switch proxy only reads this field for mapping.anthropic_default_sonnet_model2 issues mergedClaude Code Tool Call Failure via NVIDIA Proxy - CC Switch FixNVIDIA free-tier models are unstable; switch to stable providers like deepseek-ai/deepseek-v4-flash.2 issues mergedthinking options type cannot be disabledUpgrade cc-switch to v3.16.4 or later; the agent automatically strips the reasoning_effort parameter conflicting with DeepSeek.2 issues mergedunexpected status 404 Not FoundDeepSeek does not support the Responses API. Add /v1 to base_url and remove wire_api = "responses".2 issues mergedUnexpected status 503 Service Unavailable CodexConfigure v2ray or other proxy tools to bypass LAN traffic, resolving the 503 error when Codex accesses cc-switch local routing.2 issues mergedUpstream request failedCheck if the upstream provider supports the current model or has regional restrictions; switch to an available model.2 issues mergedVolcengine Agent Plan Auto-Identify Model List Failed 404Manually modify config.toml to match official docs and add models in modelCatalog to bypass 404.ark_api_key2 issues mergedAdd CoderPlan provider preset for Claude CodeFeature request: add a CoderPlan provider preset to cc-switch. A Claude Code preset PR exists, but merge status is unconfirmed.1 issues mergedLow cache hit rate around 40% and very slow responses in Claude CodeSet CLAUDE_CODE_ATTRIBUTION_HEADER to false in .claude/settings.json to stop dynamic headers from breaking third-party model prompt caching.claude_code_attribution_header1 issues mergedThird-party model still claims based on GPT-5 - CodexMove the `baseInstructions` override out of the `if profile != ProxyChat` block so it applies to ProxyChat. Currently it is not injected even when set.1 issues mergedunsupported call: - CodexUpgrade cc-switch to v3.16.4+ to fix tool call name/id overwritten by empty deltas during streaming conversion.1 issues mergedBody text appears in thinking blocks, visible text nearly emptyUpgrade cc-switch to a build with PR #4210. Reactive thinking-placeholder handling fixes long-context freezes and body-text collapse.4001 issues merged

GLM / Zhipu43

CC Switch local proxy failed while handlingUpgrade CC Switch to the latest version and start a new Codex conversation; invalid schema or image blocks left in old session history will keep triggering 400.43 issues merged502 Bad Gateway Codex proxy takeover overwrites config.tomlDisable global proxy and switch to rule mode with direct connection to 127.0.0.1, or upgrade cc-switch to avoid fully overwriting config.toml.29 issues mergedcc-switch DeepSeek usage statistics inaccurate / balance query failsUpgrade to v3.19.2 and rebuild Codex usage. The balance query needs a correct {{apiKey}}, or a proxy.17 issues mergedcontent[].thinking must be passed backUpgrade cc-switch to v3.16.0 or newer. As a stopgap, roll Claude Code back to 2.1.150 or turn thinking off.11 issues mergedCodex model catalog template `gpt-5.5`Regenerate ~/.codex/models_cache.json and keep the Codex ChatGPT login, so CC Switch can write the route and show DeepSeek models.10 issues mergedsettings.json Full Overwrite Causes Plugin FailureUpgrade to v3.20.1+ to fix the bug that clears enabledPlugins when switching configs.anthropic_base_url9 issues mergedapi failed deserialize json body intoDepending on the error: roll Claude Code back, upgrade cc-switch, turn the local proxy off, or stop sending unsupported fields.7 issues mergedNo plan shown (parsed as empty)Upgrade CC Switch to the latest version, or change the filter in your custom script from TOKENS_LIMIT to CREDIT_LIMIT for the new Zhipu credit-based API.7 issues mergedAuth conflictLog out of the official Claude login, clear conflicting ANTHROPIC_* variables, set hasCompletedOnboarding to true in ~/.claude.json, and restart the terminal.anthropic_auth_token6 issues mergedCodex desktop not showing third-party modelsLog in with an official ChatGPT account in Codex desktop and enable "preserve official login" in cc-switch to restore display.6 issues mergedmodel does not support thinkingTurn the Proxy Rectifier off in cc-switch advanced settings, or upgrade to a fixed version. Qwen tool call loops and empty thinking blocks remain unresolved.5 issues mergedYour access token could not be refreshedUpgrade cc-switch to v3.17.0+, which fixes the PROXY_MANAGED placeholder polluting OAuth credentials or causing a 401 during takeover.proxy_managed5 issues mergedANTHROPIC_AUTH_TOKEN and ANTHROPIC_API_KEYOpen `~/.claude/settings.json`, delete the duplicate auth variable so only the one your provider needs remains, save, and restart Claude Code.anthropic_auth_token4 issues mergedTicking 1M for DeepSeek does nothing? cc-switch local proxy configWith the cc-switch local proxy on, do not enter [1m] and leave the main model empty. The [1m] suffix only works with the proxy off.anthropic_model4 issues mergedFailed to fetch models - cc-switchUpgrade cc-switch to v3.16.4+ for the 404 probe fix. On a Coding Plan, change the API address by hand and enter the model names yourself.4 issues mergedThe interface shows "query failed"Upgrade past v3.16.2 for the query routing fix, or use a custom balance query template. Put hooks in general config, and raise the failover timeout.4 issues mergedinvalid type: sequenceBack up and delete the old config.toml so Codex regenerates a default config, fixing the incompatible hooks format.4 issues mergedMCP config files edited by hand are overwritten by cc-switchcc-switch writes wholesale. Sync plugins through general config, and upgrade to v3.13.0 for the MCP cross-app leak fix.4 issues mergedRequest body format invalid error - Claude CodeUpgrade cc-switch and enable the Rectifier, or add MAX_THINKING_TOKENS=0, for compatibility with third-party API formats.4 issues merged"is not a model this version of Claude Code recognizes" - CC SwitchSet CLAUDE_CODE_MAX_CONTEXT_TOKENS or append [1m] to the model name to define the correct context window size.claude_code_max_context_tokens3 issues mergedbuilt-in provider IDs: openai - CodexUpgrade CC Switch to v3.16.4+, delete the old config and save again. Enable unified Codex session history and use openai_base_url.3 issues mergedcodex never shows the ds model - CodexCodex desktop needs an official login state to show third-party models. Enable keep-official-login-when-switching in cc-switch and restart.deepseek_api_key3 issues mergedConsole Go: Upstream request failedThis 400 comes from the OpenCode Go gateway rejecting an incompatible payload. Restart the proxy to restore session mapping, or avoid WebSearch and images.3 issues mergedCalling GLM-5 reports error 1311 - cc-switchA provider permissions problem: enable GLM-5 / MiniMax / Kimi access with your provider, or ask them to confirm your subscription entitlements.3 issues mergedending with a leaked `</t` close-tagCaused by the cc-switch streaming converter not deduplicating and not filtering think tags. Update to a version containing the PR #6319 fix.3 issues mergedNot found (404)Upgrade cc-switch to v3.16.3 for the 404 from /v1/ appended wrongly to a Base URL, and enable the media fallback so images cannot trip the breaker.4043 issues mergedexceeded retry limit, last status: 429Limit client concurrency and retry frequency, and fix the cc-switch bug where hot switching disables automatic failover, with SQL.4293 issues mergedRange of input length should be [1, 1048576]Upgrade CC Switch to v3.19.0 for the fix where images were forwarded as base64 text and inflated tokens, or avoid view_image under the proxy.4003 issues merged401 Unauthorized: Incorrect API key providedAfter switching to OpenAI Official or turning the proxy off, clear the leftover third-party OPENAI_API_KEY from ~/.codex/auth.json and restart Codex.2 issues mergedModelScope reports 401 token invalid - Claude CodeAdd ANTHROPIC_MODEL to the provider environment variables in cc-switch to resolve the 401. It is not synced to settings.json by design.anthropic_model2 issues merged[proxy::response_processor] [Claude] stream errorA stream decode error or timeout proxying Claude Code loses logs or records 0 tokens. Fix the model extraction fallback to show the right model.2 issues mergedThe model cannot discover any tools - CodexUpgrade cc-switch past 3.16.1 and edit cc-switch-model-catalog.json to set supports_search_tool to false for the DeepSeek models.2 issues mergedDeepSeek prefix cache hit rate drop - CC Switch fixUpgrade to cc-switch v3.16.3 to fix cache hit rate calculation errors caused by format conversion.anthropic_base_url2 issues mergedAPI Error: 422 format conversion errorThe upstream NVIDIA NIM GLM-5.2 model intermittently returns an empty choices array. Turn on failover in cc-switch or retry the request.2 issues mergedModel always thinks; disable not supported; use low, high, or maxSet glm-5.3 to forced thinking in cc-switch config; disable thinking.type: disabled.2 issues mergedHTTP 400 maximum context length CodexUpgrade cc-switch to fix the missing auto_compact_token_limit, or manually set the context window limit in the model catalog json.4002 issues mergedInvalid schema: got 'type: null' - Claude CodeUpgrade cc-switch to v3.17.0 or later to fix the missing type field error during OpenAI format conversion.2 issues mergedClaude Code Tool Call Failure via NVIDIA Proxy - CC Switch FixNVIDIA free-tier models are unstable; switch to stable providers like deepseek-ai/deepseek-v4-flash.2 issues mergedReasoning Level Not AdaptedRe-add the OpenCode Go preset after upgrading to get the correct reasoning_effort config.2 issues mergedVolcengine Agent Plan Auto-Identify Model List Failed 404Manually modify config.toml to match official docs and add models in modelCatalog to bypass 404.ark_api_key2 issues mergedTest returns 504: Claude Code unusableCheck whether cc-switch loaded the `glm-4.7` model mapping into the proxy; otherwise Claude Code requests glm directly and returns 504.anthropic_api_key1 issues mergedCC Switch online update freezes and becomes unresponsiveCC Switch online update can freeze under FlClash TUN mode. Switch to system proxy mode or manually download and reinstall.1 issues mergedClaude Code cannot be applied in VS CodeRemove old Claude Code proxy settings in VS Code, then toggle Apply to Claude Code plugin in cc-switch again.1 issues merged

OpenAI (official)43

auth.json refilled with an existing account's auth.json - CodexUpgrade to v3.17.0+ and turn off 非接管切换时保留官方登录 (keep official login on non-takeover switch). Back up auth.json before upgrading.22 issues mergedGeneral config has no effect and gets overwritten by earlier config - Codex CC SwitchUpgrade to CC Switch v3.17.0+ to fix Codex general-config merging. If an old snapshot still overwrites it, switch to another provider and back to self-heal.21 issues mergedsettings.json overwritten by proxy takeover causing plugin config loss - Claude CodePlace custom fields such as hooks and statusLine into the "General Configuration" panel, or upgrade to v3.12.2+ to fix the legacy backup restore logic.15 issues mergedconfig.toml and auth.json still hold the previous third-party APIUpgrade CC Switch to v3.16.1+, restart, and switch Codex provider again. If official OAuth broke, run codex logout then codex login --device-auth.11 issues mergedCodex desktop shows "Custom" or 401 UnauthorizedEnable "Keep official login when switching to third party" in cc-switch settings and ensure Codex is logged into the official ChatGPT account, or start a new…9 issues mergedCannot query usage for an official subscription in the Codex UI - CodexEnable local route mapping so specific models are counted. Third-party APIs need their own query script; Claude official and Free accounts are unsupported.8 issues mergedCodex provider API keys overwrite each other after a restart or switchEnable CC Switch local proxy takeover, or use experimental_bearer_token in config.toml, to bypass the auth.json sync defect.openai_api_key7 issues mergedCannot sign in to a Codex account that uses a Google email - CodexUpgrade cc-switch to v3.16.1+, or edit ~/.codex/auth.json by hand to restore auth_mode to chatgpt and clear OPENAI_API_KEY.openai_api_key7 issues mergedCodex desktop not showing third-party modelsLog in with an official ChatGPT account in Codex desktop and enable "preserve official login" in cc-switch to restore display.6 issues mergedCodex shows no model list and will not switch modelsTurn on keeping the official login when switching to a third party in cc-switch, and make sure you signed in to official ChatGPT in Codex once.6 issues mergedauth.json under .claude is forcibly replaced after a restart - CodexUpgrade cc-switch to the latest version, or turn proxy takeover off before signing in officially, so a stale snapshot cannot overwrite official credentials.openai_api_key5 issues mergedChatGPT will not authenticate even with the global proxy on - cc-switchUpgrade cc-switch to v3.16.4+ and set the proxy address under Settings > Routing > Global outbound proxy, fixing OAuth not going through the proxy.5 issues mergedcodex session expired - CodexBack up the config, then sync the auth.json token into the cc-switch database with a script, or turn usage refresh off so old data cannot overwrite it.5 issues merged"Not logged in · Please run /login" - Claude CodeUpgrade cc-switch to v3.19.2+, or change ANTHROPIC_API_KEY to ANTHROPIC_AUTH_TOKEN in settings.json by hand to skip the approval prompt.anthropic_api_key5 issues merged404 Not FoundDeepSeek does not support the Responses API — use the built-in preset to route through Chat Completions. For image errors, drop the image modality.4045 issues mergedYour access token could not be refreshedUpgrade cc-switch to v3.17.0+, which fixes the PROXY_MANAGED placeholder polluting OAuth credentials or causing a 401 during takeover.proxy_managed5 issues mergedDeepSeek API key overwritten, causing a 401Upgrade cc-switch to v3.16.2+ and re-enter the DeepSeek API key, so it is not overwritten by another key when switching provider.4 issues mergedinvalid type: sequenceBack up and delete the old config.toml so Codex regenerates a default config, fixing the incompatible hooks format.4 issues mergedUnknown parameterTurn the cc-switch unified session history switch off and move sessions tagged custom back to openai, fixing the namespace parameter error.4 issues mergedUnsupported content type: redacted_thinkingRun a local proxy such as openrouter-proxy to filter out redacted_thinking blocks, and point the Claude Code config at that proxy.4 issues mergedNothing happens, cannot sign in to the official channel - CodexUpgrade cc-switch to v3.16.2 or newer and delete the .codex and .cc switch folders in your home directory, fixing auth.json being overwritten.3 issues mergedbuilt-in provider IDs: openai - CodexUpgrade CC Switch to v3.16.4+, delete the old config and save again. Enable unified Codex session history and use openai_base_url.3 issues mergedcodex never shows the ds model - CodexCodex desktop needs an official login state to show third-party models. Enable keep-official-login-when-switching in cc-switch and restart.deepseek_api_key3 issues mergedThe 'deepseek-v4-flash' modelEnable the keep-official-login option in cc-switch, confirm local route takeover is on, then restart Codex desktop.3 issues mergedError running remote compact task - CodexUpgrade cc-switch to v3.12.0 or newer, which added forwarding for the Codex `/responses/compact` route in the local proxy, fixing the 404 or 502.3 issues mergedGtk-CRITICAL: gtk_widget_get_scale_factor failedOn a GTK assertion failure running cc-switch under Linux or WSL2, edit settings.json to turn silent startup off, or clean the leftovers and reinstall.gtk_is_widget3 issues merged<tool_use_error>InputValidationErrorAn SSE parsing bug in the cc-switch conversion layer loses tool calls. Connect to the API directly, or switch to an official node, for now.3 issues merged401 Unauthorized: Incorrect API key providedAfter switching to OpenAI Official or turning the proxy off, clear the leftover third-party OPENAI_API_KEY from ~/.codex/auth.json and restart Codex.2 issues mergedHTTP 401 Unauthorized - CC Switch AnthropicUpgrade cc-switch to a fixed build so it sends the x-api-key and anthropic-version headers Anthropic requires.4012 issues mergedunexpected status 401 Unauthorized CodexUse the built-in DeepSeek template instead of a hand-built config, or add http_headers to the config file by hand to pass the API Key.2 issues merged[mcp_servers.node_repl] written back automatically by CC SwitchTurn off or delete node_repl in MCP management at the top right of CC Switch to stop it being written back into the Codex config file.node_repl_native_pipe_connect_timeout_ms2 issues mergedCodex still asks for a login when openedDelete the Codex default configuration or the whole .codex folder to skip the login check.2 issues mergedHTTP 400 Invalid JSON /responsesChange meta.apiFormat of the Codex provider to openai_responses so requests are forwarded straight through.4002 issues mergedstop: cancel task, id_task = 2 Codex timeout overwriteIncrease startup_timeout_sec, and save the MCP configuration once more after it is overwritten a second time.2 issues mergedCodex subagent token statistics are missing and too lowUpgrade to the latest code, where the parser derives a unique request ID from payload.id instead of session_id, so subagent usage lands in the database.2 issues mergedunexpected status 401 Unauthorized - CodexEdit the Codex config.toml by hand to add the model_provider declaration and the matching provider section, or upgrade cc-switch to the latest version.4012 issues mergedexpected value at line 1 column 1Upgrade to cc-switch v3.14.1 or newer to fix the JSON parse failure caused by Codex OAuth forcing an SSE stream.response.created2 issues mergedAbsolutePathBuf deserialized without a base pathOn Codex for macOS, relative paths written by cc-switch cause this error. Change `model_catalog_json` in `~/.codex/config.toml` to an absolute path.2 issues mergedmodel is not supported when using CodexDisable cc-switch proxy takeover to avoid writing unsupported model IDs to Codex, preventing official subscription bans or request rejections.2 issues merged"Not logged in ? Please run /login" ClaudeEnable "API Proxy Takeover" in cc-switch when using hosted accounts like Copilot or Codex; direct upstream connections cause auth failures.anthropic_base_url2 issues mergedAtomic replace failed os error 50Change the Claude Code configuration directory from a WSL path back to a Windows local path, or roll back to v3.19.0.1 issues mergedCodex cannot select models after configurationEnable keep-official-login in Codex app enhancements, then log in again and switch providers to restore the model list.1 issues mergedCodex skill toggle not working: still loads legacy directory ~/.agents/skillsRemove leftover copies in ~/.agents/skills or disable them in config; CC-Switch cannot manage that shared directory.codex_home1 issues merged

Gemini / Google41

Codex config.toml configuration lost after switching providerUpgrade cc-switch to v3.17.0+, which changes to incremental merge instead of full overwrite of config.toml.40 issues mergedsettings.json plugins and hooks lost after switching providerThis is cc-switch's full-snapshot overwrite design. Put the fields you need to keep into the shared / general config and tick write-general-config.9 issues mergedCannot sign in to a Codex account that uses a Google email - CodexUpgrade cc-switch to v3.16.1+, or edit ~/.codex/auth.json by hand to restore auth_mode to chatgpt and clear OPENAI_API_KEY.openai_api_key7 issues mergedEGL_BAD_PARAMETER white screen error - cc-switchInstall the native .deb or AUR package instead, or run the AppImage with LD_PRELOAD pointing at the system library, to resolve the ABI conflict.egl_bad_parameter6 issues mergedFailed to parse Hermes configUpgrade cc-switch to v3.16.3+ to fix the CRLF-driven config append bug, or delete the duplicate keys in config.yaml by hand.6 issues mergedUnknown name "prompt_cache_key" - cc-switchUpgrade cc-switch to v3.16.2+ to fix prompt_cache_key injection, or use an OpenRouter endpoint that natively speaks the Claude Code format.6 issues mergedFunction call is missing a thought_signatureUpgrade or patch the cc-switch forwarder/session logic so Codex tool call requests carry a thought_signature.invalid_argument5 issues mergedTest script: error, no result returnedMiniMax changed the balance query API response shape, breaking the old parser. Upgrade cc-switch to v3.16.2+, or use a custom template for now.5 issues mergedWarmup request downgraded to modelTurn the Copilot warmupDowngrade option off in CC Switch so requests are not silently replaced with gpt-5-mini.5 issues mergedANTHROPIC_AUTH_TOKEN and ANTHROPIC_API_KEYOpen `~/.claude/settings.json`, delete the duplicate auth variable so only the one your provider needs remains, save, and restart Claude Code.anthropic_auth_token4 issues mergedNot installed / not installed or not executable - CC SwitchUpgrade CC Switch to v3.20.0+ for custom npm prefix and macOS detection failures; the false "several installations" on Windows needs v3.16.5+.4 issues mergednot installed or not executableUpgrade CC Switch to v3.16.2+, or set the CLI install directory by hand in settings, and clear noise printed by your shell at startup.4 issues mergedGemini CLI session history will not display - Gemini CLIGemini CLI 0.39.1 changed the history path. With the consumer service being retired, the old path will not be fixed — wait for Antigravity CLI support.4 issues mergedA default Gemini config appears and cannot be deleted - CC Switchdefault is the expected provider CC Switch creates by importing your existing live config. Switch the current provider in settings first, then delete it.4 issues mergedGemini CLI usage data is not counted - CC SwitchThe consumer Gemini CLI is retired in favour of Antigravity CLI, so CC Switch no longer supports its usage statistics. For template or Grok problems, upgrade.4 issues mergedJSON parse error: expected value at line 1Upgrade cc-switch to fix JSON corruption from concurrent writes, and add custom fields to general config so a switch cannot overwrite them.4 issues mergedMCP config files edited by hand are overwritten by cc-switchcc-switch writes wholesale. Sync plugins through general config, and upgrade to v3.13.0 for the MCP cross-app leak fix.4 issues mergedselected model (kimi-k2.5) may not exist errorDrop the trailing /v1 from the API address and use the Anthropic-compatible endpoint. For an old session with images, /compact or switch model.4 issues mergedskills installed to the wrong path - cc-switchOlder cc-switch installs skills into ~/.claude/skills/skills, which Claude Code ignores. Upgrade, or move the contents up to ~/.claude/skills/.4 issues mergedClaude code does not support gemini - CC Switchcc-switch cannot currently use Gemini as a Claude Code provider — wait for the local proxy feature, or use a third-party proxy project.3 issues mergedRestarting the terminal and running gemini asks for an api-key - Gemini CLIUpdate cc-switch for the save-clears-config bug. If it still fails, that is a Gemini CLI read bug — put the environment variables in bash_profile.3 issues mergedFunction call is missingUse the community cc-switch-gemini-fixer patch, or inject skip_thought_signature_validator into history messages, to bypass the signature validation.4003 issues mergedGtk-CRITICAL: gtk_widget_get_scale_factor failedOn a GTK assertion failure running cc-switch under Linux or WSL2, edit settings.json to turn silent startup off, or clean the leftovers and reinstall.gtk_is_widget3 issues mergedclaude cli exists locally but the about settings say not installed - CC SwitchUpgrade CC Switch to v3.16.5 or newer, fixing the false conflict from multiple npm global package entry points on Windows and the garbled paths.3 issues mergedHTTP 401 Unauthorized - CC Switch AnthropicUpgrade cc-switch to a fixed build so it sends the x-api-key and anthropic-version headers Anthropic requires.4012 issues mergedcodex cli failed - CC SwitchUpgrading cc-switch to v3.16.3 or newer fixes the local environment detection and the blocked upgrade path.2 issues mergedThe proxy takeover claude switch cannot be ticked in Claude Desktop modeIn claude-desktop mode, the takeover section hard-codes the Claude Code (claude) switch instead of the Claude Desktop one, so clicking does nothing.2 issues mergedThe model cannot discover any tools - CodexUpgrade cc-switch past 3.16.1 and edit cc-switch-model-catalog.json to set supports_search_tool to false for the DeepSeek models.2 issues mergedFunction call is missing a thought_signatureTriggering a tool call with Gemini Native in Claude Desktop proxy mode loses the thought_signature to a session ID mismatch. Await the official fix.2 issues mergedThe Gemini CLI reading the project .env breaks cc-switchWrap the gemini command in PowerShell to load the ~/.gemini/.env environment variables by hand.2 issues mergedcc-switch keeps saying there is an environment variable conflict and then deletes the variable Gemini CLIIgnore the environment variable conflict prompt to keep your system variables, or upgrade cc-switch to v3.12.3 to fix saving in Official mode.gemini_api_key2 issues merged"Not logged in ? Please run /login" ClaudeEnable "API Proxy Takeover" in cc-switch when using hosted accounts like Copilot or Codex; direct upstream connections cause auth failures.anthropic_base_url2 issues mergedhttp://127.0.0.1:15721 proxy configuration stuckUpgrade to CC Switch v3.16.2 to fix proxy hangs from corrupted backups, or use "Replace Config" mode to manually set env vars.anthropic_auth_token2 issues mergedUpstream request failedCheck if the upstream provider supports the current model or has regional restrictions; switch to an available model.2 issues merged"event handler is re-entrant" error or startup crashUninstall Windows update KB5081263 or wait for cc-switch upgrade to avoid crashes and UI rendering failures caused by TAO EventLoop re-entry.2 issues mergedcc-switch crashes immediately after openingNo confirmed fix. Reinstalling does not help. Collect debug logs and wait for an official fix.1 issues mergedCC Switch online update freezes and becomes unresponsiveCC Switch online update can freeze under FlClash TUN mode. Switch to system proxy mode or manually download and reinstall.1 issues mergedAtomic replace failed os error 50Change the Claude Code configuration directory from a WSL path back to a Windows local path, or roll back to v3.19.0.1 issues mergedGemini local proxy says invalid token cc-switchMove the Gemini provider channel from codex back to gemini. With the local proxy enabled, this avoids wrong routing and invalid token errors.1 issues mergedshow 0 skills from cc-switchUpgrade cc-switch to v3.17.0 and re-toggle the skill state to fix Windows Hermes Desktop reading the LOCALAPPDATA path.1 issues mergedInstalled but cannot run in current environment, please check CC SwitchUpgrade to CC Switch v3.16.1+ to fix Windows `cmd /C` quote handling that misreports installed CLI as broken.1 issues merged

Kimi / Moonshot40

CC Switch local proxy failed while handlingUpgrade CC Switch to the latest version and start a new Codex conversation; invalid schema or image blocks left in old session history will keep triggering 400.43 issues merged502 Bad Gateway Codex proxy takeover overwrites config.tomlDisable global proxy and switch to rule mode with direct connection to 127.0.0.1, or upgrade cc-switch to avoid fully overwriting config.toml.29 issues mergedGeneral config has no effect and gets overwritten by earlier config - Codex CC SwitchUpgrade to CC Switch v3.17.0+ to fix Codex general-config merging. If an old snapshot still overwrites it, switch to another provider and back to self-heal.21 issues mergedConfig lost after switching: Claude Code / Codex / WSL path checkSwitching provider rewrites settings.json. Put hooks/statusLine/enabledPlugins into the shared/general config, not just the local file.15 issues mergedcontent[].thinking must be passed backUpgrade cc-switch to v3.16.0 or newer. As a stopgap, roll Claude Code back to 2.1.150 or turn thinking off.11 issues merged<!-- Failed to upload "image.png" -->Screenshot upload failures do not affect the issue itself; please describe the error message in text.10 issues mergedsettings.json plugins and hooks lost after switching providerThis is cc-switch's full-snapshot overwrite design. Put the fields you need to keep into the shared / general config and tick write-general-config.9 issues mergedAPI Error: 401 authentication_errorCheck the API key field, Base URL, key type, and cc-switch version, so Claude Code actually reads a valid credential.authentication_error7 issues mergedCodex connecting to Kimi reports HTTP 400 tool schema validation failureUpgrade cc-switch to v3.18.0+; if the error persists, wait for the MFJS schema cleaning feature to go live.4007 issues mergedNo DEEPSEEK settings in the json config fileUpgrade cc-switch to v3.20.0+, tick the reasoning level in the model mapping and save again, to fix config not being written or overwritten by a template.6 issues mergedIs codex no longer supported now that it became ChatGPT? - cc-switchUpgrade to cc-switch v3.17.0, which supports provider switching after Codex merged into ChatGPT Desktop, so old config is not overwritten.5 issues mergedInvalid schema for function 'codex_app__automation_update'Upgrade cc-switch to v3.18.0+ to fix upstream HTTP 400 errors caused by missing type: object in Codex tool parameters.4005 issues merged404 Not FoundDeepSeek does not support the Responses API — use the built-in preset to route through Chat Completions. For image errors, drop the image modality.4045 issues mergedThe Codex Desktop UI project list is completely empty - CodexCC Switch changed the model_provider key name. Set it back to custom, or upgrade. Lost official login and fewer reasoning tiers remain unresolved.4 issues mergedError running remote compact taskTurn Remote Compaction off in Codex settings and use local compaction, working around this protocol conversion defect.4 issues merged400 content[].thinking must be passed backUpgrade cc-switch to v3.15.0 or newer to fix lost thinking blocks, or downgrade Claude Code and use the native DeepSeek Anthropic endpoint.4004 issues mergedkimi k2 reports 404 - CC SwitchA 404 from the connection test does not mean Kimi is unavailable. Set ANTHROPIC_BASE_URL to https://api.kimi.com/coding/ and verify by running Claude Code.anthropic_base_url4 issues mergedselected model (kimi-k2.5) may not exist errorDrop the trailing /v1 from the API address and use the Anthropic-compatible endpoint. For an old session with images, /compact or switch model.4 issues merged"is not a model this version of Claude Code recognizes" - CC SwitchSet CLAUDE_CODE_MAX_CONTEXT_TOKENS or append [1m] to the model name to define the correct context window size.claude_code_max_context_tokens3 issues merged401 authentication failed: Claude Desktop gateway token invalidClear the official Claude Desktop OAuth login state, or edit .claude.json, to resolve the 401 invalid gateway token.3 issues mergedCalling GLM-5 reports error 1311 - cc-switchA provider permissions problem: enable GLM-5 / MiniMax / Kimi access with your provider, or ask them to confirm your subscription entitlements.3 issues mergedending with a leaked `</t` close-tagCaused by the cc-switch streaming converter not deduplicating and not filtering think tags. Update to a version containing the PR #6319 fix.3 issues mergedUnsupported parameter(s): prompt_cache_keyUpgrade cc-switch to the latest version, fixing prompt_cache_key not being stripped automatically when forwarding to the Nvidia API.3 issues mergedHTTP 401 exceeding the 256K context limit - CC Switch & CodexLower the AUTO COMPACT trigger threshold in the Codex config.toml so the real token count of the request body stays under the Kimi 256K limit.4012 issues mergedCodex kimi keeps sending requests when using the proxyThis is Codex App client behaviour, not a cc-switch fault. Check the client retry or keepalive mechanism.2 issues mergedUpstream HTTP 404 cc-switchUpgrade cc-switch to remove ?beta=true from NVIDIA requests. Kimi does not support Codex's Responses API; use Claude Code or a local adapter.4042 issues mergedinvalid_authentication_error test failureUpgrade cc-switch to fix failed {{apiKey}} parsing in custom usage query scripts, or temporarily hard-code the real API Key.invalid_authentication_error2 issues mergedInvalid schema: got 'type: null' - Claude CodeUpgrade cc-switch to v3.17.0 or later to fix the missing type field error during OpenAI format conversion.2 issues mergedThe user sent an empty message.Set Kimi API format in cc-switch to OpenAI chat completions and enable proxy, or export history and rebuild the session.anthropic_auth_token2 issues mergedinvalid_request_error Kimi For CodingSet ENABLE_TOOL_SEARCH=false in the Kimi configuration in cc-switch.2 issues mergedKimi balance query unavailableUpdate cc-switch to the latest version. The backend has automatically fixed the Kimi balance recognition logic.2 issues mergedAPI Error: 400 Param Incorrect Claude CodeUpgrade CC Switch to v3.16.2+ to fix 400 errors caused by missing reasoning_content in MiMo thinking mode.2 issues mergedNvidia check failed: Not found (404)Upgrade cc-switch to v3.16.3+; new version uses lightweight HTTP probing, fixing NVIDIA interface false 404 errors.2 issues mergedthinking enabled but reasoning_content missingDisable Thinking mode in Claude Code, or upgrade cc-switch to fix Kimi/Moonshot tool call errors.2 issues mergedVolcengine Agent Plan Auto-Identify Model List Failed 404Manually modify config.toml to match official docs and add models in modelCatalog to bypass 404.ark_api_key2 issues mergedAdd CoderPlan provider preset for Claude CodeFeature request: add a CoderPlan provider preset to cc-switch. A Claude Code preset PR exists, but merge status is unconfirmed.1 issues mergedBash(...) Waiting... Claude CodeDowngrade Claude Code to v2.1.104 or v2.0.64 (admin required), or switch to a compatible provider such as Alibaba Cloud Bailian.1 issues mergedThird-party model still claims based on GPT-5 - CodexMove the `baseInstructions` override out of the `if profile != ProxyChat` block so it applies to ProxyChat. Currently it is not injected even when set.1 issues mergedunsupported call: - CodexUpgrade cc-switch to v3.16.4+ to fix tool call name/id overwritten by empty deltas during streaming conversion.1 issues mergedBody text appears in thinking blocks, visible text nearly emptyUpgrade cc-switch to a build with PR #4210. Reactive thinking-placeholder handling fixes long-context freezes and body-text collapse.4001 issues merged

MiniMax36

Codex config.toml configuration lost after switching providerUpgrade cc-switch to v3.17.0+, which changes to incremental merge instead of full overwrite of config.toml.40 issues mergedcc-switch DeepSeek usage statistics inaccurate / balance query failsUpgrade to v3.19.2 and rebuild Codex usage. The balance query needs a correct {{apiKey}}, or a proxy.17 issues mergedConfig lost after switching: Claude Code / Codex / WSL path checkSwitching provider rewrites settings.json. Put hooks/statusLine/enabledPlugins into the shared/general config, not just the local file.15 issues mergedsettings.json Full Overwrite Causes Plugin FailureUpgrade to v3.20.1+ to fix the bug that clears enabledPlugins when switching configs.anthropic_base_url9 issues mergedCodex desktop shows "Custom" or 401 UnauthorizedEnable "Keep official login when switching to third party" in cc-switch settings and ensure Codex is logged into the official ChatGPT account, or start a new…9 issues mergedAPI Error: 401 authentication_errorCheck the API key field, Base URL, key type, and cc-switch version, so Claude Code actually reads a valid credential.authentication_error7 issues mergedNo plan shown (parsed as empty)Upgrade CC Switch to the latest version, or change the filter in your custom script from TOKENS_LIMIT to CREDIT_LIMIT for the new Zhipu credit-based API.7 issues mergedConnection failedMost related issues remain unresolved; upgrade to v3.16.3+ to fix the SSL renegotiation bug, or restart the application to refresh proxy status.6 issues mergedQwen model errors or truncation - CC SwitchUpgrade to CC Switch v3.16.4 and use the matching new Qwen / OpenCode Go presets.5 issues mergedIs codex no longer supported now that it became ChatGPT? - cc-switchUpgrade to cc-switch v3.17.0, which supports provider switching after Codex merged into ChatGPT Desktop, so old config is not overwritten.5 issues mergedcodex deepseek cannot select a model - cc-switchCodex desktop hides third-party models with no official ChatGPT login. Sign in once, enable keeping the official login in cc-switch, and restart Codex.5 issues mergedInvalid schema for function 'codex_app__automation_update'Upgrade cc-switch to v3.18.0+ to fix upstream HTTP 400 errors caused by missing type: object in Codex tool parameters.4005 issues mergedTest script: error, no result returnedMiniMax changed the balance query API response shape, breaking the old parser. Upgrade cc-switch to v3.16.2+, or use a custom template for now.5 issues mergedtemporarily unavailable, so auto mode cannotUpgrade cc-switch to v3.15.0+ for the model mapping and thinking conversion fixes, or override the default model env var in general config.5 issues mergedError running remote compact taskTurn Remote Compaction off in Codex settings and use local compaction, working around this protocol conversion defect.4 issues mergedDeepSeek usage statistics show the wrong cost / cache hit rateUpgrade to v3.16.3+, fixing input double-counting on the chat→message conversion path, streaming without usage, and wrong model billing attribution.4 issues mergedFailed to fetch models - cc-switchUpgrade cc-switch to v3.16.4+ for the 404 probe fix. On a Coding Plan, change the API address by hand and enter the model names yourself.4 issues mergedInvalid type for 'messages'Upgrade cc-switch to the latest version for the conversion fix, or downgrade the Codex CLI to 0.80.0 and use wire_api="chat" to work around it.4 issues mergedunexpected status 404 Not FoundUpgrade cc-switch to v3.16.4+ and set the upstream format explicitly to Chat Completions on the Codex provider form.4 issues mergedAuthError Missing API key - cc-switch auth header fixThe upstream Anthropic-compatible endpoint only reads x-api-key, so set the auth field to ANTHROPIC_API_KEY rather than ANTHROPIC_AUTH_TOKEN.autherror3 issues merged401 authentication failed: Claude Desktop gateway token invalidClear the official Claude Desktop OAuth login state, or edit .claude.json, to resolve the 401 invalid gateway token.3 issues mergedOnly 258k context in codex - CodexOnce cc-switch maps a minimax model onto gpt-5.5, the hard-coded Codex and Claude Code context limits apply and the 1M context is lost.3 issues mergedCalling GLM-5 reports error 1311 - cc-switchA provider permissions problem: enable GLM-5 / MiniMax / Kimi access with your provider, or ask them to confirm your subscription entitlements.3 issues mergedending with a leaked `</t` close-tagCaused by the cc-switch streaming converter not deduplicating and not filtering think tags. Update to a version containing the PR #6319 fix.3 issues mergedHTTP 400 unknown model 'ark-code-latest'Change the MiniMax provider model ID in CC Switch from the Volcengine-only ark-code-latest to MiniMax-M3 to resolve this 400.4003 issues mergedexceeded retry limit, last status: 429Limit client concurrency and retry frequency, and fix the cc-switch bug where hot switching disables automatic failover, with SQL.4293 issues mergedresponses_feature_not_supported: web_searchUpgrade cc-switch to v3.16.5, which disables web_search in the config automatically to work around the Xiaomi MiMo gateway limitation.responses_feature_not_supported3 issues mergedstatus=429 - Claude DesktopStreaming requests in CC Switch 3.15.0 skip the model rewrite and produce a 429. There is no official fix yet.3 issues mergedWhy is the model the claude command uses in a plain terminal different from the one in cc-switch?Set the MiniMax you want as the primary model and run claude from a cc-switch terminal. Without takeover on, the mapped name is not a substitution.2 issues mergedCodex conversation history disappears after switching providerAfter upgrading to v3.16.0 or above, CC Switch automatically migrates third-party provider history into the custom bucket; original files are backed up.2 issues mergedThe user sent an empty message.Set Kimi API format in cc-switch to OpenAI chat completions and enable proxy, or export history and rebuild the session.anthropic_auth_token2 issues mergedMinimax configuration overwrittenUpdate cc-switch to the fixed version to resolve the issue where Minimax configuration is incorrectly overwritten during switching.2 issues mergedAdd CoderPlan provider preset for Claude CodeFeature request: add a CoderPlan provider preset to cc-switch. A Claude Code preset PR exists, but merge status is unconfirmed.1 issues mergedLow cache hit rate around 40% and very slow responses in Claude CodeSet CLAUDE_CODE_ATTRIBUTION_HEADER to false in .claude/settings.json to stop dynamic headers from breaking third-party model prompt caching.claude_code_attribution_header1 issues mergedunsupported call: - CodexUpgrade cc-switch to v3.16.4+ to fix tool call name/id overwritten by empty deltas during streaming conversion.1 issues mergedThere's an issue with the selected modelEnable local proxy and rectifier, and correctly set ANTHROPIC_BASE_URL to resolve NVIDIA or MiniMax model call failures.anthropic_base_url1 issues merged

Third-party relay29

Codex config.toml configuration lost after switching providerUpgrade cc-switch to v3.17.0+, which changes to incremental merge instead of full overwrite of config.toml.40 issues mergedsettings.json overwritten by proxy takeover causing plugin config loss - Claude CodePlace custom fields such as hooks and statusLine into the "General Configuration" panel, or upgrade to v3.12.2+ to fix the legacy backup restore logic.15 issues mergedCodex model catalog template `gpt-5.5`Run `codex debug models --bundled > ~/.codex/models_cache.json` to generate the missing model cache, then switch the Codex route again.10 issues merged<!-- Failed to upload "image.png" -->Screenshot upload failures do not affect the issue itself; please describe the error message in text.10 issues mergedCannot sign in to a Codex account that uses a Google email - CodexUpgrade cc-switch to v3.16.1+, or edit ~/.codex/auth.json by hand to restore auth_mode to chatgpt and clear OPENAI_API_KEY.openai_api_key7 issues mergedNo plan shown (parsed as empty)Upgrade CC Switch to the latest version, or change the filter in your custom script from TOKENS_LIMIT to CREDIT_LIMIT for the new Zhipu credit-based API.7 issues mergedmissing information - cc-switchA roundup of documentation gaps. Each case needs its own clarification, or waiting for the official documentation to fill in.7 issues mergedCodex shows no model list and will not switch modelsTurn on keeping the official login when switching to a third party in cc-switch, and make sure you signed in to official ChatGPT in Codex once.6 issues mergedNo DEEPSEEK settings in the json config fileUpgrade cc-switch to v3.20.0+, tick the reasoning level in the model mapping and save again, to fix config not being written or overwritten by a template.6 issues mergedConnection failedMost related issues remain unresolved; upgrade to v3.16.3+ to fix the SSL renegotiation bug, or restart the application to refresh proxy status.6 issues mergedOnly a 200K context window shows in actual use - Claude CodeChange the default model in `~/.claude/settings.json` to the `[1m]` variant, or run `/model claude-opus-4-8[1m]` in the session, to activate the 1M context.5 issues mergedFunction call is missing a thought_signatureUpgrade or patch the cc-switch forwarder/session logic so Codex tool call requests carry a thought_signature.invalid_argument5 issues mergedmodel does not support thinkingTurn the Proxy Rectifier off in cc-switch advanced settings, or upgrade to a fixed version. Qwen tool call loops and empty thinking blocks remain unresolved.5 issues mergedI selected proxy forwarding to a remote host but it still forwards locally - CC SwitchDelete the .cc-switch config directory to clear the cache, and upgrade to v3.17.0 for the relay restriction and statistics fixes.5 issues mergedClaude Official check failed: could not extract base_url - CodexCC Switch proxying and load balancing do not support an official Claude subscription — use a third-party API key. Forcing it errors and risks a ban.4 issues mergedThe Codex Desktop UI project list is completely empty - CodexCC Switch changed the model_provider key name. Set it back to custom, or upgrade. Lost official login and fewer reasoning tiers remain unresolved.4 issues mergedSwitching with cc-switch has no effect - CodexCodex does not hot-switch. Restart the Codex app completely after switching relay in cc-switch; a migration tool can recover lost sessions.4 issues mergedTicking 1M for DeepSeek does nothing? cc-switch local proxy configWith the cc-switch local proxy on, do not enter [1m] and leave the main model empty. The [1m] suffix only works with the proxy off.anthropic_model4 issues mergedUsage query must be a same-origin request - cc-switchSwitch to the generic or custom template in cc-switch and put the usage query URL straight into the request address, bypassing the same-origin restriction.4 issues mergedError running remote compact task - CodexUpgrade cc-switch to v3.12.0 or newer, which added forwarding for the Codex `/responses/compact` route in the local proxy, fixing the 404 or 502.3 issues mergedThe apply_patch tool is unavailable with the Codex proxy onUpgrade to cc-switch v3.16.2 or newer. On a relay, make sure the backend model matches what Codex expects or tool calls fail with routing on.2 issues mergedstop: cancel task, id_task = 2 Codex timeout overwriteIncrease startup_timeout_sec, and save the MCP configuration once more after it is overwritten a second time.2 issues mergedYour input exceeds the context window errorThe session context is too long for the model limit. Compact the context by hand or set an auto compact window.2 issues mergedERR_BAD_REQUEST api.anthropic.com ClaudeTurn on "skip the first-install confirmation" in cc-switch and clear the conflicting environment variables to resolve the Claude Code ERR_BAD_REQUEST.err_bad_request2 issues mergedMinimax configuration overwrittenUpdate cc-switch to the fixed version to resolve the issue where Minimax configuration is incorrectly overwritten during switching.2 issues mergedConfiguration UI FlickeringUpgrade cc-switch to fix flickering from async form loading; read SQLite DB to fix env vars not updating with providers.2 issues mergedunexpected status 403 ForbiddenDisable 'Keep Official Login' in CC Switch and restart to stop Codex from sending image gen requests causing 403 errors.2 issues mergedauth.json does not update when switching channels; editing overwrites third-party Codex keyNo official fix. Editing a saved third-party Codex channel makes the official KEY in auth.json overwrite the third-party key. Delete and recreate the channel.openai_api_key1 issues mergedImage generation is not enabled for this group - cc-switch 403 ErrorFilter image-generation requests manually or use a local bridge to read response headers. Official support is pending to resolve the 403 block.4031 issues merged

GitHub Copilot24

settings.json overwritten by proxy takeover causing plugin config loss - Claude CodePlace custom fields such as hooks and statusLine into the "General Configuration" panel, or upgrade to v3.12.2+ to fix the legacy backup restore logic.15 issues mergedsettings.json Full Overwrite Causes Plugin FailureUpgrade to v3.20.1+ to fix the bug that clears enabledPlugins when switching configs.anthropic_base_url9 issues mergedEGL_BAD_PARAMETER white screen error - cc-switchInstall the native .deb or AUR package instead, or run the AppImage with LD_PRELOAD pointing at the system library, to resolve the ABI conflict.egl_bad_parameter6 issues merged"Not logged in · Please run /login" - Claude CodeUpgrade cc-switch to v3.19.2+, or change ANTHROPIC_API_KEY to ANTHROPIC_AUTH_TOKEN in settings.json by hand to skip the approval prompt.anthropic_api_key5 issues mergedTest script: error, no result returnedMiniMax changed the balance query API response shape, breaking the old parser. Upgrade cc-switch to v3.16.2+, or use a custom template for now.5 issues mergedYour access token could not be refreshedUpgrade cc-switch to v3.17.0+, which fixes the PROXY_MANAGED placeholder polluting OAuth credentials or causing a 401 during takeover.proxy_managed5 issues mergedtemporarily unavailable, so auto mode cannotUpgrade cc-switch to v3.15.0+ for the model mapping and thinking conversion fixes, or override the default model env var in general config.5 issues mergedWarmup request downgraded to modelTurn the Copilot warmupDowngrade option off in CC Switch so requests are not silently replaced with gpt-5-mini.5 issues mergedFailed to fetch models - cc-switchUpgrade cc-switch to v3.16.4+ for the 404 probe fix. On a Coding Plan, change the API address by hand and enter the model names yourself.4 issues mergedThe interface shows "query failed"Upgrade past v3.16.2 for the query routing fix, or use a custom balance query template. Put hooks in general config, and raise the failover timeout.4 issues mergedSystem message must be at the beginningChange the API format for NVIDIA Qwen, or upgrade cc-switch to v3.13.0+ to fix the 400 from providers such as Copilot.win-error-4004 issues mergedGtk-CRITICAL: gtk_widget_get_scale_factor failedOn a GTK assertion failure running cc-switch under Linux or WSL2, edit settings.json to turn silent startup off, or clean the leftovers and reinstall.gtk_is_widget3 issues mergedInputValidationError: Write failedTurn Tool Search, maximum-effort thinking, and the 1M context declaration off in cc-switch to reduce long-text truncation, or roll back to 3.13.0.3 issues mergedAuthorization header is badly formattedTurn "local routing" on in cc-switch and set the API format to native, resolving the 400 auth header error connecting GitHub Copilot to Claude Code.2 issues mergedNot logged in · Please run /login ClaudeEdit `~/.claude.json` to move `PROXY_MANAGED` into the `approved` list, or answer yes at the prompt.2 issues mergedModel mapping does not apply when connecting a Copilot subscriptionUpgrade to v3.15.0 or newer to fix the Copilot subscription model mapping not applying.2 issues mergedAPI Error: 400 model_not_supportedRestart CC Switch to repair the proxy routing, or confirm whether the model ID requested became invalid after a Copilot policy change.model_not_supported2 issues mergedThe API returns a 400 error - Claude CodeUpgrade CC Switch to v3.16.1 for the 400 caused by MiMo missing reasoning_content; on Github Copilot, check the API format and proxy config.4002 issues mergedAPI Error: 400 Param Incorrect Claude CodeUpgrade CC Switch to v3.16.2+ to fix 400 errors caused by missing reasoning_content in MiMo thinking mode.2 issues merged"Not logged in ? Please run /login" ClaudeEnable "API Proxy Takeover" in cc-switch when using hosted accounts like Copilot or Codex; direct upstream connections cause auth failures.anthropic_base_url2 issues merged"event handler is re-entrant" error or startup crashUninstall Windows update KB5081263 or wait for cc-switch upgrade to avoid crashes and UI rendering failures caused by TAO EventLoop re-entry.2 issues mergedAtomic replace failed os error 50Change the Claude Code configuration directory from a WSL path back to a Windows local path, or roll back to v3.19.0.1 issues mergedCodex skill toggle not working: still loads legacy directory ~/.agents/skillsRemove leftover copies in ~/.agents/skills or disable them in config; CC-Switch cannot manage that shared directory.codex_home1 issues mergedBody text appears in thinking blocks, visible text nearly emptyUpgrade cc-switch to a build with PR #4210. Reactive thinking-placeholder handling fixes long-context freezes and body-text collapse.4001 issues merged

Qwen / 通义千问23

Codex model catalog template `gpt-5.5`Regenerate ~/.codex/models_cache.json and keep the Codex ChatGPT login, so CC Switch can write the route and show DeepSeek models.10 issues mergedapi failed deserialize json body intoDepending on the error: roll Claude Code back, upgrade cc-switch, turn the local proxy off, or stop sending unsupported fields.7 issues mergedCodex provider API keys overwrite each other after a restart or switchEnable CC Switch local proxy takeover, or use experimental_bearer_token in config.toml, to bypass the auth.json sync defect.openai_api_key7 issues mergedCodex connecting to Kimi reports HTTP 400 tool schema validation failureUpgrade cc-switch to v3.18.0+; if the error persists, wait for the MFJS schema cleaning feature to go live.4007 issues mergedEGL_BAD_PARAMETER white screen error - cc-switchInstall the native .deb or AUR package instead, or run the AppImage with LD_PRELOAD pointing at the system library, to resolve the ABI conflict.egl_bad_parameter6 issues mergedQwen model errors or truncation - CC SwitchUpgrade to CC Switch v3.16.4 and use the matching new Qwen / OpenCode Go presets.5 issues mergedkimi k2 reports 404 - CC SwitchA 404 from the connection test does not mean Kimi is unavailable. Set ANTHROPIC_BASE_URL to https://api.kimi.com/coding/ and verify by running Claude Code.anthropic_base_url4 issues mergedRequest body format invalid error - Claude CodeUpgrade cc-switch and enable the Rectifier, or add MAX_THINKING_TOKENS=0, for compatibility with third-party API formats.4 issues mergedselected model (kimi-k2.5) may not exist errorDrop the trailing /v1 from the API address and use the Anthropic-compatible endpoint. For an old session with images, /compact or switch model.4 issues mergedSystem message must be at the beginningChange the API format for NVIDIA Qwen, or upgrade cc-switch to v3.13.0+ to fix the 400 from providers such as Copilot.win-error-4004 issues mergedConsole Go: Upstream request failedThis 400 comes from the OpenCode Go gateway rejecting an incompatible payload. Restart the proxy to restore session mapping, or avoid WebSearch and images.3 issues mergedRange of input length should be [1, 1048576]Upgrade CC Switch to v3.19.0 for the fix where images were forwarded as base64 text and inflated tokens, or avoid view_image under the proxy.4003 issues mergedThe thinking process is not shown after using the Claude Code proxy feature - cc-switchSwitch back to the Anthropic protocol to restore the thinking display; on `openai_chat`, change the block conversion in `streaming.rs`.2 issues mergedusage null - Claude Code Qwen DashScopeUpgrade to cc-switch v3.16.3+, which fixes null streaming usage on the OpenAI-compatible interface automatically.2 issues mergedThis model is not supported when usingComment out model_provider = custom in config.yaml to go back to the official OpenAI provider.2 issues mergedDeepSeek prefix cache hit rate drop - CC Switch fixUpgrade to cc-switch v3.16.3 to fix cache hit rate calculation errors caused by format conversion.anthropic_base_url2 issues mergedCodex conversation history disappears after switching providerAfter upgrading to v3.16.0 or above, CC Switch automatically migrates third-party provider history into the custom bucket; original files are backed up.2 issues mergedModel always thinks; disable not supported; use low, high, or maxSet glm-5.3 to forced thinking in cc-switch config; disable thinking.type: disabled.2 issues mergedInvalid pages parameter: "" Claude CodeSwitch the API format to anthropic, or upgrade cc-switch to fix the empty pages field from Responses conversion.2 issues mergedNo endpoints available that support Anthropic - Claude CodeUpgrade Claude Code to v2.1.92+ and update cc-switch to fix OpenRouter parameter errors, or disable the local proxy.2 issues mergedUnexpected item type in content.Enable content block filtering in config to remove Anthropic internal types unsupported by third-party backends.2 issues mergedBash(...) Waiting... Claude CodeDowngrade Claude Code to v2.1.104 or v2.0.64 (admin required), or switch to a compatible provider such as Alibaba Cloud Bailian.1 issues mergedThere's an issue with the selected modelRemove the trailing /v1 from ANTHROPIC_BASE_URL, launch from the CLI instead of the cc-switch button to use local routing, and check model support.anthropic_base_url1 issues merged

Anthropic (official)22

auth.json refilled with an existing account's auth.json - CodexUpgrade to v3.17.0+ and turn off 非接管切换时保留官方登录 (keep official login on non-takeover switch). Back up auth.json before upgrading.22 issues mergedCannot query usage for an official subscription in the Codex UI - CodexEnable local route mapping so specific models are counted. Third-party APIs need their own query script; Claude official and Free accounts are unsupported.8 issues mergedAPI Error: 401 authentication_errorCheck the API key field, Base URL, key type, and cc-switch version, so Claude Code actually reads a valid credential.authentication_error7 issues mergedauth.json under .claude is forcibly replaced after a restart - CodexUpgrade cc-switch to the latest version, or turn proxy takeover off before signing in officially, so a stale snapshot cannot overwrite official credentials.openai_api_key5 issues mergedcodex deepseek cannot select a model - cc-switchCodex desktop hides third-party models with no official ChatGPT login. Sign in once, enable keeping the official login in cc-switch, and restart Codex.5 issues mergedcodex session expired - CodexBack up the config, then sync the auth.json token into the cc-switch database with a script, or turn usage refresh off so old data cannot overwrite it.5 issues mergedOnly a 200K context window shows in actual use - Claude CodeChange the default model in `~/.claude/settings.json` to the `[1m]` variant, or run `/model claude-opus-4-8[1m]` in the session, to activate the 1M context.5 issues mergedClaude Official check failed: could not extract base_url - CodexCC Switch proxying and load balancing do not support an official Claude subscription — use a third-party API key. Forcing it errors and risks a ban.4 issues mergedThe cc-switch Claude config is overwritten - Claude CodeSign out of the official account in cc-switch and clear the login state to restore your developer mode proxy config.4 issues mergedUnknown parameterTurn the cc-switch unified session history switch off and move sessions tagged custom back to openai, fixing the namespace parameter error.4 issues mergedConfig error: Claude Provider is missing base_url configurationTurn cc-switch local proxy takeover off and run /logout then /login in the terminal, or upgrade past v3.14.0.3 issues mergedbuilt-in provider IDs: openai - CodexUpgrade CC Switch to v3.16.4+, delete the old config and save again. Enable unified Codex session history and use openai_base_url.3 issues mergedHTTP 401 Unauthorized - CC Switch AnthropicUpgrade cc-switch to a fixed build so it sends the x-api-key and anthropic-version headers Anthropic requires.4012 issues mergedNot logged in, please run /loginAdd hasCompletedOnboarding: true to ~/.claude.json and turn on "use custom Api key" in /config.anthropic_base_url2 issues mergedusage null - Claude Code Qwen DashScopeUpgrade to cc-switch v3.16.3+, which fixes null streaming usage on the OpenAI-compatible interface automatically.2 issues mergedChat history under the original codex project disappears after connecting a third party - CodexUpgrade to cc-switch v3.16.4 or newer, turn on "unified Codex session history" in settings, and migrate the official sessions.codex_sqlite_home2 issues mergedERR_BAD_REQUEST api.anthropic.com ClaudeTurn on "skip the first-install confirmation" in cc-switch and clear the conflicting environment variables to resolve the Claude Code ERR_BAD_REQUEST.err_bad_request2 issues mergedModel always thinks; disable not supported; use low, high, or maxSet glm-5.3 to forced thinking in cc-switch config; disable thinking.type: disabled.2 issues mergedmodel is not supported when using CodexDisable cc-switch proxy takeover to avoid writing unsupported model IDs to Codex, preventing official subscription bans or request rejections.2 issues mergedUnexpected status 503 Service Unavailable CodexConfigure v2ray or other proxy tools to bypass LAN traffic, resolving the 503 error when Codex accesses cc-switch local routing.2 issues mergedCodex cannot select models after configurationEnable keep-official-login in Codex app enhancements, then log in again and switch providers to restore the model list.1 issues mergedrate_limit_error: Rate limited - Claude Codecc-switch does not support multi-account switching for Claude Code. Avoid third-party tools to prevent rate_limit_error.rate_limit_error1 issues merged

NVIDIA17

Qwen model errors or truncation - CC SwitchUpgrade to CC Switch v3.16.4 and use the matching new Qwen / OpenCode Go presets.5 issues mergedDeepSeek usage statistics show the wrong cost / cache hit rateUpgrade to v3.16.3+, fixing input double-counting on the chat→message conversion path, streaming without usage, and wrong model billing attribution.4 issues mergedSystem message must be at the beginningChange the API format for NVIDIA Qwen, or upgrade cc-switch to v3.13.0+ to fix the 400 from providers such as Copilot.win-error-4004 issues mergedThe proxy shows no requests at all - Claude CodeA known cc-switch bug: when an upstream such as Nvidia returns no usage data, the openai_chat path drops the log outright. No official fix yet.3 issues mergedUnsupported parameter(s): prompt_cache_keyUpgrade cc-switch to the latest version, fixing prompt_cache_key not being stripped automatically when forwarding to the Nvidia API.3 issues mergedRequest forwarding failed: error sending request for urlCheck your local network connection and proxy configuration so cc-switch can reach the Nvidia API endpoint, resolving the 502 timeout.2 issues mergedAPI Error: 422 format conversion errorThe upstream NVIDIA NIM GLM-5.2 model intermittently returns an empty choices array. Turn on failover in cc-switch or retry the request.2 issues mergedUpstream HTTP 404 cc-switchUpgrade cc-switch to remove ?beta=true from NVIDIA requests. Kimi does not support Codex's Responses API; use Claude Code or a local adapter.4042 issues mergedInvalid pages parameter: "" Claude CodeSwitch the API format to anthropic, or upgrade cc-switch to fix the empty pages field from Responses conversion.2 issues mergedKMS: DRM_IOCTL_MODE_CREATE_DUMB failed: Permission deniedResolve cc-switch white screen DRM permission errors on Linux by disabling WebKit hardware acceleration, specifying NVIDIA rendering, or using the CLI version.drm_ioctl_mode_create_dumb2 issues mergedNvidia check failed: Not found (404)Upgrade cc-switch to v3.16.3+; new version uses lightweight HTTP probing, fixing NVIDIA interface false 404 errors.2 issues mergednot found(404) adding Claude Code desktop model APIUpgrade to v3.16.3+ to fix connectivity detection false positives, or ignore the 404 and test actual calls directly.2 issues mergedClaude Code Tool Call Failure via NVIDIA Proxy - CC Switch FixNVIDIA free-tier models are unstable; switch to stable providers like deepseek-ai/deepseek-v4-flash.2 issues mergedUnexpected status 503 Service Unavailable CodexConfigure v2ray or other proxy tools to bypass LAN traffic, resolving the 503 error when Codex accesses cc-switch local routing.2 issues mergedMain window completely blank (pure white)Set WEBKIT_DISABLE_DMABUF_RENDERER=0 to restore normal rendering under WebKitGTK 2.52 + Mesa.webkit_disable_dmabuf_renderer2 issues mergedBash(...) Waiting... Claude CodeDowngrade Claude Code to v2.1.104 or v2.0.64 (admin required), or switch to a compatible provider such as Alibaba Cloud Bailian.1 issues mergedThere's an issue with the selected modelEnable local proxy and rectifier, and correctly set ANTHROPIC_BASE_URL to resolve NVIDIA or MiniMax model call failures.anthropic_base_url1 issues merged

OpenRouter16

Unknown name "prompt_cache_key" - cc-switchUpgrade cc-switch to v3.16.2+ to fix prompt_cache_key injection, or use an OpenRouter endpoint that natively speaks the Claude Code format.6 issues mergedDeepSeek API key overwritten, causing a 401Upgrade cc-switch to v3.16.2+ and re-enter the DeepSeek API key, so it is not overwritten by another key when switching provider.4 issues merged502 Bad GatewayCodex/Claude Desktop reports 502 due to CLI proxy conflicts or app-server bypassing proxy. Remove proxy config or downgrade versions to fix.5024 issues mergedMCP config files edited by hand are overwritten by cc-switchcc-switch writes wholesale. Sync plugins through general config, and upgrade to v3.13.0 for the MCP cross-app leak fix.4 issues mergedunexpected status 404 Not FoundUpgrade cc-switch to v3.16.4+ and set the upstream format explicitly to Chat Completions on the Codex provider form.4 issues mergedUnsupported content type: redacted_thinkingRun a local proxy such as openrouter-proxy to filter out redacted_thinking blocks, and point the Claude Code config at that proxy.4 issues mergedstatus=429 - Claude DesktopStreaming requests in CC Switch 3.15.0 skip the model rewrite and produce a 429. There is no official fix yet.3 issues mergedccstatusline shows the wrong model name - Claude CodeConfigure a Custom Command script in ccstatusline that reads the environment variables from the cc-switch database to show the real model.anthropic_default_opus_model2 issues mergedunexpected status 401 Unauthorized CodexUse the built-in DeepSeek template instead of a hand-built config, or add http_headers to the config file by hand to pass the API Key.2 issues mergedThe user sent an empty message.Set Kimi API format in cc-switch to OpenAI chat completions and enable proxy, or export history and rebuild the session.anthropic_auth_token2 issues mergedNo endpoints available that support Anthropic - Claude CodeUpgrade Claude Code to v2.1.92+ and update cc-switch to fix OpenRouter parameter errors, or disable the local proxy.2 issues mergedReasoning Level Not AdaptedRe-add the OpenCode Go preset after upgrading to get the correct reasoning_effort config.2 issues mergedthinking enabled but reasoning_content missingDisable Thinking mode in Claude Code, or upgrade cc-switch to fix Kimi/Moonshot tool call errors.2 issues mergedTest returns 504: Claude Code unusableCheck whether cc-switch loaded the `glm-4.7` model mapping into the proxy; otherwise Claude Code requests glm directly and returns 504.anthropic_api_key1 issues mergedNot logged in · Please run /loginWith the Codex provider, do not start Claude Code from the cc-switch built-in terminal. Open a global terminal so local routing handles OAuth.anthropic_base_url1 issues mergedThird-party model still claims based on GPT-5 - CodexMove the `baseInstructions` override out of the `if profile != ProxyChat` block so it applies to ProxyChat. Currently it is not injected even when set.1 issues merged

Volcengine Ark / Doubao9

Codex connecting to Kimi reports HTTP 400 tool schema validation failureUpgrade cc-switch to v3.18.0+; if the error persists, wait for the MFJS schema cleaning feature to go live.4007 issues mergedAuth conflictLog out of the official Claude login, clear conflicting ANTHROPIC_* variables, set hasCompletedOnboarding to true in ~/.claude.json, and restart the terminal.anthropic_auth_token6 issues mergedUnkonw coding plan provider - cc-switch VolcengineUpgrade cc-switch to v3.20.0 or newer, then recreate the Volcengine Agent Plan provider or fix its Base URL.4 issues mergedHTTP 400 unknown model 'ark-code-latest'Change the MiniMax provider model ID in CC Switch from the Volcengine-only ark-code-latest to MiniMax-M3 to resolve this 400.4003 issues mergedRange of input length should be [1, 1048576]Upgrade CC Switch to v3.19.0 for the fix where images were forwarded as base64 text and inflated tokens, or avoid view_image under the proxy.4003 issues mergedModelScope reports 401 token invalid - Claude CodeAdd ANTHROPIC_MODEL to the provider environment variables in cc-switch to resolve the 401. It is not synced to settings.json by design.anthropic_model2 issues mergedusage null - Claude Code Qwen DashScopeUpgrade to cc-switch v3.16.3+, which fixes null streaming usage on the OpenAI-compatible interface automatically.2 issues mergedGateway rejected model "claude-haiku-4-5"Turn isFullUrl=true on in the configuration and enter the complete API path, stopping cc-switch from appending /v1/messages automatically.2 issues mergedVolcengine Agent Plan config.toml mismatch with official docsModify config.toml: set model_provider and section to volcengine-agent-plan; use env_key auth.ark_api_key2 issues merged

SiliconFlow / 硅基流动6

ModelScope / 魔搭1

Not provider-specific143

cc-switch config not applied / not picked up after switching - Claude CodeConfirm the app actually reads the config path cc-switch writes to, then check routing and plugin toggles, duplicate keys, and version compatibility.28 issues mergedcc-switch local proxy: 502 Bad Gateway, timeouts, cannot delete a providerUsually caused by unsupported official providers, config not applying, or UI state drift. Check proxy mode, provider type, and takeover state.26 issues mergedcc-switch import / cloud sync failures: foreign keys, read-only database, overwritesUpgrade cc-switch and avoid syncing provider_health or a read-only db; after picking a file, click 导入 (Import) rather than 保存 (Save).25 issues mergedCodex API key automatically modified leading to model xxx not foundUpgrade to v3.19.2+ to fix incorrect API Key convergence caused by reading auth.json when multiple suppliers share the same address.24 issues mergedCC Switch config import / sync not taking effectUpgrade CC Switch to v3.16.1+, and check that WebDAV / cloud sync and the config write path are syncing correctly.23 issues mergedThere's an issue with the selected modelUpgrade CC Switch, restart the target tool, and start a new session so local routing strips the [1m] suffix and rematches the mapping.23 issues mergedClaude Code errors or model mapping fails with the CC Switch proxy onUpgrade to v3.15.0 or newer, then set the global outbound proxy explicitly in cc-switch so a stale system proxy cannot be cached by an old process.21 issues mergedCodex usage statistics doubled or inflatedUpgrade to v3.19.2 and run "Rebuild Codex Usage" on the usage page to correct historical inflated data.21 issues mergedFailed to fetch the model listUpgrade cc-switch and add a model row before fetching the list. If it still fails, verify /v1/models permissions with curl.21 issues mergedUsage statistics missing or the query failsTurn the usage statistics toggle on and check the provider script and protocol limits. Official statistics need Tool Search enabled.21 issues mergedcc-switch crashes on launch / white screen / black screen / background crashUpgrade to the latest. Windows white screen: install WebView2. Proxy crash: change port, upgrade to v3.9.1+. Old macOS/Linux: use the CLI or distro package.20 issues merged'claude' is not an internal or external command, nor a runnable programUpgrade to v3.16.2+ to fix WSL/Windows path detection, or manually configure install directory override.18 issues mergedcc-switch Skills management problems (duplicates, not detected, deleted repos returning, inconsistent state)Most Skills problems are fixed in later versions: v3.18.0 stops deleted default repos returning; v3.13.0 improves installed-Skill detection and dedup.18 issues mergedcc-switch Skills import / sync problems (broken, not detected, directory out of sync)Usually a changed Skills directory layout, or the DB drifting from the file system. Manage through the cc-switch UI and check nested directory support.18 issues mergedcc-switch usage query fails / keeps showing failed / undefinedUpgrade to v3.16.2+. If it still fails, fill in base_url and the access token in NewAPI format, or turn off auto-refresh and the usage query.18 issues mergedcc-switch update check fails / update install failsUsually insufficient permissions or GitHub network trouble. Install as administrator or use the portable build, or download manually from GitHub Releases.17 issues mergedcc-switch white screen / black screen / crash / no window on launchWork out whether it is corrupt window state, a WebView2/OS compatibility problem, or security software. Handle per symptom; use the CLI build if needed.14 issues mergedcc-switch loses Claude Code / Codex MCP configurationUpgrade cc-switch, disable or use unified MCP takeover carefully, find the one broken MCP entry, and fix rewritten command/type/path fields.14 issues mergedANTHROPIC_AUTH_TOKEN and ANTHROPIC_API_KEYRun `claude daemon stop --any` to kill leftover Claude background processes, then keep only one auth variable in `env` in `~/.claude/settings.json`.anthropic_auth_token12 issues mergedAll installed claude code skills disappear - cc-switchCheck whether ~/.claude/skills was rewritten to ~/.agents/skills; if so move it back and restart Claude Code. Still missing: upgrade cc-switch and reinstall.11 issues mergedConfig not applied: MCP not imported and environment variables overwrittencc-switch overwrites wholesale. Extract hand-edited config into 通用配置 (general config), import MCP by hand, and tick the write-general-config option.11 issues mergedANTHROPIC_BASE_URL rewritten to 127.0.0.1With local routing on, ANTHROPIC_BASE_URL pointing at http://127.0.0.1:15721 is expected. Move shared fields into 通用配置 and restart Claude Code.anthropic_base_url10 issues mergedAll Codex settings and plugins reset after restarting CC SwitchPut cross-provider Codex/Claude Code config and plugins into 通用配置 (general config) so a switch cannot wipe them. Recover lost content from the default provider.10 issues mergedcc-switch provider management: cannot delete, or adding failsMostly UI limits or version bugs. The last provider cannot be deleted; for input and delete failures, upgrade or turn the feature off.10 issues mergedauth.json OPENAI_API_KEY not synced - CodexUpgrade cc-switch to v3.20.1. Switching Codex providers no longer overwrites auth.json, fully resolving the key retention issue.openai_api_key10 issues merged[CODEX-SYNC] deferred: parent rollout has not reached the child fork momentA cc-switch 3.18.0 Codex sync defect: a finished parent rollout older than the child fork timestamp defers forever. No fix yet — avoid creating forks.10 issues mergedclaude mcp list shows ✘ Failed to connectOn Windows cc-switch wraps the MCP npx command in cmd /c, breaking the stdio pipe. Edit ~/.claude.json back by hand, or rewrite with claude mcp add.10 issues mergedcc-switch usage statistics anomalies: 0/200K, double billing, pricing that will not deleteUpgrade to v3.16.3 for zero tokens, v3.17.0 for better Codex derived-session dedup, and v3.19.0 for deleted built-in pricing returning.9 issues mergedCodex errors after enabling the local proxyAdd `/v1` to the end of the Codex provider request address in CC Switch, save, and retry.9 issues mergedLocal environment check reports codex is not installedRun `codex --version` first. If the terminal works but cc-switch cannot detect it, the install path is outside its probe range — upgrade to v3.16.4+.8 issues mergedThere's an issue with the selected modelCheck the model name and provider config in cc-switch. The model test is unreliable — go by an actual request.8 issues mergedNot logged in · Run /login - Claude CodeTurn CC Switch local proxy takeover on, check the API address includes /v1, or launch the terminal from CC Switch so env vars are injected.8 issues mergedAtomic replace failed — request not supported, os error 50 - cc-switchUpgrade cc-switch to v3.20.0 or newer, which fixes the regression where atomic config file replacement failed on WSL paths.6 issues mergedOpening cc on Windows 11 gives a process but no window - cc-switchOn Windows 11, try Windows 7 compatibility in the exe properties. If that fails, use cc-switch-cli to bypass the Tauri 2 GUI white screen.6 issues mergedAuto-upgrade fails; reinstalling the new version still leaves the old oneUninstall the old version completely, clear the leftovers, and reinstall — that resolves a failed auto-upgrade or a version that will not update.6 issues mergedconfig.toml quietly reverts to the earlier configurationThe cc-switch database is the single source of truth. Hand edits to local files are overwritten — change things in the MCP manager or general config instead.6 issues mergedCodex OAuth switch to API Key ineffectiveUpgrade to v3.17.0+ and disable the 'Keep Official Plugin' option in settings.6 issues mergedx-anthropic-billing-header breaks caching - CC SwitchUpgrade CC Switch to v3.15.0+, which fixes the dynamic billing header breaking prefix caching in openai_responses mode.6 issues mergedAuth conflictDelete primaryApiKey from claude.json, or change the environment variable to ANTHROPIC_API_KEY, to resolve the auth conflict.anthropic_auth_token5 issues mergedbash: cannot set terminal process group - cc-switchA known 3.18.0 bug when checking the local proxy environment on Linux. Downgrade below 3.18.0 and configure the proxy in the terminal by hand.5 issues mergedCowork WebFetch cannot reach the external network - Claude DesktopAdd "coworkEgressAllowedHosts": ["*"] to the 3P gateway profile CC Switch generates, so the Cowork sandbox can reach external hosts.5 issues mergedCodex usage statistics inflated: fork/resume sessions double-count parent history tokensUpgrade cc-switch to v3.18.0+ and rebuild the usage database to fix fork sessions double-counting parent history tokens.5 issues mergedIt says 1.6 billion used — usage statistics spiking - CodexUpgrade cc-switch to v3.18.0 to fix the sub-agent history replay double-count bug; it rebuilds the polluted Codex usage data automatically.5 issues mergedContext window errors and /compact will not run - Claude Code / CodexSet the correct model_context_window for the model by hand in cc-switch, so a wrong default does not break compaction or cause a 422.5 issues mergedenv: node: No such file or directoryUpgrade cc-switch to v3.18.0+, which fixes node not being found when updating Codex because a macOS GUI launch has no PATH.5 issues mergedInstall reports libwebkit2gtk-4.1.so.0 is missing - cc-switchInstalling the rpm on Rocky 9 fails on a missing webkit dependency. Upgrading the system to Rocky 10.1 resolves it.5 issues mergedNo providers have been added yet - CC SwitchAfter an upgrade or cloud sync the UI state and the database fall out of sync. Restart the app fully, or re-import a backup, to get the provider list back.5 issues mergedAfter upgrading to 3.15 the remaining quota is not visible at all - cc-switchUpgrade cc-switch to 3.16.0 to fix usage not displaying. For high disk/CPU/GPU use, turn the local proxy or the routing master switch off.5 issues mergedOn the add provider page, search results cannot be clicked to select - cc-switchUpdate to a version with the UI fix. As a stopgap, Tab to the preset after searching and press Enter to select it.4 issues merged"There's an issue with the selected model"Upgrade cc-switch to v3.13.0+ for the environment variable sync fix, and use the alias mapping variables to override the default model.anthropic_model4 issues mergedcc-switch login and auth config cannot be entered or deletedUpgrade to v3.17.0 or newer: the Google OAuth misdetection and the legacy-provider gating that hid the API key field are both fixed.4 issues merged'claude' is not recognized as an internal or external commandManually specify the full path to the claude executable in CC Switch settings, or ensure the path is added to the system PATH.4 issues mergedcc-switch window display anomalies - UI rendering problemsUpgrade to a version with the UI fixes. Address bar overflow and rendering problems are fixed; the title bar background colour awaits a later fix.4 issues mergedcc-switch Installation: Main Interface Not Opening or No ResponseUse the CLI version or adjust Windows OS versions to resolve Tauri compatibility issues causing UI failure.4 issues mergedGeneral config ignored - cc-switchUpgrade to cc-switch v3.12.2+, where general config fragments persist across a restart. As a stopgap, turn general config off and write the JSON directly.4 issues mergedAdding a provider fails: crypto.randomUUID is not a functionUpgrade to cc-switch v3.9 or newer, which adds a crypto.randomUUID fallback for older macOS; or upgrade macOS past 12.3 Monterey / 11.6.5 Big Sur.4 issues mergedWhy is there no automatic model fetch option in the latest ubuntu build? - cc-switchUpgrade cc-switch to v3.12.0 or newer, which restored automatic model detection on every platform.4 issues mergedAfter enabling app enhancements my original api cannot connect and returns 503 - CodexTurn app enhancements, or keep-official-login, off in cc-switch to resolve the 503 and the timeouts.4 issues mergedCannot import providers, cannot manage sessions - cc-switchUpgrade cc-switch for jsonc config support. Under WSL2, clone the database to a local Windows path on a schedule to work around SQLite locking.4 issues mergednot installed or not executable - OpenCodeUpgrade CC Switch to v3.11.0+ for the path detection fix, or symlink opencode into ~/.local/bin by hand.4 issues mergedConfig changes in the GUI have no effect at allOMO v4.19.3 moved config to ~/.omo/omo.jsonc, so cc-switch writes to a dead path. Edit the new config file by hand, or upgrade cc-switch.4 issues mergedI clicked both the msi and the exe and nothing happensLaunch the installer as administrator from PowerShell. If it still fails, uninstall the old version first, or use the portable build.4 issues mergedSeveral installations detected, or shown as not installed - Codex/OpenCodeUpgrade CC Switch to v3.17.0 or newer, fixing npm path resolution on Windows and the wrapper script misdetection.4 issues mergedassertion failedUpgrade cc-switch to the latest version for the underlying GUI framework crash fix, or try closing proxy software and resetting the network.3 issues mergedskills will not fetch / plugins rolled back - cc-switchUpgrade cc-switch to v3.9.0 for the skills fetch fix. If plugin config is overwritten, back enablePlugins up into a general config fragment.3 issues mergedEvery click first pops up the system folder picker - cc-switchEdit src/App.tsx to remove the pickDirectory() call in handleOpenTerminal, so opening a terminal stops forcing a folder picker.3 issues mergedClaude Code cannot call the model after configuration - CC SwitchConfirm cc-switch only rewrites config, then check the skip-first-install option, proxy and region restrictions, and upstream API compatibility.3 issues mergedClaude Code cannot see a newly enabled MCP - cc-switchUpgrade cc-switch to the latest version, or copy the contents of the sibling .claude.json into the one inside CLAUDE_CONFIG_DIR by hand.claude_config_dir3 issues mergedzsh:1: command not found: claudeUpgrade cc-switch to v3.16.4 or newer, fixing PATH not loading when the terminal launches, or switch to the system default terminal for now.3 issues mergedAPI Error: 400 invalid request: Claude Desktop model route is not configuredUpgrade cc-switch to v3.16.0+ and configure routing rules explicitly for sub-task models such as Haiku and Opus on the provider form.3 issues mergedYour access token could not be refreshedQuit and restart Codex completely (or kill the codex process) to clear the stale authorisation, then sign in again.3 issues mergedauth.json not updated after switching channel - CodexCodex auth.json is not updated after switching channels. Manually modify auth.json or wait for cc-switch to fix it.3 issues mergedA disabled MCP becomes active again after restarting the machine - CodexNo official fix yet: clean the conflicting MCP nodes out of the config file by hand, and use deeplink import carefully so custom settings survive.3 issues mergedMissing environment variableDelete the env_key entry from config.toml, or set OPENAI_API_KEY in Windows environment variables, and confirm the provider supports the native response format.openai_api_key3 issues mergedCodex sub-agents in copy mode have their full usage counted wrongly - CodexUpgrade to v3.18.0, fixing usage double-counting from sub-agent copy mode and duplicate proxy streaming records inflating the totals.3 issues mergedcc-switch keeps deleting my environment variablesClosing the conflict dialog does not delete anything. To clear it for good, remove the entry from your shell config or the Hermes config.yaml.3 issues mergedFormat conversion error: Failed to parse upstream response - Claude CodeUpgrade cc-switch for the streaming response parse fix, or enable full request path and complete the URL for non-standard APIs such as iFlytek.3 issues mergedAPI Error: 400 invalid_parameter_errorCheck the base url and model config, enable the rectifier, or ignore the false 400 from Stream Check.4003 issues mergedFrozen after clicking updateForce quit and reopen the app, or update by hand to v3.16.3 or newer for the update deadlock fix.3 issues mergedcommand turns into cmd automatically and the mcp service fails to connect - Claude CodeEdit MCP config inside the cc-switch UI so it is not overwritten, and correct npx commands rewritten wrongly as cmd by hand.3 issues mergedThe "+" button disappeared and providers cannot be addedMaximise the cc-switch window or drag it wider to reveal the hidden "+" add provider button.3 issues mergedopenclaw.json is not valid JSON - OpenClawAdd double quotes around the models key in ~/.openclaw/openclaw.json by hand to fix the strict JSON parse failure.3 issues mergedTyping limit as the key clears the input automatically - OpenCodeThe cc-switch UI treats limit as a reserved word, so edit opencode.json directly to set the model context and output limits by hand.3 issues mergedskills synced to apps I did not select - OpenCodeUpgrade cc-switch to v3.12.3 for the implicit inference bug fix, and turn off reading skills from the .claude directory in OpenCode settings.3 issues mergedprotocol handler not registeredOn Linux, change Exec to cc-switch %U in the CC Switch.desktop file so Chromium browsers recognise the import protocol. For WSL sync, check admin rights.3 issues mergedThe Skill source directory has no SKILL.md; refusing to sync to avoid overwriting the target directoryCC Switch fails to install when the skill repository layout does not match the skillId or is nested — install by hand with `npx skills add`.3 issues mergedCC Switch does not show the remaining quotaCodex free accounts cannot query quota because of an official API limit, with no fix. Missing Grok Build usage needs a source change to streaming parsing.3 issues mergedThe interface does not refresh by itself; only dragging the window triggers a UI redrawUpgrade to v3.13.0+ for the Linux interface freeze fix; the Windows built-in Administrator needs a registry change to open the main window.webkit_disable_compositing_mode3 issues mergedos error 183, cannot create a file when that file already exists - Claude CodeOn Windows, cc-switch reports os error 183 when the config directory is a Junction. Remove the directory link for now, or wait for an official fix.win-error-1833 issues mergedError 2503 - cc-switch MSI install permission deniedRun msiexec from an administrator command prompt, or download the Portable build, to work around the Windows 11 MSI permission restriction.win-error-25033 issues mergedWSL path configured but skills are not read - cc-switchWindows cc-switch cannot read or install WSL ~/.agents/skills. Install and run the Linux build of cc-switch inside WSL instead.3 issues mergedNo skill found in the ZIP file (it must contain a SKILL.md)Upgrade cc-switch to v3.16.2 or newer, and delete the old directory by hand before importing a Skill of the same name.3 issues mergedAPI Error: 400 Invalid request ErrorRoll the Claude Code CLI or VSCode plugin back to an older version (2.1.150 or 145) and disable auto-update to resolve the 400.2 issues mergedAPI Error: 404 - Claude Code path assembly or unregistered routeCheck whether the API address was assembled wrongly, or upgrade cc-switch for the 404 from OpenAI-compatible mode and the missing local route.4042 issues mergedSymlink target not found: .DirIcon broken symlink causes - CC SwitchAppImage install fails due to broken .DirIcon symlink. Fix by converting it to a relative path.2 issues mergedmacOS cc-switch version detection error / freezeModify the fastfetch call in .zshrc to add a [[ -t 1 ]] check for non-interactive output.2 issues mergedcc-switch token count is 0An older database missing pricing for a new model makes token statistics read 0. Upgrade to a version containing the fix.2 issues mergedThe interface is completely blank - cc-switchUpgrade cc-switch to the latest version, which disables DMABUF rendering by default, or use the CLI build to resolve the Tauri 2 white screen.webkit_disable_dmabuf_renderer2 issues mergedInput length exceeds model's maximumAdd the CLAUDE_CODE_AUTO_COMPACT_WINDOW environment variable to the provider config to cap the context window.claude_code_auto_compact_window2 issues mergedmissing field content HTTP 400 - CodexReplace `content:null` with an empty string in CC Switch to fix strict upstream rejections.4002 issues mergedUpstream HTTP 502 - CC Switch (Claude CodeCheck your local network proxy (Clash/ZeroTier) config and make sure it does not interfere with direct requests.5022 issues mergedeffortLevel: max is not supportedSet the CLAUDE_CODE_EFFORT_LEVEL environment variable to high, or to max on v3.14.1+, avoiding the invalid max value mapping.claude_code_effort_level2 issues mergedClaude Code ignores the model switch in an old windowA Claude Code session already open does not pick up a model switch in cc-switch. Close and reopen the window, or use the new model in a new window.2 issues mergedOpening a terminal does not use the complete configurationExtract through the "shared configuration" panel and tick write, so a full overwrite does not lose plugins and other shared config.2 issues mergedThe mcp I configured in .claude.json is reset as soon as the proxy startsCC Switch syncs by full overwrite. Import your MCP servers and manage them all inside CC Switch rather than editing .claude.json.2 issues mergedProvider Auth cannot be restored when auth.json does not exist - CodexUpgrading to v3.13.0 resolves Provider Auth failing to restore during multi-device sync when auth.json is missing.2 issues mergedauth.json automatically reuses the previous provider - CodexTurn off the "keep the official login when switching to a third party" option in settings.2 issues mergedCodex history disappears and it will not work - CodexUpgrade to cc-switch v3.16.4 to fix zstd decode failures and CODEX_SQLITE_HOME state database probing that lose or desync sessions.codex_sqlite_home2 issues mergedCannot install or update Codex CC SwitchUpgrade to v3.16.3+ and reinstall/update Codex from 设置 → 关于 (Settings > About); if v3.16.5 still fails, report it with logs.2 issues mergedConnecting gpt5.5 in the codex desktop client, image input and reasoning strength switching do not work - CodexDelete the cc-switch config file under Codex and let it rebuild, or edit cc-switch-model-catalog.json to add the missing reasoning tiers and image modality.2 issues merged"Expecting property name enclosed in doubleUpgrade CC Switch to v3.16.4 or newer to fix the JSON parse error caused by a large request body not being decompressed.2 issues mergedFailed to initialize gtk backend cc-switchRunning cc-switch in a headless environment (a server or container) errors for lack of GTK. Use the cc-switch-cli command-line build instead.2 issues mergedversion `GLIBC_2.35' not foundThe official AppImage needs a newer GLIBC. On RHEL/Rocky Linux, use the community Flatpak build or one built on an older base image.2 issues mergedenv: node: No such file or directoryUpgrading cc-switch to v3.18.0 or newer fixes the environment variable resolution failure caused by a stripped PATH in the GUI.2 issues mergedThis software does not run on macOSRun `brew update` and retry the install, or download the DMG from GitHub Releases and install it by hand.2 issues mergedUI freezes after clicking any input field on LinuxSet WEBKIT_DISABLE_COMPOSITING_MODE=1 or upgrade to v3.14.1 and enable the native title bar to fix Linux UI freezes and unresponsive buttons.webkit_disable_compositing_mode2 issues mergedMissing API key · Run /login - Claude CodeClear the conflicting ANTHROPIC_BASE_URL environment variable, or upgrade CC Switch to use its built-in environment variable conflict detection.anthropic_base_url2 issues mergederror code is 2503 or icon turns white after upgradeRemove Icon="ProductIcon" from per-user-main.wxs to fix install errors and missing icons. Existing users must unpin and repin.2 issues mergedS3 HEAD bucket failed: 404 Not FoundIf the endpoint contains the bucket name, remove the bucket field from the config to prevent path duplication.2 issues mergedcc-switch routing mode overwrites Claude Code settings.jsonAdd custom env vars to CC-Switch Provider JSON, not directly to Claude Code settings.json.disable_autoupdater2 issues mergedInstallation failed: Skill directory does not exist cc-switchUpgrade to cc-switch v3.14.0 or use local ZIP installation to fix URL install failures for repos with SKILL.md in the root.skill_dir_not_found2 issues mergedSkill not loaded correctly - cc-switchcc-switch only recognizes directories containing SKILL.md; manually extract the skills subdirectory from marketplace structures for loading.2 issues mergedstream disconnected before completion CodexUpgrade cc-switch to v3.14.0 or later to fix connection drops caused by proxy forwarding hop-by-hop response headers.2 issues merged'/d' is not recognized as an internal or external command CC SwitchBypass '/d' errors by using English directories or mklink /J junctions; fix permanently by ensuring .bat files use CRLF and chcp 65001.2 issues mergedAnyRouter 429 error in Claude CodeAdd "model": "opus[1m]" to the provider JSON and restart Claude Code. If 429 persists, upstream rate limiting is likely; switch networks or use haiku.1 issues mergedSave keeps failing and asks for the API endpointUpgrade to cc-switch v3.11.0 or later. It natively supports AWS Bedrock and no longer requires an API endpoint or API Key.claude_code_use_bedrock1 issues mergedcc-switch Codex session history missingDisable Codex routing or unified history in cc-switch, make model_provider match old sessions, then restart Codex to restore history.1 issues mergedError in .codex cc-switch.db causes cc-switch startup failureClose cc-switch, clean records with empty base_url in cc-switch.db, or delete the database file and restart.1 issues merged切换路由状态失败:{{detail}}Upgrade to v3.16.2 or later. The route panel then shows the real backend error detail.1 issues mergedLocal proxy toggle UI component is truncated and cannot be fully displayedUpgrade cc-switch to the latest version to fix UI truncation caused by window scaling and tray menu overflow.home_url1 issues mergedclaude.ai connectors are disabledUnset `ANTHROPIC_API_KEY` to restore claude.ai login and organization connector loading.anthropic_api_key1 issues mergedModel automatically switched to haiku cc-switchBuilt-in Claude Code behavior: haiku reads files. cc-switch only manages environment variables and does not change model selection.1 issues mergedCLAUDE_CODE_ATTRIBUTION_HEADER causes cache invalidationSet CLAUDE_CODE_ATTRIBUTION_HEADER=0 to disable the dynamic request header and restore KV cache hits.claude_code_attribution_header1 issues mergedPrompts /login and cannot use Codex API - Claude CodeDo not encode reasoning level in the model ID. Keep gpt-5.4; CC Switch maps it automatically.anthropic_default_haiku_model1 issues mergedCannot find authorization login entry in cc-switchUpgrade cc-switch or migrate providers from Claude Code to restore the Claude Desktop authorization login entry.1 issues mergedunexpected status 403 ForbiddenDisable the cc-switch local proxy or check upstream API access to the codex-auto-review model.4031 issues mergedANTHROPIC_CUSTOM_HEADERS lost after Deep Link importUpgrade to v3.12.0 or later to fix a bug where custom environment variables are dropped during Deep Link import.anthropic_custom_headers1 issues mergedENOENT: no such file or directory, scandir Claude CodeIn VSCode Remote SSH, configure Claude Code authentication on the remote Linux server and create missing directories; local settings do not sync.enoent1 issues mergedsettings.json env not taking effect - Claude CodeClaude Code reads settings.json only at startup. After switching providers, restart Claude Code or set env vars manually.anthropic_model1 issues mergedcc-switch: two of the five default MCPs fail to addInstall missing `uvx` and `mcp-server-time` dependencies (`pipx install uv`, `pipx install mcp-server-time`), then re-add the MCP.1 issues mergedtotal_cost_usd not recalculated by cc-switchUpgrade cc-switch to v3.15.0+ to automatically recalculate historical costs after modifying model pricing.1 issues mergedUnsupported parameter: 'max_tokens'The route forwards max_tokens to a model that only accepts max_completion_tokens. Verify parameter support or wait for a cc-switch fix.1 issues mergedPlease check WebDAV username/passwordcc-switch masks and clears WebDAV password on write-back. Upgrade to fix; temporarily re-enter password.1 issues merged

This is an unofficial community wiki with no affiliation to the cc-switch authors or the project itself. Its content is compiled from the project's public GitHub issues. This site distributes no software.