Menu
中文 Get API Key
AI Tool Setup Guides

How to Configure Claude 3.5 Sonnet API in Cursor (2026)

Point Cursor to an OpenAI-compatible gateway for CN-friendly Claude access.

Why override the default endpoint?

Official routes may time out or be hard to pay from China. A single OpenAI-compatible base URL fixes both.

Step 2: Cursor settings

  1. Settings → Models
  2. Enable Override OpenAI Base URL
  3. Set Base URL to your gateway (e.g. https://api.jiesou.ai/v1)
  4. Paste API key and model ID (e.g. claude-3-5-sonnet-20241022)

Step 3: Verify

Run a short coding prompt in Chat. Streaming within a few seconds means success.

See also: Claude official vs reseller

Need an API key? Claim free test credits

Get API Key