Skip to content

Put premium-priced models in the $$$$ cost tier - #5786

Open
jurgenwerk wants to merge 1 commit into
mainfrom
model-cost-tier-top-bound
Open

Put premium-priced models in the $$$$ cost tier#5786
jurgenwerk wants to merge 1 commit into
mainfrom
model-cost-tier-top-bound

Conversation

@jurgenwerk

@jurgenwerk jurgenwerk commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

This is my suggestion to adjust the model pricing thresholds so that premium priced models are clearly separated from more standard models. For example it was unexpected for me to see Fable 5 in the same pricing bracket as Sonnet 4.6 (labeled with $$$ in the AI assistant)

Claude's summary:

The model picker's cost badge maps a blended 3:1 input:output price per million tokens onto fixed dollar-sign bands. The top band started above a blended $20/M, which put premium-priced frontier models — Claude Fable 5 ($10/$50, blended exactly $20) and fast-mode Opus — in the same $$$ band as standard Opus-tier pricing ($5/$25, blended $10) and Sonnet ($3/$15, blended $6). This lowers the top bound to $15/M so those premium models read as $$$$.

The blend also picked up binary float noise: $10/$30 blends to 15.000000000000002 in raw float math, tipping a price sitting exactly on an inclusive bound into the band above. The blended value is now rounded to a micro-dollar per million before banding.

Effect on the current catalog:

  • $$$$$$$: claude-fable-5, claude-fable-latest, claude-opus-5-fast, claude-opus-4.8-fast, o3-pro:batch
  • $$$ (wobble fix, exactly on the $1 bound): claude-haiku-4.5:batch, seed-2-1-turbo
  • Everything else keeps its badge; gpt-4-turbo (blended exactly $15) stays $$$ because bounds are inclusive.

Catalog cards need a reindex of the openrouter realm to pick up the new computed costTier / costTierLabel values.

🤖 Generated with Claude Code

Lower the top cost-tier bound from a blended $20/M to $15/M so
premium-priced frontier models (Claude Fable 5, fast-mode Opus,
o3-pro:batch) read as $$$$ instead of sharing $$$ with standard
Opus-tier pricing.

Also round float representation noise out of the blended cost:
$10/$30 blends to 15.000000000000002 in raw float math, which
tipped exact-bound prices into the tier above. Rounding to a
micro-dollar per million fixes that at every bound (this also
corrects two models sitting exactly on the $1 bound from $$ to $).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@jurgenwerk
jurgenwerk marked this pull request as ready for review August 14, 2026 09:04
@jurgenwerk
jurgenwerk requested a review from lukemelia August 14, 2026 09: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.

2 participants