Connect your agent
For agents: JSON · MCP

LLM Price Calculator

x402Not rated yetLast checked 2 hours ago

GET https://1gateway.dev/v1/ai/llm-prices

Listed in Coinbase x402 Bazaar

Use when an agent must price an LLM call or pick the cheapest model. Input: model (up to 5, comma list) plus optional input_tokens, output_tokens, requests; or no model plus mode, provider, min_context, capabilities (vision, function_calling...). Output: JSON USD per 1M input/output tokens, cached/batch prices, context window, provider, capabilities, cost estimate or cheapest ranking, as_of + source commit. Example: ?model=gpt-4o&input_tokens=12000&output_tokens=800

Price$0.004per model request · paid in USD on Base
Uptime100%
999 ms response
Score–Needs 3 checks
Paid usage, 30 days1payers · 1 calls

Other endpoints from 1gateway.dev

The same service's other paid functions that Hagglyai tracks, each with its own price. Functions outside Hagglyai's categories are not listed.

EndpointCategoryPrice per call
GET /v1/fx/ratesStocks & forex$0.002
GET /v1/trade/pulseNews$0.0045
GET /v1/weather/forecastWeather$0.0045
GET /v1/web/site-profileWeb page extraction$0.009

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://1gateway.dev/v1/ai/llm-prices"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the response

Estimated calls per day

Paid calls to 1gateway.dev'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.

Estimated calls per day, last 7 complete days3Sun11 Oct0Mon12 Oct0Tue13 Oct0Wed14 Oct0Thu15 Oct0Fri16 Oct0Sat17 Oct

Usage available for 5 of 5 tracked endpoints, 13 paid calls in the last 30 days. Last updated 2 hours ago. Unknown usage is left out, not counted as zero.

Compared with other providers

1gateway.dev ranks 63rd of 97 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.

#ProviderReported 30-day callsCoverage
1blockrun.ai88,90630 of 36 endpoints
2api.gondola-ai.com4,4151 of 3 endpoints
3x402.orthogonal.com4,086190 of 251 endpoints
4agent402.tools3,151142 of 217 endpoints
5api.surplusintelligence.ai1,4291 of 2 endpoints
6api.losbeto.xyz1,29920 of 107 endpoints
7market.datapackvibe.com1,188684 of 1367 endpoints
8api.jarvisclaw.ai1,1788 of 14 endpoints
631gateway.dev (this one)135 of 5 endpoints