From 0e56afc76413a3539bedcab1631e2c01ebc76875 Mon Sep 17 00:00:00 2001 From: Niklas Volcz Date: Thu, 5 Mar 2026 23:21:12 +0100 Subject: [PATCH] Add Gemini 3.1 Pro customtools model to Vertex AI provider (#11857) --- packages/types/src/providers/vertex.ts | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/packages/types/src/providers/vertex.ts b/packages/types/src/providers/vertex.ts index f82341ace1..033c6b2e0d 100644 --- a/packages/types/src/providers/vertex.ts +++ b/packages/types/src/providers/vertex.ts @@ -35,6 +35,35 @@ export const vertexModels = { }, ], }, + "gemini-3.1-pro-preview-customtools": { + maxTokens: 65_536, + contextWindow: 1_048_576, + supportsImages: true, + supportsPromptCache: true, + supportsReasoningEffort: ["low", "medium", "high"], + reasoningEffort: "low", + + supportsTemperature: true, + defaultTemperature: 1, + inputPrice: 4.0, + outputPrice: 18.0, + cacheReadsPrice: 0.4, + cacheWritesPrice: 4.5, + tiers: [ + { + contextWindow: 200_000, + inputPrice: 2.0, + outputPrice: 12.0, + cacheReadsPrice: 0.2, + }, + { + contextWindow: Infinity, + inputPrice: 4.0, + outputPrice: 18.0, + cacheReadsPrice: 0.4, + }, + ], + }, "gemini-3-pro-preview": { maxTokens: 65_536, contextWindow: 1_048_576,