Skip to content

[Bug]: Context Window Calculation wrong for claude code #2034

@parzival1l

Description

@parzival1l

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/desktop

Steps to reproduce

Hi,
I've been running into this issue for a couple of days. The context window calculation was stuck on 5% after multiple turns for a day and then suddenly shot up to 100% even though the usage was only 15% (confirmed with claude code cli) -see attached images.

Image Image

Expected behavior

Other threads with codex seems okay no issues.

Actual behavior

Active and Working context window calculator.

Impact

Blocks work completely

Version or commit

No response

Environment

MACOS Tahoe 26.4

Logs or stack traces

Screenshots, recordings, or supporting files

No response

Workaround

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken or behaving incorrectly.needs-triageIssue needs maintainer review and initial categorization.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions