Skip to content

Context percentage incorrect for Opus with 1M token context window #233

@PaulRBerg

Description

@PaulRBerg

Problem

Since Claude Code v2.1.75, the default model shipped with the Max subscription is Opus 4.6 with a 1M token context window. ccstatusline doesn't calculate the context usage percentage correctly for this configuration — it likely still assumes the previous context window size, resulting in inaccurate percentage values in the status line.

Note

The exact model ID is claude-opus-4-6[1m]. You can verify this by checking claude --version or looking at the model info in the system prompt of any active session.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions