Quick answer
The local whoburnedmore CLI command is npx whoburnedmore --local. Decline its optional publish offer to keep the report local. The standard command signs in and submits daily aggregates. Neither mode submits prompts, source code, or filenames.
What this guide answers
The reader wants to understand why large context windows increase AI coding cost.
Best for
Developers using Claude Code, Codex, Cursor, Gemini CLI, and similar tools.
Key facts, checked November 8, 2026
- Claude Fable 5.1, Opus 5.5, Sonnet 5.5 and Haiku 5.5 all have a 1M-token context window. Anthropic charges Claude 4.6 and later models (except Haiku 5.5) at standard rates across the full 1M window, with no long-context premium. source
- Haiku 5.5 is the exception. Prompts over 100K tokens cost $0.50 per million input and $2.50 per million output, against $0.10 and $0.50 below 100K. source
- Cursor bills input over 256K tokens of context at 2x on Cursor-model usage. source
- Anthropic's Claude Code docs say it 'sends your full conversation with every request', so token costs scale with context size. /context shows what is using the window. source
- Anthropic says models from Claude 4.7 on produce roughly 30% more tokens for the same text than earlier models. The same file costs more context on newer models. source
Context is the working set
The model can reason only over what it sees, but every extra token competes for budget. Give enough context to solve the problem, not the whole repository.
- Relevant files
- Failing output
- Constraints
- Acceptance test
Long sessions accumulate weight
A session that starts focused can become expensive as history grows. Summaries and fresh sessions help when the task changes.
- Reset after task shifts.
- Summarize decisions.
- Drop obsolete files.
Logs are expensive
Pasting full logs is often unnecessary. Give the failing command, important error, and a short excerpt before sending thousands of lines.
- Command
- Error
- Relevant stack
- What changed
Measure before optimizing
If a workflow is costly, compare the same task with narrow context and broad context. The difference teaches better prompt defaults.
- Broad run
- Narrow run
- Outcome comparison
A bigger window is not a bigger bill, until you fill it
With 1M-token windows at standard pricing, the window size itself costs nothing. You pay for what you put in it, on every request. In Claude Code each tool call is another request that carries the whole conversation so far, so a 200K-token context re-read across 30 tool calls is 6M input tokens. Most of those are prompt-cache reads, which cost a tenth of the input price or less (0.05x on Opus 5.5 and Sonnet 5.5). Only new or uncached tokens bill at input or cache-write rates. A big context in a steady session is affordable. The same context re-read after the cache expires is not.
- Warm cache: re-reads bill at cache-read rates
- Cold cache, after a break or a model switch: the whole context is reprocessed and rewritten to the cache at 1.25x input (5-minute write)
- Output is never cached and costs 5x input on current Claude models
Events that make the whole context bill again
Claude Code's prompt caching docs list the moves that throw away the cache. Switching models with /model makes the next request read the entire history uncached, because each model has its own cache. On most models, changing effort level mid-session does the same. So does turning fast mode on or off, and coming back after the cache's time-to-live has passed. Running /compact on a cold, resumed session reprocesses the full history uncached. Pick the model and effort at the start, and compact at natural breaks.
- Model switch mid-session
- Effort change mid-session (most models)
- Fast mode toggle
- Resuming after the cache TTL
- Compacting a cold session
Checking it on your own sessions
In Claude Code, /context shows a grid of what fills the window, and /usage shows a prompt-cache line with hit ratio and misses (v2.1.251 or later). Across tools, npx whoburnedmore reports input, output, cache-write and cache-read tokens per day and model. A day where cache-read tokens dwarf output tokens is a context-heavy day.
Common questions
Does a 1M context window cost more?
Not on current Claude models other than Haiku 5.5. Anthropic prices the full 1M window at standard rates. You pay for the tokens you actually send on each request.
Why does a long Claude Code session get expensive?
Every request resends the conversation, and each tool call adds a request. Caching makes re-reads cheap while the cache is warm, but a cold re-read bills the whole context again at cache-write rates.
How do I see what is filling my context?
Run /context in Claude Code for a breakdown, and /usage for cache hit statistics. In Codex, /status shows the remaining context capacity.