From df3074bb2be57c15154a3b204872bc9e15da8e41 Mon Sep 17 00:00:00 2001 From: Roo Code Date: Fri, 14 Nov 2025 15:57:32 +0000 Subject: [PATCH 1/2] feat: add Kimi K2 thinking model to VertexAI provider - Added moonshotai/kimi-k2-thinking-maas model configuration - Configured with 256K context window - Set pricing at $0.60 input / $2.50 output - Closes #9268 --- 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 f277c58a3ef..e3ad537f4ed 100644 --- a/packages/types/src/providers/vertex.ts +++ b/packages/types/src/providers/vertex.ts @@ -364,6 +364,15 @@ export const vertexModels = { outputPrice: 1.0, description: "Qwen3 235B A22B Instruct. Available in us-south1", }, + "moonshotai/kimi-k2-thinking-maas": { + maxTokens: 262_144, + contextWindow: 262_144, + supportsPromptCache: false, + supportsImages: false, + inputPrice: 0.6, + outputPrice: 2.5, + description: "Kimi K2 Thinking Model with 256K context window.", + }, } as const satisfies Record export const VERTEX_REGIONS = [ From 7f695f05f43088dcb08bbd179801f176df6dfcee Mon Sep 17 00:00:00 2001 From: Roo Code Date: Tue, 6 Jan 2026 23:39:20 +0000 Subject: [PATCH 2/2] fix: update maxTokens to 16_384 for Kimi K2 model --- packages/types/src/providers/vertex.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/types/src/providers/vertex.ts b/packages/types/src/providers/vertex.ts index e3ad537f4ed..655fa798757 100644 --- a/packages/types/src/providers/vertex.ts +++ b/packages/types/src/providers/vertex.ts @@ -365,7 +365,7 @@ export const vertexModels = { description: "Qwen3 235B A22B Instruct. Available in us-south1", }, "moonshotai/kimi-k2-thinking-maas": { - maxTokens: 262_144, + maxTokens: 16_384, contextWindow: 262_144, supportsPromptCache: false, supportsImages: false,