utilsforagents.com

https://utilsforagents.com/v1/utilities/count-tokens

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.

last updated: May 29, 2026 · type: http · x402 v2

Payment Options

NetworkSchemeAmountPay To
Baseexact$0.003000 USDC0x7e67...13a4
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpexact0.00 tokensGXTcDu...c9zM

Resource Activity

via Bazaar · last 30 days
Calls
1
Unique Payers
1
Last Called
May 29, 2026

Deposit Address Activity

onchain · per address + network

Loading activity for 2 addresses...