{"uid":"cap_fQ54rEccQgJOCATLCJF4h","slug":"modelprices-xyz-cheapest-function-calling-llm-leaderboard-70d959bc","name":"modelprices.xyz Cheapest Function-Calling LLM Leaderboard","description":"Cheapest tool-use LLM leaderboard: the 50 lowest-cost AI models that support function calling / tool use, ranked by token price across 70+ providers. Input, output and cache USD per 1M tokens with context window and modality flags joined in. The cheapest way to pick a model for an agent loop that needs reliable structured tool calls. Refreshed hourly.","url":"https://modelprices.xyz/llm/cheapest/function-calling","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET"],"type":"string"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_q7uvQUe0fiZMTejwAZVhl","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns the 50 lowest-cost AI models that support function calling / tool use, ranked by token price across 70+ providers, with input/output/cache pricing and context window details.","exampleAgentPrompt":"Show me the 50 cheapest AI models that support function calling right now, with their input, output, and cache prices per million tokens — I want to pick the most affordable option for my agent loop.","exampleUseCases":[{"title":"Budget agent loop model selection","prompt":"I'm building an AI agent that needs to call tools reliably — what are the cheapest models available right now that support function calling? Show me the top options with their per-token costs."},{"title":"Cost comparison across providers","prompt":"Can you pull up the current leaderboard of lowest-cost function-calling models and tell me which providers are offering the best deals on tool-use LLMs?"},{"title":"Optimize inference spend for agentic pipeline","prompt":"Our agentic pipeline is getting expensive — find me the cheapest models that support structured tool calls so I can swap out our current model and cut costs."}],"resultDescription":"A ranked list of up to 50 AI models supporting function calling / tool use, ordered by cost. Each entry includes model name, provider, input price (USD per 1M tokens), output price (USD per 1M tokens), cache price (USD per 1M tokens), context window size, and modality flags. Data is refreshed hourly.","failureModes":["HTTP 402 if payment header is missing or invalid USDC amount","Stale data if hourly refresh is delayed (up to 1 hour lag)","Empty or partial results if upstream provider pricing data is unavailable","Rate limiting if called too frequently without valid payment"],"whenToPreferThis":"Choose this endpoint when you need to quickly identify the cheapest AI models that specifically support function calling / tool use, and want a pre-ranked leaderboard across 70+ providers rather than querying each provider individually. Ideal for agent orchestration systems that need to minimize inference cost while maintaining tool-call reliability. Prefer this over the general cheapest-LLM endpoint when tool/function-calling support is a hard requirement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:47:02.283Z","isFirstParty":false}