the402 endpoint detail

← All endpoints

tokens.openverbs.com v1 count

https://tokens.openverbs.com/v1/count

answers 402

Count the LLM tokens in text for a given model or encoding — exact for OpenAI and open models (Llama, Mistral, Qwen, Gemma, DeepSeek, Command-R); labelled-approximate for Claude & Gemini.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.004
Network
base
Pay to
0xb3f4de103F34b99f0Da19B4F16D6B53a14C2194A
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
226 ms
Payment options
1 usable of 1
Last checked
2026-09-06T01:20:19.046Z (23d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Ftokens.openverbs.com%2Fv1%2Fcount"