Feature Request: Context window usage progress bar

Resolved 💬 2 comments Opened May 21, 2026 by vipvip666888 Closed May 25, 2026

Problem

Currently, there is no way to know how much of the 1M context window is being used during a conversation. Users only find out when context is already near exhaustion (summarization kicks in, or responses degrade).

Proposed Solution

Add a small, unobtrusive progress bar or percentage indicator below the chat input box showing context window usage.

Visual example:

[鈻堚枅鈻堚枅鈻堚枅鈻堚枅鈻戔枒鈻戔枒鈻戔枒鈻戔枒鈻戔枒鈻慮 Context: ~45% (450K / 1M tokens)

Or simpler: Context: 450K / 1M | 45%

Behavior

  • Updates in near real-time as conversation grows
  • Color-coded: green (<60%), yellow (60-85%), red (>85%)
  • Optional: can be toggled on/off in settings
  • Minimal performance impact (token counting happens server-side)

Why This Matters

  • Reduces anxiety about hitting the context limit unexpectedly
  • Helps developers optimize their prompt and tool usage patterns
  • Especially valuable for users running long /loop or autonomous sessions

Alternatives Considered

  • A /context slash command (one-shot check instead of persistent indicator)
  • A warning-only approach (only show when >80% used)

View original on GitHub ↗

This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗