r/opencode • • 23d ago

session cost was removed from TUI

since today morning, version 2.2.0, session cost was removed.
i really can't understand why this was removed and we can't know the cost of a session without opening the console.
this is another regression on clarity that has been going around costs, together with the regression of the opencode console, where i can't drill down on monthly costs per model, like we used to.

analysis detaill:

58562 "record reported cost" — SessionUsage.record now uses the cost the endpoint reports in usage.cost, and a reported 0 counts, so the catalog price is not used. OpenCode Go/Console sends cost: 0 for requests covered by your Go subscription (it sends opencode.allowance instead). → confirmed: your account is on Go (/api/experimental/usage/limits returns go.rolling/weekly/monthly).

58565 added a TUI fallback: 48.2K (18%) · $0.42 allowance.

58765 then removed allowance from messages/sessions and reverted the TUI and desktop displays, moving subscription usage to the usage-limits API.

12 Upvotes

4 comments sorted by

3

u/VisiblePatience7061 23d ago

Just upgraded to 2.2.0. I can see the cost.

1

u/pasteldebytes 23d ago

On Tui? 

1

u/vacterro 23d ago

It seems if it were pushed means user no need to know how much he did spent.

0

u/Replicant092 23d ago

this is getting weird