Two tokenizers
o200k_base and cl100k_base, equal to tiktoken on multilingual text, emoji, code and JSON.
Articles, tools, solutions and knowledge base guides
Start typing to search across articles, tools and apps.
Tokens counted with o200k_base and cl100k_base
Tokens, bytes and characters of each part of a request, and a plan of that request against the context window
AI Token & Context Calculator plans one request to a language model. The request is split into its parts: system instructions, conversation history, retrieved documents, the current user request and tool definitions. Each part is counted, and the total is set against the context window with a reserve for the output.
The tokenizer is a byte-level BPE written for this tool and checked token for token against OpenAI’s tiktoken on multilingual text, emoji, code, JSON and whitespace. The rank tables load only when the planner is used, and each file is checked against a SHA-256 checksum before it is read.
The most important capabilities, explained in practical terms.
o200k_base and cl100k_base, equal to tiktoken on multilingual text, emoji, code and JSON.
System instructions, history, retrieved documents, the user request and tool definitions.
Three counts for every text part, so the cost of non-English text is visible.
The share of the window each part takes and the room left after the output reserve.
Context windows from the POLPROG model catalogue, with the tokenizer named only where it is confirmed.
A share link and a JSON export that carry counts and settings, never the text or token IDs.
A clear path from the official source to your first successful workflow.
Use one of the official links available for your device or browser.
Follow the store instructions or open the web application. No third-party installers.
Review the options, choose your preferences and start with the core workflow.
A transparent look at the core technologies used to build and maintain this product.
Privacy first: processed on your device wherever this product allows it, and the network is used only when a feature needs it. No unnecessary data collection.