feat: add Claude Opus 4.7 support across all providers (#12287)#12301
Open
roomote-v0[bot] wants to merge 2 commits intomainfrom
Open
feat: add Claude Opus 4.7 support across all providers (#12287)#12301roomote-v0[bot] wants to merge 2 commits intomainfrom
roomote-v0[bot] wants to merge 2 commits intomainfrom
Conversation
Add claude-opus-4-7 model definitions and references to: - Anthropic direct API types and handler (1M context, prompt caching, extended thinking) - OpenRouter model sets and fetcher maxTokens override - Vercel AI Gateway prompt caching and vision+tools sets - WebView 1M context beta tier pricing check
7 tasks
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.
Closes: #12287
Supersedes #12288 by extending Claude Opus 4.7 support beyond just Bedrock to all providers.
Changes
Bedrock (from #12288):
anthropic.claude-opus-4-7-v1model entry tobedrockModelsBEDROCK_1M_CONTEXT_MODEL_IDSandBEDROCK_GLOBAL_INFERENCE_MODEL_IDSAnthropic Direct API:
claude-opus-4-7model entry toanthropicModelswith 128K maxTokens, $5/$25 pricing, 1M context tiersgetModel()1M context tier pricing checkOpenRouter:
anthropic/claude-opus-4.7to prompt caching and reasoning budget model setsVercel AI Gateway:
anthropic/claude-opus-4.7to prompt caching and vision+tools model setsWebView UI:
claude-opus-4-7to 1M context beta tier pricing check inuseSelectedModelTest Procedure
Interactively review PR in Roo Code Cloud