Vibeleaderboard
← All Intel
Intel / article

How To Get The Lowest Cost Llm Inference On Openrouter

Source
openrouter.ai
Author
OpenRouter
Date

Context

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 choose a tradeoff explicitly. It can prioritize among providers below a price ceiling, rather than always selecting the lowest price. These settings govern provider rates per million . 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.

Get the Brief

A cited digest of what matters for people building with AI, every morning. Unsubscribe anytime. See today’s edition

Read the source openrouter.ai
More from OpenRouter
Recommended reads