Skip to content

[Bug] Instant Auto-Compact increases token consumption even when disabled #13569

Open

Description

@BnnQ

Bug Description
after 2.0.64 update (probably because of instant auto-compact introduced) token usage spiked crazy, even though I have auto-compaction disabled. Previously it was only consuming tokens during compaction itself (and much less), but now even without doing anything with the compaction (explicitly), "background" token consumption during claude work is much higher (while running compaction itself no longer consumes tokens, but still). And the more the context is filled, the more tokens are consumed, sometimes I notice how 10% of the 5-hour limit is suddenly eaten up while claude was just doing its regular work at ~180K context. Next message? Another 5-10% eaten. And it definitely wasn't the case previously, it was absolutely possible that 5-10% of 5-hour limit would be eaten within one "message", but progressively, not all of a sudden.

Environment Info

  • Platform: win32
  • Terminal: windows-terminal
  • Version: 2.0.64
  • Feedback ID: 74574dbe-baa8-4c9b-a359-9bf273d4c2b0

Errors

[{"error":"MaxFileReadTokenExceededError: File content (43718 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at xtL (B:/~BUN/root/claude.exe:1252:10587)\n    at async call (B:/~BUN/root/claude.exe:1261:972)\n    at async <anonymous> (B:/~BUN/root/claude.exe:1478:1511)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-10T14:41:15.435Z"},{"error":"MaxFileReadTokenExceededError: File content (43718 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at xtL (B:/~BUN/root/claude.exe:1252:10587)\n    at async call (B:/~BUN/root/claude.exe:1261:972)\n    at async <anonymous> (B:/~BUN/root/claude.exe:1478:1511)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-10T14:41:42.096Z"},{"error":"MaxFileReadTokenExceededError: File content (43718 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at xtL (B:/~BUN/root/claude.exe:1252:10587)\n    at async call (B:/~BUN/root/claude.exe:1261:972)\n    at async <anonymous> (B:/~BUN/root/claude.exe:1478:1511)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-10T14:43:05.797Z"},{"error":"MaxFileReadTokenExceededError: File content (43718 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at xtL (B:/~BUN/root/claude.exe:1252:10587)\n    at async call (B:/~BUN/root/claude.exe:1261:972)\n    at async <anonymous> (B:/~BUN/root/claude.exe:1478:1511)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-10T14:44:36.726Z"},{"error":"MaxFileReadTokenExceededError: File content (43718 tokens) exceeds maximum allowed tokens (25000). Please use offset and limit parameters to read specific portions of the file, or use the GrepTool to search for specific content.\n    at xtL (B:/~BUN/root/claude.exe:1252:10587)\n    at async call (B:/~BUN/root/claude.exe:1261:972)\n    at async <anonymous> (B:/~BUN/root/claude.exe:1478:1511)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-10T14:44:55.590Z"},{"error":"Error: Request was aborted.\n    at makeRequest (B:/~BUN/root/claude.exe:1096:3939)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-10T15:29:51.586Z"},{"error":"Error: Request was aborted.\n    at _createMessage (B:/~BUN/root/claude.exe:127:3151)\n    at processTicksAndRejections (native:7:39)","timestamp":"2025-12-10T15:44:22.625Z"}]

Activity

  1. github-actions commented on Dec 10, 2025

    @github-actions

    Found 3 possible duplicate issues:

    1. [BUG] Since mid-November, claude code is consuming ~5x tokens #13552
    2. [Bug] Max plan usage consumed at unusually high rate without workflow changes #13551
    3. [BUG] Version 2.0.61 is extremely slow and causes rapid, excessive token consumption/rate limits #13466

    This issue will be automatically closed as a duplicate in 3 days.

    • If your issue is a duplicate, please close it and 👍 the existing issue instead
    • To prevent auto-closure, add a comment or 👎 this comment

    🤖 Generated with Claude Code

  2. BnnQ commented on Dec 10, 2025

    @BnnQ
    Author

    Could be a duplicate of #13551, but others are unrelated since my ticket is specifically about 2.0.64. Previous versions worked fine for me

  3. self-assigned this
    on Dec 10, 2025
  4. github-actions commented on Jan 13, 2026

    @github-actions

    This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

  5. BnnQ commented on Jan 14, 2026

    @BnnQ
    Author

    Yes, it still could be one of the underlying reasons for #16157
    No updates from the assignee whatsoever

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:corebugSomething isn't workinghas reproHas detailed reproduction stepsmemoryplatform:windowsIssue specifically occurs on Windows

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions