Skip to content

Feature request: show token throughput (tok/s) in the TUI #43857

Closed

Description

@koimari

Is your feature request related to a problem?

The TUI doesn't surface generation speed anywhere, so there's no way to gauge inference throughput per response or compare models/providers without benchmarking externally.

Describe the solution you'd like

Show average tok/s (tokens per second) in the status line / session footer while a response is streaming, plus a final per-response average once complete (e.g. next to the existing token counts). A session-wide average (via a /stats-style command or footer) would also be useful.

Describe alternatives you've considered

Timing requests manually or benchmarking against provider APIs directly — neither reflects real usage inside opencode.

Activity

  1. github-actions commented on Aug 21, 2026

    @github-actions
    Contributor

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

    These all request the same or very similar functionality (displaying tok/s / TPS in the TUI footer). Please review them and, if your request is already covered, consider closing this issue or adding a comment there instead.

  2. neriousy commented on Oct 19, 2026

    @neriousy
    Member

    V2 shows average token throughput in the response footer as tok/s (since v2.0.0), controlled by the session.tps CLI setting. This covers per-response throughput, not a session-wide average. Upgrade with npm i -g @opencode/cli@latest. If you still see this on v2, please open a new issue with the details.

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

Metadata

Metadata

Assignees

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