The Decoder· Jonathan Kemper·· 12 天前AI 评分62
Hugging Face 将语言模型请求默认经由 OpenRouter 路由,可用后缀选择最快或最便宜提供商
Hugging Face now routes model requests through OpenRouter for the best price or speed
AI 导读
Hugging Face 宣布 Inference Providers 的语言模型请求现在默认经由 OpenRouter 路由,按价格、速度和可靠性为每次调用挑选提供商,故障时自动切换,现有代码无需改动;":fastest" 和 ":cheapest" 后缀可分别指定最高吞吐与最低价提供商,"X-HF-Session-Id" 请求头让路由考虑提供商缓存。
来源:The Decoder · the-decoder.com