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
{{ message }}
Repository navigation
Trend view and codeburn models group the same model under different rows #1239
For a day where OpenCode used both routes of the same model, the desktop Trend view tooltip lists them as separate rows while codeburn models merges them into one:
Trend (2026-08-26): minimax/MiniMax-M3 $6.99 / 23.1M tok, and MiniMaxAI/MiniMax-M3 as its own row
codeburn models (same day, same data): one row "MiniMax M3", 415 calls, 27.25M tok, $7.36
Same data, two groupings, so the surfaces disagree on what "a model" is.
Why it matters
Users comparing the two will think one of them is wrong. In this case the split is actually informative (one route caches, the other does not, and the uncached one cost about 60x more per turn), so whichever grouping wins, the other surface should at least be consistent with it.
Where to look
Trend tooltip rows: the desktop app's per-day model breakdown in app/renderer (the model key is the raw provider/model string).
codeburn models: src/ model normalization (display name mapping collapses minimax/MiniMax-M3 and MiniMaxAI/MiniMax-M3 to "MiniMax M3").
Suggested fix
Pick one rule and apply it on both surfaces. Reasonable option: group by normalized display name everywhere, and show the route as a secondary label (or a tooltip) so the caching difference stays visible.
Found while verifying a reported 23.1M token day; the number itself was correct (355 uncached agent turns at ~65K context each).
Activity
fix(models): group Trend rows and the models command by the same disp…