Examples are illustrative translations, not evaluation data.
A shared hypothetical budget, not each model's advertised limit. Counts cover pasted text only; chat formatting and system instructions use extra space.
Plan which messages fit before you send them. Protect your system instruction, reserve a reply, and see exactly which older exchanges get dropped—then check the decision with a real tokenizer.
Count transparently. Estimates are labelled as estimates. On-demand exact verification is labelled separately.
Start with an illustrative JEE tutoring conversation, edit the messages, or paste your own JSON. The system instruction and newest exchange are protected. Older user-led exchanges are removed together, oldest first.
Illustrative messages, not real student data. Reset replaces the editor contents. Nothing is saved between visits.
Paste an array of { "role": "user" or "assistant", "content": "text" }. An optional first system message is supported. Import replaces the editor. Limit: 100 messages / 100,000 characters.
Small demo budget to make trimming visible; not a model's advertised limit. Allowances approximate role markers, chat formatting and other prompt overhead. Defaults (8/message + 16 fixed) are adjustable placeholders, not calibrated Qwen template costs.
Estimates work immediately. Qwen measurement downloads ~19 MB of tokenizer files plus library code on first use.
“Measured” means exact Qwen content counts per message, plus your estimated formatting allowances. It is not an exact serialized chat prompt or a guarantee a provider will accept it. No messages are sent to a model or deleted from your editor.
Examples are illustrative translations, not evaluation data.
A shared hypothetical budget, not each model's advertised limit. Counts cover pasted text only; chat formatting and system instructions use extra space.
First use downloads about 19 MB of tokenizer files plus library code. Your browser may cache them for later.
If a chat app trims history using an inflated estimate, it can drop earlier messages that would still fit. Check the estimate before deciding what to remove.
Underestimation can admit too much text and trigger truncation at the real tokenizer boundary.
Test messages in the languages your users write. Different token counts can leave different amounts of room for context.
Token count is not model quality.
ContextFair measures budget behavior—not intelligence, cultural understanding, or answer accuracy.