About the LLM Context Window Checker
The LLM Context Window Checker runs entirely in your browser — nothing you paste is uploaded or stored.
Every large language model can only read a limited amount of text at once — its context window, measured in tokens. Send more than that and the request fails or the oldest text is silently dropped. This tool estimates the token count of your text and shows how much of each model's window it fills.
How to use this tool
- Paste the prompt, document or chat history you intend to send.
- Adjust characters-per-token if you are working in another language (English is near 4; many languages are lower).
- Press Check to see the estimated tokens and the percentage of each model's window used.
How big are the windows?
| Model | Approx. context |
|---|---|
| GPT-4o | 128,000 tokens |
| Claude 3.5 Sonnet | 200,000 tokens |
| Gemini 1.5 Pro | 2,000,000 tokens |
| Llama 3.1 | 128,000 tokens |
Pro tip
Tokens are roughly four English characters, but code, JSON and non-Latin scripts use more tokens per character. When in doubt, leave headroom for the model's reply inside the same window.
Who is this tool for?
Anyone building prompts, summarising long documents or designing retrieval-augmented generation who needs to know if their payload fits.