← Back to directory

Count the tokens of a text for 12 tokenizers at once: OpenAI o200k/cl100k/p50k/r...

https://denk.halowerk.com/v1/token-count-multi

Overview

Count the tokens of a text for 12 tokenizers at once: OpenAI o200k/cl100k/p50k/r50k plus Qwen, DeepSeek, Mistral Tekken, Falcon, GPT-NeoX, Yi, Granite and GLM. Exact counts, not estimates: OpenAI encodings via js-tiktoken, other families via their published tokenizer.json (Hugging Face, pinned revisions, SHA-256 checked, open licenses only: Apache-2.0 or MIT) run with transformers.js.

Protocol x402 (POST)
Price $0.0030
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider denk
Source bazaar
Indexed 2026-11-20 16:11:02

Health

Status unknown
Latency (p50) —
Uptime (30d) —
Reliability Score —
Last Checked Never
Last Healthy Never
Consecutive Failures 0

x402 Payment Validation

Payment Requirements —
Asset Verified —
Facilitator —

Input Schema

{ "body": { "text": "Die Rechnung ist innerhalb von 14 Tagen ohne Abzug zu bezahlen.", "tokenizers": [ "o200k_base", "qwen2.5", "mistral-tekken" ] }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "limitations": [ "Counts cover the raw text only; chat templates, system prompts and tool definitions add provider-specific tokens.", "Anthropic and Google tokenizers are not published and are therefore not included." ], "result": { "bytes_utf8": 63, "characters": 63, "max_tokens": 20, "min_tokens": 14, "results": [ { "chars_per_token": 4.5, "kind": "tiktoken", "license": "MIT", "models": [ "gpt-4o", "gpt-4.1", "gpt-4.5", "gpt-5 family (tiktoken prefix \"gpt-5\")", "o1" ], "tokenizer": "o200k_base", "tokens": 14 }, { "chars_per_token": 3.15, "kind": "huggingface", "license": "Apache-2.0", "models": [ "Qwen2.5 family", "Qwen3 family (identical vocabulary, merges and pre-tokenizer; compared with Qwen/Qwen3-0.6B@c1899de)" ], "tokenizer": "qwen2.5", "tokens": 20 }, { "chars_per_token": 3.706, "kind": "huggingface", "license": "Apache-2.0", "models": [ "Mistral NeMo (Tekken tokenizer)" ], "tokenizer": "mistral-tekken", "tokens": 17 } ], "spread_percent": 42.9, "supported_tokenizers": [ { "download": false, "kind": "tiktoken", "license": "MIT", "models": [ "gpt-4o", "gpt-4.1", "gpt-4.5", "gpt-5 family (tiktoken prefix \"gpt-5\")", "o1" ], "source": "js-tiktoken 1.0.21 (MIT) with OpenAI tiktoken ranks; model mapping per github.com/openai/tiktoken/blob/main/tiktoken/model.py (commit 212b893, 2026-08-17)", "tokenizer": "o200k_base" }, { "download": false, "kind": "tiktoken", "license": "MIT", "models": [ "gpt-4", "gpt-3.5-turbo", "text-embedding-3-small", "text-embedding-3-large", "text-embedding-ada-002" ], "source": "js-tiktoken 1.0.21 (MIT) with OpenAI tiktoken ranks; model mapping per github.com/openai/tiktoken/blob/main/tiktoken/model.py (commit 212b893, 2026-08-17)", "tokenizer": "cl100k_base" }, { "download": false, "kind": "tiktoken", "license": "MIT", "models": [ "text-davinci-002", "text-davinci-003", "code-davinci-002 (deprecated)" ], "source": "js-tiktoken 1.0.21 (MIT) with OpenAI tiktoken ranks; model mapping per github.com/openai/tiktoken/blob/main/tiktoken/model.py (commit 212b893, 2026-08-17)", "tokenizer": "p50k_base" }, { "download": false, "kind": "tiktoken", "license": "MIT", "models": [ "davinci", "curie", "babbage", "ada (GPT-3 base models, deprecated)" ], "source": "js-tiktoken 1.0.21 (MIT) with OpenAI tiktoken ranks; model mapping per github.com/openai/tiktoken/blob/main/tiktoken/model.py (commit 212b893, 2026-08-17)", "tokenizer": "r50k_base" }, { "download": true, "kind": "huggingface", "license": "Apache-2.0", "models": [ "Qwen2.5 family", "Qwen3 family (identical vocabulary, merges and pre-tokenizer; compared with Qwen/Qwen3-0.6B@c1899de)" ], "source": "huggingface.co/Qwen/Qwen2.5-0.5B@060db64 (tokenizer.json)", "tokenizer": "qwen2.5" } ], "words": 11 }, "service": "token-count-multi", "status": "success" }, "type": "json" }