openai.json

  1{
  2  "name": "OpenAI",
  3  "id": "openai",
  4  "type": "openai",
  5  "api_key": "$OPENAI_API_KEY",
  6  "api_endpoint": "$OPENAI_API_ENDPOINT",
  7  "default_large_model_id": "o4-mini",
  8  "default_small_model_id": "gpt-4o",
  9  "models": [
 10    {
 11      "id": "o4-mini",
 12      "name": "o4 Mini",
 13      "cost_per_1m_in": 1.1,
 14      "cost_per_1m_out": 4.4,
 15      "cost_per_1m_in_cached": 0,
 16      "cost_per_1m_out_cached": 0.275,
 17      "context_window": 200000,
 18      "default_max_tokens": 50000,
 19      "can_reason": true,
 20      "has_reasoning_effort": true,
 21      "default_reasoning_effort": "medium",
 22      "supports_attachments": true
 23    },
 24    {
 25      "id": "o3",
 26      "name": "o3",
 27      "cost_per_1m_in": 2,
 28      "cost_per_1m_out": 8,
 29      "cost_per_1m_in_cached": 0,
 30      "cost_per_1m_out_cached": 0.5,
 31      "context_window": 200000,
 32      "default_max_tokens": 50000,
 33      "can_reason": true,
 34      "has_reasoning_effort": true,
 35      "default_reasoning_effort": "medium",
 36      "supports_attachments": true
 37    },
 38    {
 39      "id": "o3-pro",
 40      "name": "o3 Pro",
 41      "cost_per_1m_in": 20,
 42      "cost_per_1m_out": 80,
 43      "cost_per_1m_in_cached": 0,
 44      "cost_per_1m_out_cached": 0,
 45      "context_window": 200000,
 46      "default_max_tokens": 50000,
 47      "can_reason": true,
 48      "has_reasoning_effort": true,
 49      "default_reasoning_effort": "medium",
 50      "supports_attachments": true
 51    },
 52    {
 53      "id": "gpt-4.1",
 54      "name": "GPT-4.1",
 55      "cost_per_1m_in": 2,
 56      "cost_per_1m_out": 8,
 57      "cost_per_1m_in_cached": 0,
 58      "cost_per_1m_out_cached": 0.5,
 59      "context_window": 1047576,
 60      "default_max_tokens": 16384,
 61      "can_reason": false,
 62      "supports_attachments": true
 63    },
 64    {
 65      "id": "gpt-4.1-mini",
 66      "name": "GPT-4.1 Mini",
 67      "cost_per_1m_in": 0.39999999999999997,
 68      "cost_per_1m_out": 1.5999999999999999,
 69      "cost_per_1m_in_cached": 0,
 70      "cost_per_1m_out_cached": 0.09999999999999999,
 71      "context_window": 1047576,
 72      "default_max_tokens": 16384,
 73      "can_reason": false,
 74      "supports_attachments": true
 75    },
 76    {
 77      "id": "gpt-4.1-nano",
 78      "name": "GPT-4.1 Nano",
 79      "cost_per_1m_in": 0.09999999999999999,
 80      "cost_per_1m_out": 0.39999999999999997,
 81      "cost_per_1m_in_cached": 0,
 82      "cost_per_1m_out_cached": 0.024999999999999998,
 83      "context_window": 1047576,
 84      "default_max_tokens": 16384,
 85      "can_reason": false,
 86      "supports_attachments": true
 87    },
 88    {
 89      "id": "o3-mini",
 90      "name": "o3 Mini",
 91      "cost_per_1m_in": 1.1,
 92      "cost_per_1m_out": 4.4,
 93      "cost_per_1m_in_cached": 0,
 94      "cost_per_1m_out_cached": 0.55,
 95      "context_window": 200000,
 96      "default_max_tokens": 50000,
 97      "can_reason": true,
 98      "has_reasoning_effort": true,
 99      "default_reasoning_effort": "medium",
100      "supports_attachments": false
101    },
102    {
103      "id": "gpt-4o",
104      "name": "GPT-4o",
105      "cost_per_1m_in": 2.5,
106      "cost_per_1m_out": 10,
107      "cost_per_1m_in_cached": 0,
108      "cost_per_1m_out_cached": 1.25,
109      "context_window": 128000,
110      "default_max_tokens": 8192,
111      "can_reason": false,
112      "supports_attachments": true
113    },
114    {
115      "id": "gpt-4o-mini",
116      "name": "GPT-4o-mini",
117      "cost_per_1m_in": 0.15,
118      "cost_per_1m_out": 0.6,
119      "cost_per_1m_in_cached": 0,
120      "cost_per_1m_out_cached": 0.075,
121      "context_window": 128000,
122      "default_max_tokens": 8192,
123      "can_reason": false,
124      "reasoning_effort": "",
125      "supports_attachments": true
126    }
127  ]
128}