一、下载Cursor:
官网:https://www.cursor.com/cn/downloads
二、申请Deepseek API
- 官网:https://platform.deepseek.com/api_keys
-
创建api key:
image.png - 充值账户(官方渠道):登录 DeepSeek 开放平台 → 进入「账户中心」或「充值」页面。
image.png -
具体使用可以查看左下角文档:
image.png
三、在Cursor中配置Deepseek API:
- DeepSeek 配置
- Base URL:https://api.deepseek.com
- API Key:从 DeepSeek 平台获取。
- 模型名称:deepseek-chat 或 deepseek-coder。
image.png
注:deepseek-chat 模型对应 DeepSeek-V3;deepseek-reasoner 模型对应 DeepSeek-R1。思维链为deepseek-reasoner模型在给出正式回答之前的思考过程,其原理详见推理模型。
-
错误码:
image.png
四、使用:
-
切换到deepseek-chat:
image.png -
选择Chat:
image.png -
这里输入内容即可:
image.png
注:如报错 Agent and Edit rely on custom models that cannot be billed to an API key. Please use a Pro or Business subscription and/or disable API keys. Ask should still work. 请使用Cursor 0.45及以下版本。







