Use Token Plan with Cursor
Configure and use Token Plan in Cursor, an AI-powered code editor built on VS Code.
After completing the configuration, select the model in the chat panel to start using it.
If you see the following errors:
Possible causes:
The free version of Cursor only supports Auto mode and does not allow custom model configuration. You must subscribe to Cursor Pro or a higher plan to use Token Plan.
Configuration
- Download and install Cursor from the Cursor website.
- Open Cursor Settings and select the Models page.
- Enable OpenAI API Key and enter your Token Plan API Key.
-
Enable Override OpenAI Base URL and enter
https://token-plan.ap-southeast-1.maas.aliyuncs.com/compatible-mode/v1. -
In the Add or search model text box, enter a supported model name (such as
qwen3.6-plus) and click Add Custom Model.
The model name
glm-5 conflicts with a built-in Cursor model name. Use glm-5-0 instead. For other models, keep the model name consistent with the supported models list.If you cannot find the model you added, click and disable Auto mode in the chat panel, then select the model from the dropdown menu.
FAQ
Unable to use Token Plan models in Cursor
If you see the following errors:
The model xxx does not work with your current plan or api key.Named models unavailable Free plans can only use Auto.
Error "We're having trouble connecting to the model provider." or "Unauthorized User API key"
Possible causes:
- The model name
glm-5conflicts with a built-in Cursor model, causing authentication failure. Use glm-5-0 instead. - The API Key or Base URL is incorrect. Verify that you are using the dedicated API Key for Token Plan, not an API Key from pay-as-you-go or Coding Plan.
- The model name is incorrect. Check the supported models list for correct model names.