浏览方案库Browse solutions全部方案All solutions

配置教程Setup guide

VS Code Continue 接入硅基流动 SiliconFlowSetting up VS Code Continue with SiliconFlow

通过硅基流动聚合平台接入 DeepSeek/Qwen 等模型,价格比官方直连低 30-50%。Access models like DeepSeek/Qwen through the SiliconFlow aggregation platform, at 30-50% below official direct pricing.

Key configuration (click to copy)

Base URL
https://api.siliconflow.cn/v1
Chat / Edit Model
deepseek-ai/DeepSeek-Coder-V2-Instruct
Code Model
deepseek-ai/DeepSeek-Coder-V2-Instruct
Authentication
Bearer <API_KEY>

Setting up VS Code Continue with SiliconFlow

Who it's for

  • Developers chasing maximum cost-efficiency
  • Existing Continue users who want to switch to a low-cost API provider
  • Anyone who wants the flexibility to switch between open-source models (DeepSeek, Qwen, etc.)

Prerequisites

  • VS Code installed
  • The Continue extension installed
  • A SiliconFlow platform account with an API Key

Key configuration

  • Base URL: https://api.siliconflow.cn/v1
  • Chat / Edit Model: deepseek-ai/DeepSeek-Coder-V2-Instruct
  • Code Model: deepseek-ai/DeepSeek-Coder-V2-Instruct
  • Authentication: Bearer <API_KEY>

Setup steps

  1. Open the Continue configuration file (config.json).
  2. Add a new OpenAI-compatible provider.
  3. Fill in the SiliconFlow Base URL, API Key, and default model ID.
  4. Use a simple repository to verify code completion, explanation, and refactoring.

Troubleshooting

  • If responses are slow, try switching to a lighter model (such as Qwen/Qwen2.5-Coder-7B-Instruct).
  • If a model ID cannot be found, check the model list page in the SiliconFlow documentation.
  • If costs rise too quickly, switch to a smaller open-source model to cut spending.

Cost note

SiliconFlow prices are typically 50-70% of official direct access; light-to-moderate usage usually stays within ¥0-50/month. New users get free credits for validation.

配置完成?Setup complete?

前往官方平台开通服务,开始使用 AI 编程。Head to the official site to activate the service and start AI coding.

官方入口暂不可用,请核对教程中的官方来源。The official website link is currently unavailable. Please check the official sources in this guide.

浏览方案库Browse solutions