Skip to content

Update pricing to support all composer models#361

Open
RawToast wants to merge 2 commits intojunhoyeo:mainfrom
RawToast:composer-2
Open

Update pricing to support all composer models#361
RawToast wants to merge 2 commits intojunhoyeo:mainfrom
RawToast:composer-2

Conversation

@RawToast
Copy link
Copy Markdown

@RawToast RawToast commented Mar 27, 2026

There was no support for composer 1, composer 2, and composer 2 fast

Followed the same patterns as the 1.5 implementation #299

Screenshot 2026-03-27 at 9 52 33

Summary by cubic

Add pricing support for Composer 1, Composer 2, and Composer 2 Fast to enable accurate cost calculation and Cursor CSV re-pricing. Handles spaced and hyphenated model IDs and treats cache writes as free for Composer 2 variants.

  • New Features
    • Added pricing entries for composer 1/composer-1, composer 2/composer-2, and composer 2 fast/composer-2-fast based on Cursor docs.
    • Cache read priced; cache write is free for Composer 2 and 2 Fast.
    • CSV re-pricing now assigns non-zero costs for these models when source rows report zero.
    • Tests cover lookup, cost calculation, alias matching, and cache-write-free behavior.

Written for commit 75321ee. Summary will update on new commits.

@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Mar 27, 2026

@RawToast is attempting to deploy a commit to the Inevitable Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

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

No issues found across 2 files


Since this is your first cubic review, here's how it works:

  • cubic automatically reviews your code and comments on bugs and improvements
  • Teach cubic by replying to its comments. cubic learns from your replies and gets better over time
  • Add one-off context when rerunning by tagging @cubic-dev-ai with guidance or docs links (including llms.txt)
  • Ask questions if you need clarification on any suggestion

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