Running on your device · 0 bytes uploaded

Context-window fit checker

Will your prompt fit — and how much room is left for the answer? Exact for OpenAI models, a labeled estimate for everything else.

Model

o200k_base encoding · max output 128,000 tokens

Your prompt
Fit

Paste a prompt, then press Check fit.

Exact versus estimate
  • OpenAI rows are exact: the count comes from the model's own encoding, cross-checked against the installed tokenizer package's model catalog. Windows come from that same catalog (snapshot 2026-08-26).
  • Claude and Gemini have no offline tokenizer here — their rows are a characters÷4 heuristic, labeled estimate, and this tool never calls a vendor API to refine them. Use the custom mode with the vendor's published window.
  • Providers count differently: some bill the system prompt, tools, and message framing separately, and chat wrappers add tokens per message. Treat every number as a planning check, not an invoice.
Registry sample
  • gpt-5.6-sol1,050,000 in
  • gpt-5.6-terra1,050,000 in
  • gpt-5.6-luna1,050,000 in
  • gpt-5.6-cyber400,000 in
  • gpt-5.51,050,000 in
  • gpt-5.5-pro1,050,000 in
  • gpt-5.41,050,000 in
  • gpt-5.4-mini400,000 in
  • gpt-5.4-nano400,000 in
  • gpt-5.4-pro1,050,000 in
  • 33 models in the dated snapshot
snapshot 2026-08-26
Nothing in yet

Paste, drop, or type to begin. Everything stays on this device.

nothing checks until you press Check fit