Skip to content

API 400 error when using the xiaomimimo token plan with Claude Code

Quick fix

Upgrade to cc-switch v4.0 and retry. If the error persists, provide the version and reproduction steps when reporting it again.

Error output
设置 https://token-plan-cn.xiaomimimo.com/anthropic 接口 400错误
English translation

Set the https://token-plan-cn.xiaomimimo.com/anthropic endpoint; API 400 error

The issue asks how to use token plan subscriptions such as xiaomimimo with the Claude Code desktop app and reports a 400 error when configuring this Anthropic endpoint. The maintainer did not confirm the specific cause or provide setup steps for the plan. The issue was closed because the interface and configuration-writing behavior changed significantly in v4.0.

  1. Upgrade to cc-switch v4.0 and retry the configuration. The maintainer noted that the new version changed the interface, aggregation mode, and configuration switching behavior.

  2. If the problem persists after upgrading, provide the cc-switch version and reproduction steps when reporting it again.

ToolClaude Code
VersionUnknown
PlatformsUnknown
What should I do if the problem persists after upgrading to v4.0?
Provide the cc-switch version and reproduction steps when reporting it again.

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.