๐Ÿ’ป Using Cursor IDE with Chinese LLMs โ€” Complete Setup Guide

Replace GPT-4 with DeepSeek V4 in Cursor. Get equal or better coding quality at 1/10th the cost. Step-by-step setup in 2 minutes.

Get API Key for Cursor โ†’
๐Ÿ’ก Why Chinese LLMs in Cursor? DeepSeek V4 scores 90.2% on HumanEval (vs GPT-4o's 88.5%) and costs only $0.28/M tokens (vs $2.50/M). It's the smart choice for AI-assisted coding.

Step-by-Step Setup

Step 1: Get Your API Key

Sign up at AI Token and get your API key. You'll have access to DeepSeek V4, V3, R1, Qwen3, and more.

Step 2: Open Cursor Settings

In Cursor, go to Cursor Settings โ†’ Models. Click "Add OpenAI Key" (yes, even though this isn't OpenAI โ€” the API is compatible).

Step 3: Configure Custom API

Set the base URL and your API key:

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

Step 4: Override Model Name

In Cursor's model override settings, add:

# Use DeepSeek V4 as your primary coding model
deepseek-v4

# Or use DeepSeek R1 for complex reasoning
deepseek-r1

# Or Qwen3.6 Flash for fast completions
qwen3.6-flash

Step 5: Start Coding

That's it! Now use Ctrl+K (Cmd+K on Mac) as usual. Cursor will use DeepSeek V4 for code generation, completions, and chat.

Recommended Models for Cursor

Use CaseModelCost/M tokens
Complex coding tasksdeepseek-v4$0.28
Algorithm designdeepseek-r1$0.55
Quick completionsqwen3.6-flash$0.06
Chinese code commentsqwen-max$0.80
Get Your Cursor-Ready API Key โ†’