x402.nichospt.net

https://x402.nichospt.net/count-tokens

Count the number of tokens a string uses for an LLM, using the same BPE encodings the major models use (o200k_base for GPT-4o/o1, cl100k_base for GPT-4/3.5 and embeddings). Optionally pass a USD price per million tokens to get an estimated cost. Lets an agent budget context and spend before a call.

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

Payment Options

NetworkSchemeAmountPay To
solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpexact0.01 tokensHJfYcc...aoJe
Baseexact$0.01 USDC0x954c...5555
Polygonexact$0.01 USDC0x954c...5555

Try It

Resource Activity

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