ClaudeStore/Docs
⚠ These docs are a work in progress. Some content may be inaccurate or temporarily AI-generated.

VS Code Extensions

Claude API for VS Code — configure Continue, Cline, and Roo Code extensions with your Claude API key.

Continue

Example config.yaml model entry (uses the latest flagship Claude Opus 4.6):

config.yamlyaml
name: Claude API
version: 1.0.0
schema: v1
models:
  - name: Claude Opus 4.6
    provider: anthropic
    model: claude-opus-4.6
    apiBase: https://api2.claudestore.store/v1
    apiKey: sk-cs2-YOUR_KEY
    roles:
      - chat
      - edit

Cline

Use OpenAI Compatible provider:

  • Custom BaseURL: https://api2.claudestore.store/v1
  • API Key: from the dashboard

Roo Code

Use OpenAI Compatible provider:

  • Custom BaseURL: https://api2.claudestore.store/v1
  • API Key: from the dashboard

Kilo Code

Use OpenAI Compatible provider:

  • Custom BaseURL: https://api2.claudestore.store/v1
  • API Key: from the dashboard

Windows setup (all extensions)

On Windows, all four extensions above (Continue, Cline, Roo Code, Kilo Code) work the same way as on macOS/Linux, but environment variables and config paths differ. Follow the steps below once — it covers every extension.

1. Prerequisites

  • VS Code 1.80+ (latest recommended)
  • Node.js LTS — required only if you use Continue's CLI/MCP features. Verify with node -v in PowerShell.
  • Your ClaudeStore API key (sk-cs2-...) from the dashboard.

2. Set environment variables (PowerShell)

Open PowerShell (not cmd.exe) and run. setx writes to the user environment permanently — values become available in every new terminal and process.

PowerShellpowershell
setx ANTHROPIC_BASE_URL "https://api2.claudestore.store"
setx ANTHROPIC_AUTH_TOKEN "sk-cs2-YOUR_KEY"
setx ANTHROPIC_API_KEY "sk-cs2-YOUR_KEY"
setx OPENAI_BASE_URL "https://api2.claudestore.store/v1"
setx OPENAI_API_KEY "sk-cs2-YOUR_KEY"

GUI alternative: press Win+R → type sysdm.cplAdvancedEnvironment Variables → add the same five variables under "User variables".

3. Fully restart VS Code

VS Code caches environment variables at launch. After setx, close every VS Code window, then open Task Manager (Ctrl+Shift+Esc) and end any remaining Code.exe processes before reopening. Otherwise the extensions will still see old values.

4. Per-extension Windows notes

  • Continue — config lives at %USERPROFILE%\.continue\config.yaml. Open it with notepad %USERPROFILE%\.continue\config.yaml in PowerShell.
  • Cline / Roo Code / Kilo Code — open the extension's settings panel, choose OpenAI Compatible, paste Base URL https://api2.claudestore.store/v1 and your API key. The env vars from step 2 are used as defaults for new tasks but the UI values always win.

5. Using WSL / Remote-WSL?

Windows env vars do not propagate into the WSL distro. Add the same variables to ~/.bashrc (or ~/.zshrc) inside WSL:

~/.bashrc (inside WSL)bash
export ANTHROPIC_BASE_URL="https://api2.claudestore.store"
export ANTHROPIC_AUTH_TOKEN="sk-cs2-YOUR_KEY"
export ANTHROPIC_API_KEY="sk-cs2-YOUR_KEY"
export OPENAI_BASE_URL="https://api2.claudestore.store/v1"
export OPENAI_API_KEY="sk-cs2-YOUR_KEY"

6. Troubleshooting

  • setx never affects the current terminal — open a new one.
  • In PowerShell always wrap values in double quotes, especially URLs with /.
  • Behind a corporate proxy: also set setx HTTPS_PROXY "http://proxy.company:8080".
  • Antivirus / firewall blocking requests — whitelist the host api2.claudestore.store.
  • Wrong model is being called — see Common Claude Code configuration mistakes.

Wrong model is being used?

Check ANTHROPIC_MODEL conflicts

If the extension keeps calling a different model than the one you selected in the UI, see Common Claude Code configuration mistakes — the most frequent cause is a conflict between the UI-selected model and an ANTHROPIC_MODEL environment override.

Ready to start?

Get API access to all Claude models in under 2 minutes.

View Plans