Add Gemini 3.1 Pro customtools model to Vertex AI provider (#11857)

This commit is contained in:
Niklas Volcz 2026-03-05 23:21:12 +01:00 committed by GitHub
parent 5eec588653
commit 0e56afc764
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,