402utils.com

https://402utils.com/v1/token-count

Count BPE tokens in a text with tiktoken (o200k_base = GPT-4o default, or cl100k_base). An agent can check content fits an LLM context window before paying for an expensive call. Returns token count, char count and encoding. Honest scope: an OpenAI-style estimate — no open-source Claude tokenizer exists (exact Claude counts need the Anthropic API), Gemini differs too. Provided text only; nothing is fetched. Max 1 MB.

last updated: Jul 6, 2026 · type: http · x402 v2

Payment Options

NetworkSchemeAmountPay To
Baseexact$0.001000 USDC0xc55A...C291

Try It

Resource Activity

via Bazaar · last 30 days
Calls
3
Unique Payers
1
Last Called
Jul 6, 2026
402utils.com · Bazaar