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

OpenCode

Set up OpenCode with Claude API — open-source terminal AI assistant. Configure API key and model selection.

Config Path

Windows:

C:\Users\User\.config\opencode\opencode.jsonc

Linux / macOS:

~/.config/opencode/opencode.jsonc

Example Config

opencode.jsoncjson
{
  "$schema": "https://opencode.ai/config.json",
  "provider": {
    "anthropic": {
      "options": {
        "baseURL": "https://api2.claudestore.store/v1",
        "apiKey": "sk-cs2-YOUR_KEY"
      }
    }
  }
}

Notes

  • Use your API key from the dashboard
  • OpenCode should point to /v1
  • Recommended model IDs are the same stable Claude IDs used everywhere else

Ready to start?

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

View Plans