Integrations

Cline

Install Cline and connect it to Qubrid AI models through the OpenAI-compatible provider in your IDE or CLI

Cline is an autonomous AI coding agent that runs inside your editor or from the terminal. Connect it to Qubrid AI to use Qubrid serverless models for chat, code generation, and agentic workflows through Qubrid's OpenAI-compatible API.

Prerequisites:

  • IDE path: VS Code, VS Code Insiders, Cursor, Windsurf, or a JetBrains IDE with the Cline extension installed
  • CLI path: Node.js installed on your machine
  • A Qubrid account on the Qubrid AI Platform
  • A Qubrid API key (how to generate an API key)

Install Cline

Install Cline in your editor before connecting Qubrid. Cline supports:

  • VS Code and VS Code Insiders
  • Cursor
  • Windsurf
  • JetBrains IDEs

For extension install steps, marketplace links, and troubleshooting, see the official Cline installation guide.

Install Cline in your IDE

Step-by-step instructions for VS Code, Cursor, Windsurf, JetBrains, and other supported editors.

Configure Qubrid AI in Cline CLI

Use these steps when running Cline from the terminal. After install, Cline walks you through provider setup on first launch.

Install Cline globally

Open a terminal and run:

npm i -g cline

Launch Cline

Start the Cline CLI:

cline

On first run, Cline prompts you to configure the provider.

Select OpenAI Compatible

When asked for a provider, select OpenAI Compatible and press Enter.

Enter the Qubrid base URL

When prompted for Base URL, enter:

https://platform.qubrid.com/v1

Skip Azure API Version

Cline may ask for an Azure API Version. You do not need this for Qubrid.

Press Tab to move to the API Key field and leave the Azure API Version empty.

Generate and paste your Qubrid API key

  1. Open the Qubrid AI Platform and sign in.
  2. In the top navbar, click API Keys.
  3. Click Create API Key, add a name and description, then click Generate.
  4. Copy the key from the pop-up and paste it into the API Key field in Cline.

Your API key is shown only once for security. Store it somewhere safe before closing the dialog. If you lose it, generate a new key from Manage API Keys.

Press Enter to continue.

Enter a Qubrid model ID

When prompted for a model ID, enter the exact ID from the Serverless Models catalog.

For example:

openai/gpt-oss-120b

Model IDs are case-sensitive. Copy the API model string exactly from the catalog or the model page on the Qubrid platform.

Save and start using Cline

Press Enter to save your configuration.

Cline is now ready to use from the CLI with your Qubrid model.

Your Qubrid integration with Cline CLI 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
ProviderOpenAI Compatible
Base URLhttps://platform.qubrid.com/v1
Azure API VersionLeave empty (not required for Qubrid)
API KeyYour Qubrid API key
Example model IDopenai/gpt-oss-120b

Model IDs vary by model. Always copy the exact string from Serverless Models.

Frequently Asked Questions (FAQ)

Go to Cline Docs

Official Cline documentation for IDE extensions, CLI setup, and troubleshooting.