---
url: 'https://docs.byesu.com/en/clients/cursor.md'
description: >-
  Use byesu API in Cursor with Override OpenAI Base URL: call Claude Opus 5.5,
  GPT-6.2, Gemini 4 Argon, and DeepSeek V4 with one pay-as-you-go key.
---

# 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.

::: tip Quick configuration

* **Override OpenAI Base URL**: `https://byesu.com/v1`
* **OpenAI API Key**: your byesu token (`sk-...`, created in the default `auto` group)
* **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

1. Create an API token in the [byesu Console](https://byesu.com) under the default **`auto`** group (see [Choosing a Group](/en/guide/groups)).
2. Open **Cursor Settings → Models**.
3. Under **API Keys**, enable **OpenAI API Key** and paste your `sk-...` token.
4. Enable **Override OpenAI Base URL** and enter:
   ```text
   https://byesu.com/v1
   ```
5. Click **Verify**.
6. 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/v1` works 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.3` or `kimi-k3`, create a token in the `Glm` or `Kimi` group respectively.

## Troubleshooting & Benchmarks

* **401 invalid\_api\_key**: confirm **Override OpenAI Base URL** is enabled and set to `https://byesu.com/v1` ([OpenAI 401 fix](/en/errors/openai-api-401-invalid-api-key)).
* **404 / no available channel**: verify the custom model ID matches the console model list ([no available channel](/en/errors/no-available-channel-error)).
* **429 / quota**: check [OpenAI 429 rate limit vs quota](/en/errors/openai-api-429-rate-limit-vs-quota) and [live production benchmarks](https://byesu.com/benchmarks).
