100% Client-Side · Segmented Fill Bars

Context Window Visualizer

Measure how much of each LLM's context window your system prompt, code context, chat history, and reserved output consume.

Total context budget

4,096 tokens

System Code History Output
Check your prompt for leaked keys before sending:

Why visualize context window usage by segment?

Seeing how much of a model context window is consumed by your system prompt, attached code files, conversation history, and reserved output tokens helps prevent silent truncation and runaway API bills.

How accurate are the token estimates?

Prose is estimated at ~4 characters per token and source code at ~3.4 characters per token, closely matching BPE tokenizers while running instantaneously 100% client-side.

What happens when a model shows Overflow?

Overflow means your combined input segments plus reserved output tokens exceed that model’s maximum context window, so the request would fail or drop earlier context.