7.4 billion tokens per month. 34 free LLM providers. 635 free model endpoints. All behind one /v1 endpoint, plus any custom OpenAI-compatible endpoint. Smart routing, automatic failover, encrypted keys. Personal experimentation only.
TypeScript
English · 简体中文
支持的智能体
Claude Code |
Codex CLI |
Gemini CLI |
Cursor |
Cline |
Roo Code |
OpenCode |
Aider |
Continue |
Goose |
Qwen Code |
Kilo Code |
Crush |
Zed |
JetBrains AI |
DeepSeek Harness |
AtomCode |
OpenClaw |
Hermes Agent |
Pi |
Reasonix |
ZCode |
下列智能体都连接同一个本地网关。大多数只需一条命令即可完成配置:它读取你实时的
/v1/models 目录,先备份现有配置再合并写入,你的其他服务商配置保持不变:
npx freellmapi setup-<agent> --url http://localhost:3001 --api-key <unified-key>
加 --dry-run 先查看差异,--profile <name> 新增一个条目而不改动默认设置,
--model <id> 固定使用某个模型。控制台的 Agents 页面会显示同样的命令,并自动填入你的密钥。
| 智能体 | 配置方式 | Base URL |
|---|---|---|
| Claude Code | setup-claude 或 launch |
root |
| Codex CLI | setup-codex 或 launch-codex |
/v1 (Responses) |
| Gemini CLI | 手动配置,原生协议 | /v1beta |
| Cline | setup-cline |
/v1 |
| Roo Code | setup-roo |
/v1 |
| Continue | setup-continue |
/v1 |
| Aider | setup-aider |
/v1 |
| OpenCode | setup-opencode |
/v1 |
| Goose | setup-goose |
/v1 |
| Qwen Code | setup-qwen |
/v1 (或原生 /v1beta) |
| Kilo Code | setup-kilo |
/v1 |
| Crush | setup-crush |
/v1 |
| DeepSeek Harness | setup-dsh |
/v1 |
| MiMo Code | setup-mimo |
/v1 |
| AtomCode | setup-atomcode |
/v1 |
| OpenClaw | setup-openclaw |
/v1 |
| Hermes Agent | setup-hermes |
/v1 |
| Pi | setup-pi |
/v1 |
| Reasonix | setup-reasonix |
/v1 |
| ZCode | setup-zcode |
/v1 |
| Zed, JetBrains AI | Ollama 模拟 | Ollama /api |
| Cursor | setup-cursor 输出配置指南 |
公网 https://…/v1 |
| 其他客户端 | setup-generic 输出可直接使用的配置 |
/v1 |
Claude Code 使用服务器根地址,因为它会自行追加 Anthropic Messages 路径;所有 OpenAI
兼容的智能体都使用 /v1 地址。各工具的细节(写入哪个文件、密钥存放位置、一次性测试命令)见
客户端与编程智能体。