x402 Utils
POST https://qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws/v1/tokens
Listed in Coinbase x402 Bazaar
Count the tokens of a text for OpenAI models (o200k_base for GPT-4o and later, cl100k_base for GPT-4), with characters, words and lines, to size prompts and estimate cost.
Other endpoints from qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws
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 /v1/tokens | LLM inference | $0.001 |
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 POST "https://qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws/v1/tokens"
# HTTP/1.1 402 Payment Required: price, asset and payTo are in the responseEstimated calls per day
Paid calls to qcb7fnxsbd7fbhj4.68r.lambda-web.us-east-1.on.aws'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 2 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 | 97,044 | 30 of 36 endpoints |
| 2 | x402.orthogonal.com | 5,540 | 202 of 267 endpoints |
| 3 | api.gondola-ai.com | 4,609 | 1 of 3 endpoints |
| 4 | agent402.tools | 3,644 | 146 of 232 endpoints |
| 5 | api.surplusintelligence.ai | 1,494 | 1 of 2 endpoints |
| 6 | api.losbeto.xyz | 1,432 | 21 of 109 endpoints |
| 7 | market.datapackvibe.com | 1,216 | 831 of 3021 endpoints |
| 8 | api.strale.io | 806 | 33 of 36 endpoints |
