CoderPlanCoderPlan
HomePricingLotteryAbout
Docs/开始使用

Cline 接入 CoderPlan 教程

在 Cline 的 Anthropic Provider 中填写自定义 CoderPlan Base URL、密钥和 Claude 模型。

Last updated: 07/12/2026

Browse docs

Docs

  • 开始使用
    • 快速上手
    • API Key 接入配置Important
    • Claude Code 配置
    • Codex CLI 配置
    • Gemini CLI 配置
    • Cursor 配置
    • OpenClaw 配置
    • Hermes Agent 配置
    • Cline 配置
  • 问题排查
    • Anthropic 连接失败
    • Anthropic err_bad_request
    • Codex 401 unauthorized
  • 使用优化
    • RTK 上下文管理
    • Context7 提高准确性
    • 模型选择
    • 成本控制

Docs

  • 开始使用
    • 快速上手
    • API Key 接入配置Important
    • Claude Code 配置
    • Codex CLI 配置
    • Gemini CLI 配置
    • Cursor 配置
    • OpenClaw 配置
    • Hermes Agent 配置
    • Cline 配置
  • 问题排查
    • Anthropic 连接失败
    • Anthropic err_bad_request
    • Codex 401 unauthorized
  • 使用优化
    • RTK 上下文管理
    • Context7 提高准确性
    • 模型选择
    • 成本控制

This article is not available in English yet

This article is not available in English yet. You can view the Chinese source for now.

Cline 配置

Cline 的 Anthropic Provider 支持自定义 Base URL。创建“第三方 Claude 工具”密钥后,在 Cline Settings 选择 Anthropic,填写完整 API Key,开启 Use custom base URL 并输入 CoderPlan 基础地址,再选择或填写当前可用的 Claude 模型。

前置条件

先准备 CoderPlan 账号、可用 API 使用额度和 `sk-` 开头的 API Key。建议用小额额度完成一次验证。

填对服务地址

Cline 中的 Base URL、Endpoint 或 OpenAI Compatible URL 按工具要求填写。选择 Anthropic Provider,开启 Use custom base URL,填写 CoderPlan 基础 Base URL,不追加 `/v1`。

Cline Anthropic Provider 配置示例

API Provider: AnthropicCustom Base URL: https://api.coderplan.aiAnthropic API Key: sk-your-api-keyModel: your-claude-model-id

Setup steps

  1. 1

    创建第三方 Claude 工具密钥

    在 CoderPlan 控制台选择“第三方 Claude 工具”创建密钥,并从模型列表复制一个当前可用的 Claude 模型 ID。

    创建 API 密钥
  2. 2

    打开 Cline Settings 并选择 Anthropic

    在 VS Code 的 Cline 面板点击设置图标,在 API Provider 中选择 Anthropic。不要选择 Claude Code subscription 路径。

  3. 3

    填写 API Key 和 Custom Base URL

    粘贴 CoderPlan 完整 API Key,勾选 Use custom base URL,填写 CoderPlan 基础 Base URL,再选择或输入 Claude 模型 ID。

    官方配置依据

    Cline 官方 Anthropic 配置文档明确提供 Use custom base URL 选项,并要求在设置中填写 API Key 和模型。

    查看 Cline 官方文档
  4. 4

    让 Cline 解释一小段代码

    在一个小文件中发起简短解释请求。成功后再启用更长上下文、工具调用或 Extended Thinking。

验证调用

保存配置后先发起一个简短请求,例如解释短函数。成功返回后,再交给它处理正式任务。

排查顺序

如果失败,先确认没有误选 Claude Code subscription、API Key 完整、Custom Base URL 已启用且模型 ID 可用。
View troubleshooting guideChoose a coding model

FAQ

Cline 应该选择 Anthropic 还是 OpenAI Compatible?

当前第三方 Claude 工具场景优先选择 Anthropic Provider,并启用 custom base URL;这样配置语义与 Claude 模型和 CoderPlan 基础 Base URL 一致。

Cline 的 Base URL 需要加 `/v1` 吗?

使用 Anthropic Provider 的 custom base URL 时填写 CoderPlan 基础地址,不追加 `/v1`。只有选择 OpenAI Compatible Provider 时才使用 `/v1` 形式。

为什么 Cline 的模型下拉里没有目标模型?

先尝试填写从 CoderPlan 控制台模型列表复制的精确模型 ID,并确认密钥属于“第三方 Claude 工具”场景。

Search and article contents

Search docs

Article contents

  • 开始前准备什么
  • 配置 Anthropic Provider
  • 验证 Cline 调用
  • 失败时怎么排查

Related links

  • 工具接入账号和密钥准备好后,选择具体工具教程。
  • 价格与模型费用先看清模型价格和适用场景,再决定当前任务该用哪个模型。
CoderPlanCoderPlan

An AI coding service platform for developers, making common tools easier to connect and manage.

[email protected]

Product

  • Pricing
  • Sign up

Docs

  • Quickstart
  • API Key setup

Supported services

  • Claude Code
  • OpenAI Codex / GPT
  • Gemini

About

  • About
  • Contact us
  • Service Status

© 2026 CoderPlan. All rights reserved.

Privacy Policy|Terms of Service|Refund Policy
Checking...We only process service access and usage records; we do not store your code content or conversation bodies.