{"slug":"agents-204-168-199-108-sslip-io-v1-util-token-count-910ce3","title":"Estimate how many LLM tokens a text uses before you send it (BPE-style estimate ","host":"agents.204-168-199-108.sslip.io","method":"GET","resource":"https://agents.204-168-199-108.sslip.io/v1/util/token-count","category":"market","description":"Estimate how many LLM tokens a text uses before you send it (BPE-style estimate that GPT, Claude and Llama tokenizers match within ~15% on normal text; CJK and non-Latin scripts handled). Optional: context_limit + reserve_output_tokens → does it fit and how many tokens are left; price_per_million → ","price_listed":0.001,"price_asked":null,"state":"effects","state_label":"Not tested: has real-world effects","checks_7d":0,"answered_7d":0,"latency_ms_median":null,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["aws:base","eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"method":"GET","queryParams":{"chunk_tokens":"16","context_limit":"8192","price_per_million":"3","reserve_output_tokens":"1024","text":"Hello world! The quick brown fox jumps over the lazy dog. Internationalization costs 12345 tokens.\n\n你好世界"},"type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"method":{"enum":["GET"],"type":"string"},"queryParams":{"additionalProperties":false,"properties":{"chunk_tokens":{"description":"Chunk size in tokens (optional)","type":"string"},"context_limit":{"description":"Model context window in tokens (optional)","type":"string"},"price_per_million":{"description":"USD per 1M input tokens (optional)","type":"string"},"reserve_output_tokens":{"description":"Tokens to keep free for the answer (optional)","type":"string"},"text":{"description":"Text to measure","type":"string"}},"required":["text"],"type":"object"},"type":{"const":"http","type":"string"}},"required":["type","method"],"type":"object"},"output":{"properties":{"example":{"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[],"description_full":"Estimate how many LLM tokens a text uses before you send it (BPE-style estimate that GPT, Claude and Llama tokenizers match within ~15% on normal text; CJK and non-Latin scripts handled). Optional: context_limit + reserve_output_tokens → does it fit and how many tokens are left; price_per_million → cost in USD; chunk_tokens → how many chunks to split into. Returns tokens_estimate, low/high range, characters, words, chars_per_token.","last_updated":"2026-11-27T22:56:44.042Z","schemes":["exact"]}