Spec: docs/plan/provider-model-catalog-freshness-spec.md
Freshness checked: 2026-05-24 Asia/Shanghai.
Problem
src/core/providers/anthropic/models.rs tops out at Claude Opus 4.6 and Sonnet 4.6.
- The code comments describe Claude Opus 4.6 as the latest flagship.
- Official Claude docs now list Claude Opus 4.7 as the newest flagship while Sonnet 4.6 and Haiku 4.5 remain available.
Official source
Acceptance criteria
- Add Claude Opus 4.7 canonical model IDs, aliases, limits, capabilities, and pricing only after re-checking official docs.
- Update stale latest-flagship comments and alias mappings.
- Preserve Claude 4.6 / 4.5 routability unless official docs require deprecation handling.
- Add focused tests proving Opus 4.7 lookup, alias behavior, feature flags, and pricing behavior.
- Verify with fresh
cargo check and relevant Anthropic provider tests.
Spec:
docs/plan/provider-model-catalog-freshness-spec.mdFreshness checked: 2026-05-24 Asia/Shanghai.
Problem
src/core/providers/anthropic/models.rstops out at Claude Opus 4.6 and Sonnet 4.6.Official source
Acceptance criteria
cargo checkand relevant Anthropic provider tests.