# Cannot connect DeepSeek API in Cursor (usage limit / model not working)

**URL:** <https://forum.cursor.com/t/cannot-connect-deepseek-api-in-cursor-usage-limit-model-not-working/162225>\
**Category:** Help\
**Tags:** byok\
**Created:** [June 2, 2026, 1:00pm UTC](https://forum.cursor.com/t/cannot-connect-deepseek-api-in-cursor-usage-limit-model-not-working/162225 "2026-06-02T13:00:05Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Forance\_Wu](https://avatars.discourse-cdn.com/v4/letter/f/6bbea6/32.png) [@Forance\_Wu](https://forum.cursor.com/u/Forance_Wu)\
**Post date:** [June 2, 2026, 1:00pm UTC](https://forum.cursor.com/t/cannot-connect-deepseek-api-in-cursor-usage-limit-model-not-working/162225/1 "2026-06-02T13:00:05Z")

</div>

Hi, I’m trying to use DeepSeek API in Cursor but it’s not working.

What I did:

- Added custom model in Cursor
- API Key from DeepSeek is valid
- Base URL: [https://api.deepseek.com/v1](https://api.deepseek.com/v1)
- Model name: deepseek-chat

Problem:

- Cursor shows “you’ve hit your usage limit” OR model cannot be used
- It seems Cursor is not actually using my DeepSeek API

What I expected:

- Use DeepSeek model inside Cursor chat

What I tried:

- Re-login
- Re-add model
- Checked API key balance

Can anyone help me figure out what I’m doing wrong?

Thanks!

---

<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:** [June 4, 2026, 1:09pm UTC](https://forum.cursor.com/t/cannot-connect-deepseek-api-in-cursor-usage-limit-model-not-working/162225/5 "2026-06-04T13:09:36Z")

</div>

Hey, thanks for the detailed write-up. This isn’t a bug, the behavior changed.

Using your own API key (BYOK) for DeepSeek and other custom models in Agent, Composer, Edit, and Ask now requires a Pro subscription on all plans. On Free, it used to work as an undocumented option, but that’s now closed. The “you’ve hit your usage limit” message is misleading in this case, it’s actually a subscription check.

Options:

- Upgrade to Pro to keep using BYOK
- Stay on Free and use Cursor’s free models without your own key

I get it, it’s frustrating when something used to work and then stops. More details here: [Ask mode with my own API Key required Pro Subscription](https://forum.cursor.com/t/ask-mode-with-my-own-api-key-required-pro-subscription/150484)

---

<div class="post-metadata">

**Author:** ![xianzuTang](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/xianzutang/32/113281_2.png) [@xianzuTang](https://forum.cursor.com/u/xianzuTang)\
**Post date:** [July 2, 2026, 5:19am UTC](https://forum.cursor.com/t/cannot-connect-deepseek-api-in-cursor-usage-limit-model-not-working/162225/6 "2026-07-02T05:19:11Z")

</div>

For this issue, I suggest verifying the API key, base\_url, and model ID separately first: use `curl` or a minimal Python script to call the DeepSeek-compatible endpoint directly to confirm the key and model name are correct, then go back to Cursor to troubleshoot the configuration.

---

<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:** [July 2, 2026, 1:00pm UTC](https://forum.cursor.com/t/cannot-connect-deepseek-api-in-cursor-usage-limit-model-not-working/162225/8 "2026-07-02T13:00:07Z")

</div>

Closed on July 2, 2026, 1:00pm UTC

This topic was automatically closed after 30 days. New replies are no longer allowed.
