Skip to content

Unkonw coding plan provider - cc-switch Volcengine

Quick fix

Upgrade cc-switch to v3.20.0 or newer, then recreate the Volcengine Agent Plan provider or fix its Base URL.

Error output
Unkonw coding plan provider

In versions before v3.20.0, the `detect_provider` function only matched `volces.com/api/coding` and did not cover the Agent Plan `/api/plan` endpoint, so configuring an Agent Plan was detected as an unknown provider and errored. At the same time, the usage query logic (`query_volcengine`) had a route mapping error or sequential probing problem, so Coding Plan and Agent Plan usage data got confused or the query failed.

v3.20.0 split Agent Plan and Coding Plan into two independent presets, routes to the right query endpoint by Base URL, and relaxed endpoint detection for existing providers with immediate effect.

  1. Upgrade cc-switch to v3.20.0 or newer.

  2. Delete the old Volcengine Agent Plan provider in cc-switch and add it again using the new Agent Plan preset, or change the Base URL by hand to the correct endpoint (`https://ark.cn-beijing.volces.com/api/plan`, for example).

Toolcc-switch
Version< 3.20.0
PlatformsWindows
Launching Claude Code with "open terminal" from the provider list says the model does not exist or I have no permission, while other routes work. Why?
That is expected. Launching that way does not go through cc-switch routing — it starts with a temporary JSON config file.
Should the usage query decide the plan type from the path literal in the Base URL?
From v3.20.0 on, the Agent Plan and Coding Plan presets are split by their real endpoints, and plan usage detection routes correctly by endpoint — no more inverted or confused mapping.

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.