Skip to main content
Glama

LLM API Pricing and Automation Tools by shurco.ai

Find the cheapest LLM APIs

llm_cheapest_models
Read-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
NameRequiredDescriptionDefault
limitNoHow many models to return, 1 to 25. Default 10.
sort_byNoWhat to rank by. Default blended.
modalityNoAn input type the model must accept.
providerNoProvider name such as OpenAI, Anthropic, Google, DeepSeek or Mistral.
min_context_tokensNoSmallest acceptable context window, in tokens.
max_input_usd_per_million_tokensNoPrice ceiling for input, US dollars per million tokens.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources