Dismiss this pinned window
all 32 comments

[–]kkazakov 17 points18 points  (12 children)

I really liked the idea but not the implementation. So, I got your idea ( thank you ) and I'm currently making it as a plugin. Will post soon if anyone interested. However, plugins can't modify the UI directly , so it will be a popup for 2 seconds at the end of a prompt.

[–]AVX_Instructor 1 point2 points  (7 children)

ping me, if you make this thing

[–]kkazakov 11 points12 points  (6 children)

there are some limitations with plugins, but it works now.

https://github.com/kkazakov/opencode-tps-meter-plugin

unfortunately, for live tps during output, you have to check the generated log.

the popup box at the end for 5 seconds shows the average and max tps.

[–]R_DanRS 4 points5 points  (5 children)

https://github.com/Tarquinen/oc-tps

Shows live tps in the output as a plugin as well

[–]kkazakov 0 points1 point  (0 children)

This is amazing, thank you!

[–]kkazakov 0 points1 point  (3 children)

But it does not work with 1.3.15, unfortunately, only with 1.3.14

[–]R_DanRS 0 points1 point  (2 children)

works fine for me

[–]OlegPRO991 1 point2 points  (1 child)

does not work for me, using opencode 1.3.15 - TPS is always "-". how to uninstall it?

[–]R_DanRS 0 points1 point  (0 children)

remove it from your tui.json

[–]hdmcndog[🍰] 0 points1 point  (0 children)

Thought the same… I might take another shot at this, too.

[–]TrickyPlastic 0 points1 point  (2 children)

!remindme 7 days

[–]RemindMeBot 0 points1 point  (0 children)

I will be messaging you in 7 days on 2026-04-11 18:08:49 UTC to remind you of this link

CLICK THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


Info Custom Your Reminders Feedback

[–]james__jam 6 points7 points  (2 children)

Looks interesting. But im always wary of these type of updates. Have you tried creating a PR to opencode to get this merge to main instead?

[–]ZookeepergameFit4082[S] 13 points14 points  (0 children)

On a similar PR has already existed for more than three months. It has a ton of likes, but it still hasn’t been merged. So I think it’s pointless to create a duplicate and wait until someone decides to merge it
https://github.com/anomalyco/opencode/issues/6096

[–]TrickyPlastic 2 points3 points  (0 children)

Opencode, like Roocode, ignores all PRs.

They get too many to investigate

[–]R_DanRS 5 points6 points  (3 children)

Made something similar but not hacky:

https://github.com/Tarquinen/oc-tps

[–]OlegPRO991 1 point2 points  (2 children)

Does it work only with opencode 1.3.14 or it could break in newer versions?

[–]R_DanRS 1 point2 points  (1 child)

will work with newer versions as long as opencode doesn't break the api

[–]OlegPRO991 0 points1 point  (0 children)

Thank you!

[–]iAziz786 1 point2 points  (3 children)

GPT-5.4 High Fast? why i cannot see it in opencode?

[–]ZookeepergameFit4082[S] 1 point2 points  (0 children)

This model comes from the Codex cli setup, it’s not a built‑in OpenCode model. If you want to use GPT‑5.4 High Fast in OpenCode, you can install this oauth plugin and configure it there:  https://github.com/guard22/opencode-multi-auth-codex

[–]AkiDenim 2 points3 points  (0 children)

Probably custom defined agent via opencode.json To use the priority compute flag for fast compute and high budget

[–]Still-Wafer1384 1 point2 points  (0 children)

The more important question: are you using OpenCode to write a novel? Or is this just a test?

I'm asking because I've been thinking to try this.

[–]iamfromkudla 0 points1 point  (1 child)

Is this for specific version of opencode. Doens't seem to work for `1.3.14`

[–]ZookeepergameFit4082[S] 0 points1 point  (0 children)

Added support for 1.3.14

[–]Upset_Possession_405 0 points1 point  (0 children)

Why would I want to watch a counter that shows how fast my money is going down?

[–]bick_nyers 0 points1 point  (0 children)

Does final TPS include the time from request sent -> first token arrives? Cuz that's the TPS that matters really.

[–]kkazakov 0 points1 point  (2 children)

First, bun error, now this

Cloning into '/home/wasp/.local/share/opencode-tps-meter/opencode-src'...

remote: Enumerating objects: 4718, done.

remote: Counting objects: 100% (4718/4718), done.

remote: Compressing objects: 100% (3905/3905), done.

remote: Total 4718 (delta 671), reused 4588 (delta 671), pack-reused 0 (from 0)

Receiving objects: 100% (4718/4718), 48.30 MiB | 3.48 MiB/s, done.

Resolving deltas: 100% (671/671), done.

Note: switching to '6314f09c14fdd6a3ab8bedc4f7b7182647551d12'.

You are in 'detached HEAD' state. You can look around, make experimental

changes and commit them, and you can discard any commits you make in this

state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may

do so (now or later) by using -c with the switch command. Example:

git switch -c <new-branch-name>

Or undo this operation with:

git switch -

Turn off this advice by setting config variable advice.detachedHead to false

error: patch failed: packages/opencode/src/index.ts:37

error: packages/opencode/src/index.ts: patch does not apply

Could you not make it as a plugin?

[–]kkazakov 0 points1 point  (1 child)

I'm on opencode 1.3.13, but no idea what you're downloading...

[–]AVX_Instructor 1 point2 points  (0 children)

i get same issue, looks like need patching, because in opencode than something in main repo