Cost and usage issues on Linux
Issues the maintainers labelled both platform:linux and area:cost.
277 issues · 53 open · 224 resolved (81%) · first seen May 8, 2025
Is this getting better or worse?
This class of problem is holding steady. 96 new reports in the last 90 days vs 113 in the 90 before — -15%. The open backlog peaked at 69 in 2026-04 and sits at 53 today.
Derived by counting each matching issue from its creation date until it closed. First-party
computation over the anthropics/claude-code tracker — the trend is not published
anywhere upstream.
Which builds report this
211 of these reports name the Claude Code build they were running, spanning 108 releases. Heaviest reporters:
- Claude Code v2.1.119
- Claude Code v2.1.207
- Claude Code v2.1.126
- Claude Code v2.1.87
- Claude Code v2.1.92
- Claude Code v2.1.150
- Claude Code v2.1.123
- Claude Code v2.1.237
Report volume, not a defect count: an issue can mention a build without that build having caused the failure. Versions come from the version string in the bug-report template, matched against real published tags.
Do these get fixed?
Median time to close is 37 days across 224 closures. Of the 224 closures with a recorded reason, 20% were closed as completed and 180 as not-planned or duplicate. The most recent completed fix landed in 2026-08.
Workarounds reported by the community
34 of these issues post a workaround someone says worked. The highest-engagement ones:
- [BUG] Conversation history invalidated on subsequent turns
- …put tokens, which can cause a massive spike in token usage. Workarounds to minimize cache invalidation: 1. Keep conversations shorter : Start new sessions for new tasks rather than continuing a single long session. Short…
Found in the thread of #40524 · resolved - CC v2.1.100+ inflates cache_creation by ~20K tokens vs v2.1.98 — same payload, server-side
- …r potentially degraded output, with no visibility into why. Workaround Downgrade to v2.1.98 or earlier. Check for available binaries, or use . Note: Auto-updates may overwrite older versions. v2.1.98 is no longer retaine…
Found in the description of #46917 · still open - [Bug] Excessive token usage in Claude Code 2.1.1 - 4x+ faster rate consumption than previous versions
- …-- but until that ships, parsing your own logs is the best workaround.
Found in the thread of #16856 · still open - [BUG] Prompt cache regression in --print --resume since v2.1.69(?): cache_read never grows, ~20x cost increase
- …advertently broken cache breakpoint placement for sessions. Workaround Pinned to v2.1.68 ( ). What Should Happen? Expected behavior (v2.1.68) grows as conversation accumulates, drops to a small delta (~800 tokens): Actua…
Found in the description of #34629 · resolved - Max Plan: Token usage increased ~3-5x without any configuration change (since ~March 28-29)
- ….3% , meaning ~20x token inflation per turn. After applying workarounds it stabilized at 89-99% . Full analysis with per-request measured data, safe workarounds, and community references (including [cc-cache-fix](
Found in the thread of #41506 · still open
Excerpts are quoted from the linked issue so you can judge relevance before opening it. Threads that only ask for a workaround, or report that there is none, are excluded. These are community suggestions, not official guidance from Anthropic — read the full thread before applying one.
Matching issues 1–100
Ranked by community engagement (reactions weighted over comments).
- [BUG] Conversation history invalidated on subsequent turns
- CC v2.1.100+ inflates cache_creation by ~20K tokens vs v2.1.98 — same payload, server-side
- [Bug] Excessive token usage in Claude Code 2.1.1 - 4x+ faster rate consumption than previous versions
- [BUG] Prompt cache regression in --print --resume since v2.1.69(?): cache_read never grows, ~20x cost increase
- Max Plan: Token usage increased ~3-5x without any configuration change (since ~March 28-29)
- Subscription usage jumping to 80% within minutes of reset
- [Bug] Anthropic API Error: Usage credits required for 1M context window with opus-plan model
- Excessive token consumption after recent updates (Max plan)
- Plugin skills don't support `disable-model-invocation` like user skills do
- [BUG] Inconsistent and Undisclosed Quota Accounting Changes in Claude Max Plan. Legal liability claim ready.
- [BUG] Bug: Extra Usage charged despite available plan capacity + false rate limit errors in Claude Code
- [BUG] /usage shows 47% weekly used in 3 hours of Opus. Max plan.. should be 40 hours per week
- [BUG] Sonnet 4.6 blocked by false "usage credits required" error
- [BUG] Claude Code (Pro) session limit reached after 20 minutes
- [BUG] Spurious Usage Spikes and 100% Weekly Limit Lockout After Plan Upgrade
- [Bug] Team Billing: Frequent Unexpected Usage Limit Resets
- Anthropic API: Unexpected Reduction in Claude Code MAX Plan Usage Limits
- [Bug] OPUS 4.7 IS DOWNGRADED JOKE
- [Bug] Inconsistent usage percentage display between /usage page and CLI
- [BUG] [Critical] Claude Code Quality Degradation - Ignoring Instructions, Excessive Token Usage
- [BUG] Claude Code uses API billing despite forceLoginMethod: claudeai setting
- [BUG] Task tool `model` parameter returns 404 - Blocks cost-optimized workflows (10-30x unnecessary spending)
- [Bug] Unexpected high token usage consumption on Claude Code Pro with Opus 4.6
- [Bug] Anthropic API Error: Usage credits required mid-session
- [Bug] Environment Variable CLAUDE_CODE_MAX_OUTPUT_TOKENS Not Respected
- [BUG] Max (20x) weekly limit depletes disproportionately — 51% mid-week, ~17% within minutes of session reset
- Doing useless tool call wasting token
- [Bug] /compact fails with "Usage credits required for 1M context" even after /model set to Sonnet 4.6
- [BUG] Not able to use extra usage
- [BUG] Incorrect 5-h and weekly usage being recorded
- Expose `cache_control.ttl` (5m / 1h) as a user-configurable setting
- [BUG] new sessions will **never** hit a (full)cache
- [Bug] Excessive token consumption spike since March 23rd
- [BUG] Usage is consumed just by opening Claude Code without sending any prompt
- Background sidechain agents consuming tokens without returning results
- [Bug] Excessive token consumption on Max plan - 15% rate limit after minimal usage
- Token counting ~2x inflated in 2.1.7 vs 2.1.2
- [BUG] Read tool falsely reports "file was modified" on large files, causing massive wasteful system reminders
- Claude AI usage limit reached|1748268000
- [Bug] Auto-compact triggers far below 1M window on Opus 4.7 [1M] — severe token burn regression on Max 5x (post-2.1.116)
- Phantom ~22K tokens per session on one account vs another — same machine, same project
- [BUG] 5 hour limit reached randomly, earlier and earlier
- [BUG] Streaming output tokens are incomplete in session.jsonl compared to /cost
- You've hit your weekly limit · resets 8pm (America/Vancouver)
- [BUG] 2.1.63 silently defaults to 1M context model without UI indication, causing excessive usage consumption and a BILLING issue.
- [BUG] Verified Evidence: Claude Code Delivers 10% of Requested Thinking Budget While Charging Full Price
- [BUG] I am getting out of usage error but already have tokens and limits API Error: 400 - Invalid Request You're out of extra usage. Add more usage credits at: https://claude.ai/settings/usage Then retry your request
- [BUG] How is this possible to be at 62% opus for a week when using for few hours with 5 code files - Max Plan 20x
- [Bug] Excessive Usage Depletion on Claude Pro/Enterprise Plans
- [BUG] /model → Fable 5 blocks on usage credits, ignoring active promotional weekly allowance
- [BUG] Fable 5 [1m] prompts 'usage credits required' during active 1M promo window (Jul 17, promo extended to Jul 19)
- You've hit your limit · resets 1:40pm (America/New_York)
- [BUG] Agent team subagents do not honor 1-hour prompt cache TTL — main sessions show 100% 1h, every agent session shows 0% 1h
- claude -p with OAuth (no API key) bills as API usage, not Max subscription
- [FEATURE] Real-time Token Usage Indicator in CLI
- [Feature Request] Separate Token Tracking from Verbose Mode Logging
- claude_code_cost_usage_USD_total OTEL counter collides across parallel processes sharing the same session_id, producing oscillating values and inflating increase() queries by 100×+
- You've hit your limit · resets 11:20pm (Africa/Cairo)
- [Bug] Token usage limits exhausted prematurely in 5-hour sessions
- [Bug] Token consumption
- [BUG] Opus usage charged when using Haiku model
- OAuth expiration causes retry storm consuming 100% session usage (3.75M wasted tokens)
- [BUG] uncachable system prompt caused by includeGitInstructions / CLAUDE_CODE_DISABLE_GIT_INSTRUCTIONS -> `git status`
- [BUG] @agent-explore "Out of Credits" on $100 Max Plan
- Claude AI usage limit reached|1753113600
- [BUG] Irrecoverable Sessions if Toolcall canceled before completion
- [Bug] Weekly usage limit reset early, losing 36% of quota before scheduled reset time
- [Bug] Auto-Compact enters infinite loop causing excessive token consumption
- [BUG] Max x20 plan — 5-hour quota consumed in ~10 prompts (started March 14, 2026)
- [BUG] Session limit reached - reset time inconsistent with that shown on claude.ai
- [BUG] Grossly underreported input tokens count when running through Google Vertex AI, leading to actual cost 16x higher than reported in CLI
- [BUG] Claude Code scheduled task caused ~$500 no-op polling spend.
- [BUG] out of credits in 3 days, as a hobbyist.
- [BUG] VS Code extension resumes huge sessions without warning and rapidly exhausts Max usage
- [Bug] Anthropic API Error with skill model switch
- [BUG] VSCode extension forces 1M context on Sonnet 4.6 for Pro users with no way to opt out**
- Extended thinking generates duplicate .jsonl log entries with identical input tokens, causing ~2-3x token inflation in usage tracking
- Regression: increased per-turn token consumption vs previous versions
- [BUG] claude-code PLACEHOLDER IMPLIMENTATIONS, DESTROYS WORKING PIPELINES
- [Bug] Unexpected high token consumption rate
- [BUG] Silent model switch to Opus 4.7 [1M] mid-session caused ~4× quota burn
- [Bug] Excessive token consumption for simple requests
- [BUG] Max Plan 5x Phantom Consumption and Large Token Usage Increased Without Config Changes
- You've hit your limit · resets 4pm (Europe/Berlin)
- [Bug] Usage meter spike from 1% to 74% with concurrent Claude Code sessions
- [BUG] Claude 4 (or since its release) is BURNING USAGE LIMITS x10 TIMES FASTER
- [BUG] Unexpected session model tokens usage for opus
- [Perf/Cost] Tool catalog (~24k tokens) sent uncached on every API request — cache_control breakpoint missing
- [Bug Report] POWER USER PISSED OFF - CLAUDE IS BROKEN AND GETTING WORSE NOT BETTER - HELP PLEASE!
- [Bug] Sub-agents stuck in infinite loops consuming excessive tokens
- [Bug] Parallel agent spawning causes excessive token consumption before crashing or hitting limits
- [BUG] Rate limits blocking multi-agent Claude Code workflows even at highest paid tier
- [BUG] Weekly usage limit reset day drifted Thu → Sat on Max (5x), with timer rebase event
- [BUG] : Claude Code usage increasing without active prompts
- You've hit your limit · resets 1pm (Europe/London)
- [BUG] [Billing]
- [BUG] Duplicate compaction subagents spawned (5x identical work, 65% of session quota) — changelog fix incomplete as of v2.1.87
- You're out of extra usage · resets 12am (UTC)
- [BUG] Claude-code wronlgy sending each user request twice to Anthropic model
- [BUG] /cost summarises models without version number