Skip to content

models: usage that prices at $0 is hidden by default — the payload carries unpricedModels, no surface renders it #1420

Closed

Description

@ozymandiashh

Found through the codex-cliproxy-gateway route (the pricing fix for its cliproxy/* naming is #1364), but the discovery failure is independent of that fix and outlives it: pricing data will always lag new models and routing wrappers, and while it lags, the affected usage is not merely unpriced — it is invisible.

Evidence from a real machine (week of Sep 8–14, all verified on the CLI and the payloads):

  • codeburn models (default) omits every row under $0.01 — minCost: 0.01 at src/main.ts:2574 — so 429.1M tokens across three cliproxy/* models were absent from the table and from the footer total. --unpriced is the only reveal, and nothing in the default flow tells the user it exists.
  • The payload already computes and carries the block — unpricedModels in the period data (src/main.ts:773) and in MenubarPayload (src/menubar-json.ts:691, added with the Unpriced models silently contribute $0 to totals; warning is off by default #638 render-time detection) — but nothing renders it: no reference in mac/Sources, app/renderer, windows/src, or the web dashboard. The menubar read "Today $38.20" with no hint that the day's single largest line (a routed Claude model, ~$52 would-be at API rates) sat at $0. That is exactly how "cheap" and "uncounted" became indistinguishable for a week.
  • codeburn compare is the only consumer today (period-diff.ts).

Expected:

  • The default models table stops dropping $0 rows silently — either includes them (dimmed or marked unpriced), or keeps the floor but prints one explicit line: "N more models price at $0 · --unpriced to see them".
  • The surfaces that already receive unpricedModels in the payload (menubar popover, desktop app, Windows tray, web dash) render it: one indicator naming the models and the token amount, with the existing remedies one step away (model-alias, price-override, model-flat-rate).

Not in scope: the pricing rows for the gateway's names themselves (#1364), the CLI warning's truncation at narrow widths (#969), and its false positives on flat-rate-billed models (#968).

Activity

  1. added
    bug
    area: cli
    area: desktop
    on Sep 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: cliarea: desktopbug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions