Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/types/src/providers/vertex.ts
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ export const vertexModels = {
},
],
},
"claude-sonnet-4-6@20260114": {
"claude-sonnet-4-6": {
maxTokens: 8192,
contextWindow: 200_000, // Default 200K, extendable to 1M with beta flag 'context-1m-2025-08-07'
supportsImages: true,
Expand Down Expand Up @@ -541,7 +541,7 @@ export const vertexModels = {
export const VERTEX_1M_CONTEXT_MODEL_IDS = [
"claude-sonnet-4@20250514",
"claude-sonnet-4-5@20250929",
"claude-sonnet-4-6@20260114",
"claude-sonnet-4-6",
"claude-opus-4-6",
] as const

Expand Down
2 changes: 1 addition & 1 deletion src/api/providers/__tests__/anthropic-vertex.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -901,7 +901,7 @@ describe("VertexHandler", () => {

it("should enable 1M context for Claude Sonnet 4.6 when beta flag is set", () => {
const handler = new AnthropicVertexHandler({
apiModelId: "claude-sonnet-4-6@20260114",
apiModelId: "claude-sonnet-4-6",
vertexProjectId: "test-project",
vertexRegion: "us-central1",
vertex1MContext: true,
Expand Down
Loading