# Deepseek models in Cursor through API Key or "Add Model"

**URL:** <https://forum.cursor.com/t/deepseek-models-in-cursor-through-api-key-or-add-model/147930>\
**Category:** Discussions\
**Created:** [January 4, 2026, 10:47am UTC](https://forum.cursor.com/t/deepseek-models-in-cursor-through-api-key-or-add-model/147930 "2026-01-04T10:47:21Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gilub05](https://avatars.discourse-cdn.com/v4/letter/g/f1d935/32.png) [@gilub05](https://forum.cursor.com/u/gilub05)\
**Post date:** [January 4, 2026, 10:47am UTC](https://forum.cursor.com/t/deepseek-models-in-cursor-through-api-key-or-add-model/147930/1 "2026-01-04T10:47:21Z")

</div>

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?

Thank you in advance,

* * *

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 4, 2026, 10:55am UTC](https://forum.cursor.com/t/deepseek-models-in-cursor-through-api-key-or-add-model/147930/2 "2026-01-04T10:55:38Z")

</div>

Hey, thanks for the report.

Method 1: Add Model (recommended)

DeepSeek models were removed from the default list, but you can add them manually:

1. Open Cursor Settings \> Models \> Add Model
2. Add these IDs:
  - `deepseek-r1-0528`
  - `deepseek-v3.1`

Important: R1 doesn’t support agent mode, and that’s expected.

If the models still don’t show up after adding them, please share a screenshot of the Add Model window and the full error text (if there is one).

Method 2: API Key

DeepSeek API keys aren’t officially supported in Cursor Settings \> Models \> API Keys. That feature only works with:

- OpenAI
- Anthropic
- Google
- Azure OpenAI
- AWS Bedrock

More details: [API Keys | Cursor Docs](https://cursor.com/docs/settings/api-keys)

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.

Let me know if that helped.

---

<div class="post-metadata">

**Author:** ![gilub05](https://avatars.discourse-cdn.com/v4/letter/g/f1d935/32.png) [@gilub05](https://forum.cursor.com/u/gilub05)\
**Post date:** [January 4, 2026, 11:20am UTC](https://forum.cursor.com/t/deepseek-models-in-cursor-through-api-key-or-add-model/147930/3 "2026-01-04T11:20:57Z")

</div>

Thanks Dean,

I am sorry but I can’t find neither the `deepseek-r1-0528`nor the `deepseek-v3.1.`

It seems it tries to search for it but nothing happened.  
I am in France  
Thanks

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/b/bb3c3a99ff365be2eb61d7c34c25253efa88b74a.png)

---

<div class="post-metadata">

**Author:** ![deanrie](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/deanrie/32/1263_2.png) [@deanrie](https://forum.cursor.com/u/deanrie)\
**Post date:** [January 4, 2026, 11:32am UTC](https://forum.cursor.com/t/deepseek-models-in-cursor-through-api-key-or-add-model/147930/4 "2026-01-04T11:32:55Z")

</div>

Thanks for the info. You need to click the “Add Custom Model” button in the screenshot.

Steps:

- Click “+ Add Custom Model”
- In the field that appears, manually enter: `deepseek-r1-0528`
- Click Add
- Repeat for `deepseek-v3.1`

After you add them, the models will show up in Cursor Settings \> Models.

Let me know if it worked.

---

<div class="post-metadata">

**Author:** ![gilub05](https://avatars.discourse-cdn.com/v4/letter/g/f1d935/32.png) [@gilub05](https://forum.cursor.com/u/gilub05)\
**Post date:** [January 7, 2026, 12:19pm UTC](https://forum.cursor.com/t/deepseek-models-in-cursor-through-api-key-or-add-model/147930/5 "2026-01-07T12:19:38Z")

</div>

Great ! Thanks it works fine now.  
Juste

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [April 7, 2026, 12:20pm UTC](https://forum.cursor.com/t/deepseek-models-in-cursor-through-api-key-or-add-model/147930/6 "2026-04-07T12:20:32Z")

</div>

Closed on April 7, 2026, 12:20pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
