[Claude Desktop] Background token consumption without user interaction — 5% weekly usage lost overnight
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] 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
- Open Claude Desktop and have active conversations during the day
- Leave Claude Desktop open overnight (do not close the app)
- Do not send any messages — zero interaction
- Check weekly usage % in Settings > Usage the next morning
- Compare with local JSONL logs via claude-usage tool
- 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"
- Tool used for log verification: https://github.com/phuryn/claude-usage
- Related issue: #51222 (rolling window reset anomaly)
- Cache read this week: 101.19M tokens (heavy context reloading)
This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗