You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Plugin cannot change opencode TUI, we can by making a check quota tool and you ask the agent to get the quota, and it's show you quota, not like showing quota on the sidebar, it will consume you a call to agent for it to get the quota, which is for me bad design
If you want the sidebar of opencode always show quota, Opencode doesn't allow plugin to do that and we cannot do anything about this tracker, instead I relying in another IDE that is vscode which allow extension to create sidebar view
We can support the quota tracker on opencode if they allow plugin to render in the TUI as well but for now relying on agent call and tool is bad
what about a toast each X percent hit shows a toast with an info.
It can work but it will spam the user, imagining a toast pop up everytimes you call, maybe we can also add a cooldown system for that and setting to disable, but i still don't think this is good design for me the better ways still use a extension to view quota without cluster the opencode view, this is not align with my use case thought, anyone interested can pick this up but remember to have option to disable the toast
You can just copy-paste an extension folder from .vscode to .cursor (.antigravity).
Don't forget to edit a extensions.json to include a newly copied extension
Plugin cannot change opencode TUI, we can by making a check quota tool and you ask the agent to get the quota, and it's show you quota, not like showing quota on the sidebar, it will consume you a call to agent for it to get the quota, which is for me bad design If you want the sidebar of opencode always show quota, Opencode doesn't allow plugin to do that and we cannot do anything about this tracker, instead I relying in another IDE that is vscode which allow extension to create sidebar view We can support the quota tracker on opencode if they allow plugin to render in the TUI as well but for now relying on agent call and tool is bad
What about adding a /quota command? I think it would be an okay option
this is exactly the pain that led me to fork opencode into arctic
the core issue isn't just a /quota command or a toast, it's that plugins can't render persistent state in the TUI, so quota visibility ends up either noisy or expensive (extra agent calls)
arctic takes the opposite approach: the client owns the request flow, so plan-based usage and limits can be shown continuously without extra calls
if opencode ever exposes TUI rendering hooks for plugins, this could live upstream. until then, it's hard to do cleanly without client-level changes
Activity
[-][FEATURE][/-][+][FEATURE] add remaining quota progress bar[/+]tctinh commentedon Jan 9, 2026
Hi @farvend, If you using vscode or any vscode fork try this extension, https://marketplace.visualstudio.com/items?itemName=TCTinh.universal-agent-quota-tracker
andremacola commentedon Jan 9, 2026
Not available on OpenVsx yet
farvend commentedon Jan 9, 2026
I want to see quota in Opencode
tctinh commentedon Jan 9, 2026
Plugin cannot change opencode TUI, we can by making a check quota tool and you ask the agent to get the quota, and it's show you quota, not like showing quota on the sidebar, it will consume you a call to agent for it to get the quota, which is for me bad design

If you want the sidebar of opencode always show quota, Opencode doesn't allow plugin to do that and we cannot do anything about this tracker, instead I relying in another IDE that is vscode which allow extension to create sidebar view
We can support the quota tracker on opencode if they allow plugin to render in the TUI as well but for now relying on agent call and tool is bad
andremacola commentedon Jan 9, 2026
what about a toast each X percent hit shows a toast with an info.
tctinh commentedon Jan 9, 2026
It can work but it will spam the user, imagining a toast pop up everytimes you call, maybe we can also add a cooldown system for that and setting to disable, but i still don't think this is good design for me the better ways still use a extension to view quota without cluster the opencode view, this is not align with my use case thought, anyone interested can pick this up but remember to have option to disable the toast
maifeeulasad commentedon Jan 9, 2026
If you guys want, I can work on this one!
vlnifos commentedon Jan 9, 2026
You can just copy-paste an extension folder from .vscode to .cursor (.antigravity).
Don't forget to edit a
extensions.jsonto include a newly copied extensionfarvend commentedon Jan 9, 2026
What about adding a
/quotacommand? I think it would be an okay optionOmerFarukOruc commentedon Jan 9, 2026
i have done this #116 currently im using for my own tracking purpose
mathisdev7 commentedon Jan 12, 2026
this is exactly the pain that led me to fork opencode into arctic
the core issue isn't just a
/quotacommand or a toast, it's that plugins can't render persistent state in the TUI, so quota visibility ends up either noisy or expensive (extra agent calls)arctic takes the opposite approach: the client owns the request flow, so plan-based usage and limits can be shown continuously without extra calls
if opencode ever exposes TUI rendering hooks for plugins, this could live upstream. until then, it's hard to do cleanly without client-level changes
NoeFabris commentedon Jan 13, 2026
Hey all, thanks for all the inputs, for now we won't implement a slash command or other ways to check the remaining quota, just because there are a lot of options to do that and we want to focus on improving stability rather than implement a new feature that needs to be maintained and increase complexity.
What I cxan reccoment is the vsCode extension https://marketplace.visualstudio.com/items?itemName=TCTinh.universal-agent-quota-tracker from @tctinh