modelprices.xyz
GET https://modelprices.xyz/llm/price/:model
Listed in Coinbase x402 Bazaar
Single-model price lookup: current per-token cost for one AI model by id (e.g. claude-sonnet-5, gpt-5, gemini-3-pro) — input, output, cache and batch USD per 1M tokens. The cheapest way to answer 'what does this model cost right now?' inside a routing or budgeting decision. Fuzzy-matches model ids and suggests alternatives on miss. Includes provenance: provider source URL, first_observed_at, confidence tier.
Other endpoints from modelprices.xyz
The same service's other paid functions that Hagglyai tracks, each with its own price. Functions outside Hagglyai's categories are not listed.
| Endpoint | Category | Price per call |
|---|---|---|
| GET /claude-pricing | LLM inference | $0.01 |
| GET /gemini-pricing | LLM inference | $0.01 |
| GET /gpt-pricing | LLM inference | $0.01 |
| GET /llama-pricing | LLM inference | $0.01 |
| GET /llm/cheapest/function-calling | Crypto prices & market data | $0.01 |
| GET /llm/cheapest/long-context | LLM inference | $0.01 |
| GET /llm/cheapest/million-token-context | LLM inference | $0.01 |
| GET /llm/cheapest/reasoning | LLM inference | $0.01 |
| GET /llm/cheapest/vision | LLM inference | $0.01 |
| GET /llm/context-windows | LLM inference | $0.01 |
| GET /qwen-pricing | LLM inference | $0.01 |
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/price/:model'
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseEstimated calls per day
Paid calls to modelprices.xyz's tracked endpoints each day, estimated from the 30-day totals the x402 catalogues report. Each bar is the change in that 30-day total since the day before, plus the calls that left the 30-day window (taken as an average day). It is an estimate: Hagglyai does not measure or pay for these calls.
Usage available for 11 of 12 tracked endpoints, 24 paid calls in the last 30 days. Last updated 1 hour ago. Unknown usage is left out, not counted as zero.
Compared with other providers
modelprices.xyz ranks 57th of 111 in LLM inference by its latest reported 30-day paid calls. Coverage matters: a provider whose endpoints report more of their usage can rank higher.
| # | Provider | Reported 30-day calls | Coverage |
|---|---|---|---|
| 1 | blockrun.ai | 96,257 | 30 of 37 endpoints |
| 2 | market.datapackvibe.com | 7,701 | 4137 of 8025 endpoints |
| 3 | x402.orthogonal.com | 4,872 | 86 of 218 endpoints |
| 4 | api.gondola-ai.com | 4,667 | 1 of 3 endpoints |
| 5 | agent402.tools | 4,315 | 152 of 237 endpoints |
| 6 | api.surplusintelligence.ai | 1,634 | 1 of 2 endpoints |
| 7 | api.losbeto.xyz | 1,361 | 22 of 123 endpoints |
| 8 | api.strale.io | 1,039 | 34 of 38 endpoints |
| 57 | modelprices.xyz (this one) | 24 | 11 of 12 endpoints |
