Cursor 可以通过 OpenAI 兼容配置接入 OmniaKey。打开 Cursor 的模型设置,启用 OpenAI API Key,填入 OmniaKey token,并把 Override Base URL 设置为Documentation Index
Fetch the complete documentation index at: https://docs.omniakey.com/llms.txt
Use this file to discover all available pages before exploring further.
https://api.omniakey.com/v1。
直接答案
在 Cursor 中打开 Settings → Models → API Keys:| 字段 | 值 |
|---|---|
| OpenAI API Key | 你的 OmniaKey API key |
| Override Base URL | https://api.omniakey.com/v1 |
| Model ID | 例如 claude-opus-4-8 |
第 1 步:创建 OmniaKey API key
打开 API Keys dashboard,创建一把例如cursor-local 的 key,并复制保存。
第 2 步:配置 Cursor
在 Cursor 的模型设置中:- 启用 OpenAI API key。
- 粘贴你的 OmniaKey key。
- 启用 Override Base URL。
- 设置为
https://api.omniakey.com/v1。
第 3 步:添加模型 id
从 支持模型 复制准确的模型 id。Cursor 可以通过 OpenAI 兼容入口调用支持的 Claude、GPT、Gemini 模型。 常见示例:claude-opus-4-8gpt-5.5gemini-3.1-pro-preview
常见问题
Cursor 应该使用什么 base URL?
使用https://api.omniakey.com/v1。