feat: add Llama 4 Maverick model to Vertex AI provider

- Add llama-4-maverick-17b-128e-instruct-maas to vertexModels
- Configure with 8192 max tokens, 131072 context window
- Set pricing at $0.18 input / $0.60 output per 1M tokens
- Resolves issue #5808 for missing Llama 4 Maverick in US-EAST5 region
This commit is contained in:
Roo Code 2025-07-17 10:12:13 +00:00
parent 6cf376f832
commit 7ac574f662

View file

@ -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.18,
outputPrice: 0.6,
description: "Meta Llama 4 Maverick 17B Instruct model, 128K context.",
},
} as const satisfies Record<string, ModelInfo>
export const VERTEX_REGIONS = [