How to add a custom model like DeepSeek-V3 (which is OpenAI compatible)

is this possible in Cursor?

1 Like

Hey, as far as I know, DeepSeek v3 is not yet available via API, but once it becomes available, you can add it in the settings. Hereā€™s how to do it:

5 Likes

DeepSeek v3 is already available.

1 Like

Itā€™s available on API since yesterday evening (CET time); I learned it from Paul Gauthier, who used their API to update his polyglot leaderboard. This morning, DeepSeek updated the docs :

Thank you for the link! I didnā€™t see that itā€™s possible to add a custom URL, that was the missing piece for me! Thanks!

1 Like

How do we enable the DeepThink when using the api? Is it automatically applied?
Using cursor and having to deal with multiple files to edit, you really want to have the most powerful and deep thought response possible.

As far as I know, the DeepThink function is not yet available via the API.

How do we enable the DeepThink when using the api?

I might be wrong, but isnā€™t the DeepThink using some other model than chat v3? r1 or r1-lite maybe?

you really want to have the most powerful and deep thought response possible.

Personally, I found o1-preview and o1-mini to be worse for daily programming stuff. Too slow, too much (usually meaningless) changed code. I did find a few very rare use cases where these reasoning models shone, but I didnā€™t find them worthy of use for daily development.

2 Likes

use OpenAI compatible apiļ¼Œand redefine the base url and add deepseek-chat

May you please provide a screenshot of this?

Lame.

Its waitlist only right now - and the ā€œhobbyā€ feature set it too vaugueā€¦ THEN they want a ā€˜proā€™ acct at $50/mo ā€“ so as to provide an abstraction Model Layer btwn cursor and modelbox? So if one were to use a pro plan with thisā€¦ minimum $70 for pro cursor, pro-model boxā€¦ and likely one who is aware and using either, likely already pays $20/mo to several other servicesā€¦

Could def use OpenRouter which is more preferred. Also modelbox only holds the web searching tool higher but OR is making that available too. I think it was just a AD call for you to use it.

Iā€™ve tried adding an openrouter key but I am getting:

(status code 400)
{ā€œerrorā€:{ā€œmessageā€:ā€œdeepseek-chat is not a valid model IDā€,ā€œcodeā€:400}

I have this as my override URL:

Cursor Team, add please deepseek-chat model to cursor.
Not bad in my tests.

1 Like


My version looks like this. How do I add deepseek?

I think I have solved it for you, as shown in the picture, because I do not subscribe to cursor membership, chat is available

2 Likes

I (almost) never use chat.
I use Composer, and I have a Cursor subscription.

Iā€™m just offering the solution, it should work, you can try it, thatā€™s all

1 Like

ā€¦but if I use Deepseek through the hyperbolic API - it doesnā€™t work

Here is my post how to add DeepSeek into Cursor.

It works great in chat and completions. But Composer not allow using external models. We should push Cursor team to add this feature.

UPD: You should add deepseek-chat model. And donā€™t have to disable sonnet models

2 Likes