想使用 OpenRouter?先了解这些问题
英文标题:So you want to use OpenRouter?
OpenRouter 的卖点之一是自动处理故障转移,并为每次请求选择最具成本效益的后端提供商。Mohamed Moustafa 指出,不同提供商使用不同的推理服务软件、优化方案和配置,因此同一个 OpenRouter 模型端点可能产生不同的行为。部分提供商甚至不支持视觉模型的视觉能力,对 reasoning effort 选项的处理方式也可能不同。开发者可通过 `provider.only` 限制路由提供商,并使用 `/endpoints` 查询特定模型可用的提供商列表。
中文
2026 年 9 月 11 日 - Link Blog
想使用 OpenRouter?(来源)OpenRouter 的卖点之一是,它会“自动处理故障转移,并为每次请求选择最具成本效益的选项”,因此你可以通过单一 API 端点调用某个模型,并被路由至当前最佳可用的后端提供商。
Mohamed Moustafa 指出,这可能以多种方式导致问题。不同提供商运行着不同的推理服务软件,采用不同的优化方案和配置,这意味着同一个 OpenRouter 端点可能会将模型请求发送到行为不同的后端。
有些提供商甚至不具备视觉模型所需的视觉能力,而 reasoning effort 选项的处理方式也可能存在差异。
幸运的是,你可以使用 provider.only 选项控制请求会被路由到哪些提供商。/endpoints 方法会返回指定模型 ID 可用的提供商列表。
English / 原文
11th September 2026 - Link Blog
So you want to use OpenRouter? (via) One of OpenRouter's selling points is that it "handles fallbacks automatically and picks the most cost-effective option for each request", so you can call a single API endpoint for a model and get routed to the best available backend provider.
Mohamed Moustafa points out a whole set of ways that this can cause you problems. Different providers run different serving software with different optimizations and settings, which means that the same OpenRouter endpoint can serve model requests that behave in different ways.
Some providers even lack vision capability for vision models, and the way the reasoning effort option is processed can differ as well.
Thankfully you can control which provider is routed to using the provider.only option. The /endpoints method returns the list of available providers for a specific model ID.