claude-code - 💡(How to fix) Fix [Claude Desktop] Background token consumption without user interaction — 5% weekly usage lost overnight

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…

Error Message

Error Messages/Logs

Code Example

claude-usage weekly report (2026-05-06 to 2026-05-12):
    2026-05-09  turns=0    cost=$0.00
    2026-05-10  turns=0    cost=$0.00
    2026-05-11  turns=312  cost=$12.67  (last session ended 16:19)
    2026-05-12  turns=18   cost=$0.55   (first session started 10:15)

  14 claude.exe (Electron) processes running since 11/05 12:23
  No JSONL files modified between 16:19 May 11 and 10:15 May 12
RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

Weekly usage increased ~5% overnight (16:30 May 11 to 10:15 May 12) with zero user interaction. Claude Desktop was left open with 14 background processes running. No Claude Code CLI sessions exist in local JSONL logs during that period, confirmed via claude-usage tool.

What Should Happen?

Weekly usage should only increase when the user explicitly sends a message. Background processes from Claude Desktop should not consume tokens silently.

Error Messages/Logs

claude-usage weekly report (2026-05-06 to 2026-05-12):
    2026-05-09  turns=0    cost=$0.00
    2026-05-10  turns=0    cost=$0.00
    2026-05-11  turns=312  cost=$12.67  (last session ended 16:19)
    2026-05-12  turns=18   cost=$0.55   (first session started 10:15)

  14 claude.exe (Electron) processes running since 11/05 12:23
  No JSONL files modified between 16:19 May 11 and 10:15 May 12

Steps to Reproduce

Steps to Reproduce

  1. Open Claude Desktop and have active conversations during the day
  2. Leave Claude Desktop open overnight (do not close the app)
  3. Do not send any messages — zero interaction
  4. Check weekly usage % in Settings > Usage the next morning
  5. Compare with local JSONL logs via claude-usage tool
  6. Usage % will be higher than what local logs account for

Claude Code Version → rode ! claude --version aqui no prompt para pegar o número

Operating System → Windows 11 Home

Terminal/Shell → PowerShell

Claude Model

Sonnet (default)

Is this a regression?

Yes, this worked in a previous version

Last Working Version

2.1.139 (Claude Code)

Claude Code Version

2.1.139 (Claude Code)

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

PowerShell

Additional Information

  • Anthropic support bot confirmed: "documentation does not address whether Claude Desktop performs background operations"

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