Skip to content

Desktop Models table never shows rows under $0.01 or unpriced models #1465

Closed

Description

@iamtoruk

codeburn models defaults minCost to 0.01 (src/main.ts:2574), filtering costUSD >= minCost || savingsUSD >= minCost. codeburn:getModels (app/electron/main.ts:573) passes neither --min-cost nor --unpriced, so the desktop Models table silently drops every row below a cent.

On a real corpus that is 20 rows and 2,160 calls, including coder-model (518 calls, 6.6M input tokens) and cursor-grok-4.6-high (749 calls). Because the "unpriced" predicate in Models.tsx is costUSD === 0 && savingsUSD === 0, no unpriced row can ever survive the filter, so the dimming rules and the "add alias" affordance from #1443 are unreachable in the shipped app.

Fix is --min-cost 0 in the getModels argv, but it changes the table for every user, so it needs before and after screenshots in both themes and a check that the row count stays sane on a large corpus. Found by ozymandiashh while working on #1443. Related: #1318.

Activity

  1. added
    bug
    area: desktop
    area: cli
    status: confirmed
    on Sep 17, 2026
  2. added a commit that references this issue on Sep 18, 2026
    f899e3d
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: desktopbugstatus: confirmed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions