Loading...
Loading...
Compare original and translation side by side
.envsecrets/env.json⚠️ Pricing depends on BOTH model AND provider. Always verify pricing on the provider's website.
.envsecrets/env.json⚠️ 定价同时取决于模型和服务商。请务必在服务商官网核实定价信息。
| File | Purpose |
|---|---|
| API keys, endpoints |
| Encrypted secrets (use sops) |
| Model routing config |
| Service name → config mapping |
| Pricing, provider, aliases, description |
| 文件 | 用途 |
|---|---|
| API密钥、端点 |
| 加密的密钥(使用sops) |
| 模型路由配置 |
| 服务名称→配置映射 |
| 定价、服务商、别名、描述 |
| File | Purpose |
|---|---|
| API keys, endpoints |
| Encrypted secrets (use sops) |
| Model handlers |
| Pricing, provider, aliases, description |
| 文件 | 用途 |
|---|---|
| API密钥、端点 |
| 加密的密钥(使用sops) |
| 模型处理器 |
| 定价、服务商、别名、描述 |
| Action | | Config/Handler | Registry |
|---|---|---|---|
| New model | ✅ | ✅ | ✅ (pricing!) |
| Change endpoint only | ✅ | - | - |
| Change provider | ✅ | ✅ | ✅ (pricing!) |
| Make paid-only | - | - | ✅ ( |
| Disable model | - | ✅ (remove) | ✅ (remove) |
| 操作 | | Config/Handler | 注册表 |
|---|---|---|---|
| 新增模型 | ✅ | ✅ | ✅(需设置定价!) |
| 仅修改端点 | ✅ | - | - |
| 修改服务商 | ✅ | ✅ | ✅(需设置定价!) |
| 设置为仅付费可用 | - | - | ✅( |
| 禁用模型 | - | ✅(移除配置) | ✅(移除记录) |
sops -d <service>/secrets/env.json > /tmp/plain.jsonsops -d <service>/secrets/env.json > /tmp/plain.jsonundefinedundefined