5-Minute Setup Guide

How to Use Chinese LLMs in Cursor IDE

Want to use DeepSeek-V4 or Qwen3 in Cursor IDE instead of expensive GPT-4? This guide shows you how to configure Cursor with Chinese LLMs through AI Token gateway — saving up to 95% on your AI coding costs.

💡 Why Switch to Chinese LLMs in Cursor?

Cursor Pro costs $20/month for limited GPT-4 usage. With Chinese LLMs through AI Token, you get unlimited access to models that are 90-95% cheaper with comparable code quality.

Step-by-Step Setup

Step 1: Get Your API Key

Sign up at AI Token Gateway and get your API key. Free credits included.

Step 2: Open Cursor Settings

In Cursor, go to Settings → Models (or Cursor Settings → OpenAI Key)

Step 3: Configure OpenAI Override

Enable "Override OpenAI Base URL" and enter:

Base URL: https://eaf9553505eeb8f5-115-190-107-107.serveousercontent.com/v1
API Key: your-aitoken-api-key

Step 4: Select Your Model

Choose from available models:

Recommended Models for Different Tasks

TaskBest ModelBudget Option
Code generationDeepSeek-V4Qwen-Max
Code completionDeepSeek-V4-FlashGLM-4-Flash
Bug fixingDeepSeek-V4Qwen3-Flash
DocumentationQwen-MaxDeepSeek-V3

Cost Comparison: Cursor Pro vs AI Token

PlanMonthly CostModelsLimits
Cursor Pro (GPT-4)$20/monthGPT-4, Claude500 fast requests
AI Token Gateway~$5-10/month38+ modelsPay per token, no caps

Troubleshooting

Cursor shows "Invalid API Key"

Make sure you're using the full base URL including /v1 at the end. The format should be: https://eaf9553505eeb8f5-115-190-107-107.serveousercontent.com/v1

Model not found

Use the exact model name from our model list. Model names are case-sensitive and use hyphens (e.g., deepseek-v4, not DeepSeek-V4).

Slow responses

Try using Flash models (deepseek-v4-flash, qwen3-flash, glm-4-flash) for faster responses. They're also cheaper!

Get API Key for Cursor →
← Back to AI Token Gateway