---
title: "Connect Cursor to GPT and Gemini"
description: "Point Cursor's OpenAI base URL override at apiToken.sale, add your API key and a GPT or Gemini model ID in three steps."
url: "https://apitoken.sale/int-cursor"
language: "en"
---
# Connect Cursor to GPT and Gemini

Point Cursor's OpenAI base URL override at apiToken.sale, add your API key and a GPT or Gemini model ID in three steps.

## Steps

1. Create a key at https://apitoken.sale/register — it looks like `sk-pool-…` and works across every GPT and Gemini model.
2. Point Cursor at the OpenAI-compatible surface: base URL `https://router.apitoken.sale/v1`, key sent as `Authorization: Bearer`.
3. Pick a model by namespaced ID (e.g. `openai/gpt-6.1-terra` or `google/gemini-3.8-flash`) and start — billing is per token at your discount, `GET /v1/models` lists the enabled set.

## Configuration

```
Cursor Settings → Models → OpenAI API Key: sk-pool-…
Enable "Override OpenAI Base URL": https://router.apitoken.sale/v1
Add a custom model: openai/gpt-6.1-terra (or google/gemini-3.8-flash)
```

---
API reference: https://apitoken.sale/md/docs · All integrations: https://apitoken.sale/md/int
