Cursor
Use your own Boundless key in Cursor: where to set the base URL and model, what stays on Cursor's backend, a verify step and common errors.
Cursor honours a custom key in part of the product only. Tab completion and the Auto and agent models stay on Cursor's own backend no matter what you set, so you have to select your custom model explicitly.
Install#
Install Cursor from its own documentation first. Then pick one way to point it at Boundless.
Run this in a terminal on macOS or Linux and choose Cursor:
Cursor keeps its configuration in the app's settings, not in a file, so setup prints the steps instead of writing them. Run curl -fsSL https://boundless.md/install | sh and choose Cursor, or follow the steps below.
Configure#
Cursor#
Settings → Models. Fill in Override OpenAI Base URL, put your key in OpenAI API Key (sent to whatever base URL you set), and add the model under Custom models.
Two things stay on Cursor's backend. Tab completion always uses a Cursor model, and Composer and Cursor's agent models refuse a custom key, so select your custom model explicitly instead of leaving the picker on Auto.
Model ids#
The examples use deepseek/deepseek-v4.1-flash. Use any id from GET https://api.inference.boundless.network/v1/models; the models page lists each one with its price and limits.
Verify#
To check the base URL and key on their own, list the models the gateway serves. A list of models means both are right. A 401 means the key is missing or wrong:
Then send a short message in a new session and check that a reply comes back.
Common errors#
| What you see | What it usually is |
|---|---|
401 on every request |
The key in OpenAI API Key is wrong, or the base URL is not https://api.inference.boundless.network/v1. |
| The reply comes from a Cursor model | The picker is on Auto. Select your custom model explicitly. |
403 with model_not_allowed |
Your team admin has not enabled that model for you. Ask them, or pick another. See Model access. |
Every status and code is on the Errors page. Other harnesses are on the Coding Agents & Harnesses page.