From 7f085288c8884349c8aeb66f9f5d26bdc2100c00 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Sat, 6 Sep 2025 01:59:08 +0000 Subject: [PATCH] feat: add missing Vertex AI models and us-south1 region - Added gpt-oss-120b-maas model - Added gpt-oss-20b-maas model - Added deepseek-r1-0528-maas model - Added deepseek-v3.1-maas model - Added qwen3-coder-480b-a35b-instruct-maas model - Added qwen3-235b-a22b-instruct-2507-maas model - Added us-south1 to VERTEX_REGIONS for qwen models support Fixes #7725 --- packages/types/src/providers/vertex.ts | 55 ++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) diff --git a/packages/types/src/providers/vertex.ts b/packages/types/src/providers/vertex.ts index ee8a56ae2c..4ae8cee582 100644 --- a/packages/types/src/providers/vertex.ts +++ b/packages/types/src/providers/vertex.ts @@ -294,6 +294,60 @@ export const vertexModels = { outputPrice: 1.15, description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.", }, + "gpt-oss-120b-maas": { + maxTokens: 8192, + contextWindow: 128_000, + supportsImages: false, + supportsPromptCache: false, + inputPrice: 2.0, + outputPrice: 8.0, + description: "GPT OSS 120B model via Model-as-a-Service.", + }, + "gpt-oss-20b-maas": { + maxTokens: 8192, + contextWindow: 128_000, + supportsImages: false, + supportsPromptCache: false, + inputPrice: 0.5, + outputPrice: 2.0, + description: "GPT OSS 20B model via Model-as-a-Service.", + }, + "deepseek-r1-0528-maas": { + maxTokens: 8192, + contextWindow: 128_000, + supportsImages: false, + supportsPromptCache: false, + inputPrice: 1.0, + outputPrice: 4.0, + description: "DeepSeek R1 0528 model via Model-as-a-Service.", + }, + "deepseek-v3.1-maas": { + maxTokens: 8192, + contextWindow: 128_000, + supportsImages: false, + supportsPromptCache: false, + inputPrice: 0.8, + outputPrice: 3.2, + description: "DeepSeek V3.1 model via Model-as-a-Service.", + }, + "qwen3-coder-480b-a35b-instruct-maas": { + maxTokens: 8192, + contextWindow: 128_000, + supportsImages: false, + supportsPromptCache: false, + inputPrice: 3.0, + outputPrice: 12.0, + description: "Qwen3 Coder 480B Instruct model via Model-as-a-Service.", + }, + "qwen3-235b-a22b-instruct-2507-maas": { + maxTokens: 8192, + contextWindow: 128_000, + supportsImages: false, + supportsPromptCache: false, + inputPrice: 2.5, + outputPrice: 10.0, + description: "Qwen3 235B Instruct model via Model-as-a-Service.", + }, } as const satisfies Record export const VERTEX_REGIONS = [ @@ -306,6 +360,7 @@ export const VERTEX_REGIONS = [ { value: "us-west2", label: "us-west2" }, { value: "us-west3", label: "us-west3" }, { value: "us-west4", label: "us-west4" }, + { value: "us-south1", label: "us-south1" }, { value: "northamerica-northeast1", label: "northamerica-northeast1" }, { value: "northamerica-northeast2", label: "northamerica-northeast2" }, { value: "southamerica-east1", label: "southamerica-east1" },