Instructions · LLM Context Window Calculator

  1. Open the HTML file in a modern browser. Review Security Check and select Continue.
  2. Enter a context limit and output reserve, or select Open Sample or open a saved JSON budget.
  3. Choose Known Count, Count Text or Unused for each prompt section.
  4. Select Calculate Budget. Review input capacity, remaining input, combined usage and each section’s usage bar.
  5. Select Download Report to save the counts and assumptions as JSON.

User-supplied window and reserve. Text is counted per section with the pinned o200k_base profile.