返回文档列表Back to docs

VS Code Continue 接入 DeepSeekSetting up VS Code Continue with DeepSeek

用 Continue 连接 DeepSeek,优先满足低成本和可迁移配置。Connect Continue to DeepSeek, prioritizing low cost and portable configuration.

VS Code / ContinueDeepSeek简单Easy超过 141 天未复核,建议重新确认

关键配置(点击复制)

Base URL
https://api.deepseek.com
Chat / Edit Model
deepseek-chat
Code Model
deepseek-coder

VS Code Continue 接入 DeepSeek

适合谁

  • 想先用低成本方案验证 AI Coding
  • 更习惯 VS Code 而不是 Cursor
  • 希望未来能迁移到其他兼容 API

准备内容

  • 已安装 VS Code
  • 已安装 Continue 插件
  • 已注册 DeepSeek 平台并获取 API Key

关键配置

  • Base URL:https://api.deepseek.com
  • Chat / Edit Model:deepseek-chat
  • Code Model:deepseek-coder

配置步骤

  1. 打开 Continue 配置文件。
  2. 新增一个 OpenAI-compatible provider。
  3. 填入 DeepSeek Base URL、API Key 和默认模型。
  4. 用一个简单仓库验证代码解释、补全和重构是否正常。

常见问题

  • 如果 Continue 无法读取配置,先检查 JSON 语法。
  • 如果模型响应与预期不一致,确认是否把对话模型和代码模型分开配置。
  • 如果成本上升过快,减少自动补全频率并限制大上下文问答。

成本提醒

这是当前最适合低预算试水的路径之一。中低频使用通常能控制在 ¥0-80/月。

CreditsPlan 是 AI 服务的智能选型与购买决策引擎。CreditsPlan helps you choose AI services, compare tools, plans, prices and purchase options, and find the right solution for your needs.

Find the right AI. Pick the right plan. Pay the right price.