the402 endpoint detail

← All endpoints

api.24klabs.ai api llm-token-estimate

https://api.24klabs.ai/api/llm-token-estimate

payable

Heuristic token-count estimate for a text (character- and word-based) plus an illustrative per-model input-cost projection for budgeting. Not an exact BPE tokenizer.

We sent a real POST request to this endpoint and it answered 402 with payment requirements we could parse.
Price
$0.002
Network
base
Pay to
0xe73D86f185bE79a33b0318d881B71f2a24371114
Spec dialect
v2 (declares x402Version 2)
Transport
PAYMENT-REQUIRED header
HTTP method
POST
Response latency
38 ms
Payment options
1 usable of 1
Last checked
2026-08-10T09:12:48.781Z (1d ago)
Category
finance-crypto

Re-check it yourself:
curl "https://api.the402.dev/validate?url=https%3A%2F%2Fapi.24klabs.ai%2Fapi%2Fllm-token-estimate"