注册机后要怎么免费使用ai呢?试试CLIProxyAPI
一般注册机会产生json文件 然后你导入到cliproxyapi就可以了
在你的opencode/cc或者cherry studio 使用就可以了
“baseURL”: “http://localhost:9317/v1”,
“apiKey”: “sk-6Tmxxxx”
CLIProxyAPI 是一个为 CLI 提供 OpenAI/Gemini/Claude/Codex 兼容 API 接口的代理服务器。
您可以使用本地或多账户的CLI方式,通过任何与 OpenAI(包括Responses)/Gemini/Claude 兼容的客户端和SDK进行访问。

本地运行也可以
# 克隆仓库
git clone https://github.com/router-for-me/CLIProxyAPI.git

# 进入目录
cd CLIProxyAPI
go run .\cmd\server\main.go
然后访问
http://localhost:9317/management.html#/system

上传json文件 就可以访问了
具体配置:
务器默认使用项目根目录的 YAML 配置文件(config.yaml)

在你的opencode/cc或者cherry studio 使用就可以了
“baseURL”: “http://localhost:9317/v1”,
“apiKey”: “sk-6Tmxxxx”
