anomalyco / anomalyco/opencode
Feature request: show token throughput (tok/s) in the TUI
@kommander is already working on this.
Since Aug 21, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
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.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.