For AI agents: the complete documentation index is available at /en/llms.txt, the full documentation bundle is available at /en/llms-full.txt, and this page is available as Markdown at /en/changelog/context-statusline.md.
  • English
  • Status line context usage

    • Date: 2026-07-16
    • Commit: feat(tui): add context usage items to statusline
    • Version cue: 0.11.1-alpha.4

    The status line now has two new optional components for showing how much of your context window is being used.

    Config

    [tui]
    status_line = [
      "current-dir",
      "current-model",
      "context-used",
      "context-remaining",
    ]
    ValueExampleMeaning
    context-usedContext 42% usedPercentage used after your last successful request
    context-remainingContext 58% leftPercentage remaining after your last successful request

    It looks like this:

    context-used-remaining

    Behavior details

    1. Numbers come from the context_usage reported when a request finishes (on the MessageFinished path), then the status line refreshes.
    2. /resume (restoring a session) and /clear (clearing the current conversation) both reset the display — so you don't carry over an old percentage from a previous session.
    3. Follows the same rules as other status line items: if you don't configure it, it doesn't show up. If you do configure it but we don't have data yet, the slot won't leave an empty line.

    The total context window size still comes from your models.toml resolution (model_profilesdefaults → built-in). For reference, see models.toml and /context.