Skip to content

feat(pricing): price the Claude 5 family and validate every configured model - #634

Merged
Destynova2 merged 7 commits into
mainfrom
fix/claude5-pricing-validate-yanked
Oct 14, 2026
Merged

Destynova2 merged 7 commits into
mainfrom
fix/claude5-pricing-validate-yanked

Conversation

@Destynova2

Copy link
Copy Markdown
Contributor

Summary

  • Static pricing for the Claude 5 family (Fable 5.1/5, Opus 5.5/5, Sonnet 5.5/5, Haiku 5.5) and Opus 4.8. Spend tracking previously recorded 0 for these models.
  • Point releases are ordered before their base id so the substring fallback cannot price claude-opus-5-5-* as claude-opus-5. A regression test covers it.
  • Default max_tokens patterns for claude-fable and claude-sonnet-5.
  • grob validate now tests every [[models]] entry, matching the "Testing N model(s)" count it prints. Startup and reload health probes stay router-only.
  • Bump yanked yoke-derive 0.8.3 → 0.8.4, which made the daily Security Audit fail.

Test plan

  • cargo test --lib: 1610 passed
  • cargo audit -D warnings: clean

🤖 Generated with Claude Code

…d model

- Add static pricing for claude-fable-5-1, fable-5, opus-5-5, opus-5,
  sonnet-5-5, sonnet-5, haiku-5-5 and opus-4-8. Point releases are listed
  before their base id so the substring fallback cannot bill opus-5-5 as
  opus-5.
- Default max_tokens patterns for claude-fable and claude-sonnet-5
  (previously fell through to 8192).
- `grob validate` now tests every [[models]] entry, not only the four
  router roles, matching the count it announces. Startup and reload
  probes stay router-only to avoid extra upstream calls.
- Bump yanked yoke-derive 0.8.3 -> 0.8.4, which fails the daily audit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@Destynova2
Destynova2 enabled auto-merge (squash) October 14, 2026 07:15
@Destynova2
Destynova2 merged commit 6844211 into main Oct 14, 2026
42 checks passed
@Destynova2
Destynova2 deleted the fix/claude5-pricing-validate-yanked branch October 14, 2026 10:35
Destynova2 added a commit that referenced this pull request Oct 14, 2026
## 🤖 New release

* `grob`: 0.36.122 -> 0.36.123

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

##
[0.36.123](v0.36.122...v0.36.123)
- 2026-10-14

### Added

- *(pricing)* price the Claude 5 family and validate every configured
model ([#634](#634))
</blockquote>


</p></details>

---
This PR was generated with
[release-plz](https://github.com/release-plz/release-plz/).
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