{"uid":"cap__51OtLGb6meuLc4x8C8Ui","slug":"stack-facts-cheapest-llm-models-lookup-73eacf99","name":"Stack Facts: Cheapest LLM Models Lookup","description":"Check a package before install: malware, known vulnerabilities (OSV), exploited CVEs (CISA KEV) and end-of-life, plus LLM prices; signed answers, pay per call in USDC, no account or API key.","url":"https://g5joilnmeep4ntz3nwezxt5dmu.srv.us/v1/models/cheapest?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"tools":{"type":"boolean"},"vision":{"type":"boolean"},"providers":{"type":"array","items":{"type":"string","maxLength":40},"maxItems":20,"minItems":1},"min_context":{"type":"integer","minimum":1},"include_free":{"type":"boolean"},"max_usd_per_mtok":{"type":"number","minimum":0},"include_deprecated":{"type":"boolean"}}},"responseSchema":{"type":"json","example":{"data":{"filter":{"applied":{},"matched":24,"reasons":{},"excluded":{},"returned":10,"considered":36},"ranking":"blended_usd_per_mtok = (3 × inp…","results":[{"id":"cohere/command-r-08-2024","name":"Command R","rank":1,"vision":false,"reasoning":false,"tool_call":true,"deprecated":false,"context_tokens":128000,"sources_disagree":[],"max_output_tokens":4000,"input_usd_per_mtok":0.15,"output_usd_per_mtok":0.6,"blended_usd_per_mtok":0.2625,"days_until_deprecation":null,"cache_read_usd_per_mtok":null}]},"meta":{"as_of":"2026-10-09T06:00:00Z","stale":false,"key_id":"sf-test-1","notice":"Normalised (modified) from the …","sha256":"f99d55c9aa420561de698d63d70d916…","source":"https://raw.githubusercontent.c…","dataset":"models","licence":"MIT","signature":"AvlI5FXM8fD9oncZAr9velQseOBO9X7…","attribution":"Pricing data derived from LiteL…","snapshot_id":"models-20261009T060000Z-f99d55c9","manifest_url":"/v1/models/manifest","retrieved_at":"2026-10-09T06:00:00.000Z"}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.008/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.008","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_SLj8qYwYcMQUL7VpuCscD","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.008","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a ranked list of the cheapest LLM models matching filters like tool-calling, vision, context length, and provider, with signed pricing data paid per call in USDC.","exampleAgentPrompt":"Find me the cheapest 10 models that support tool calling and have at least 128k context, excluding free and deprecated models — I want them ranked by blended cost per million tokens.","exampleUseCases":[{"title":"Cost-optimized model selection for agentic pipeline","prompt":"I'm building an agent that needs tool calling and at least 128k context — find me the cheapest non-deprecated models ranked by blended price per million tokens, excluding free tiers."},{"title":"Budget-capped model shortlist for startup","prompt":"Show me all LLM models under $0.50 per million tokens blended that support vision, excluding deprecated ones — I need to keep costs tight for my startup."},{"title":"Provider-specific pricing comparison","prompt":"Compare the cheapest models from Cohere and Mistral that support tool calling — I want to see their input, output, and blended prices ranked from cheapest to most expensive."}],"resultDescription":"A JSON object containing a ranked list of matching LLM models with their input/output/blended prices per million tokens, context window sizes, tool-call and vision support flags, deprecation status, and days until deprecation. Also includes filter summary (how many models were considered, matched, and excluded by each criterion), a ranking formula explanation, and signed metadata (SHA256 hash, cryptographic signature, source URL, dataset licence, snapshot ID, and staleness flag) for verifiable data provenance.","failureModes":["Payment not received or insufficient USDC — returns 402 Payment Required","Invalid filter parameters (e.g. negative min_context, invalid provider string) — returns 400 Bad Request","No models match the applied filters — returns result with matched:0 and empty results array","Data snapshot is stale — meta.stale flag is true, indicating pricing data may be outdated","Network timeout or server error — returns 5xx error"],"whenToPreferThis":"Choose this endpoint when you need a cryptographically signed, pay-per-call ranked list of cheapest LLM models with rich filtering (tool calling, vision, context length, provider, price cap). It is especially useful for AI agents that need to dynamically select the most cost-effective model without maintaining their own pricing database, and when verifiability of the data (via SHA256 + signature) is important. Prefer this over static LLM pricing pages or self-maintained spreadsheets when freshness, auditability, and programmatic filtering are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:40:42.952Z","isFirstParty":false,"canonicalSlug":"stack-facts-cheapest-llm-models-lookup-73eacf99"}