# Cursor setup no longer works

> Cursor has patched cursor-byok, and this setup no longer works. Use another harness, such as OpenCode, Oh My Pi (OMP), or another compatible client. Previous steps are kept only for historical reference.


> **No longer works:** Cursor has patched `cursor-byok`, and this setup no longer works. Use another harness, such as **[OpenCode](https://7api.st/docs/guides/opencode)**, **[Oh My Pi (OMP)](https://7api.st/docs/guides/oh-my-pi)**, or another compatible client. Do not follow the steps below; they are kept only for historical reference.

Cursor's built-in custom-model settings don't support every request format. The previous setup used the open-source [cursor-byok](https://github.com/leookun/cursor-byok) helper to connect Cursor to 7API.

## Previous setup (for reference)

1. Install Cursor. Download cursor-byok for your OS from its [releases page](https://github.com/leookun/cursor-byok/releases) and follow its setup guide.
2. Open **Model Settings** in cursor-byok. For each model you want, enter:
   - **Base URL / Server address:** `https://7api.st/v1`
   - **API key:** your 7API key
   - **Model type**, **request protocol** and **model ID** from the table below
3. Keep **full URL mode** off.
4. Test the model, start the cursor-byok service, then fully quit and reopen Cursor. Start a new chat and select your model.

| Model family | Model type | Request protocol | Example model ID |
|---|---|---|---|
| Claude | Anthropic | Messages (automatic, no setting) | `claude-opus-5-5` |
| GPT | OpenAI | Responses API | `gpt-6-astra`, `gpt-6.1-sol`, `gpt-6-luna` |
| Grok, GLM, DeepSeek, Kimi, Gemini | OpenAI | Chat Completions | `grok-4.7`, `glm-5.3`, `kimi-k3` |

Any ID from the [model list](https://7api.st/pricing) works.
