用尽订阅配额
先用完已有配额,再动用付费 API。
priority · fill-firstOmniRoute / 路由与控制
查看路由策略、免费额度计量、压缩、故障隔离和网络控制。
路由策略
使用现成模式,或围绕你关心的目标组合 19 种策略。
autoBalanced defaultcurl http://localhost:20128/v1/chat/completions \
-H "Content-Type: application/json" \
-d '{"model":"auto","messages":[{"role":"user","content":"Write a TypeScript retry helper."}]}'Routing alias auto selected. Objective: Balanced default. Fallback enabled.
先用完已有配额,再动用付费 API。
priority · fill-first在密钥和账户之间均衡流量,降低速率限制压力。
weighted · round-robin · p2c · least-used · headroom路由到成本最低的合格目标。
cost-optimized把长上下文留给容得下的模型,必要时再中继。
context-relay · context-optimized · cache-optimized把合格流量分散到各个目标。
random · strict-random使用 15 因子评分、最近可用记录和感知重置的时间窗口。
reset-window · reset-aware · lkgp · auto · fusion · pipeline免费额度计量
455 条目录条目去重为 40 个周期性额度池;只有公开的正向预算计入头条数字。
1.51B
池去重计量避免共享配额被重复计算。无上限的提供商保持可见,但不会抬高 token 总数。 Checked 2026-08-30.
View the calculation (在新标签页中打开)上下文压缩
工具输出、重复上下文和臃肿的结构化数据可以在到达模型之前被压缩。
Illustrative Ultra profile example from the audited documentation.
The function should iterate over the list of items, and for each item, it should check whether the value is greater than zero, and if so, add it to the running total.sum all list items where value > 0x-omniroute-compression: standard已选择 Standard 压缩。公开范围 ~30%。
控制优先级:请求头 → 组合 → 配置 → 自适应策略 → 默认值。
故障隔离
一个坏密钥不该拖垮提供商。一个受限模型不该拖垮连接。
网络与本地数据控制
代理作用域控制网络路由,本地优先存储把运行数据留在你的机器上。
全局、按提供商或按单个连接路由。
匹配受支持的提供商客户端,直至选定的传输层特征。
密钥、用量和历史留在你掌控的主机上。