{"uid":"cap_XuhhE5hGbhbaBdpGRtPC3","slug":"llm-model-price-table-find-cheapest-models-23673d0c","name":"LLM Model Price Table – Find Cheapest Models","description":"Ranks models cheapest first by blended USD per 1M tokens (inputShare weights input vs output). Filter by provider, mode, minContextTokens, input/output modality, function calling, vision and price caps. Skips sample_spec and models past their deprecation date.","url":"https://llm-model-price-table.x402supply.com/tools/find_cheapest_models?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"mode":{"enum":["chat","completion","embedding","image_generation","audio_transcription","audio_speech","rerank","moderation","responses","realtime"],"type":"string","default":"chat","description":"Model mode. Default chat"},"limit":{"type":"integer","default":10,"maximum":50,"minimum":1,"description":"Maximum models to return, 1-50"},"provider":{"type":"string","maxLength":60,"description":"LiteLLM provider id, e.g. openai, anthropic, gemini, groq. Case-insensitive exact match. Omit for all providers"},"inputShare":{"type":"number","default":0.75,"maximum":1,"minimum":0,"description":"Share of input tokens in your workload, 0-1. Blended = in*share + out*(1-share). Default 0.75"},"inputModality":{"enum":["text","image","audio","video"],"type":"string","description":"Require this input modality"},"requireVision":{"type":"boolean","default":false,"description":"Only models that accept image input"},"outputModality":{"enum":["text","image","audio","video","code"],"type":"string","description":"Require this output modality"},"minContextTokens":{"type":"integer","maximum":100000000,"minimum":1,"description":"Minimum max_input_tokens context window"},"maxInputPricePerM":{"type":"number","minimum":0,"description":"Cap on input USD per 1M tokens"},"maxOutputPricePerM":{"type":"number","minimum":0,"description":"Cap on output USD per 1M tokens"},"requireFunctionCalling":{"type":"boolean","default":false,"description":"Only models that support function/tool calling"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_jhouNTOSZsZdB16QOsnLO","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Ranks LLM models by blended cost (USD per 1M tokens) cheapest first, with filtering by provider, mode, context window, modalities, function calling, vision, and price caps.","exampleAgentPrompt":"Find me the top 5 cheapest chat models that support function calling and have at least a 32,000-token context window — my workload is about 80% input tokens, so weight the pricing accordingly.","exampleUseCases":[{"title":"Budget model for high-volume chat app","prompt":"I'm building a chat app and need the 10 cheapest models available for chat mode — my traffic is roughly 70% input tokens and 30% output, so factor that in when ranking by price."},{"title":"Cheapest vision-capable model search","prompt":"Which LLM models support image input (vision) and are the cheapest? Give me the top 5, assuming my workload is split evenly between input and output tokens."},{"title":"Provider-specific cost comparison for embeddings","prompt":"Show me the cheapest embedding models available from OpenAI — I need at least a 8,192-token context window and want to see up to 10 results ranked by blended cost."}],"resultDescription":"A ranked list (cheapest first) of LLM models matching the specified filters, including blended USD price per 1M tokens, provider, model name, context window size, and supported modalities. Deprecated models and sample specs are excluded.","failureModes":["No models match the specified filters (overly restrictive combination of provider, mode, context window, and modality)","Invalid provider ID returns empty results or error","Payment not processed (x402 payment required, $0.005 USDC per call)","minContextTokens set too high with no matching models","Price cap too low to return any models"],"whenToPreferThis":"Use this endpoint when you need to programmatically compare and rank LLM models by cost across multiple providers, especially when optimizing for a specific input/output token ratio, required capabilities (vision, function calling), or minimum context window. Prefer this over manually checking provider pricing pages or using a general-purpose search.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:30:13.167Z","isFirstParty":false,"canonicalSlug":"llm-model-price-table-find-cheapest-models-23673d0c"}