OpenRouter's cost guide distinguishes choosing the cheapest provider from refusing an expensive request. Adding the :floor suffix prioritizes providers by price for a chosen model. Setting max_price instead excludes providers whose input or output rates exceed the specified ceilings; if none qualify, the request fails.
That distinction lets an ApplicationSoftware arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.Full definition → choose a tradeoff explicitly. It can prioritize throughputHow much model output a provider can generate over time, commonly measured in output tokens per second.Full definition → among providers below a price ceiling, rather than always selecting the lowest price. These settings govern provider rates per million TokenA piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.Full definition →. A lower rate still leaves total spending dependent on how much the application generates and consumes.
Terms in this piece · Glossary
Application — Software arranged so that a person can use it; in this course, the software around a model that accepts your request, prepares the context and shows the reply.
throughput — How much model output a provider can generate over time, commonly measured in output tokens per second.
Token — A piece of text, such as a word, part of a word or a punctuation mark, that a language model represents as numbers and handles as a unit.
quantization — Shrinking a model by storing its numbers less precisely — like rounding — so it runs faster and fits on smaller hardware, at a small quality cost.