See when an always-on agent's untrimmed context will fill the official window, and whether a keep-last-N plus summary plan still fits.
Enter the official context window, tokens per turn, how many recent turns to keep, and a summary budget. Turn Trim shows when an untrimmed thread fills the window, and whether the trim plan fits.
$12, once. The free version works without paying.
Everything runs in this browser tab. Nothing you paste is uploaded. Window sizes are a November 29, 2026 snapshot of official model pages. They change; read the live page. If you pick Custom, the number is yours to take from an official page; this tool does not verify it. Token counts are the figures you enter; the tool does not tokenize a transcript or call an API. Dropping turns can remove facts the agent still needs.
Results
Run the tool to see results here.
Price
How it works
- Paste or type your input on the left, or press Load example.
- Press "Plan the trim". The work happens in this tab.
- Read the findings, then copy or download the result.
Why this exists
An always-on agent that keeps every turn will fill a 400,000-token window mid-shift at a few thousand tokens per turn. Startup-token tools (such as Context Tax) measure CLAUDE.md and skills at launch; they do not plan what to drop as the thread grows. A keep-last-N plus summary rule has to be checked against the official window, not a remembered number.
- Official context window listed as 400,000 tokens (November 29, 2026 snapshot). — OpenAI gpt-5.2 model page, 2026-11-29
- Official context window listed as 1,050,000 tokens (November 29, 2026 snapshot). — OpenAI gpt-5.4 model page, 2026-11-29
- Official product text for gemini-4-neon and gemini-4-hydrogen describes a unified 1M-token context window (November 29, 2026 snapshot). — Gemini Developer API pricing, Gemini 4 Neon and Hydrogen, 2026-11-29