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
tui: /models footer shows "Free" but no price for paid models, even when Model.Info.cost is provided #60856
The right-hand footer of each row in /models renders only:
Free when the model is considered free (cost.length > 0 && cost.every(tier => tier.input === 0)),
a favorite icon,
and nothing for paid models. The cost data is already present on Model.Info.cost (plugins and providers supply it — the internal detail render even formats it as $X/$Y per 1M), but the footer never renders it.
For providers that expose many paid models (e.g. custom/plugin providers), there is no way to see pricing while picking a model; users must memorize prices or check the provider's dashboard.
Related: #14524 (Display model cost in the model picker — auto-closed without the feature landing), #60653 (mini/run footer cost estimate — different surface).
Environment
opencode 2.2.5, TUI
Reproduction
A provider supplies Model.Info.cost = [{ input: 0.125, output: 0.625, cache: { read: 0, write: 0 } }] (verified via GET /api/model).
Open /models.
The row footer shows nothing for that model; only zero-cost rows show Free.
Expected behavior
Render the price in the footer for paid models, e.g. $0.125/$0.625 (per 1M tokens), keeping Free for zero-cost ones. Optionally behind a setting.
Thanks for the detailed request! You'd like /models to show each paid model's price (e.g. $0.125/$0.625 per 1M tokens) in the row itself, next to the existing Free label, so you can compare models while picking. Maintainers will consider it.
The picker doesn't add a price to each row today. The redesigned picker shows input/output pricing for the highlighted model in its detail row instead. You can turn it on now with "experimental": { "new-designs": true } in ~/.config/opencode/cli.json. It only shows one model at a time, not a price on every row as you're asking.
I just turned on "experimental": { "new-designs": true } in ~/.config/opencode/cli.json and have verified that the TUI design has updated, yet I do not see any costs for any model.
Activity
opencodejr commentedon Oct 31, 2026
Thanks for the detailed request! You'd like
/modelsto show each paid model's price (e.g.$0.125/$0.625per 1M tokens) in the row itself, next to the existingFreelabel, so you can compare models while picking. Maintainers will consider it.The picker doesn't add a price to each row today. The redesigned picker shows input/output pricing for the highlighted model in its detail row instead. You can turn it on now with
"experimental": { "new-designs": true }in~/.config/opencode/cli.json. It only shows one model at a time, not a price on every row as you're asking.Related issues:
Freebadge only covers the opencode provider/modelsThis can't be done as a plugin right now, because TUI plugins don't have a slot in the model dialog.
jack5github commentedon Nov 12, 2026
I just turned on
"experimental": { "new-designs": true }in~/.config/opencode/cli.jsonand have verified that the TUI design has updated, yet I do not see any costs for any model.