Skip to content

feat: surface unknown-priced model usage - #93

Merged
davisbuilds merged 4 commits into
mainfrom
feat/claude-opus-5-pricing
Aug 4, 2026
Merged

feat: surface unknown-priced model usage#93
davisbuilds merged 4 commits into
mainfrom
feat/claude-opus-5-pricing

Conversation

@davisbuilds

Copy link
Copy Markdown
Owner

Summary

  • add Claude Opus 5 pricing and classification
  • make Usage's All tokens view cache-inclusive
  • surface unknown-priced model usage before pricing exists

Why

New models can emit substantial cache-heavy usage before pricing metadata lands. With no stored cost, they were invisible in the default Cost view and cache traffic was excluded from the token view.

Validation

  • pnpm lint
  • pnpm test (766 passed)
  • pnpm frontend:check
  • pnpm build

Follow-up

Historical Opus 5 events need amon costs recalc after the updated runtime is deployed; this PR does not mutate the local database.

@davisbuilds

Copy link
Copy Markdown
Owner Author

@codex

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 5932e262a0

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread frontend/src/lib/components/usage/unpriced-usage.ts Outdated
@davisbuilds
davisbuilds marked this pull request as ready for review August 4, 2026 14:04
@davisbuilds
davisbuilds merged commit 0233b8a into main Aug 4, 2026
3 checks passed
@davisbuilds
davisbuilds deleted the feat/claude-opus-5-pricing branch August 4, 2026 14:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant