Skip to content

Commit 18cf33f

Browse files
authored
Feature/update vertex ai models and regions (RooCodeInc#7727)
1 parent 9378a4e commit 18cf33f

File tree

2 files changed

+56
-0
lines changed

2 files changed

+56
-0
lines changed

packages/types/src/providers/vertex.ts

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,60 @@ export const vertexModels = {
294294
outputPrice: 1.15,
295295
description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.",
296296
},
297+
"deepseek-r1-0528-maas": {
298+
maxTokens: 32_768,
299+
contextWindow: 163_840,
300+
supportsImages: false,
301+
supportsPromptCache: false,
302+
inputPrice: 1.35,
303+
outputPrice: 5.4,
304+
description: "DeepSeek R1 (0528). Available in us-central1",
305+
},
306+
"deepseek-v3.1-maas": {
307+
maxTokens: 32_768,
308+
contextWindow: 163_840,
309+
supportsImages: false,
310+
supportsPromptCache: false,
311+
inputPrice: 0.6,
312+
outputPrice: 1.7,
313+
description: "DeepSeek V3.1. Available in us-west2",
314+
},
315+
"gpt-oss-120b-maas": {
316+
maxTokens: 32_768,
317+
contextWindow: 131_072,
318+
supportsImages: false,
319+
supportsPromptCache: false,
320+
inputPrice: 0.15,
321+
outputPrice: 0.6,
322+
description: "OpenAI gpt-oss 120B. Available in us-central1",
323+
},
324+
"gpt-oss-20b-maas": {
325+
maxTokens: 32_768,
326+
contextWindow: 131_072,
327+
supportsImages: false,
328+
supportsPromptCache: false,
329+
inputPrice: 0.075,
330+
outputPrice: 0.3,
331+
description: "OpenAI gpt-oss 20B. Available in us-central1",
332+
},
333+
"qwen3-coder-480b-a35b-instruct-maas": {
334+
maxTokens: 32_768,
335+
contextWindow: 262_144,
336+
supportsImages: false,
337+
supportsPromptCache: false,
338+
inputPrice: 1.0,
339+
outputPrice: 4.0,
340+
description: "Qwen3 Coder 480B A35B Instruct. Available in us-south1",
341+
},
342+
"qwen3-235b-a22b-instruct-2507-maas": {
343+
maxTokens: 16_384,
344+
contextWindow: 262_144,
345+
supportsImages: false,
346+
supportsPromptCache: false,
347+
inputPrice: 0.25,
348+
outputPrice: 1.0,
349+
description: "Qwen3 235B A22B Instruct. Available in us-south1",
350+
},
297351
} as const satisfies Record<string, ModelInfo>
298352

299353
export const VERTEX_REGIONS = [
@@ -302,6 +356,7 @@ export const VERTEX_REGIONS = [
302356
{ value: "us-east1", label: "us-east1" },
303357
{ value: "us-east4", label: "us-east4" },
304358
{ value: "us-east5", label: "us-east5" },
359+
{ value: "us-south1", label: "us-south1" },
305360
{ value: "us-west1", label: "us-west1" },
306361
{ value: "us-west2", label: "us-west2" },
307362
{ value: "us-west3", label: "us-west3" },

webview-ui/src/components/settings/providers/__tests__/Vertex.spec.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ describe("Vertex", () => {
7474
{ value: "us-east1", label: "us-east1" },
7575
{ value: "us-east4", label: "us-east4" },
7676
{ value: "us-east5", label: "us-east5" },
77+
{ value: "us-south1", label: "us-south1" },
7778
{ value: "us-west1", label: "us-west1" },
7879
{ value: "us-west2", label: "us-west2" },
7980
{ value: "us-west3", label: "us-west3" },

0 commit comments

Comments
 (0)