oai格式的api怎么在cc用

2026-04-11 14:221阅读0评论SEO基础
  • 内容介绍
  • 文章标签
  • 相关推荐
问题描述:

问问,cpa的这个配置好了,然后怎么给cc用
image300×112 2.38 KB

网友解答:
--【壹】--:

请问怎么写呀,我没搞明白


--【贰】--:

怪怪的,我cherrystudio写的这个可以
image491×244 3.78 KB


--【叁】--:

http://localhost:8317,http://localhost:8317/v1也都不行


--【肆】--:

API Error: 502 {“error”:{“message”:“unknown provider for model claude-opus-4-6”,“type”:“server_error”,“code”:“internal_server_error”}}


--【伍】--:

感觉是模型名称不对,佬可以配置gpt-5.4(xhigh)试一下


--【陆】--:

用ccr吧 GitHub - musistudio/claude-code-router: Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic. · GitHub


--【柒】--:

image1046×440 61.3 KB
如图所示


--【捌】--:

image728×282 17.8 KB
还是不行,cherrystudio可以


--【玖】--:

映射然后配置文件写对应的模型就行和 cpa 地址就行。不过为什么在 cc 使用。codex 明显比 cc 好点(使用 oai 的 key)


--【拾】--: 叼毛佬:

还是不行,cherrystudio可以

baseurl到端口号试试


--【拾壹】--:

你到底在写啥啊 一会oai格式 落地又是 anthropic 模型
折腾自己玩呢


--【拾贰】--:

用的claude想的配合cc,(很奇怪oai格式的Claude)


--【拾叁】--:

BASE_URL 写错了吧?


--【拾肆】--:

我也不会


--【拾伍】--: 咸鱼:

image1046×440 61.3 KB

如图所示

我跟这位佬配置的一样,可以用的,你那边报错信息是什么?


--【拾陆】--:

不要管cherrystudio,就是你配置的问题
用ccs把base_url直接写到端口就行了,CPA里面配置好供应商后,还需要添加对应模型,然后在cpa里面开启日志,看看指向到哪了,根据报错来改


--【拾柒】--:

我想用免费的Claude opus 4.6,但是只有blink有供应,但是供应的又是oai格式,我想Claude配cc用,所以想用cpa转一下

标签:快问快答
问题描述:

问问,cpa的这个配置好了,然后怎么给cc用
image300×112 2.38 KB

网友解答:
--【壹】--:

请问怎么写呀,我没搞明白


--【贰】--:

怪怪的,我cherrystudio写的这个可以
image491×244 3.78 KB


--【叁】--:

http://localhost:8317,http://localhost:8317/v1也都不行


--【肆】--:

API Error: 502 {“error”:{“message”:“unknown provider for model claude-opus-4-6”,“type”:“server_error”,“code”:“internal_server_error”}}


--【伍】--:

感觉是模型名称不对,佬可以配置gpt-5.4(xhigh)试一下


--【陆】--:

用ccr吧 GitHub - musistudio/claude-code-router: Use Claude Code as the foundation for coding infrastructure, allowing you to decide how to interact with the model while enjoying updates from Anthropic. · GitHub


--【柒】--:

image1046×440 61.3 KB
如图所示


--【捌】--:

image728×282 17.8 KB
还是不行,cherrystudio可以


--【玖】--:

映射然后配置文件写对应的模型就行和 cpa 地址就行。不过为什么在 cc 使用。codex 明显比 cc 好点(使用 oai 的 key)


--【拾】--: 叼毛佬:

还是不行,cherrystudio可以

baseurl到端口号试试


--【拾壹】--:

你到底在写啥啊 一会oai格式 落地又是 anthropic 模型
折腾自己玩呢


--【拾贰】--:

用的claude想的配合cc,(很奇怪oai格式的Claude)


--【拾叁】--:

BASE_URL 写错了吧?


--【拾肆】--:

我也不会


--【拾伍】--: 咸鱼:

image1046×440 61.3 KB

如图所示

我跟这位佬配置的一样,可以用的,你那边报错信息是什么?


--【拾陆】--:

不要管cherrystudio,就是你配置的问题
用ccs把base_url直接写到端口就行了,CPA里面配置好供应商后,还需要添加对应模型,然后在cpa里面开启日志,看看指向到哪了,根据报错来改


--【拾柒】--:

我想用免费的Claude opus 4.6,但是只有blink有供应,但是供应的又是oai格式,我想Claude配cc用,所以想用cpa转一下

标签:快问快答