Cursor IDE
Set up Claude API in Cursor IDE — step-by-step configuration for Claude Sonnet, Opus, and Haiku models in Cursor.
Setup
- Open Cursor → Settings → Models
- Click Add Provider
- Set Base URL to
https://api2.claudestore.store/v1 - Enter your ClaudeStore API Key
- Add the model IDs you want to use (e.g.,
claude-sonnet-4.6) - Select the model from the model picker in the chat panel
Cursor uses the OpenAI-compatible endpoint. The base URL must include
/v1.Recommended Models
claude-opus-4.6— Latest flagship, maximum capability (1M context in beta)claude-sonnet-4.6— Best balance of speed and capability for codingclaude-opus-4.6— Previous flagship, still strong for complex problemsclaude-haiku-4.5— Fastest, ideal for autocomplete
Troubleshooting
- Ensure the base URL ends with
/v1 - Verify your API key is correct and has sufficient credits
- Check that the model ID matches exactly (e.g.,
claude-sonnet-4.6, notclaude-3-sonnet)