Cline 的 Anthropic Provider 支持自定义 Base URL。创建“第三方 Claude 工具”密钥后,在 Cline Settings 选择 Anthropic,填写完整 API Key,开启 Use custom base URL 并输入 CoderPlan 基础地址,再选择或填写当前可用的 Claude 模型。
API Provider: AnthropicCustom Base URL: https://api.coderplan.aiAnthropic API Key: sk-your-api-keyModel: your-claude-model-id在 VS Code 的 Cline 面板点击设置图标,在 API Provider 中选择 Anthropic。不要选择 Claude Code subscription 路径。
粘贴 CoderPlan 完整 API Key,勾选 Use custom base URL,填写 CoderPlan 基础 Base URL,再选择或输入 Claude 模型 ID。
Cline 官方 Anthropic 配置文档明确提供 Use custom base URL 选项,并要求在设置中填写 API Key 和模型。
查看 Cline 官方文档在一个小文件中发起简短解释请求。成功后再启用更长上下文、工具调用或 Extended Thinking。
当前第三方 Claude 工具场景优先选择 Anthropic Provider,并启用 custom base URL;这样配置语义与 Claude 模型和 CoderPlan 基础 Base URL 一致。
使用 Anthropic Provider 的 custom base URL 时填写 CoderPlan 基础地址,不追加 `/v1`。只有选择 OpenAI Compatible Provider 时才使用 `/v1` 形式。
先尝试填写从 CoderPlan 控制台模型列表复制的精确模型 ID,并确认密钥属于“第三方 Claude 工具”场景。