gemini.json

 1{
 2  "name": "Google Gemini",
 3  "id": "gemini",
 4  "type": "google",
 5  "api_key": "$GEMINI_API_KEY",
 6  "api_endpoint": "$GEMINI_API_ENDPOINT",
 7  "default_large_model_id": "gemini-3.1-pro-preview-customtools",
 8  "default_small_model_id": "gemini-3-flash-preview",
 9  "models": [
10    {
11      "id": "gemini-3.1-pro-preview",
12      "name": "Gemini 3.1 Pro (Regular)",
13      "cost_per_1m_in": 2,
14      "cost_per_1m_out": 12,
15      "cost_per_1m_in_cached": 0,
16      "cost_per_1m_out_cached": 0.2,
17      "context_window": 1048576,
18      "default_max_tokens": 64000,
19      "can_reason": true,
20      "reasoning_levels": ["low", "medium", "high"],
21      "default_reasoning_effort": "medium",
22      "supports_attachments": true
23    },
24    {
25      "id": "gemini-3.1-pro-preview-customtools",
26      "name": "Gemini 3.1 Pro (Optimized for Coding Agents)",
27      "cost_per_1m_in": 2,
28      "cost_per_1m_out": 12,
29      "cost_per_1m_in_cached": 0,
30      "cost_per_1m_out_cached": 0.2,
31      "context_window": 1048576,
32      "default_max_tokens": 64000,
33      "can_reason": true,
34      "reasoning_levels": ["low", "medium", "high"],
35      "default_reasoning_effort": "medium",
36      "supports_attachments": true
37    },
38    {
39      "id": "gemini-3-pro-preview",
40      "name": "Gemini 3 Pro",
41      "cost_per_1m_in": 2,
42      "cost_per_1m_out": 12,
43      "cost_per_1m_in_cached": 0,
44      "cost_per_1m_out_cached": 0.2,
45      "context_window": 1048576,
46      "default_max_tokens": 64000,
47      "can_reason": true,
48      "reasoning_levels": ["low", "high"],
49      "default_reasoning_effort": "high",
50      "supports_attachments": true
51    },
52    {
53      "id": "gemini-3-flash-preview",
54      "name": "Gemini 3 Flash",
55      "cost_per_1m_in": 0.5,
56      "cost_per_1m_out": 3,
57      "cost_per_1m_in_cached": 0,
58      "cost_per_1m_out_cached": 0.05,
59      "context_window": 1048576,
60      "default_max_tokens": 50000,
61      "can_reason": true,
62      "reasoning_levels": ["minimal", "low", "medium", "high"],
63      "default_reasoning_effort": "minimal",
64      "supports_attachments": true
65    },
66    {
67      "id": "gemini-2.5-pro",
68      "name": "Gemini 2.5 Pro",
69      "cost_per_1m_in": 1.25,
70      "cost_per_1m_out": 10,
71      "cost_per_1m_in_cached": 0,
72      "cost_per_1m_out_cached": 0.125,
73      "context_window": 1048576,
74      "default_max_tokens": 50000,
75      "can_reason": true,
76      "supports_attachments": true
77    },
78    {
79      "id": "gemini-2.5-flash",
80      "name": "Gemini 2.5 Flash",
81      "cost_per_1m_in": 0.3,
82      "cost_per_1m_out": 2.5,
83      "cost_per_1m_in_cached": 0,
84      "cost_per_1m_out_cached": 0.03,
85      "context_window": 1048576,
86      "default_max_tokens": 50000,
87      "can_reason": true,
88      "supports_attachments": true
89    }
90  ]
91}