# Cursor Setup Guide

> Override the OpenAI Base URL in Cursor to connect Chat and Agent to LLMoxy.

Website: [https://cursor.com (click to download)](https://cursor.com)

Cursor is a VS Code-based AI editor. Change the OpenAI-compatible URL to LLMoxy to use gateway models.

Before you start, get an [LLMoxy token](https://en.llmoxy.com/docs/get-started/get-token). The **auto** group is recommended.

## Configuration

1. Click the gear icon in the top right and open **Models**.
2. **OpenAI API Key**: paste your LLMoxy token.
3. Check **Override OpenAI Base URL** and enter `https://llmoxy.com/v1`.
4. Click **Verify**.
5. For the model name, enter the ID from the console, for example `grok-4.7`.

> **TIP**
> Cursor's URL **must include** `/v1`. After Verify succeeds, select the model you just added in the Chat or Agent panel.

If you need a full agent loop, or Cursor's custom models are unstable, use the [Cursor Cline plugin](https://en.llmoxy.com/docs/code-tutorials/cursor-cline) instead.

This is the markdown version of https://en.llmoxy.com/docs/code-tutorials/cursor.
