限时免费试用:欢迎注册 api.bigmodel.org ,快速体验大模型 API 接入服务。
当前位置:首页 >AI

如何在cursor中使用bigmodel中转站

分类:AI时间:2024-10-09浏览:1140

中转站地址:api.bigmodel.org/

推荐使用的模型

my-deepseek-coder 和 my-claude3.5sonnet

my-deepseek-coder 对应的模型是 deepseek-coder 便宜且好用

my-claude3.5sonnet 对应的模型是 claude-3-5-sonnet-20240620 写代码能力强

在 cursor 中使用中转站 api

  1. 注册 bigmodel 账号,并生成一个令牌

如果想使用 claude-3-5-sonnet-20240620,请选择混合模型

image

  1. 打开 cursor 进行配置

image

新增模型 my-claude3.5sonnet

image

填写中转站信息

url:https://api.bigmodel.org/v1

key: 刚才创建的 key

需点击后面的 verify

image

  1. 测试使用

如果是 mac 快捷键 command+l 打开聊天框,选择模型 my-claude3.5sonnet

image

然后输入你的问题,回车即可

image

查看对应的消费日志(https://api.bigmodel.org/log)

image

本站文章如未注明出处均为原创,转载请注明出处,如有侵权请邮件联系站长。
0/500
Share your thoughts respectfully.