> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gmicloud.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor

> Use GMI Cloud models inside Cursor by overriding the OpenAI base URL.

Cursor lets you bring your own OpenAI-compatible endpoint. Point it at GMI Cloud and any model in the GMI catalog becomes available inside Cursor, chat, inline edits, and Composer all work.

## Prerequisites

* **Cursor Pro**: the "Override OpenAI Base URL" setting is gated behind the Pro plan. Free-plan accounts can't follow this guide.
* A GMI Cloud account at [console.gmicloud.ai](https://console.gmicloud.ai)
* Cursor installed
* About 5 minutes

## Step 1. Get your GMI API key

1. Sign in to [console.gmicloud.ai](https://console.gmicloud.ai).
2. Open **API Keys** → **Create API Key**.
3. Copy the key now, it won't be shown again.

## Step 2. Open Cursor's model settings

In Cursor, open **Settings → Models** (or `⌘ ,` then search "Models").

## Step 3. Add the GMI base URL

Scroll to **API Keys**.

1. Enable **OpenAI API Key** and paste your **GMI** API key into the field (Cursor uses the OpenAI key slot for any OpenAI-compatible provider).
2. Enable **Override OpenAI Base URL**.
3. Set the URL to:

   ```
   https://api.gmi-serving.com/v1
   ```

That's the only base-URL change you need.

## Step 4. Add the models you want

In the **Models** list at the top of the settings page:

1. Click **Add or search model**.
2. Type the GMI model ID (e.g. `anthropic/claude-opus-4.7`, `zai-org/GLM-5.1-FP8`, `moonshotai/Kimi-K2.6`, `deepseek-ai/DeepSeek-V4-Pro`).
3. Toggle the new model **on**.

Repeat for each model you want to expose. Cursor will route requests to GMI under these names.

Browse model IDs in the [Text models catalog](/model-quickstarts/text/overview).

## Step 5. Use it

Open any chat or Composer panel and select one of your GMI-routed models from the dropdown. Inline edits and `⌘ K` work too.

## Tips

* **Mixing providers.** You can keep Cursor's built-in models on (Composer 2.5, Sonnet 4.6, etc.) and add GMI models alongside them. Cursor only uses the GMI base URL for models you added manually.
* **Bad model name.** If a request 404s, the model ID is wrong. GMI model IDs always include the provider prefix (e.g. `openai/gpt-5.5`, not `gpt-5.5`).
* **Pro required.** The OpenAI API Key field alone doesn't change routing, both toggles (key + base URL override) must be on.

## Next steps

* Try [Claude Code](/coding-tools/claude-code) or [Codex](/coding-tools/codex) with the same GMI account.
* Stuck? Email [support@gmicloud.ai](mailto:support@gmicloud.ai).
