Skip to content

[Feature Request] Display current context token count in ccusage statusline #454

Description

@9wick

I would like to request a feature to display the current context token count in ccusage, similar to the implementation shown in this gist:
https://gist.github.com/9wick/8c0e9dae6c191cf3d7182315a1f1a81a

When working with LLMs, it's crucial to monitor the current context size to:

  • Understand how much of the context window is being used
  • Optimize prompts and responses to stay within limits
  • Make informed decisions about when to summarize or truncate conversations
  • Prevent unexpected autocompact triggers and maintain control over context management

Activity

  1. ItsLucas commented on Aug 11, 2025

    @ItsLucas
    Contributor

    I vibed a version of it #480

  2. ItsLucas commented on Aug 13, 2025

    @ItsLucas
    Contributor
    Image

    Looks good

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions