Feature/update vertex ai models and regions (#7727)

This commit is contained in:
ssweens 2025-09-06 19:18:55 -07:00 • committed by GitHub
parent 9378a4e2ad
commit 18cf33f96d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 56 additions and 0 deletions

View file

@ -294,6 +294,60 @@ export const vertexModels = {
outputPrice: 1.15,
description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.",
},
"deepseek-r1-0528-maas": {
maxTokens: 32_768,
contextWindow: 163_840,
supportsImages: false,
supportsPromptCache: false,
inputPrice: 1.35,
outputPrice: 5.4,
description: "DeepSeek R1 (0528). Available in us-central1",
},
"deepseek-v3.1-maas": {
maxTokens: 32_768,
contextWindow: 163_840,
supportsImages: false,
supportsPromptCache: false,
inputPrice: 0.6,
outputPrice: 1.7,
description: "DeepSeek V3.1. Available in us-west2",
},
"gpt-oss-120b-maas": {
maxTokens: 32_768,
contextWindow: 131_072,
supportsImages: false,
supportsPromptCache: false,
inputPrice: 0.15,
outputPrice: 0.6,
description: "OpenAI gpt-oss 120B. Available in us-central1",
},
"gpt-oss-20b-maas": {
maxTokens: 32_768,
contextWindow: 131_072,
supportsImages: false,
supportsPromptCache: false,
inputPrice: 0.075,
outputPrice: 0.3,
description: "OpenAI gpt-oss 20B. Available in us-central1",
},
"qwen3-coder-480b-a35b-instruct-maas": {
maxTokens: 32_768,
contextWindow: 262_144,
supportsImages: false,
supportsPromptCache: false,
inputPrice: 1.0,
outputPrice: 4.0,
description: "Qwen3 Coder 480B A35B Instruct. Available in us-south1",
},
"qwen3-235b-a22b-instruct-2507-maas": {
maxTokens: 16_384,
contextWindow: 262_144,
supportsImages: false,
supportsPromptCache: false,
inputPrice: 0.25,
outputPrice: 1.0,
description: "Qwen3 235B A22B Instruct. Available in us-south1",
},
} as const satisfies Record<string, ModelInfo>
export const VERTEX_REGIONS = [
@ -302,6 +356,7 @@ export const VERTEX_REGIONS = [
{ value: "us-east1", label: "us-east1" },
{ value: "us-east4", label: "us-east4" },
{ value: "us-east5", label: "us-east5" },
{ value: "us-south1", label: "us-south1" },
{ value: "us-west1", label: "us-west1" },
{ value: "us-west2", label: "us-west2" },
{ value: "us-west3", label: "us-west3" },

View file

@ -74,6 +74,7 @@ describe("Vertex", () => {
{ value: "us-east1", label: "us-east1" },
{ value: "us-east4", label: "us-east4" },
{ value: "us-east5", label: "us-east5" },
{ value: "us-south1", label: "us-south1" },
{ value: "us-west1", label: "us-west1" },
{ value: "us-west2", label: "us-west2" },
{ value: "us-west3", label: "us-west3" },