{"slug":"modelprices-xyz-llm-cheapest-bb6a56","title":"Cheapest-model query","host":"modelprices.xyz","method":"GET","resource":"https://modelprices.xyz/llm/cheapest","category":"market","description":"Cheapest-model query: returns the lowest-cost AI models matching your constraints — min_context (tokens), vision/function_calling/reasoning (true), max_input_per_mtok (USD cap), limit (default 5). Add expected_input/expected_output token counts to rank by blended USD per request instead of input pri","price_listed":0.005,"price_asked":0.01,"state":"overcharges","state_label":"Asked 2.0x its listed price for its own example","checks_7d":1,"answered_7d":1,"latency_ms_median":925,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"expected_input":2000,"expected_output":500,"limit":3,"min_context":200000,"vision":true},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"properties":{"exclude_preview":{"description":"Exclude preview/pre-release model versions","type":"boolean"},"expected_input":{"description":"Expected input tokens per request — with expected_output, ranks by blended USD per request instead of input price","type":"number"},"expected_output":{"description":"Expected output tokens per request","type":"number"},"function_calling":{"type":"boolean"},"limit":{"default":5,"maximum":25,"type":"integer"},"max_input_per_mtok":{"description":"Max input price in USD per 1M tokens","type":"number"},"min_context":{"description":"Minimum context window in tokens","type":"integer"},"reasoning":{"type":"boolean"},"vision":{"type":"boolean"}},"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-09-24","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.01,"price_match":false,"latency_ms":925,"error":null}],"description_full":"Cheapest-model query: returns the lowest-cost AI models matching your constraints — min_context (tokens), vision/function_calling/reasoning (true), max_input_per_mtok (USD cap), limit (default 5). Add expected_input/expected_output token counts to rank by blended USD per request instead of input price; exclude_preview=true skips pre-release models. Answers 'what is the cheapest model that can do X?' across 2,000+ models and 70+ providers.","last_updated":"2026-08-28T15:29:20.318Z","schemes":["exact"]}