Context planner
Pick a model and add up what you send it: system prompt, chat history, tool results, documents and the reply you allow. The planner shows whether it all fits the model’s context window, how much room is left, and which failure mode to watch for. Everything runs in your browser. Nothing you type is sent anywhere.
Result
Pick a model and enter your token counts.
How the planner reads your numbers
- Fits means input plus reply cap is at or under the model’s context window.
- It warns when the total is over 80% of the window, when chat history is more than half the input, and when tool results are more than a quarter of the input. These are planner rules of thumb, not limits set by any provider.
- Some providers count the reply separately or reserve extra room. Check your provider’s docs for the exact rule.
Context windows come from the ModelRaters context map, loaded live when the page opens. Where a TokenCenter id is available, the price link selects that model. Otherwise, pick a model on TokenCenter.