utilsforagents.com
utilsforagents.comprotocol: x402first seen 57d 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
71.1%
433 / 609 probes
Avg latency · 24h
252 ms
p90 448 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/diff | POST | 0.003000 USDC | eip155:8453 | 402 | 346 ms | 11m ago |
| https://utilsforagents.com/v1/html/to-markdown | POST | 0.003000 USDC | eip155:8453 | 402 | 181 ms | 20m ago |
| https://utilsforagents.com/v1/html/fetch-markdown | POST | 0.003000 USDC | eip155:8453 | 402 | 293 ms | 14m ago |
| https://utilsforagents.com/v1/text/fetch-content | POST | 0.003000 USDC | eip155:8453 | 402 | 964 ms | 8s ago |
| https://utilsforagents.com/v1/url/metadata | POST | 0.003000 USDC | eip155:8453 | 402 | 351 ms | 23m ago |
| https://utilsforagents.com/v1/utilities/count-tokens | POST | 0.003000 USDC | eip155:8453 | 402 | 216 ms | 11m ago |
| https://utilsforagents.com/v1/image/exif-summary | POST | 0.003000 USDC | eip155:8453 | 402 | 205 ms | 20m ago |
| https://utilsforagents.com/v1/image/scrub-metadata | POST | 0.003000 USDC | eip155:8453 | 402 | 399 ms | 23m ago |
| https://utilsforagents.com/v1/url/metadata | — | 0.003000 USDC | eip155:8453 | — | — | never |
| https://utilsforagents.com/v1/html/fetch-markdown | — | 0.003000 USDC | eip155:8453 | — | — | never |
| https://utilsforagents.com/v1/image/exif-summary | — | 0.003000 USDC | eip155:8453 | — | — | never |
| https://utilsforagents.com/v1/image/scrub-metadata | — | 0.003000 USDC | eip155:8453 | — | — | never |
| https://utilsforagents.com/v1/text/fetch-content | — | 0.003000 USDC | eip155:8453 | — | — | never |
| https://utilsforagents.com/v1/utilities/count-tokens | — | 0.003000 USDC | eip155:8453 | — | — | never |
| https://utilsforagents.com/v1/html/to-markdown | — | 0.003000 USDC | eip155:8453 | — | — | never |
| https://utilsforagents.com/v1/diff | — | 0.003000 USDC | eip155:8453 | — | — | never |