Repository navigation
Replies: 12 comments 4 replies
|
+1. Folding in details from my closed duplicate #15043 (V2-specific):
|
|
I’d like to contribute a narrowly scoped version of this for V2. I run multiple long-running threads and want to see which threads account for my usage. The proposed UI would mirror the existing Hour breakdown: one row per thread, showing its name and either estimated cost or tokens according to the existing metric toggle. A green dot would indicate threads that are currently running. It would reuse the existing period and environment filters. I would leave out subagent drill-downs, project reporting, additional charts, and custom date controls. Usage that cannot be reliably attributed would remain explicitly accounted for. Would a maintainer approve this direction and scope for a contribution before I start implementing it? Are there any constraints or existing work you would prefer me to build on? |
|
Follow-up to my comment above with a working V2 prototype (dummy data, local mock): Before / after: Context Window popover
Settings → General, next to the context window indicator: This complements the per-thread breakdown on the Usage page proposed above; it answers "what has this conversation cost" from inside the thread. Happy to scope a PR to just the popover row if a maintainer approves. |
|
@juliusmarminge @t3dotgg @maria-rcks can anyone look into this, we can include this in the V2 stable release. |
|
Added by GPT-6.1 Sol via OpenCode in T3 Code, on behalf of @maxvandongenTikkie. I’m using T3 Code nightly with OpenCode V2 and GitHub Copilot. OpenCode’s terminal displays estimated cost, and I’d like similar visibility directly in the T3 thread, without opening the aggregate Usage page. My preference is a small cost indicator in the thread header or composer, updated after each completed turn, with more frequent updates where supported. This should be a shared feature across providers where sufficient data is available, with clear labelling for estimates, partial coverage, or unavailable data—not a misleading The displayed amount should explain its scope, particularly whether it includes native subagents or T3-delegated work and whether it remains cumulative when switching providers within a thread. If only the current native provider session can be measured, that should be explicit in the tooltip. I’m looking for usage-cost awareness, not subscription billing or quota tracking. An after-turn indicator with honest scope and coverage would already meet my need; continuous live updates could be optional. For context, this was investigated on T3 Code |
|
I would also really like to see how many token a thread consumed, especially to get a feeling for how good or bad a certain workflow is, when changing or testing ai workflows in general. But we also need to consider that it would need to be a sum of all sub-agents too. Also as if using another model the cache would not be shared and as such the cost could not be calculated correctly, or am I wrong? |
|
I independently thought of this today, and my agent found this discussion while researching it. I’d love to see it upstream too—especially an on-demand “See chat usage” action in the chat’s right-click menu, or a slash command, showing tokens and estimated cost for that conversation. |
|
I need this cost visible in the thread itself, not only on the aggregate Usage page. The context meter popover is the right place. It should show a live Use only the cost that the provider reports. If a provider or model has no price, show This remains separate from the Usage page. The Usage page answers "how much did I spend overall?" The thread indicator answers "what has this thread cost so far?" |
|
FYI guys, this could easily be solved by using tokscale while waiting for the discussion to kick off. |
|
One stretch idea for this: after a long autonomous run, I'd like to ask the agent roughly how much of my weekly subscription allowance that thread used. This isn't particularly important—just food for thought alongside the thread usage work here. The goal wouldn't be an exact percentage. I'd just like to know whether one thread has been taking up a large share of my usage, so I can decide whether to keep it running or change how I'm approaching the task. Something like “this thread used roughly a quarter of your estimated weekly allowance” would be useful even if it's approximate. Could the thread's API-equivalent usage be divided by an estimated weekly API-equivalent allowance for the selected plan? I'm thinking of the same kind of figures Theo uses when comparing subscription value. The baseline could be configurable and dated, with the result clearly labeled as an estimate since model mix, caching, speed and plan changes could affect it. PR #34338 already proposes the thread cost calculation. This would use that as an input to answer the subscription-percentage question. It would help if the agent could read the estimate too, and if the report made clear whether delegated work was included. I'm not asking for precise billing or a guarantee that it matches the provider's usage meter. Just a rough indication that a particular thread is consuming a meaningful chunk of the allowance. No worries if that adds more complexity than it's worth! |






Uh oh!
There was an error while loading. Please reload this page.
I’d like to see how many tokens each thread has consumed and its estimated cost, so I can understand the expense of individual tasks and compare model choices.
Ideally, each thread would have a compact usage summary showing:
A thread breakdown on the Usage page would also be useful. Maybe link from the thread too.
It has been implemented in #9017 but I want to open a discussion in case PR gets closes or too stale.
It think the UI implemented looks fine.

Related work:
Could this issue track the feature request through V2, independently of those implementation PRs?
Also somewhat related to #6683
All reactions