fix(provider/anthropic): minor follow up to support no-op speed standard#12582
Merged
felixarntz merged 3 commits intomainfrom Feb 14, 2026
Merged
fix(provider/anthropic): minor follow up to support no-op speed standard#12582felixarntz merged 3 commits intomainfrom
felixarntz merged 3 commits intomainfrom
Conversation
shaper
approved these changes
Feb 13, 2026
|
|
||
| ### Fast Mode | ||
|
|
||
| Anthropic supports a `speed` option for `claude-opus-4-6` that enables faster inference with approximately 2.5x faster output token speeds. |
Collaborator
There was a problem hiding this comment.
could be worth adding a link to https://code.claude.com/docs/en/fast-mode for more info
Contributor
|
|
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.
Background
Follow-up to #12353 which added
speed: 'fast'support for Claude. A few things were missed:'standard'is also a valid value per the Anthropic spec, thespeedfield was missing from the API type definitions, and there was no documentation for the feature.These are low-severity issues, but potentially could lead to problems for those that rely on
providerOptionsschema and may incorrectly reject the'standard'value.Summary
'standard'in addition to'fast'for thespeedprovider option (it's a no-op but required by the spec)AnthropicSpeedtype to the API definitionsspeed: 'standard'verifying no beta header is sentChecklist
pnpm changesetin the project root)Related Issues
N/A