the402 endpoint detail

← All endpoints

modelprices.xyz llm cheapest

https://modelprices.xyz/llm/cheapest

payable

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

We sent a real GET request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.005
Network
base
Pay to
0x63a20fa244d3E6a8902121E99704b7F857dc6EBB
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
GET
Response latency
182 ms
Payment options
1 usable of 1
Last checked
2026-08-10T09:12:22.746Z (4d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fmodelprices.xyz%2Fllm%2Fcheapest"