Skip to content

[FEATURE]: Show average TPS in TUI status bar #22344

Closed

Description

@KonstantinMirin

Feature hasn't been suggested before

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

The TUI status bar currently shows context usage (e.g. "1.2K (12%)" ) and cost in the prompt footer, subagent footer, and sidebar context plugin. It would be useful to also show the average output tokens per second (TPS) for the last completed assistant message, placed before the context info — e.g. "42 t/s · 1.2K (12%) · $0.05".

TPS is calculated from existing data already available on AssistantMessage: tokens.output / ((time.completed - time.created) / 1000). It only appears after a response completes (since time.completed is required), giving a rough throughput metric for the last turn.

Activity

  1. added
    coreAnything pertaining to core functionality of the application (opencode server stuff)
    opentuiThis relates to changes in v1.0, now that opencode uses opentui
    on Apr 13, 2026
  2. github-actions commented on Apr 13, 2026

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    If you believe your request is distinct from these, please clarify how it differs.

  3. Tarquinen commented on Apr 14, 2026

    @Tarquinen
    Member
  4. KonstantinMirin commented on Apr 14, 2026

    @KonstantinMirin
    Author

    Closing — PR #21133 already implements this with live streaming TPS support.

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

Metadata

Metadata

Assignees

Labels

coreAnything pertaining to core functionality of the application (opencode server stuff)opentuiThis relates to changes in v1.0, now that opencode uses opentui

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions