Skip to content
Source
Sign inSign up
pingdotgg/t3code

[Bug]: Usage page displays unpriced activity as zero cost #5799

Closedcaezium(GitHub profile, opens in a new tab) opened this issue 1 comment

Before submitting

  • I searched existing issues and did not find a duplicate.
  • I included enough detail to reproduce or investigate the problem.

Area

apps/web

Steps to reproduce

  1. Add or encounter a Claude or Codex transcript whose model is not present in the loaded LiteLLM rate table.
  2. Open Usage for a window containing that activity.
  3. Select the cost view and inspect the headline and model/day breakdown.

The server correctly includes the tokens, sets the cost source to unpriced, and increments unpricedRecords.

Expected behavior

The page should visibly say that the API-equivalent cost is unavailable or partial. Fully unpriced rows must not look like a genuine $0.00 result, and mixed totals should indicate that the displayed dollar amount is a lower bound.

Actual behavior

The page formats missing cost as $0.00 and does not expose the already-computed unpriced coverage. The cost-quality data reaches the client but is not rendered after the cost-quality panel was removed.

Impact

Major degradation or frequent failure

Version or commit

main @ 963ebf5bd7cce00d40ff60c258b34c12dcab271e

Environment

Web and desktop Usage page; provider-independent.

Logs, stack traces, or screenshots

UsageBucket.unpricedRecords > 0
MergedUsage.costQuality.unpricedShare > 0
Rendered value: $0.00

Workaround

Switch to the token view and ignore dollar estimates for windows containing unknown models.

  1. I have the same issue (Nightly build)

  2. maria-rcks closed this

Sign in to join this conversation.