From a7704d7f1dbd92e4883fcc92db7106d04557b530 Mon Sep 17 00:00:00 2001 From: MuriloFP Date: Mon, 21 Jul 2025 12:50:25 -0300 Subject: [PATCH 1/2] feat: add llama-4-maverick model to Vertex AI provider (#5808) --- packages/types/src/providers/vertex.ts | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/types/src/providers/vertex.ts b/packages/types/src/providers/vertex.ts index c405621f82d..85168906d5d 100644 --- a/packages/types/src/providers/vertex.ts +++ b/packages/types/src/providers/vertex.ts @@ -273,6 +273,15 @@ export const vertexModels = { maxThinkingTokens: 24_576, supportsReasoningBudget: true, }, + "llama-4-maverick-17b-128e-instruct-maas": { + maxTokens: 8192, + contextWindow: 131072, + supportsImages: false, + supportsPromptCache: false, + inputPrice: 0.2, + outputPrice: 0.6, + description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.", + }, } as const satisfies Record export const VERTEX_REGIONS = [ From 20361a1fba4be857c3ac7ca7ba55856f349b43c1 Mon Sep 17 00:00:00 2001 From: MuriloFP Date: Mon, 21 Jul 2025 13:19:44 -0300 Subject: [PATCH 2/2] fix: update llama-4-maverick pricing to correct values --- packages/types/src/providers/vertex.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/src/providers/vertex.ts b/packages/types/src/providers/vertex.ts index 85168906d5d..a48ebacdfb1 100644 --- a/packages/types/src/providers/vertex.ts +++ b/packages/types/src/providers/vertex.ts @@ -278,8 +278,8 @@ export const vertexModels = { contextWindow: 131072, supportsImages: false, supportsPromptCache: false, - inputPrice: 0.2, - outputPrice: 0.6, + inputPrice: 0.35, + outputPrice: 1.15, description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.", }, } as const satisfies Record