@zhalice2011Kiro2API一键部署, 在claude code中免费使用claude-sonnet-4-20250514模型 中发帖

目前没有其他比较好的方式免费使用claude-sonnet-4-20250514模型了, 但是使用其他模型效果没有这么好, 我也是刚开始使用, 可能会封号. 
使用方法:
git clone https://github.com/zhalice2011/ki2api.git
cd ki2api
docker-compose up -d

启动起来就可以得到如下的API
“api_base_url”: “http://localhost:8989/v1/chat/completions”,
“api_key”: “ki2api-key-2024”,
可以搭配claude-code-router进行使用claude code,下面是我的配置
[image]
claude code 使用效果
[image]
参考L站两位大佬的项目:


如有侵权, 请联系我, 马上删除QAQ ...