Hello,
There are many posts about integrating Deepseek into Cursor, but after going through all of them, no post seems to solve the problem of using Deepseek in Cursor.
I see two usage modes:
1/
The Add Model option: even when typing the model code names suggested in a post "Workaround: You can add them back now using custom model identifiers in Cursor Settings → Models → Add Model with these keys:
deepseek-r1-0528
deepseek-v3.1" "
“
Cursor cannot find the referenced models.
2/
The other method is the API key, but I get an error message after creating an API key on Deepseek (and paying): “{“error”:{“type”:“provider”,“reason”:“provider_error”,“message”:“Provider returned 403”,“retryable”:false,“provider”:{“status”:403,“body”:”{“error”:“please check the api-key you provided”}\n"}}}"
I do have credit on the DeepseekAPI key.
Could someone explain to the community how to use Deepseek with either method?
The 403 error "please check the api-key you provided" happens because Cursor routes requests through its own backend, and it doesn’t support DeepSeek directly.
Solution: Use the Add Model method above. Cursor will use its own DeepSeek integration, not your API key.