From 9762ec67a0443e645fbbd69a9472832c7dc9d19e Mon Sep 17 00:00:00 2001 From: AmineAce Date: Fri, 31 Jul 2026 23:21:06 +0100 Subject: [PATCH 1/2] feat(models): declare reasoning efforts for google-vertex --- packages/models/src/models/google.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/models/src/models/google.ts b/packages/models/src/models/google.ts index 5d40710ced..bd4c6f0dc2 100644 --- a/packages/models/src/models/google.ts +++ b/packages/models/src/models/google.ts @@ -963,6 +963,7 @@ export const googleModels = [ tools: true, webSearch: true, reasoning: true, + reasoningEfforts: ["minimal", "low", "medium", "high"], reasoningMaxTokens: true, jsonOutput: true, jsonOutputSchema: true, @@ -1088,6 +1089,7 @@ export const googleModels = [ contextSize: 1048576, maxOutput: 65536, reasoning: true, + reasoningEfforts: ["minimal", "low", "medium", "high"], reasoningMaxTokens: true, streaming: true, vision: true, @@ -1145,6 +1147,7 @@ export const googleModels = [ contextSize: 1048576, maxOutput: 65536, reasoning: true, + reasoningEfforts: ["minimal", "low", "medium", "high"], reasoningMaxTokens: true, streaming: true, vision: true, @@ -1202,6 +1205,7 @@ export const googleModels = [ contextSize: 1048576, maxOutput: 65536, reasoning: true, + reasoningEfforts: ["minimal", "low", "medium", "high"], reasoningMaxTokens: true, streaming: true, vision: true, From 87c0bbad175b6591c343121930d437bbda6835f8 Mon Sep 17 00:00:00 2001 From: Luca Steeb Date: Mon, 3 Aug 2026 17:54:31 +0100 Subject: [PATCH 2/2] feat(models): declare efforts for ai-studio flash-lite gemini-3.1-flash-lite declared reasoningEfforts on its google-vertex mapping but not on google-ai-studio, unlike the other three Gemini models in this change which declare the same tiers on both providers. Verified live against AI Studio: minimal/low/medium/high all return 200 with reasoning output. Co-Authored-By: Claude Opus 5 (1M context) --- packages/models/src/models/google.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/models/src/models/google.ts b/packages/models/src/models/google.ts index 1038a33b7a..233a1fd49c 100644 --- a/packages/models/src/models/google.ts +++ b/packages/models/src/models/google.ts @@ -938,6 +938,7 @@ export const googleModels = [ tools: true, webSearch: true, reasoning: true, + reasoningEfforts: ["minimal", "low", "medium", "high"], reasoningMaxTokens: true, jsonOutput: true, jsonOutputSchema: true,