Cursor and Trae limitations
Cursor
Third-party APIs (including Global AI) only support Ask mode. The native Agent cannot be used. If you need Agent, install Claude Code, Cline, or Roo Code inside Cursor.
Trae
Trae does not support third-party APIs, so you cannot enter a Global AI key directly in the model configuration. If you need Agent, install Claude Code.
Cline
Cline is one of the most popular coding Agent extensions for VS Code and Cursor.1
Install Cline
Search for Cline in the VS Code or Cursor extension marketplace and install the first result.
2
Configure the provider
Open the Cline sidebar, go to settings, and fill in:
- API Provider:
Anthropic - Base URL:
https://globalai.vip - API Key: paste your
sk-token - Model ID: for example
claude-sonnet-4-5
3
Test
Click Let’s go! to send a test message. A normal reply confirms the integration.
Roo Code
Roo Code’s configuration is almost identical to Cline. It is another popular Agent extension for Cursor and VS Code.1
Configure the Anthropic provider
Same as Cline:
- API Provider:
Anthropic - Base URL:
https://globalai.vip - API Key:
sk-token - Model: for example
claude-sonnet-4-5
2
Use domestic models (optional)
To call DeepSeek or other domestic models in Roo Code, switch API Provider to OpenAI Compatible, set Base URL to
https://globalai.vip/v1, and enter the domestic model ID as usual.FAQ
Can I use Cursor's native Agent?
Can I use Cursor's native Agent?
Not directly. Install Claude Code, Cline, or Roo Code inside Cursor as a replacement.
Claude cost grows fast
Claude cost grows fast
Agents resend historical tokens every round, and long sessions or large codebases amplify this. Read the Claude cost note and watch spend in the Logs.
Connection failure or timeout
Connection failure or timeout
Turn off all proxies and circumvention tools. Global AI does not require a proxy from mainland China.