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": "low",
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": "gpt-4.1",
40 "name": "GPT-4.1",
41 "cost_per_1m_in": 2,
42 "cost_per_1m_out": 8,
43 "cost_per_1m_in_cached": 0,
44 "cost_per_1m_out_cached": 0.5,
45 "context_window": 1047576,
46 "default_max_tokens": 16384,
47 "can_reason": false,
48 "supports_attachments": true
49 },
50 {
51 "id": "gpt-4.1-mini",
52 "name": "GPT-4.1 Mini",
53 "cost_per_1m_in": 0.39999999999999997,
54 "cost_per_1m_out": 1.5999999999999999,
55 "cost_per_1m_in_cached": 0,
56 "cost_per_1m_out_cached": 0.09999999999999999,
57 "context_window": 1047576,
58 "default_max_tokens": 16384,
59 "can_reason": false,
60 "supports_attachments": true
61 },
62 {
63 "id": "gpt-4.1-nano",
64 "name": "GPT-4.1 Nano",
65 "cost_per_1m_in": 0.09999999999999999,
66 "cost_per_1m_out": 0.39999999999999997,
67 "cost_per_1m_in_cached": 0,
68 "cost_per_1m_out_cached": 0.024999999999999998,
69 "context_window": 1047576,
70 "default_max_tokens": 16384,
71 "can_reason": false,
72 "supports_attachments": true
73 },
74 {
75 "id": "o3-mini",
76 "name": "o3 Mini",
77 "cost_per_1m_in": 1.1,
78 "cost_per_1m_out": 4.4,
79 "cost_per_1m_in_cached": 0,
80 "cost_per_1m_out_cached": 0.55,
81 "context_window": 200000,
82 "default_max_tokens": 50000,
83 "can_reason": true,
84 "has_reasoning_effort": true,
85 "default_reasoning_effort": "medium",
86 "supports_attachments": false
87 },
88 {
89 "id": "gpt-4o",
90 "name": "GPT-4o",
91 "cost_per_1m_in": 2.5,
92 "cost_per_1m_out": 10,
93 "cost_per_1m_in_cached": 0,
94 "cost_per_1m_out_cached": 1.25,
95 "context_window": 128000,
96 "default_max_tokens": 8192,
97 "can_reason": false,
98 "supports_attachments": true
99 },
100 {
101 "id": "gpt-4o-mini",
102 "name": "GPT-4o-mini",
103 "cost_per_1m_in": 0.15,
104 "cost_per_1m_out": 0.6,
105 "cost_per_1m_in_cached": 0,
106 "cost_per_1m_out_cached": 0.075,
107 "context_window": 128000,
108 "default_max_tokens": 8192,
109 "can_reason": false,
110 "reasoning_effort": "",
111 "supports_attachments": true
112 }
113 ]
114}