:floor variant optimizes for cost. When you use :floor, OpenRouter sorts the model’s providers by price and also makes flex service tier endpoints eligible, so a provider’s discounted flex tier can serve the request when it is the cheapest option.
Usage
Append:floor to any model ID:
How it works
:floor does two things:
- Sorts all eligible endpoints by price, the same effect as setting
provider.sortto"price". - Admits flex service tier endpoints into the eligible pool. Unlike the
service_tier: "flex"parameter, which restricts routing to flex endpoints,:floorkeeps the whole pool: flex endpoints simply compete on price. Since flex pricing is discounted, flex endpoints tend to sort first, with regular endpoints as the next-cheapest fallback if a flex endpoint is unavailable.
provider.sort to "price" instead of using :floor.