Agent Extraction API
GET https://freetier-agent-api.pages.dev/api/llm-cost
Listed in PayAI
Token & cost calculator: estimate tokens for a text (or pass input_tokens/output_tokens) and price it across several models using provider list prices (LiteLLM price table, MIT). Params: models (comma list of model ids like gpt-4o-mini, claude-sonnet-4-5, gemini/gemini-2.5-flash or search words, max 15), text or input_tokens, output_tokens, calls.
Other endpoints from freetier-agent-api.pages.dev
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 /api/currency | Stocks & forex | $0.002 |
| GET /api/page-rag | Web page extraction | $0.001 |
| GET /api/robots-check | Web page extraction | $0.003 |
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://freetier-agent-api.pages.dev/api/llm-cost"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseEstimated calls per day
Paid calls to freetier-agent-api.pages.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.
No usage reported for any of 4 tracked endpoints. Unknown usage is left out, not counted as zero.
Compared with other providers
Coverage matters: a provider whose endpoints report more of their usage can rank higher.
| # | Provider | Reported 30-day calls | Coverage |
|---|---|---|---|
| 1 | blockrun.ai | 96,310 | 30 of 36 endpoints |
| 2 | x402.orthogonal.com | 5,503 | 202 of 268 endpoints |
| 3 | market.datapackvibe.com | 5,236 | 3365 of 6278 endpoints |
| 4 | api.gondola-ai.com | 4,664 | 1 of 3 endpoints |
| 5 | agent402.tools | 3,805 | 146 of 232 endpoints |
| 6 | api.surplusintelligence.ai | 1,635 | 1 of 2 endpoints |
| 7 | api.losbeto.xyz | 1,485 | 22 of 109 endpoints |
| 8 | api.strale.io | 806 | 33 of 36 endpoints |
