chore(routing): route balanced-tier work to Claude Sonnet 5.5 - #268
Merged
Merged
Conversation
Sonnet 5.5 (released 2026-09-28) keeps Sonnet 5's per-token price ($2/$10) but leads it on every first-party benchmark checked (GDPval-AA, OSWorld, Terminal-Bench, CursorBench, Chartography) with lower tool-use overhead. Swap the balanced-tier default (specification, review, release) the same way Opus 5 -> Opus 5.5 moved in #234: new model becomes the catalog's balanced entry, claude-sonnet-5 demotes to tier:'prior' for user pins. - src/lib/pricing.mjs: own price row for claude-sonnet-5-5 (prevents future silent mis-pricing via the prefix matcher even though rates match today) - src/lib/routing.mjs: MODEL_CATALOG + DEFAULT_ROUTES swap - src/lib/model-inventory/discovery/anthropic-catalog.mjs: new catalog entry - docs/providers.md, docs/adr/0006, README.md, src/commands/x/host.mjs: model-id references - tests: new pricing-row test, updated hardcoded expectations that followed the default/catalog move Full research + citations in docs/plans/2026-09-28-sonnet-5-5-routing-refresh.md. qe-court seat models and ruflo's internal router are unaffected (upstream/ AQE-owned, not routed through this policy). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This was referenced Sep 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
ak'sbalanced-tier default (specification,review,release) fromclaude-sonnet-5toclaude-sonnet-5-5, mirroring how Opus 5 → Opus 5.5 moved in feat(models): Opus 5.5 and GPT-6 Sol/Luna pricing and current-generation defaults #234: the new model becomes the catalog'sbalancedentry,claude-sonnet-5demotes totier: 'prior'and stays listed for user pins.sonnetreference exists inqeCourt.mjsor any qe-court config, so QE-Court seat models (upstream/AQE-owned) and ruflo's internal router are unaffected. What changes isak's own per-activity policy, consumed byak runand projected into AQE'sagentOverridesfor the QE agents mapped toreview/specification.docs/plans/2026-09-28-sonnet-5-5-routing-refresh.md(moves todocs/archive/per repo convention once this merges).Test plan
pnpm test(full suite, coverage-enforced) — greenpnpm run typecheck— greenpnpm run lint— green (no new warnings)pnpm run lint:md— greentests/kit/pricing.test.mjs) mirrors the existing Opus 5.5 own-key testtests/kit/routing-primary.test.mjsandtests/kit/model-discovery-claude-codex.test.mjsthat followed the default/catalog move🤖 Generated with Claude Code