Cursor Setup
Connect Cursor to Tokenfly
Installation
Download the installer for your platform (Windows / macOS / Linux) from the Cursor website, then run it — no Node.js or npm required.
Configure a Custom Model
Cursor officially only supports keys from OpenAI / Anthropic / Google / Azure OpenAI / AWS Bedrock official channels. To connect to a self-hosted gateway, use the Override OpenAI Base URL feature:
Tip
Using your own API key (BYOK) in Ask / Agent / Edit mode usually requires a Pro subscription or higher; the free tier typically does not support BYOK.
-
Open
Cursor Settings→Models -
In the API Keys section, find the OpenAI API Key field and paste your API key:
sk-xxx -
Enable the Override OpenAI Base URL toggle and enter:
https://tokenfly.com/v1 -
In the Add or search model field at the top of Models, type the model ID and press Enter:
gpt-5.4 -
After saving, you'll see and can select
gpt-5.4in the chat panel's model picker.
Configuration Reference
| Field | Purpose |
|---|---|
| OpenAI API Key | Access token |
| Override OpenAI Base URL | Service gateway address |
| Add or search model | Manually added model ID |
Verification
Once configured, select gpt-5.4 in the Chat panel and start a conversation — a normal reply confirms the setup works.
How is this guide?