From b5551bb30c1436a9cb979673d0e09bb1e075f75b Mon Sep 17 00:00:00 2001 From: Injamul Date: Fri, 28 Nov 2025 10:04:21 +0600 Subject: [PATCH 1/3] Feat: added support for gemini-3-pro-preview for gemini cli provider --- packages/types/src/providers/gemini-cli.ts | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/packages/types/src/providers/gemini-cli.ts b/packages/types/src/providers/gemini-cli.ts index 58f488a09c2..83e147e5a55 100644 --- a/packages/types/src/providers/gemini-cli.ts +++ b/packages/types/src/providers/gemini-cli.ts @@ -108,4 +108,14 @@ export const geminiCliModels = { supportsReasoningBudget: true, requiredReasoningBudget: true, }, + "gemini-3-pro-preview": { + maxTokens: 64_000, + contextWindow: 1_048_576, + supportsImages: true, + supportsPromptCache: false, + inputPrice: 0, + outputPrice: 0, + supportsReasoningBudget: true, + maxThinkingTokens: 64_000, + }, } as const satisfies Record From 9f04549c9661f039537d08369e1940519fb0a1f5 Mon Sep 17 00:00:00 2001 From: Injamul Date: Fri, 28 Nov 2025 10:36:39 +0600 Subject: [PATCH 2/3] fix: removed deprecated models from Gemini Cli --- packages/types/src/providers/gemini-cli.ts | 82 +--------------------- 1 file changed, 1 insertion(+), 81 deletions(-) diff --git a/packages/types/src/providers/gemini-cli.ts b/packages/types/src/providers/gemini-cli.ts index 83e147e5a55..6ec6ccc07c5 100644 --- a/packages/types/src/providers/gemini-cli.ts +++ b/packages/types/src/providers/gemini-cli.ts @@ -4,89 +4,9 @@ import type { ModelInfo } from "../model.js" // Gemini CLI models with free tier pricing (all $0) export type GeminiCliModelId = keyof typeof geminiCliModels -export const geminiCliDefaultModelId: GeminiCliModelId = "gemini-2.0-flash-001" +export const geminiCliDefaultModelId: GeminiCliModelId = "gemini-2.5-flash" export const geminiCliModels = { - "gemini-2.0-flash-001": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-2.0-flash-thinking-exp-01-21": { - maxTokens: 65_536, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-2.0-flash-thinking-exp-1219": { - maxTokens: 8192, - contextWindow: 32_767, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-2.0-flash-exp": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-1.5-flash-002": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-1.5-flash-exp-0827": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-1.5-flash-8b-exp-0827": { - maxTokens: 8192, - contextWindow: 1_048_576, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-1.5-pro-002": { - maxTokens: 8192, - contextWindow: 2_097_152, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-1.5-pro-exp-0827": { - maxTokens: 8192, - contextWindow: 2_097_152, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, - "gemini-exp-1206": { - maxTokens: 8192, - contextWindow: 2_097_152, - supportsImages: true, - supportsPromptCache: false, - inputPrice: 0, - outputPrice: 0, - }, "gemini-2.5-flash": { maxTokens: 64_000, contextWindow: 1_048_576, From d5e89a141e8736902c6dcb2e8ab253cc8590abe7 Mon Sep 17 00:00:00 2001 From: Christiaan Arnoldus Date: Tue, 2 Dec 2025 12:28:47 +0100 Subject: [PATCH 3/3] Changeset --- .changeset/many-grapes-kick.md | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .changeset/many-grapes-kick.md diff --git a/.changeset/many-grapes-kick.md b/.changeset/many-grapes-kick.md new file mode 100644 index 00000000000..a2606a3fb17 --- /dev/null +++ b/.changeset/many-grapes-kick.md @@ -0,0 +1,5 @@ +--- +"kilo-code": patch +--- + +Added support for Gemini 3 Pro Preview to Gemini CLI provider and removed deprecated models