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 sidebar shows misleading $0.00 spent for models without pricing #39869
The opencode TUI sidebar Context section displays $0.00 spent for a session whose model has no pricing information, even though the true cost cannot be derived. This is misleading because $0.00 reads as free, when in reality the model simply has no cost entry (e.g. a custom model added to opencode.json without a cost field).
Current behavior
Context
12,345 tokens
42% used
$0.00 spent
Expected behavior
When the session model has no pricing, show N/A spent instead of a misleading $0.00 spent:
Context
12,345 tokens
42% used
N/A spent
Related
The runtime cost tracking problem for custom providers is tracked separately in #17223. This issue is about the display only.
The distinction in this issue (display-only fix: show N/A instead of $0.00) is a reasonable clarification, but the underlying problem and proposed remediation overlap significantly with the above.
Activity
github-actions commentedon Jul 31, 2026
This issue might be a duplicate of existing issues. Please check:
The distinction in this issue (display-only fix: show
N/Ainstead of$0.00) is a reasonable clarification, but the underlying problem and proposed remediation overlap significantly with the above.github-actions commentedon Oct 1, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.