selected model (kimi-k2.5) may not exist 报错 - Claude Code
Quick fix
删除 API 地址末尾的 /v1,改用 Anthropic 兼容接口;若旧会话含图片请使用 /compact 压缩上下文或更换模型。
Symptom
Section titled “Symptom”There's an issue with the selected model (kimi-k2.5). It may not exist or you may not have access to it. Run /model to pick a different model.在配置 Kimi 或阿里 DashScope 等第三方服务商时,由于接口地址格式、模型上下文限制或 User-Agent 校验等原因,会引发多种代理异常。最常见的报错是 Claude Code 提示模型不存在,这通常是因为 API Base URL 末尾多带了 /v1,或者在旧会话中发送了部分 Kimi 模型(如 kimi-k2.5-pro)不支持的图片。
此外,该问题集群还包含其他几种变体:1) 上游 API 未返回 token 统计导致 CC Switch 后台数据为 0(Issue #881);2) Codex 默认的 User-Agent 被 Kimi Coding 接口拒绝导致 403(Issue #3559);3) Codex 转换 reasoning 历史时逻辑错误导致 Kimi K3 任务中途停止(Issue #5506)。
检查 CC Switch 中的供应商 API Base URL,如果末尾包含 /v1,请将其删除。
若使用阿里 DashScope,请确保选择或配置为 Anthropic 兼容 API 接口。
若在旧会话中触发此报错,可能是上下文中包含模型不支持的图片。请在 Claude Code 中执行 /compact 压缩上下文,或切换到支持视觉的模型(如 kimi-k2.5)。
(针对 Codex 用户)若遇到 403 拒绝或任务中途停止,请更新 CC Switch 至 v3.16.3 以上版本,并在供应商配置中将 User-Agent 覆盖为 claude-cli/*。
Affected Versions
Section titled “Affected Versions”Source Issues
Section titled “Source Issues”本页汇总自 4 个真实 issue
- #881[bug] 一些情况下后台统计不准确
- #1403配置好第三方服务商后,进入claude code,提示There's an issue with the selected model (kimi-k2.5). It may not exist or you may not have access to it. Run /model to pick a different model.
- #3559Codex 不能支持kimi-for-coding模型
- #5506[Bug] Codex Responses-to-Chat bridge attaches reasoning to the previous assistant message and may contribute to Kimi K3 tasks stopping mid-run
- 为什么在新会话中正常,但在旧会话中会报 selected model 错误?
- 旧会话的上下文中可能包含了图片,而部分模型(如 kimi-k2.5-pro)不支持图片理解。请使用 /compact 压缩上下文或更换为支持图片的模型。
- 为什么 CC Switch 后台显示的输入输出 token 统计全是 0?
- 这是上游服务商(如 Kimi 或阿里 DashScope)的 API 返回数据中未包含 token 统计信息导致的,属于上游接口问题,不影响实际使用。
- Codex 使用 kimi-for-coding 模型时提示 403 怎么办?
- Kimi Coding 接口会拦截非白名单的 User-Agent。请更新 CC Switch 至 v3.16.3 或更高版本,并在供应商配置中将 User-Agent 覆盖设为 claude-cli/*。
这是一个非官方社区 wiki,与 cc-switch 作者及项目本身无隶属关系。内容整理自项目公开的 GitHub issues。本站不分发任何软件。