2026 年 VS Code 使用 Claude API
VS Code 通过多个流行扩展支持 Claude API。Claude Api.Tech 提供单个 API 密钥和端点,适用于所有这些扩展 — Cline、Continue、Blackbox 等。
Cline
Settings → API Provider → Anthropic API。将 Custom Base URL 设置为 api3.claudeapitech.com 并输入 sk-cs2-* 密钥。
api3.claudeapitech.comContinue
打开 ~/.continue/config.json。添加 provider 'anthropic',填写 apiBase 和 apiKey 字段。
api3.claudeapitech.comBlackbox AI
Settings → AI Provider → Custom。将 Base URL 设置为 api3.claudeapitech.com/v1 并输入密钥。
api3.claudeapitech.com/v1