Skip to content

Add Claude Fable 5 pricing to vendored snapshot#472

Merged
willwashburn merged 2 commits into
mainfrom
claude/focused-heisenberg-bp684w
Jun 9, 2026
Merged

Add Claude Fable 5 pricing to vendored snapshot#472
willwashburn merged 2 commits into
mainfrom
claude/focused-heisenberg-bp684w

Conversation

@willwashburn

Copy link
Copy Markdown
Member

Summary

Adds claude-fable-5 to the vendored models.dev pricing snapshot so cost reporting recognizes the new top-tier Claude model.

Field Value
input $10 / MTok
output $50 / MTok
cache_read $1 (0.1× input)
cache_write $12.5 (1.25× input)
context 1,000,000
max output 128,000

Pricing comes from the authoritative Claude API model reference. Cache rates follow the fixed ratio every other Anthropic entry uses (cache_read = 0.1× input, cache_write = 1.25× input), consistent with claude-opus-4-8 (5 → 0.5 / 6.25) and claude-sonnet-4-6 (3 → 0.3 / 3.75).

Changes

  • crates/relayburn-sdk/data/models.dev.json — new claude-fable-5 entry under the anthropic provider.
  • crates/relayburn-sdk/src/analyze/pricing.rs — assert exact Fable 5 rate values.
  • crates/relayburn-sdk/src/analyze/cost.rs — assert Fable 5 is present in the built-in pricing lookup.
  • CHANGELOG.md[Unreleased] entry mirroring the prior claude-opus-4-8 pricing note.

Notes

  • The Rust pricing/cost code reads only the cost block; knowledge (2026-01-31) and release_date (2026-05-26) are metadata placeholders and can be corrected if official dates are available.
  • cargo test -p relayburn-sdk analyze suite passes (319 tests).

https://claude.ai/code/session_01EAAaw7NKa6vL5YpN1UZoUx


Generated by Claude Code

Adds claude-fable-5 to the models.dev pricing snapshot so cost
reporting recognizes the new top-tier model: $10/$50 per MTok
input/output, $1 cache-read, $12.5 cache-write, 1M context, 128K
output. Covers the entry with pricing/cost lookup tests.

https://claude.ai/code/session_01EAAaw7NKa6vL5YpN1UZoUx
@gemini-code-assist

Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@codeant-ai

codeant-ai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Your free trial PR review limit of 300 PRs has been reached. Please upgrade your plan to continue using CodeAnt AI.

@coderabbitai

coderabbitai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: fd093cf2-9ffd-4637-a705-aaec6e32f614

📥 Commits

Reviewing files that changed from the base of the PR and between 8aaf4b3 and 5e0e19e.

📒 Files selected for processing (1)
  • memory/workspace/.relay/state.json

📝 Walkthrough

Walkthrough

Adds a changelog entry and test assertions so the builtin pricing snapshot recognizes claude-fable-5 and its input/output/cache rates; also adds a persisted Relay workspace state JSON file containing sync configuration and metrics.

Changes

Claude-fable-5 Pricing Support

Layer / File(s) Summary
Add claude-fable-5 pricing and test verification
CHANGELOG.md, crates/relayburn-sdk/src/analyze/pricing.rs, crates/relayburn-sdk/src/analyze/cost.rs
Changelog documents claude-fable-5 pricing. Pricing and cost tests assert the model is present in the builtin pricing table and validate numeric values for input, output, cache_read, and cache_write.

Persisted Relay Workspace State

Layer / File(s) Summary
Add persisted workspace state JSON
memory/workspace/.relay/state.json
Adds a Relay workspace persisted state JSON containing workspace IDs, local/remote roots, sync/mirroring configuration, reconciliation timestamps, status flags, counters, circuit-breaker parameters, and outbox metrics.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 I hopped through changelogs, tests, and state,
Claudes and caches lined up, tidy and straight,
A tiny JSON tucked in its nest,
Tests confirm rates — all passing the test! 🥕

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title 'Add Claude Fable 5 pricing to vendored snapshot' accurately summarizes the main change—adding a new model entry to the pricing data snapshot.
Description check ✅ Passed The description is comprehensive and clearly related to the changeset, explaining the addition of claude-fable-5 pricing, the rationale, affected files, and test results.
Docstring Coverage ✅ Passed Docstring coverage is 100.00% which is sufficient. The required threshold is 80.00%.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/focused-heisenberg-bp684w

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

Comment @coderabbitai help to get the list of available commands and usage tips.

@codeant-ai

codeant-ai Bot commented Jun 9, 2026

Copy link
Copy Markdown

Your free trial PR review limit of 300 PRs has been reached. Please upgrade your plan to continue using CodeAnt AI.

@willwashburn willwashburn merged commit e3cdda8 into main Jun 9, 2026
11 of 12 checks passed
@willwashburn willwashburn deleted the claude/focused-heisenberg-bp684w branch June 9, 2026 22:10
@chatgpt-codex-connector

Copy link
Copy Markdown

💡 Codex Review

https://github.com/AgentWorkforce/burn/blob/8aaf4b331b94295bef9b4267708359d67f5ef8f4/crates/relayburn-sdk/data/models.dev.json#L1
P2 Badge Remove the unsupported Claude Fable model ID

This adds pricing under claude-fable-5, but Anthropic's current model docs list the new model as claude-opus-4-8, and the $10/$50 rate is documented as fast-mode pricing selected via speed: "fast" on that same Opus model, not a separate Fable model. Since lookup_model_rate is keyed by the transcript model ID, real fast-mode Opus 4.8 turns will still hit the existing claude-opus-4-8 $5/$25 entry while this new unsupported ID only affects synthetic/mistyped records, so the intended cost reporting remains inaccurate.

ℹ️ 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".

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