Skip to content

[Bug]: Output speed in the TUI reads far too high #442

Open

Description

@shersdk

The TUI prints an output speed on completed turns, like Completed in 4s with 6172 tok/s next to it. That turn produced 395 output tokens in a few seconds, so the real rate was in the low hundreds. Models do not decode at 6000 tokens per second.

Seen on Windows 11, MCode 3.0.60.108, model MiniMax-M3.1-Flash-Preview. Values run from a few thousand to tens of thousands, and they contradict the elapsed time printed beside them.

Completed turn line showing 6172 tok/s

The rate is the provider's output token count divided by a measured decode window. The token count looks right, the window looks far too small. Worth a look.

Activity

  1. changed the title [-]Output speed in the TUI reads far too high[/-] [+][Bug]: Output speed in the TUI reads far too high[/+] on Oct 7, 2026
  2. added
    bugSomething isn't working
    tuiInteractive terminal UI (TUI)
    on Oct 13, 2026
  3. hetaoBackend commented on Oct 13, 2026

    @hetaoBackend
    Collaborator

    Thanks for catching this — you are right, and this is a real reporting bug worth fixing.

    Triage action: labelled bug + tui. Removed from needs-triage.

    What we need to reproduce it (please reply with these):

    1. Which model and which interface (interactive TUI)? The reported 6172 tok/s on a 395-token turn is far above any real decode rate, so the display is almost certainly counting wall-clock or a cumulative counter rather than this turn's tokens.
    2. Does the number stay wrong when the same turn is repeated, or does it reset per turn?
    3. A Completed in Xs line with the displayed tok/s, plus the actual output token count if you can read it from /status.

    If you want to fix it yourself, a fork PR does not require collaborator access — please open an issue describing the scope first, and validation runs with pnpm verify --profile platform.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtuiInteractive terminal UI (TUI)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions