The Decoder· Jonathan Kemper·· 3 天前AI 评分76
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”后缀指定路由策略,现有代码无需修改。语言模型提供商不再支持自带 API key,但图像和视频提供商仍保留该选项。
来源:The Decoder · the-decoder.com