Find the cheapest LLM APIs
llm_cheapest_modelsRead-onlyIdempotent
The cheapest models that meet your constraints, ranked by price. Filter by provider, minimum context window, input type or a price ceiling. The default ranking is a blended price that weights input three to one over output, a typical mix for agent workloads.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many models to return, 1 to 25. Default 10. | |
| sort_by | No | What to rank by. Default blended. | |
| modality | No | An input type the model must accept. | |
| provider | No | Provider name such as OpenAI, Anthropic, Google, DeepSeek or Mistral. | |
| min_context_tokens | No | Smallest acceptable context window, in tokens. | |
| max_input_usd_per_million_tokens | No | Price ceiling for input, US dollars per million tokens. |