feat: Update Vertex AI Claude Sonnet models to 1M context window #8685
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.
This PR updates the context window for Claude Sonnet models in Vertex AI from 200k to 1M tokens.
Changes
claude-sonnet-4@20250514
context window from 200,000 to 1,000,000 tokensclaude-sonnet-4-5@20250929
context window from 200,000 to 1,000,000 tokensTesting
Context
This change aligns with the increased context window capacity now available for Claude Sonnet models on Vertex AI.
Requested via GitHub comment: "@roomote any way you can create a PR here?"
Important
Update context window for Claude Sonnet models to 1M tokens and add tests to verify changes.
contextWindow
forclaude-sonnet-4@20250514
andclaude-sonnet-4-5@20250929
from 200,000 to 1,000,000 tokens invertex.ts
.anthropic-vertex.spec.ts
to verify 1M context window for both models.contextWindow
values are returned for updated models.This description was created by
for eefe194. You can customize this summary. It will automatically update as commits are pushed.