LongCat officially provides configuration instructions for using LongCat-2.5 through an OpenAI-compatible API in the Cline CLI and VS Code extension.
Suitable tasks: Using LongCat-2.5 in Cline to assist with programming, such as generating code.
Unsuitable tasks: Assessing the model's programming quality or performance differences from other models based on this information.
Applicable model version: LongCat-2.5.
Applicable client, agent, or API: Cline CLI, Cline VS Code extension, and OpenAI-compatible API.
Recommended reasoning level and parameters: In the VS Code extension, Temperature can optionally be set to 1.0 and adjusted for the task; reasoning level is not specified.
CLI configuration (replace the placeholder with your own API key):
cline auth -p openai -k <Your LongCat API Key> -b https://api.longcat.chat/openai/v1 -m LongCat-2.5You can also run cline auth and configure it through the interactive wizard. In the VS Code extension, enter:
| Field | Value |
|---|---|
| API Provider | OpenAI Compatible |
| Base URL | https://api.longcat.chat/openai/v1 |
| API Key | Your LongCat API key |
| Model ID | LongCat-2.5 |
| Temperature | Optional, 1.0 |
Get an API key from the LongCat platform and make sure the account has sufficient token quota.
CLI path: Prepare Node.js 20 or later (22 is officially recommended), run npm install -g cline, then verify the installation with cline --version.
Configure the CLI using the command above or the interactive wizard, then run cline in a new terminal.
VS Code path: Install Cline from the extension marketplace, open the extension and fill in the fields above, then enter a task.
The model table on the official page lists LongCat-2.5, with OpenAI/Anthropic API formats. Its Cline configuration example uses the OpenAI-compatible API, the Base URL above, and the Model ID above. The page provides no performance test data.
This article summarizes the official integration configuration; it is not a complete prompt or an independent performance evaluation. Configuration and client interfaces may change between versions; consult the original source before use. Do not put a real API key in shared documents or code repositories.
Fill in the configuration by following the steps for the relevant client, then submit a programming request to check the integration. This collection only verified the official documentation; the model was not called using a real key.
LongCat 2.5