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

How to Use Claude API in VS Code — Extensions & Setup

Set up Claude API in Visual Studio Code using popular extensions like Continue, Cline, and Roo Code. Step-by-step guide with ClaudeStore API key.

Claude in VS Code

Visual Studio Code supports Claude through several AI extensions. With a ClaudeStore API key, you can connect any of them to Claude Sonnet, Opus, or Haiku — getting AI-powered coding assistance directly in your editor.

Best VS Code Extensions for Claude

Continue

Continue is an open-source AI code assistant that supports Claude natively. It offers chat, inline editing, and autocomplete.

Setup: Install from VS Code marketplace → Settings → Add provider → Select "Anthropic" → Enter your ClaudeStore base URL and API key.

Set the base URL to https://api2.claudestore.store in the Continue config to use ClaudeStore.

Cline

Cline is an autonomous coding agent that can create files, run commands, and build entire features. It works exceptionally well with Claude Sonnet.

Setup: Install Cline → Open settings → Select "Anthropic" as provider → Enter API key and set base URL to https://api2.claudestore.store.

Roo Code

Roo Code is a fork of Cline with additional features like custom modes and MCP support. Configuration is identical to Cline.

Which Model to Use

  • Claude Sonnet 4.6 — recommended for most coding tasks. Best price/quality ratio.
  • Claude Opus 4.6 — use for complex refactors, architecture, and multi-file changes.
  • Claude Haiku 4.5 — use for autocomplete and simple inline suggestions to save costs.
Many developers use Haiku for autocomplete and Sonnet for chat — this combination minimizes costs while keeping quality high.

Common Configuration

Regardless of which extension you use, the configuration is similar:

  • Base URL: https://api2.claudestore.store
  • API Key: Your ClaudeStore API key (starts with sk-)
  • Model: claude-sonnet-4.6 (or any supported model)

For the full list of models and IDs, see our Models page.

Tips

Ready to start?

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

View Plans