Commit 1420a465eeba

Vincent Demeester <vincent@sbr.pm>
2026-03-15 21:43:24
feat(pi): update Opus/Sonnet 4.6 to 1M context
Updated claude-opus-4-6 and claude-sonnet-4-6 context window to 1,000,000 tokens and max output to 128,000 tokens in the vertex-claude extension. Anthropic made 1M context GA at standard pricing on all platforms including Vertex AI, with no long-context premium.
1 parent b77c06f
Changed files (1)
dots
pi
agent
extensions
vertex-claude
dots/pi/agent/extensions/vertex-claude/index.ts
@@ -60,8 +60,8 @@ const VERTEX_CLAUDE_MODELS = [
 		reasoning: true,
 		input: ["text", "image"] as ("text" | "image")[],
 		cost: { input: 5, output: 25, cacheRead: 0.5, cacheWrite: 6.25 },
-		contextWindow: 200000,
-		maxTokens: 64000,
+		contextWindow: 1000000,
+		maxTokens: 128000,
 	},
 	{
 		id: "claude-opus-4-5@20251101",
@@ -96,8 +96,8 @@ const VERTEX_CLAUDE_MODELS = [
 		reasoning: true,
 		input: ["text", "image"] as ("text" | "image")[],
 		cost: { input: 3, output: 15, cacheRead: 0.3, cacheWrite: 3.75 },
-		contextWindow: 200000,
-		maxTokens: 64000,
+		contextWindow: 1000000,
+		maxTokens: 128000,
 	},
 	{
 		id: "claude-sonnet-4-5@20250929",