Connect your agent
For agents: JSON · MCP

modelprices.xyz

x402Grade BLast checked 4 hours ago

GET https://modelprices.xyz/llm/cheapest/function-calling

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.

Price$0.01per price or market lookup · paid in USD on Base
Uptime100%
4/4 probes · 1118 ms
Score72Grade B
Paid usage, 30 days2payers · 2 calls

How to buy

This endpoint takes pay-per-call payments over x402. Call it once without paying to see its live price; any x402 client then pays and retries automatically.

curl -i -X GET "https://modelprices.xyz/llm/cheapest/function-calling"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the response

Recent checks

Checked (UTC)ResultStatusTimeLive price
2026-10-11 09:00Valid 402402995 ms$0.01
2026-10-11 04:30Valid 4024021702 ms$0.01
2026-10-11 00:00Valid 4024021241 ms$0.01
2026-10-10 19:15Valid 402402761 ms$0.01

Receipts

No test purchases yet. Graded test purchases are next on our list; until then every number here comes from unpaid checks.

What a check proves