Prompt length estimator
Estimate whether pasted text is inside a model's published context window.
Nothing you type is sent. The work stays in this browser.
How to use it
- Paste a prompt and pick a model.
- Compare both estimates with the published window. If the larger estimate is under the window, the text is likely to fit. If the smaller estimate is over, it does not fit that window.
- When the two estimates disagree, check with the provider's tokenizer before you rely on it.
The estimates are the same two used by the token counter. They are not the model's tokenizer, so a value between them is uncertain on purpose.
Output you still plan to generate also needs room. The page subtracts nothing for a hidden system prompt you did not paste.
Images, files, and tool definitions are not in the box, so they are not in the estimate.