Connect Cursor to byesu API
Use Cursor with your own byesu API key by overriding the OpenAI Base URL — one pay-as-you-go key gives you access to Claude, GPT, Gemini, Grok, and DeepSeek models.
Quick configuration
- Override OpenAI Base URL:
https://byesu.com/v1 - OpenAI API Key: your byesu token (
sk-..., created in the defaultautogroup) - Recommended models:
claude-opus-5-5,claude-sonnet-5-5,gpt-6.2-sol,gpt-6.1-sol,gemini-4-argon,deepseek-v4-pro
Setup Steps
- Create an API token in the byesu Console under the default
autogroup (see Choosing a Group). - Open Cursor Settings → Models.
- Under API Keys, enable OpenAI API Key and paste your
sk-...token. - Enable Override OpenAI Base URL and enter:text
https://byesu.com/v1 - Click Verify.
- Under Models, click + Add Custom Model and add the exact model IDs you want to use (for example
claude-opus-5-5,claude-sonnet-5-5,gpt-6.2-sol,gemini-4-argon).
Important Notes
- Cursor routes custom OpenAI API key requests through its backend servers, so
https://byesu.com/v1works directly without extra local proxy setup. - Some Cursor-native features (such as Tab autocomplete or Cursor's built-in indexing) still depend on Cursor's own subscription plan; Chat / Composer / Agent calls use your custom model and key.
- If you want
glm-5.3orkimi-k3, create a token in theGlmorKimigroup respectively.
Troubleshooting & Benchmarks
- 401 invalid_api_key: confirm Override OpenAI Base URL is enabled and set to
https://byesu.com/v1(OpenAI 401 fix). - 404 / no available channel: verify the custom model ID matches the console model list (no available channel).
- 429 / quota: check OpenAI 429 rate limit vs quota and live production benchmarks.