Skip to content

Commit 0e56afc

Browse files
authored
Add Gemini 3.1 Pro customtools model to Vertex AI provider (#11857)
1 parent 5eec588 commit 0e56afc

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

packages/types/src/providers/vertex.ts

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,35 @@ export const vertexModels = {
3535
},
3636
],
3737
},
38+
"gemini-3.1-pro-preview-customtools": {
39+
maxTokens: 65_536,
40+
contextWindow: 1_048_576,
41+
supportsImages: true,
42+
supportsPromptCache: true,
43+
supportsReasoningEffort: ["low", "medium", "high"],
44+
reasoningEffort: "low",
45+
46+
supportsTemperature: true,
47+
defaultTemperature: 1,
48+
inputPrice: 4.0,
49+
outputPrice: 18.0,
50+
cacheReadsPrice: 0.4,
51+
cacheWritesPrice: 4.5,
52+
tiers: [
53+
{
54+
contextWindow: 200_000,
55+
inputPrice: 2.0,
56+
outputPrice: 12.0,
57+
cacheReadsPrice: 0.2,
58+
},
59+
{
60+
contextWindow: Infinity,
61+
inputPrice: 4.0,
62+
outputPrice: 18.0,
63+
cacheReadsPrice: 0.4,
64+
},
65+
],
66+
},
3867
"gemini-3-pro-preview": {
3968
maxTokens: 65_536,
4069
contextWindow: 1_048_576,

0 commit comments

Comments
 (0)