type
Post
status
Published
date
Feb 27, 2026
slug
summary
将各种API调度给claude使用
tags
开发
category
技术分享
icon
password
现在各个大模型厂商的codingplan套餐都涨价了,为了最大限度在claude里面使用网上的免费模型服务,我使用CLIProxyAPI结合cc-switch,可以将各种API调度给claude使用。

一、CLIProxyAPI是什么?

CLIProxyAPI 是一个为 CLI 提供 OpenAI/Gemini/Claude/Codex 兼容 API 接口的代理服务器。你可以使用本地或多账户的CLI方式,通过任何与 OpenAI(包括Responses)/Gemini/Claude 兼容的客户端和SDK进行访问。

二、github项目地址

https://github.com/router-for-me/CLIProxyAPI

三、帮助文档:

https://help.router-for.me/cn/introduction/quick-start.html

四、一键安装脚本

macOS

Linux

一键安装脚本

  • 修改配置文件

五、UI界面地址

http://localhost:8317/management.html#/login
59db2b32059ea7eda6b9fc49ad948487.png
 
ae7a85ece0d0cd3de44dd3e87ac52ee1.png
 

六、cc-Switch配置

七、使用效果

149ce9f1839e768a088f5f56317a2528.png
149ce9f1839e768a088f5f56317a2528.png
9cdfeaa2fa1d697a7d3c6fb407b6d4b1.png
 
WSL + Ubuntu + Docker 优化建议 从 GitHub 敏感到云端数据库:我是如何重构个人导航网站的
Loading...