claude-code - 💡(How to fix) Fix [DOCS] Billing documentation is materially misleading: "standard API rates" implies token monitoring is sufficient, but documented token costs are only part of the bill [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#55135Fetched 2026-05-01 05:45:21
View on GitHub
Comments
0
Participants
1
Timeline
3
Reactions
0
Author
Participants
Timeline (top)
labeled ×3
RAW_BUFFERClick to expand / collapse

Describe the problem

The billing documentation — including the extra usage pricing statement "Extra usage is billed at standard API rates" — is technically accurate but creates a false impression that users can manage their costs by watching token consumption. In practice, the costs that dominate real-world bills are cache-related, not directly tied to visible token activity, and are entirely absent from the documentation.

Specifically undocumented or insufficiently explained:

  1. Per-turn cache read accumulation. Every API call re-bills the user for the entire accumulated context at the cache-read rate. At ~650K tokens and $0.50/MTok (Opus 4.7), that is ~$0.33 per turn regardless of what was asked. This compounds across hundreds of turns in a long agentic session and has nothing to do with the complexity of the user's prompts.

  2. The 200K pricing cliff. Once input exceeds 200K tokens, ALL tokens in that request are billed at the extended-context rate (2× input, 1.5× output) — not just the tokens above the threshold. Crossing from 199K to 201K tokens doubles the entire request cost. This cliff is not mentioned on the pricing page.

  3. Compaction costs — including invisible ones. Compaction events write the full accumulated context to cache at the cache-write rate (~$4 per event at typical session sizes) and fire automatically. Some compaction events are not visible to the user at all — they can occur inside sub-agent invocations with no indication in the main session UI. Users have no warning they are coming, no visibility into their cost, and in some cases no awareness they occurred.

  4. The tooling, documentation, and marketing materials all materially understate these costs. The running token counter in Claude Code Desktop significantly undercounts actual consumption (#55121) and does not surface cache read/write consumption at all (#55133). The pricing documentation implies that token rates are the primary cost signal. Marketing materials describing plan tiers reinforce this framing. The combined effect is that a user who has read the documentation, enabled extra usage, and is actively monitoring the token counter is still working from a model of their costs that can be wrong by an order of magnitude or more.

A concrete example: a user on Max 5 with Opus 4.7 (1M context) enabled extra usage near the end of a 4-hour session — deliberately limiting themselves to discussion-level work, explicitly avoiding intensive tasks. In under 50 minutes they were charged $21 in extra usage. The session's context had accumulated to ~650K tokens during the prior session; at that size, every turn cost ~$0.33 in cache reads alone before any response was generated. Two automatic compaction events during the extra-usage window added ~$4 each. None of this was visible in the token counter or explained in the documentation. The true cost breakdown was reconstructed only through manual analysis of raw JSONL session records — a path not available to most users and highly disruptive even for those who know the files exist.

Community analysis independently corroborates the scale: one user found cache reads consumed 97.7% of session costs, with $1.47 in expected API cost producing a $64.98 bill — a 44× ratio (source). Other cost factors (e.g. MCP loading overhead) may also be material but are similarly undocumented; the cache issues alone are large enough to dominate.

Describe the solution you'd like

The billing/pricing documentation should:

  • Explicitly state that cache reads and writes are billed per API call proportional to accumulated context, not per session
  • Document the 200K extended-context pricing cliff and its all-or-nothing threshold behavior
  • Explain that compaction events are automatic, sometimes invisible, and constitute discrete large cache-write charges
  • Include a worked example showing how a long agentic session's actual cost is dominated by cache activity, not prompt/response size
  • Not imply that the token counter is a reliable cost management tool until #55121 and #55133 are resolved

Prior art

#28723 is related but is fundamentally a complaint about the service behavior — quota depleting faster than expected. This issue is specifically about the documentation failing to explain the cost mechanics that cause that behavior. Fixing the docs doesn't fix #28723, and fixing #28723 doesn't fix the docs.

extent analysis

TL;DR

Update the billing and pricing documentation to accurately reflect cache-related costs, including per-turn cache read accumulation, the 200K pricing cliff, and automatic compaction events.

Guidance

  • Review and revise the billing documentation to explicitly state that cache reads and writes are billed per API call proportional to accumulated context, not per session.
  • Add a clear explanation of the 200K extended-context pricing cliff and its all-or-nothing threshold behavior to the pricing page.
  • Include a worked example in the documentation to illustrate how cache activity dominates the actual cost of a long agentic session.
  • Consider adding a notice to the token counter in Claude Code Desktop to indicate that it does not reflect cache read/write consumption, pending resolution of issues #55121 and #55133.
  • Provide a clear explanation of automatic compaction events, including their potential to incur discrete large cache-write charges, even if they are not visible to the user.

Example

No code snippet is provided as this issue is related to documentation and pricing explanation rather than code implementation.

Notes

The solution focuses on improving documentation to provide a clear understanding of the cost mechanics. Resolving issues #55121 and #55133 will also be necessary to ensure the token counter accurately reflects costs.

Recommendation

Apply a workaround by updating the billing and pricing documentation to accurately reflect cache-related costs, as this will provide users with a clearer understanding of the cost mechanics and help them manage their expenses more effectively.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [DOCS] Billing documentation is materially misleading: "standard API rates" implies token monitoring is sufficient, but documented token costs are only part of the bill [1 participants]