Enable Claude 5.1 through Anthropic - #2138
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Dependency Review✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.Scanned FilesNone |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 27daf54e38
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| "api_model_id": "anthropic/claude-fable-5.1", | ||
| "capability_id": "text.generate", | ||
| "rules": [ | ||
| { "meter": "input_text_tokens", "unit": "token", "unit_size": 1000000, "price_per_unit": 10, "currency": "USD", "pricing_plan": "standard", "note": "Provisional Fable 5 rate pending Fable 5.1-specific pricing.", "match": [], "priority": 100, "effective_from": "2026-09-01T00:00:00Z", "region": null, "cache_duration_seconds": null, "conditions": [], "source": null }, |
There was a problem hiding this comment.
Do not bill 5.1 usage using inferred legacy prices
When Anthropic's 5.1 rates differ from Fable/Mythos 5, these active pricing cards make computeBill charge customers the legacy $10 input/$50 output rates even though every token rule has source: null and is explicitly described as provisional; the Mythos 5.1 card repeats the same issue. Keep the routes disabled until authoritative rates exist, or represent the price as unknown rather than installing inferred billing values.
AGENTS.md reference: packages/data/catalog/AGENTS.md:L10-L10
Useful? React with 👍 / 👎.
| @@ -0,0 +1,5 @@ | |||
| --- | |||
| "@phaseo/data-catalog": patch | |||
There was a problem hiding this comment.
Add the modified SDK packages to the changeset
This changeset bumps only @phaseo/data-catalog, although the commit adds public model constants/types to the TypeScript, Python, Go, C#, Java, PHP, and Ruby SDKs. The SDK auto-release script will not compensate because the presence of this manual changeset makes it skip generation, so the next release can consume these edits without publishing new SDK package versions; list each affected SDK package with the appropriate patch bump.
AGENTS.md reference: packages/sdk/AGENTS.md:L23-L23
Useful? React with 👍 / 👎.
Summary
Correct the Claude 5.1 launch configuration so Fable 5.1 and first-party-only Mythos 5.1 are available exclusively through the direct Anthropic provider.
Solution
Validation
pnpm run openapi:gen— passed; existing unsupported-schema warnings only.pnpm run validate:data— passed with existing non-blocking catalogue warnings.pnpm run validate:pricing— passed.pnpm run validate:gateway— passed.git diff --check— passed.Release impact
Adds a patch changeset for
@phaseo/data-catalogand exposes both Claude 5.1 IDs through generated SDK model constants.No visual evidence is required because this is a catalogue and gateway-routing correction.
Created with Codex