chore: add gemini 3.1 pro (#187)

Andrey Nering created

Change summary

internal/providers/configs/gemini.json | 34 ++++++++++++++++++++++++---
1 file changed, 30 insertions(+), 4 deletions(-)

Detailed changes

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,