---
title: "Connect Cursor to Straitly | Straitly Docs"
description: "Step-by-step guide to override the OpenAI base URL in Cursor settings and run Claude, GPT, Gemini and DeepSeek models through Straitly."
url: https://straitly.ai/docs/cursor
updated: 2026-11-28
publisher: Straitly (https://straitly.ai)
---

Docs

Connect your tools

# Connect Cursor

Copy docs

**On this page**

Use your Straitly key inside Cursor. Set up OpenAI once, then enable each provider you want to use with the same key.

Settings, no setup script

Have ready

Cursor installed and a Straitly API key.

What changes

Your API key and OpenAI base URL in Cursor's model settings.

Keep copied keys and setup commands private.

### Before you start

Copy your Straitly key. It uses the key made for you when you signed up, or creates one named `cursor`. You paste it into Cursor in step 2.

Copy key Show key

### Setup

#### 1. Open model settings

Open **Cursor Settings → Models** and scroll down to **API Keys**.

![Cursor Settings, Models page, API Keys section](https://straitly.ai/shots/cursor/1-settings-models.webp?v=b9b63feb)

#### 2. Add your key and base URL

Turn on **OpenAI API Key** and paste your Straitly key. Turn on **Override OpenAI Base URL** and set it to `https://api.straitly.ai/v1`.

![OpenAI key and Straitly base URL filled in](https://straitly.ai/shots/cursor/2-openai-base-url.webp?v=7690ad3a)

#### 3. Enable the providers you want

Every other provider uses the same Straitly key. For Claude, turn on **Anthropic**. For Gemini, turn on **Google**. Leave providers you do not use turned off.

![Anthropic and Google enabled with the same Straitly key](https://straitly.ai/shots/cursor/3-other-providers.webp?v=6d62c38a)

#### 4. Use Cursor’s own models

Do not add custom models. Pick from the models Cursor already lists, like **Claude Opus 5.5** or **GPT-5.6**, and they route through Straitly automatically.

![A Cursor chat running on a Claude model through Straitly](https://straitly.ai/shots/cursor/4-native-models.webp?v=1fd2658b)

### Current Cursor limitations

These are Cursor-side issues. They affect custom API connections, not only Straitly.

- **Thinking text is hidden for every model.** The model still reasons, but Cursor does not display thinking streamed from custom APIs. [Cursor ticket](https://forum.cursor.com/t/yok-gpt-5-6-reasoning-content-not-shown-even-when-returned-by-openai/165533)
- **GPT-5.6 reasoning controls are not sent.** Straitly uses medium reasoning by default. Cursor also hides those thinking tokens. [Cursor ticket](https://forum.cursor.com/t/byok-does-not-send-the-reasoning-effort-parameter-for-gpt-5-6-models/165529)
- **Composer 2.5 does not work with custom API keys enabled.** Use Auto, or temporarily turn off the key with `Cmd+Shift+0` before selecting Composer. [Cursor ticket](https://forum.cursor.com/t/composer-2-5-fails-with-byok/164176)

### Verify your connection

Choose a model already listed in Cursor, send a short message, then check Straitly Activity for the request.

[Open request activity](https://straitly.ai/app/activity) to check the model, status, and charge for your test request.

### Setup checks

**A model does not connect**

Recheck the API key, the base URL including /v1, and the enabled provider. Use Cursor's existing model entries rather than adding custom models.

**Composer or reasoning behaves differently**

Check the Current Cursor limitations section above before changing your setup.

**Do I need a paid Cursor plan?**

Yes. Cursor staff say your own API key works only on paid plans, so the Free plan cannot use it (forum.cursor.com/t/149384). Cursor's help page also says your key covers chat models only; Tab completion keeps using Cursor's own models (cursor.com/help/models-and-usage/api-keys, checked 2026-11-28).

If the request is rejected, check your balance and key limits in [Errors & limits](https://straitly.ai/docs/errors).

[SDKs & frameworks](https://straitly.ai/docs/sdks) [Connect Claude Code](https://straitly.ai/docs/claude-code)

---
Markdown version of https://straitly.ai/docs/cursor.
