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-2.5-pro",
 8  "default_small_model_id": "gemini-2.5-flash",
 9  "models": [
10    {
11      "id": "gemini-3-pro-preview",
12      "name": "Gemini 3 Pro (preview)",
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-2.5-pro",
25      "name": "Gemini 2.5 Pro",
26      "cost_per_1m_in": 1.25,
27      "cost_per_1m_out": 10,
28      "cost_per_1m_in_cached": 1.625,
29      "cost_per_1m_out_cached": 0.31,
30      "context_window": 1048576,
31      "default_max_tokens": 50000,
32      "can_reason": true,
33      "supports_attachments": true
34    },
35    {
36      "id": "gemini-2.5-flash",
37      "name": "Gemini 2.5 Flash",
38      "cost_per_1m_in": 0.3,
39      "cost_per_1m_out": 2.5,
40      "cost_per_1m_in_cached": 0.3833,
41      "cost_per_1m_out_cached": 0.075,
42      "context_window": 1048576,
43      "default_max_tokens": 50000,
44      "can_reason": true,
45      "supports_attachments": true
46    }
47  ]
48}