# Cursor 設定指南

> 在 Cursor 中覆寫 OpenAI Base URL，把 Chat 和 Agent 接到 LLMoxy。

網址：[https://cursor.com（點擊跳轉下載）](https://cursor.com)

Cursor 是 VS Code 系的 AI 編輯器。把 OpenAI 相容位址改成 LLMoxy 即可使用閘道模型。

開始前請準備一把 [LLMoxy 權杖](https://tw.llmoxy.com/docs/get-started/get-token)，建議使用 **auto** 分組。

## 設定

1. 點擊右上角齒輪，開啟 **Models**。
2. **OpenAI API Key**：貼上 LLMoxy 權杖。
3. 勾選 **Override OpenAI Base URL**，填入 `https://llmoxy.com/v1`。
4. 點擊 **Verify**。
5. 模型名稱填入控制檯中的 ID，例如 `grok-4.7`。

> **TIP**
> Cursor 的位址 **必須帶** `/v1`。Verify 通過後，在 Chat 或 Agent 面板選擇剛新增的模型即可。

需要完整 Agent 循環，或 Cursor 自訂模型不穩定時，可改用 [Cursor Cline 外掛教學](https://tw.llmoxy.com/docs/code-tutorials/cursor-cline)。

本文是 https://tw.llmoxy.com/docs/code-tutorials/cursor 的 markdown 版本。
