Repository navigation
fix(usage): price Cursor Claude Fast variants - #5730
Conversation
|
✅ Deterministic PR hygiene checks passed. |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Note Currently processing new changes in this PR. This may take a few minutes, please wait... ⚙️ Run configurationConfiguration used: Repository: lidge-jun/opencodex/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (10)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: d3dc40d558
ℹ️ 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".
| Cursor Claude Fast pricing applies the published Fast tuples to Opus 4.8, Opus 5 and Opus 5.5. | ||
| Explicit `-fast` model IDs use the Fast tuple directly; a Cursor variant tier outcome applies | ||
| the same 2x multiplier to a base model estimate. Opus 4.7 remains standard-priced because its | ||
| upstream Fast mode is unavailable. Configured model prices retain precedence over compiled rows. |
There was a problem hiding this comment.
Document Cursor Fast pricing in the public guide
This changes user-visible cost estimates for Cursor Claude Fast requests, but only the internal structure document was updated. The existing Cursor Fast section in docs-site/src/content/docs/reference/configuration/providers.md explains variant routing without mentioning the new 2× rates, explicit-ID handling, or user-price precedence, so operators cannot determine how displayed costs are calculated; update that public section alongside this contract.
AGENTS.md reference: src/AGENTS.md:L29-L29
Useful? React with 👍 / 👎.
…e-jun#5730 Dev's 3a301dc already prices Cursor Claude Fast variants via a 2x PRIORITY_PRICING_RULES multiplier across Opus 4.8/5/5.5 on the live flat effort IDs. This branch's -fast overlay row would double-multiply against that path, so the merge resolves to dev's version. Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Summary
Cursor Claude Fast usage estimates now follow Cursor's published Fast rates for Opus 4.8, Opus 5 and Opus 5.5.
-fastIDs receive Fast tuples with direct Cursor provenance andverifiedstatus.cursor-varianttier outcome and a provider-scoped 2x rule.devlog/_plan/260924_cursor_fast_pricing/.Sources:
Verification
bun test tests/usage/usage-cost.test.ts tests/usage/usage-cursor-fast-pricing.test.ts tests/test-layout.test.ts tests/test-layout-tooling.test.ts— 123 pass, 0 fail.bun run typecheck— passed.bun run structure:check— passed.bun run privacy:scan— passed.git diff --check— passed.Checklist
Summary by CodeRabbit