utilsforagents.com
utilsforagents.comprotocol: x402first seen 45d ago
Count the number of tokens in a text string using the specified tokenizer encoding. Supports cl100k_base (GPT-4/GPT-3.5, exact BPE), o200k_base (GPT-4o, exact BPE), claude (Claude models, estimated), and gemini (Gemini models, estimated). Use before sending text to an LLM to estimate cost, check context window fit, or enforce token budgets. For base64-encoded images, set content_type='image' for tile-based token estimation. Send {"text": "...", "encoding": "cl100k_base"}. Max 50 MB text.
Endpoints
16
Uptime · 24h
49.8%
496 / 995 probes
Avg latency · 24h
262 ms
p90 436 ms
Total calls
49
8 unique payers
Healthy probes · last 24h
25 hour buckets · hover for per-bucket stats
Endpoints
Ordered: active first, healthy first, cheapest first. Up to 200 shown.
| Endpoint | Method | Price | Network | Last status | Latency | Probed |
|---|---|---|---|---|---|---|
| https://utilsforagents.com/v1/image/scrub-metadata | POST | 0.003000 USDC | eip155:8453 | 402 | 329 ms | 19m ago |
| https://utilsforagents.com/v1/diff | POST | 0.003000 USDC | eip155:8453 | 402 | 261 ms | 17m ago |
| https://utilsforagents.com/v1/html/to-markdown | POST | 0.003000 USDC | eip155:8453 | 402 | 241 ms | 16m ago |
| https://utilsforagents.com/v1/html/fetch-markdown | POST | 0.003000 USDC | eip155:8453 | 402 | 362 ms | 19m ago |
| https://utilsforagents.com/v1/text/fetch-content | POST | 0.003000 USDC | eip155:8453 | 402 | 277 ms | 19m ago |
| https://utilsforagents.com/v1/url/metadata | POST | 0.003000 USDC | eip155:8453 | 402 | 371 ms | 19m ago |
| https://utilsforagents.com/v1/utilities/count-tokens | POST | 0.003000 USDC | eip155:8453 | 402 | 512 ms | 16m ago |
| https://utilsforagents.com/v1/image/exif-summary | POST | 0.003000 USDC | eip155:8453 | 402 | 228 ms | 16m ago |
| https://utilsforagents.com/v1/diff | — | 0.003000 USDC | eip155:8453 | 405 | 144 ms | 2m ago |
| https://utilsforagents.com/v1/html/to-markdown | — | 0.003000 USDC | eip155:8453 | 405 | 231 ms | 18m ago |
| https://utilsforagents.com/v1/html/fetch-markdown | — | 0.003000 USDC | eip155:8453 | 405 | 174 ms | 18m ago |
| https://utilsforagents.com/v1/text/fetch-content | — | 0.003000 USDC | eip155:8453 | 405 | 218 ms | 17m ago |
| https://utilsforagents.com/v1/url/metadata | — | 0.003000 USDC | eip155:8453 | 405 | 220 ms | 18m ago |
| https://utilsforagents.com/v1/image/exif-summary | — | 0.003000 USDC | eip155:8453 | 405 | 38 ms | 2m ago |
| https://utilsforagents.com/v1/utilities/count-tokens | — | 0.003000 USDC | eip155:8453 | 405 | 101 ms | 17m ago |
| https://utilsforagents.com/v1/image/scrub-metadata | — | 0.003000 USDC | eip155:8453 | 405 | 90 ms | 2m ago |