Connect Cursor to Qubrid AI by adding Qubrid as an OpenAI-compatible model provider. After setup, you can select Qubrid models from the Cursor chat and use AI-powered coding assistance with your Qubrid endpoint and API key.Documentation Index
Fetch the complete documentation index at: https://docs.platform.qubrid.com/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites:
- Cursor editor installed on your machine
- A Qubrid account on the Qubrid AI Platform
- A Qubrid API key (how to generate an API key)
Configure Qubrid AI in Cursor
Open Cursor Settings
Open Cursor Settings from the Cursor menu or with
Ctrl+, on Windows/Linux and Cmd+, on macOS.Uncheck existing models
Uncheck every model in the list so Cursor does not route requests to built-in providers. This ensures your custom Qubrid model is used when you select it in chat.
Enable the OpenAI API Key
Enable the OpenAI API Key section so you can enter your Qubrid credentials.
Generate and paste your Qubrid API key
- Open the Qubrid AI Platform and generate an API key. Follow How to generate an API Key.
- Return to Cursor and paste the key into Enter your OpenAI API Key.
Your API key is shown only once for security. Store it somewhere safe and secure before closing the dialog. If you lose it, you must generate a new key.
Override the OpenAI base URL
Turn on the toggle for Override OpenAI Base URL and paste the Qubrid base URL:
View all models and add a custom model
Scroll up slightly and click View all models, then select + Add Custom Model.
Enter the Qubrid model ID
Enter the Model ID for the model you want to use.You can find the model ID on the model page on the Qubrid platform, right beside the model name-click the copy button to copy it exactly.For example, Qwen 3.7 Max uses:You can also copy the model ID from the AI Playground under the Serverless endpoint section. The ID must match exactly or the model will not work in Cursor.
Monitor usage on Qubrid
Keep an eye on your usage and costs on the Qubrid platform.- Review Inference Logs to see request history and debug issues.
- Check your credit balance before long or high-volume coding sessions.
- Rotate API keys if you suspect a key was exposed.
Configuration reference
| Setting | Value |
|---|---|
| OpenAI API Key | Your Qubrid API key |
| Override OpenAI Base URL | https://platform.qubrid.com/v1 |
| Example model ID | Qwen/Qwen3.7-Max |
Frequently Asked Questions (FAQ)
API requests fail or return errors
API requests fail or return errors
Confirm the following:
- OpenAI API Key is your valid Qubrid API key (regenerate from Manage API Keys if needed)
- Override OpenAI Base URL is exactly
https://platform.qubrid.com/v1 - Other models are unchecked in the Models tab so Cursor does not fall back to a different provider
Custom model does not appear in chat
Custom model does not appear in chat
Make sure you:
- Added the model with + Add Custom Model and used the exact model ID from the platform or Playground
- Opened chat, clicked the Auto pill, and turned the toggle off
- Selected your custom Qubrid model from the list
Cursor still uses Auto or a built-in model
Cursor still uses Auto or a built-in model
In the chat panel, click the Auto pill and turn the toggle off. Then manually select your custom Qubrid model.Also confirm every other model is unchecked under Cursor Settings → Models so Cursor does not route to a default provider.
Model ID is not recognized or responses fail
Model ID is not recognized or responses fail
The model ID must match the value on the Qubrid model page or in the Playground Serverless endpoint field-for example
Qwen/Qwen3.7-Max. IDs are case-sensitive and include the provider prefix (such as Qwen/ or openai/).Copy the ID with the copy button on the platform rather than typing it manually.Responses are slow or time out
Responses are slow or time out
Check your network connection and confirm the Qubrid endpoint is reachable. Review the model’s expected response time in the AI Playground.Use Inference Logs to see whether requests are failing or taking longer than expected on the platform side.
How do I track usage and costs?
How do I track usage and costs?
Open Inference Logs on the Qubrid platform to review API usage, monitor spend, and troubleshoot failed requests.
Go to Cursor Docs
If you have any questions related to Cursor, this is your place to be