Skip to content

fix: add Claude Fable 5.1 pricing row, keep Fable 5 as history - #5635

Merged
atomantic merged 3 commits into
mainfrom
fix/fable-5-1-pricing
Sep 1, 2026
Merged

fix: add Claude Fable 5.1 pricing row, keep Fable 5 as history#5635
atomantic merged 3 commits into
mainfrom
fix/fable-5-1-pricing

Conversation

@atomantic

Copy link
Copy Markdown
Owner

Summary

  • Adds a claude-fable-5-1 row to modelPricing.js's billing-rate table: same $10/$50 per-1M input/output as Fable 5, but a 75% cheaper cache-read rate ($1.00 → $0.25/1M) confirmed from Anthropic's own Fable 5.1 announcement and VentureBeat's pricing breakdown. Cache-write stays at the standard 1.25x.
  • claude-fable-5 is kept as its own row (not renamed/removed) so /devtools/usage keeps accurate historical rates for prior Fable 5 usage.
  • The bare "fable" family-match fallback (for ids the table doesn't otherwise recognize) now resolves to the newest generation, mirroring the existing OPUS_MODEL_IDS newest-first convention already used for opus version bumps.

Test plan

  • cd server && npx vitest run lib/modelPricing.test.js — 41/41 passing, including two new/updated cases covering the new rate row and the cache-multiplier override.

Fable 5.1 shipped 2026-09-01 with the same $10/$50 per-1M input/output
rate as Fable 5, but a 75% cheaper cache-read rate ($1.00 -> $0.25/1M,
i.e. 0.1x -> 0.025x its input rate) while cache-write stays at the
standard 1.25x. Adds a dedicated modelPricing.js row plus a scoped
cache-multiplier override rather than touching the existing
claude-fable-5 row, so /devtools/usage keeps accurate historical rates
for both generations. The bare "fable" family-match fallback now
resolves to the newest generation, matching the existing opus-bump
convention.
PRICING_AS_OF advanced to 2026-09-01, past the documented 2026-08-31
intro-pricing cutoff, but claude-sonnet-5 still priced at the $2/$10
intro rate instead of the $3/$15 standard rate its own comment names —
understating post-cutoff usage estimates.
The prior commit (address review (codex)) bumped claude-sonnet-5 to the
$3/$15 rate the stale comment described as taking effect 2026-09-01.
Anthropic cancelled that increase on 2026-08-10 and confirmed the $2/$10
intro rate is now the permanent standard price (verified against
platform.claude.com/docs/en/about-claude/pricing). Restores the correct
rate and updates the comment instead of the number.
@atomantic
atomantic enabled auto-merge (rebase) September 1, 2026 19:46
@atomantic
atomantic merged commit cbdaf78 into main Sep 1, 2026
7 checks passed
@atomantic
atomantic deleted the fix/fable-5-1-pricing branch September 1, 2026 19:49
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