Run Cursor on Opper models
Cursor takes a custom OpenAI base URL in its settings:1
Open model settings
Settings → Models, then enable Override OpenAI Base URL.
2
Set the base URL
3
Add your API key
Paste an Opper key from platform.opper.ai into the OpenAI API key field, then add the model IDs you want — for example
anthropic/claude-sonnet-4-6. Verify the key to activate the override.Add Opper rules to your project
Separately from the endpoint, you can give Cursor context about the Opper SDKs so it writes correct Opper code:- Download the
.mdcfile for your language: - Place it in your project at
.cursor/rules/opper.mdc. - In Cursor, set the rule to Always.
Troubleshooting
The model doesn't appear
The model doesn't appear
Cursor needs each model ID added by hand under Settings → Models — it doesn’t fetch the catalog. Copy IDs from the catalog.
Tab completion still uses Cursor's models
Tab completion still uses Cursor's models
Expected. The base URL override covers chat and edits; Tab runs on Anysphere’s own service.
Verification fails
Verification fails
Cursor verifies by making a real call against the first model in your list. If that model ID is wrong or your model access rules deny it, verification fails even though the key is valid.
Related
Skills
Drop Opper context into other AI editors.
All integrations
Every app that runs on Opper.