Tokens and context

Context window fit checker

Whether a document fits a model's context window, how much of it the document uses, and how many chunks it needs otherwise.

Use the words-to-tokens tool if you only know words
Only models whose vendor page stated the window on the verified date
Kept free for the system prompt and the answer
fits0.00

Prices read from the vendor pages on 2026-10-20. Arithmetic on list prices, not advice or a quote.

Pro

Saving and exports need Norwell Tools Pro, $9 a month. See what is in it. Everything above is free.

How it works

A context window is the most tokens a single request may hold, prompt and answer together. Fitting is not the same as affordable: a 900K-token prompt on a 1M window is billed for 900K input tokens every call, which is where prompt caching earns its keep.

The formula

usable = window - reserve; fits = tokens <= usable; chunks = ceil(tokens / (usable * (1 - overlap)))

Worked example

With the inputs the page opens on:

  • document tokens: 250000 tokens
  • model: claude-sonnet-5-5
  • reserve tokens: 8000 tokens
  • chunk overlap pct: 10%

gives

  • fits: true
  • context window: 1,000,000 tokens
  • share of window pct: 25 %
  • chunks needed: 1
  • tokens per chunk: 250,000 tokens

Sources

Prices read from each vendor's own pricing page on 2026-10-20; the page may have changed since. This is arithmetic on published list prices, not advice or a quote. Check the vendor's page before committing a budget.

Questions

Why so few models?
The list holds only models whose vendor stated the window on a page read on the verified date. It grows as pages are read.

Related tools