Integrations

Cursor

Configure Cursor to use Qubrid AI models through the OpenAI-compatible provider

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.

Prerequisites:

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.

Go to the Models tab

In the settings panel, open the Models tab.

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.

Open the API Keys section

Scroll down to API Keys and click the down arrow to expand the section.

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

  1. Open the Qubrid AI Platform and generate an API key. Follow How to generate an API Key.
  2. 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:

https://platform.qubrid.com/v1

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:

Qwen/Qwen3.7-Max

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.

Select your Qubrid model in chat

Open the Cursor chat screen. Click the pill that says Auto, turn the toggle off, then select the custom model you just added.

You can now use Cursor with your Qubrid model. Send a test prompt to confirm responses are coming from Qubrid.

Your Qubrid integration with Cursor is now configured.

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

SettingValue
OpenAI API KeyYour Qubrid API key
Override OpenAI Base URLhttps://platform.qubrid.com/v1
Example model IDQwen/Qwen3.7-Max

Model IDs vary by model-always copy the ID from the model page or Playground.

Frequently Asked Questions (FAQ)

Go to Cursor Docs

If you have any questions related to Cursor, this is your place to be