Overview
Count the tokens of a text with OpenAI tokenizers (o200k for GPT-4o/4.1/5, cl100k for GPT-4/3.5) plus estimates for Claude, Llama and Gemini, with characters per token. Budget LLM calls and split contexts.
Protocol
x402 (POST)
Price
$0.0030
Payment Asset
0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913
Payment Network
eip155:8453
Category
data/extraction
Provider
Vextorium
Source
bazaar
Indexed
2026-10-03 21:23:24
Health
Status
healthy
Latency (p50)
205ms
Uptime (30d)
100.0%
Reliability Score
95/100
Last Checked
2026-10-31 07:04:56
Last Healthy
2026-10-31 07:04:56
Consecutive Failures
0
x402 Payment Validation
Payment Requirements
Valid
Asset Verified
Known USDC
Facilitator
—
Input Schema
{
"body": {
"text": "Artificial intelligence agents are transforming the digital economy. AI agents pay for data with micropayments. The x402 protocol lets agents pay per call without accounts. Many companies already offer pay-per-use APIs for agents. USDC micropayments make this business model viable."
},
"bodyType": "json",
"method": "POST",
"type": "http"
}
Output Schema
{
"example": {
"characters": 282,
"characters_per_token": 5.32,
"encoding": "o200k_base",
"estimates": {
"claude_approx": 58,
"gemini_approx": 50,
"llama3_approx": 54
},
"note": "Exact count for OpenAI encodings; the rest are estimates (each model tokenizes differently).",
"tokens": 53,
"tokens_other_encoding": {
"cl100k_base": 56
},
"words": 40
},
"type": "json"
}