Claude Code中接入任意模型的API转换工具

先上项目地址: GitHub - yansd001/claude-api-proxy: Claude API 代理配置 · GitHub 使用教程: 0、安装包下载地址 https://github.com/yansd001/claude-api-proxy/releases/download/v0...
Claude Code中接入任意模型的API转换工具
Claude Code中接入任意模型的API转换工具

先上项目地址:GitHub - yansd001/claude-api-proxy: Claude API 代理配置 · GitHub

使用教程:
0、安装包下载地址https://github.com/yansd001/claude-api-proxy/releases/download/v0.0.3/claude-api-proxy-windows-amd64.zip
也可以访问项目后到release中去下载

1、下载解压后,直接双击运行claude-api-proxy.exe,然后浏览器访问http://localhost:8000

image

2、浏览器打开后的截图如下,直接点击一键配置代理到Claude Code

image

3、配置其他模型,点击 提供商 :right_arrow:一键添加 ,进行配置,只需要输入baseurl和APIkey即可

image
image
默认配置了gpt-5.4和gpt-5.4-mini模型,可以自己下拉选择或者输入指定模型修改
这样就算是配置完成了,可以进入claude code测试

4、如果需要使用Claude模型,则需要在接入信息页面开启直连并配置APIKey

image

5、注意不要关闭claude-api-proxy程序,这个转换工具需要一直运行才行

3 个帖子 - 3 位参与者

阅读完整话题

来源: linux.do查看原文