Skip to content

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

@KonstantinMirin

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.

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
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions