utilsforagents.com
utilsforagents.comprotocol: x402first seen 5h 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
7
Uptime · 24h
0.0%
0 / 245 probes
Avg latency · 24h
125 ms
p90 198 ms
Total calls
49
8 unique payers
Healthy probes · last 24h
6 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 | — | 0.003000 USDC | eip155:8453 | 405 | 87 ms | 8m ago |
| https://utilsforagents.com/v1/html/to-markdown | — | 0.003000 USDC | eip155:8453 | 405 | 88 ms | 8m ago |
| https://utilsforagents.com/v1/html/fetch-markdown | — | 0.003000 USDC | eip155:8453 | 405 | 86 ms | 8m ago |
| https://utilsforagents.com/v1/text/fetch-content | — | 0.003000 USDC | eip155:8453 | 405 | 515 ms | 9m ago |
| https://utilsforagents.com/v1/url/metadata | — | 0.003000 USDC | eip155:8453 | 405 | 86 ms | 8m ago |
| https://utilsforagents.com/v1/image/exif-summary | — | 0.003000 USDC | eip155:8453 | 405 | 85 ms | 8m ago |
| https://utilsforagents.com/v1/utilities/count-tokens | — | 0.003000 USDC | eip155:8453 | 405 | 148 ms | 8m ago |