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
- Open the Continue configuration file (
config.json). - Add a new OpenAI-compatible provider.
- Fill in the SiliconFlow Base URL, API Key, and default model ID.
- 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