PostgreSQL码农集散地

Cursor 太贵?一招薅免费羊毛

Cursor 接入百炼QwQ , Qwen , Deepseek等大模型

1、安装cursor, 参考如下

2、开通百炼, 并创建API KEY

  • https://bailian.console.aliyun.com

3、选择需要用到的模型, 例如qwa-plus

https://bailian.console.aliyun.com/model-market#/model-market

https://bailian.console.aliyun.com/model-market#/model-market/detail/qwq-plus

通义千问QwQ推理模型增强版,基于Qwen2.5模型训练的QwQ推理模型,通过强化学习大幅度提升了模型推理能力。模型数学代码等核心指标(AIME 24/25、livecodebench)以及部分通用指标(IFEval、LiveBench等)达到DeepSeek-R1 满血版水平。

模型调用-输入: ¥0.0016/千Token

模型调用-输出: ¥0.004/千Token

目前很多模型都有赠送免费额度. 之前发过一篇薅羊毛攻略:AI从业者智商测试: 聪明人在薅羊毛傻子在竞争算力

4、配置cursor


picpic

添加模型名( qwq-plus ), 修改openAI URL ( https://dashscope.aliyuncs.com/compatible-mode/v1 ), API KEY ( xxxxx )



Image
pic

使用新增的模型 qwq-plus



Image
pic

参考

Cursor 如何接入 Qwen 大模型:

  • https://blog.csdn.net/ls1120623840/article/details/145226560
  • https://developer.aliyun.com/article/1640134
  • https://help.aliyun.com/zh/model-studio/getting-started/models