From 3de2d19f4181862d1c7aa38f8b0a265b73d6b6c3 Mon Sep 17 00:00:00 2001 From: Andrey Nering Date: Thu, 19 Feb 2026 18:26:27 -0300 Subject: [PATCH] chore: add gemini 3.1 pro (#187) --- internal/providers/configs/gemini.json | 34 +++++++++++++++++++++++--- 1 file changed, 30 insertions(+), 4 deletions(-) diff --git a/internal/providers/configs/gemini.json b/internal/providers/configs/gemini.json index 56f15e9112acf38c04104c1856d04891ab1f92cc..61e67c92cf703156b810f5714466f0949f764c92 100644 --- a/internal/providers/configs/gemini.json +++ b/internal/providers/configs/gemini.json @@ -4,12 +4,38 @@ "type": "google", "api_key": "$GEMINI_API_KEY", "api_endpoint": "$GEMINI_API_ENDPOINT", - "default_large_model_id": "gemini-2.5-pro", - "default_small_model_id": "gemini-2.5-flash", + "default_large_model_id": "gemini-3.1-pro-preview-customtools", + "default_small_model_id": "gemini-3-flash-preview", "models": [ + { + "id": "gemini-3.1-pro-preview", + "name": "Gemini 3.1 Pro (Regular)", + "cost_per_1m_in": 2, + "cost_per_1m_out": 12, + "cost_per_1m_in_cached": 0, + "cost_per_1m_out_cached": 0.2, + "context_window": 1048576, + "default_max_tokens": 64000, + "can_reason": true, + "has_reasoning_efforts": false, + "supports_attachments": true + }, + { + "id": "gemini-3.1-pro-preview-customtools", + "name": "Gemini 3.1 Pro (Optimized for Coding Agents)", + "cost_per_1m_in": 2, + "cost_per_1m_out": 12, + "cost_per_1m_in_cached": 0, + "cost_per_1m_out_cached": 0.2, + "context_window": 1048576, + "default_max_tokens": 64000, + "can_reason": true, + "has_reasoning_efforts": false, + "supports_attachments": true + }, { "id": "gemini-3-pro-preview", - "name": "Gemini 3 Pro (Preview)", + "name": "Gemini 3 Pro", "cost_per_1m_in": 2, "cost_per_1m_out": 12, "cost_per_1m_in_cached": 0, @@ -22,7 +48,7 @@ }, { "id": "gemini-3-flash-preview", - "name": "Gemini 3 Flash (Preview)", + "name": "Gemini 3 Flash", "cost_per_1m_in": 0.5, "cost_per_1m_out": 3, "cost_per_1m_in_cached": 0,