Skip to content

fix(cli): refresh model pricing from models.dev - #242

Open
github-actions[bot] wants to merge 1 commit into
developfrom
chore/pricing-sync
Open

github-actions[bot] wants to merge 1 commit into
developfrom
chore/pricing-sync

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

Automated refresh of cli/core/pricing/models.json from
https://models.dev/api.json — review the diff for price changes and
check the job log for reseller price collisions.

The table is compiled into dira/dirad, so merging releases a
patch to actually ship the new prices. Local cost figures are
estimates only; the cloud keeps its own copy, is authoritative, and
re-prices historical rows.

The refresh is append-only per DIRASH-0036, and the commit carries
Refs: DIRASH-0036 for the zavet guard check. If a new Claude
generation appears (e.g. a -5-5 point release), pin it in the
canary tests in cli/core/src/pricing.rs, otherwise it can
resolve by prefix to its older sibling's price unnoticed.

Append-only refresh of the bundled price table: fresh prices for ids
models.dev still publishes, last-known prices kept for ids it dropped.

Refs: DIRASH-0036
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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