Developer workflow · Cursor
Configure Cursor with an OpenAI-compatible API.
Cursor can use compatible API endpoints when you provide the connection details in its model settings. This guide keeps the setup short and puts the key outside your source code.
Who this is for
You already use Cursor and want one API endpoint for compatible models. Cursor menu names can change between versions, so use the labels shown in your installed build.
Configuration steps
Open Cursor model settings
Open Cursor Settings, then find the Models or AI provider section. Choose the option for an OpenAI-compatible provider or a custom OpenAI endpoint.
Enter the endpoint and key
Set the Base URL to the address below. Paste a key created in your own account. Do not put the key in a repository or share it with a teammate.
Choose a current model ID
Copy the exact model ID from the live model catalog. Add it to Cursor if your version has a custom model field. Names from old screenshots may no longer be available.
Send a small test request
Start with a short prompt and confirm that the response returns. If the model is unavailable, select another model that the current catalog lists for the protocol you chose.
Start with placeholders
Replace them only in your private settings.
Base URL: https://aimyria.com/v1
API key: YOUR_OWN_API_KEY
Model: COPY_THE_EXACT_ID_FROM_THE_CATALOGUse the model catalog to copy the current model ID. The public existing setup tutorial explains the general account and key flow.
Common issues
- 401 or authentication error: create a fresh key or check that the copied key is complete.
- Model not found: copy the ID again from the current model catalog; do not add provider prefixes unless the catalog shows them.
- No response in Cursor: confirm your installed Cursor version supports a custom Base URL and check its provider documentation.
Credentials and usage scope
Use a key belonging to your own account and follow the service terms and upstream model policies. Never place a key in browser code, a public repository or a shared screenshot.
Next step
After confirming regional availability, open the public overview, tutorial or model catalog and finish the setup with your own account.