
























The :nitro suffix now works universally across all models! Instead of appearing as separate endpoints, :nitro is a shortcut that sorts providers by throughput (tokens per second). This allows you to always get the fastest available provider for your chosen model.
{
"model": "meta-llama/llama-3.1-70b-instruct:nitro",
"messages": [{ "role": "user", "content": "Hello" }]
}
This is equivalent to setting provider.sort to "throughput" in the API.
Want to minimize costs? The :floor shortcut ensures OpenRouter always selects the lowest-priced provider for your model.
{
"model": "meta-llama/llama-3.1-70b-instruct:floor",
"messages": [{ "role": "user", "content": "Hello" }]
}
This is equivalent to setting provider.sort to "price" in the API.
If you want more explicit control over provider selection, you can set the sort field in provider preferences. This disables OpenRouter’s default load balancing and orders providers based on your chosen attribute:
"price": Prioritize the lowest-cost provider"throughput": Prioritize the fastest provider (highest tokens/sec)"latency": Prioritize the lowest-latency provider{
"model": "meta-llama/llama-3.1-70b-instruct",
"messages": [{ "role": "user", "content": "Hello" }],
"provider": {
"sort": "throughput"
}
}
Get ready for faster and more cost-effective AI access with these new shortcuts! 🎉
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。