Skip to content

Docs: Say that the downloaded price list drops the same dear models - #1679

Merged
huang195 merged 1 commit into
rossoctl:mainfrom
huang195:docs/pricing-drop-count-1406
Nov 6, 2026
Merged

huang195 merged 1 commit into
rossoctl:mainfrom
huang195:docs/pricing-drop-count-1406

Conversation

@huang195

@huang195 huang195 commented Nov 6, 2026

Copy link
Copy Markdown
Member

Part of closing #1406. The decision is to keep the cap and the drop rule.

What it does

  • docs/pricing.md: says that the downloaded price list applies the same rule. Today the doc says only that the bundled table leaves the dear models out. Both go through pricegen.Entries, so o1-pro is in the download but gets no price.
  • core/cost/pricing/cost.go: the BundleableRate comment said "10 of 257 rows". At the pinned commit the rule drops 13. The doc already says thirteen.

Comment-only change in Go. gofmt is clean.

How I checked

  • Ran pricegen.Entries on a real ~/.cortex/price-list.json: o1-pro, gpt-5-pro, gpt-5.5-pro, gpt-6-rosalind, gpt-5.6-cyber and daybreak-red-latest are in the download and get no price. gpt-6-luna and gpt-5.5 get a price.
  • Counted the rule's drops in testdata/model_prices.snapshot.json: 13 of 257 first-party rows. Today's download drops 14 (gpt-6-rosalind also, at $112.50/Mtok above 272k).

Assisted-By: Claude (Anthropic AI) [email protected]

The bundled table and the price list a laptop downloads both go
through pricegen.Entries, so the BundleableRate rule drops a model
from both. docs/pricing.md said only that the bundled table leaves
them out.

Also update the count in BundleableRate's comment: 10 rows when the
rule was written, 13 at the pinned commit.

Refs rossoctl#1406

Assisted-By: Claude (Anthropic AI) <[email protected]>
Signed-off-by: Hai Huang <[email protected]>
@huang195
huang195 requested a review from a team as a code owner November 6, 2026 18:45
@coderabbitai

coderabbitai Bot commented Nov 6, 2026

Copy link
Copy Markdown

Warning

Review limit reached

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Next included review available in 30 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

Learn how review limits work.

Review configuration:

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8b362dc0-39e2-4b98-80f3-9ae176b69d72
Commits

Reviewing files that changed from the base of the PR and between 180d388 and c0370fe.

Files selected for processing: 2

  • core/cost/pricing/cost.go
  • docs/pricing.md
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@clawgenti clawgenti left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Summary

The new sentence holds for its target case. pricelist.Fetcher.Fetch and Cached both build entries through pricegen.Entries, and ratesOf applies pricing.BundleableRate to the base and threshold rates. So the download emits no row for o1-pro, the gpt-5*-pro tiers, or the three above-272k rows. I checked this end to end: I built BuildWithList(nil, list) from the snapshot plus a synthetic gpt-9-pro at $600/Mtok, and every one resolves ProvNone. I also counted the rule's drops in testdata/model_prices.snapshot.json: 13 of 257 first-party rows (10 on list rate, 3 on the above-272k output rate), which matches the doc. I have two small suggestions on the wording and one note about an existing gap the new sentence sits next to. None of them block the merge.

Author: huang195 (MEMBER — maintainer)
Areas reviewed: Docs, Go (comment only)
Agent/IDE config (.claude/.vscode): none
Commits: 1 commit, all signed-off: yes
CI status: passing

Comment thread core/cost/pricing/cost.go
// tiers that prompted it. Written when bundling OpenAI brought in o1-pro at $600/Mtok,
// whose 10x-resolved rate is 6x this ceiling; 10 of 257 rows fell to it, none of them a
// model any supported agent selects.
// whose 10x-resolved rate is 6x this ceiling; 10 of 257 rows fell to it then, and 13 at

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

suggestion: "10 of 257 rows fell to it then, and 13 at the pinned commit" reads as if the pinned data changed in between. It didn't. The snapshot has been at ee7c7e14 with 257 first-party rows since 76a3cde, when the rule was written. The count went from 10 to 13 because 09f5d3f started decoding the _above_272k tier, so three rows began failing on their threshold output rate. Something like "10 of 257 rows fell to it then, and 13 once the above-272k tier was read" would say why the number moved.

Comment thread docs/pricing.md
report as *priceable but unpriced* and take a `pricing:` entry of your own. Nothing about
report as *priceable but unpriced* and take a `pricing:` entry of your own. The
downloaded price list applies the same rule, so the download does not price them either,
and it drops a newer model past the bound the same way. Nothing about

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

suggestion: "drops a newer model past the bound the same way" is true for OpenAI, which has no family glob, so a new dear gpt-* row ends up priceable but unpriced. For Anthropic the result is different, and the next sentence (existing text) claims the opposite. In Entries, a row that fails ratesOf continues before it is considered for newest[fam], so the *claude-*opus-* glob keeps the previous member's rates. I probed this with a synthetic claude-opus-9 at $600/Mtok in the download. BuildWithList resolves it ProvBundled at claude-opus-5's $5/$25 rates, and the shipped table does the same. So the dear model gets under-priced instead of reported unpriced. The bundled table has the same gap, so this PR didn't create it, but it might be worth either qualifying the sentence ("a newer OpenAI model") or opening a follow-up issue on #1406.

Comment thread docs/pricing.md
rate that would under-price exactly the long requests the tier exists for. All thirteen
report as *priceable but unpriced* and take a `pricing:` entry of your own. Nothing about
report as *priceable but unpriced* and take a `pricing:` entry of your own. The
downloaded price list applies the same rule, so the download does not price them either,

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nit: one edge case for "the download does not price them either". If upstream raises a model that is already in the shipped table past the bound, the download drops its row. BuildWithList only skips shipped rows whose key is in listed, so the stale shipped row comes back and keeps pricing the model at the old, lower rate. I probed this with gpt-5.5 repriced to $600/Mtok in the download: it resolves ProvBundled at $5/$30. That doesn't affect the thirteen named here, since none of them are shipped. It's a fallback gap you may want to note or track, not a problem with this wording.

@huang195
huang195 merged commit 60b496d into rossoctl:main Nov 6, 2026
41 checks passed
@huang195
huang195 deleted the docs/pricing-drop-count-1406 branch November 6, 2026 19:41
@github-project-automation github-project-automation Bot moved this from New/ToDo to Done in Rossoctl Issue Prioritization Nov 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants