Cursor is an AI-native code editor deeply modified from VSCode. It comes with built-in models such as GPT-4/Claude, supporting natural language generation, code comprehension, cross-file refactoring, intelligent debugging, and autonomous agents. This document describes how to configure and use the Tencent Cloud Large Language Model Token Plan Enterprise Edition in Cursor.
Prerequisites
Before you start the configuration, ensure that you have completed the following preparations:
Installing Cursor
Download the installation package from the official website: Download and install Cursor from the Cursor official website. Attention:
Due to Cursor's restrictions, only users subscribed to Cursor Pro or higher plans support custom model configuration.
Configuring Token Plan Enterprise Edition
After Cursor is installed, click Cursor Settings in the top-right corner within Cursor, then select and configure the Models module. The specific configuration for the Models module is as follows:
OpenAI API Key: Enter your API Key.
Override OpenAI Base URL:
Singapore: https://tokenhub-intl.tencentcloudmaas.com/plan/v3
Guangzhou: https://tokenhub.tencentcloudmaas.com/plan/v3
Using Cursor
After configuration is complete, you can select the configured model in the chat panel to interact with it.