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      "has_reasoning_efforts": false,
21      "supports_attachments": true
22    },
23    {
24      "id": "gemini-3.1-pro-preview-customtools",
25      "name": "Gemini 3.1 Pro (Optimized for Coding Agents)",
26      "cost_per_1m_in": 2,
27      "cost_per_1m_out": 12,
28      "cost_per_1m_in_cached": 0,
29      "cost_per_1m_out_cached": 0.2,
30      "context_window": 1048576,
31      "default_max_tokens": 64000,
32      "can_reason": true,
33      "has_reasoning_efforts": false,
34      "supports_attachments": true
35    },
36    {
37      "id": "gemini-3-pro-preview",
38      "name": "Gemini 3 Pro",
39      "cost_per_1m_in": 2,
40      "cost_per_1m_out": 12,
41      "cost_per_1m_in_cached": 0,
42      "cost_per_1m_out_cached": 0.2,
43      "context_window": 1048576,
44      "default_max_tokens": 64000,
45      "can_reason": true,
46      "has_reasoning_efforts": false,
47      "supports_attachments": true
48    },
49    {
50      "id": "gemini-3-flash-preview",
51      "name": "Gemini 3 Flash",
52      "cost_per_1m_in": 0.5,
53      "cost_per_1m_out": 3,
54      "cost_per_1m_in_cached": 0,
55      "cost_per_1m_out_cached": 0.05,
56      "context_window": 1048576,
57      "default_max_tokens": 50000,
58      "can_reason": true,
59      "supports_attachments": true
60    },
61    {
62      "id": "gemini-2.5-pro",
63      "name": "Gemini 2.5 Pro",
64      "cost_per_1m_in": 1.25,
65      "cost_per_1m_out": 10,
66      "cost_per_1m_in_cached": 0,
67      "cost_per_1m_out_cached": 0.125,
68      "context_window": 1048576,
69      "default_max_tokens": 50000,
70      "can_reason": true,
71      "supports_attachments": true
72    },
73    {
74      "id": "gemini-2.5-flash",
75      "name": "Gemini 2.5 Flash",
76      "cost_per_1m_in": 0.3,
77      "cost_per_1m_out": 2.5,
78      "cost_per_1m_in_cached": 0,
79      "cost_per_1m_out_cached": 0.03,
80      "context_window": 1048576,
81      "default_max_tokens": 50000,
82      "can_reason": true,
83      "supports_attachments": true
84    }
85  ]
86}