@llmgateway/models 0.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/get-cheapest-from-available-providers.d.ts +30 -0
- package/dist/get-cheapest-from-available-providers.js +183 -0
- package/dist/get-cheapest-from-available-providers.js.map +1 -0
- package/dist/get-cheapest-model-for-provider.d.ts +2 -0
- package/dist/get-cheapest-model-for-provider.js +49 -0
- package/dist/get-cheapest-model-for-provider.js.map +1 -0
- package/dist/get-provider-endpoint.d.ts +3 -0
- package/dist/get-provider-endpoint.js +243 -0
- package/dist/get-provider-endpoint.js.map +1 -0
- package/dist/get-provider-headers.d.ts +5 -0
- package/dist/get-provider-headers.js +45 -0
- package/dist/get-provider-headers.js.map +1 -0
- package/dist/helpers.d.ts +1 -0
- package/dist/helpers.js +27 -0
- package/dist/helpers.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.js +17 -0
- package/dist/index.js.map +1 -0
- package/dist/models/alibaba.d.ts +686 -0
- package/dist/models/alibaba.js +789 -0
- package/dist/models/alibaba.js.map +1 -0
- package/dist/models/anthropic.d.ts +572 -0
- package/dist/models/anthropic.js +638 -0
- package/dist/models/anthropic.js.map +1 -0
- package/dist/models/aws-bedrock.d.ts +1 -0
- package/dist/models/aws-bedrock.js +2 -0
- package/dist/models/aws-bedrock.js.map +1 -0
- package/dist/models/bytedance.d.ts +131 -0
- package/dist/models/bytedance.js +151 -0
- package/dist/models/bytedance.js.map +1 -0
- package/dist/models/deepseek.d.ts +175 -0
- package/dist/models/deepseek.js +197 -0
- package/dist/models/deepseek.js.map +1 -0
- package/dist/models/google.d.ts +1065 -0
- package/dist/models/google.js +1201 -0
- package/dist/models/google.js.map +1 -0
- package/dist/models/llmgateway.d.ts +39 -0
- package/dist/models/llmgateway.js +59 -0
- package/dist/models/llmgateway.js.map +1 -0
- package/dist/models/meta.d.ts +263 -0
- package/dist/models/meta.js +300 -0
- package/dist/models/meta.js.map +1 -0
- package/dist/models/microsoft.d.ts +1 -0
- package/dist/models/microsoft.js +2 -0
- package/dist/models/microsoft.js.map +1 -0
- package/dist/models/minimax.d.ts +59 -0
- package/dist/models/minimax.js +68 -0
- package/dist/models/minimax.js.map +1 -0
- package/dist/models/mistral.d.ts +78 -0
- package/dist/models/mistral.js +92 -0
- package/dist/models/mistral.js.map +1 -0
- package/dist/models/moonshot.d.ts +165 -0
- package/dist/models/moonshot.js +184 -0
- package/dist/models/moonshot.js.map +1 -0
- package/dist/models/nousresearch.d.ts +21 -0
- package/dist/models/nousresearch.js +26 -0
- package/dist/models/nousresearch.js.map +1 -0
- package/dist/models/openai.d.ts +1018 -0
- package/dist/models/openai.js +1213 -0
- package/dist/models/openai.js.map +1 -0
- package/dist/models/perplexity.d.ts +67 -0
- package/dist/models/perplexity.js +78 -0
- package/dist/models/perplexity.js.map +1 -0
- package/dist/models/routeway.d.ts +161 -0
- package/dist/models/routeway.js +187 -0
- package/dist/models/routeway.js.map +1 -0
- package/dist/models/xai.d.ts +270 -0
- package/dist/models/xai.js +311 -0
- package/dist/models/xai.js.map +1 -0
- package/dist/models/zai.d.ts +492 -0
- package/dist/models/zai.js +551 -0
- package/dist/models/zai.js.map +1 -0
- package/dist/models.d.ts +5304 -0
- package/dist/models.js +37 -0
- package/dist/models.js.map +1 -0
- package/dist/models.spec.d.ts +1 -0
- package/dist/models.spec.js +263 -0
- package/dist/models.spec.js.map +1 -0
- package/dist/prepare-request-body.d.ts +10 -0
- package/dist/prepare-request-body.js +1081 -0
- package/dist/prepare-request-body.js.map +1 -0
- package/dist/prepare-request-body.spec.d.ts +1 -0
- package/dist/prepare-request-body.spec.js +231 -0
- package/dist/prepare-request-body.spec.js.map +1 -0
- package/dist/process-image-url.d.ts +4 -0
- package/dist/process-image-url.js +121 -0
- package/dist/process-image-url.js.map +1 -0
- package/dist/provider.d.ts +9 -0
- package/dist/provider.js +64 -0
- package/dist/provider.js.map +1 -0
- package/dist/providers.d.ts +405 -0
- package/dist/providers.js +413 -0
- package/dist/providers.js.map +1 -0
- package/dist/testing.d.ts +7 -0
- package/dist/testing.js +19 -0
- package/dist/testing.js.map +1 -0
- package/dist/transform-anthropic-messages.d.ts +2 -0
- package/dist/transform-anthropic-messages.js +185 -0
- package/dist/transform-anthropic-messages.js.map +1 -0
- package/dist/transform-google-messages.d.ts +25 -0
- package/dist/transform-google-messages.js +122 -0
- package/dist/transform-google-messages.js.map +1 -0
- package/dist/type-guards.d.ts +20 -0
- package/dist/type-guards.js +35 -0
- package/dist/type-guards.js.map +1 -0
- package/dist/types.d.ts +291 -0
- package/dist/types.js +28 -0
- package/dist/types.js.map +1 -0
- package/dist/validate-provider-key.d.ts +4 -0
- package/dist/validate-provider-key.js +113 -0
- package/dist/validate-provider-key.js.map +1 -0
- package/package.json +29 -0
|
@@ -0,0 +1,1018 @@
|
|
|
1
|
+
export declare const openaiModels: [{
|
|
2
|
+
readonly id: "gpt-4o-mini";
|
|
3
|
+
readonly name: "GPT-4o Mini";
|
|
4
|
+
readonly description: "Affordable small model for fast, lightweight tasks with text and vision capabilities.";
|
|
5
|
+
readonly family: "openai";
|
|
6
|
+
readonly releasedAt: Date;
|
|
7
|
+
readonly providers: [{
|
|
8
|
+
readonly providerId: "openai";
|
|
9
|
+
readonly modelName: "gpt-4o-mini";
|
|
10
|
+
readonly inputPrice: number;
|
|
11
|
+
readonly outputPrice: number;
|
|
12
|
+
readonly cachedInputPrice: number;
|
|
13
|
+
readonly requestPrice: 0;
|
|
14
|
+
readonly contextSize: 128000;
|
|
15
|
+
readonly maxOutput: 16384;
|
|
16
|
+
readonly streaming: true;
|
|
17
|
+
readonly vision: false;
|
|
18
|
+
readonly tools: true;
|
|
19
|
+
readonly jsonOutputSchema: true;
|
|
20
|
+
readonly jsonOutput: true;
|
|
21
|
+
}, {
|
|
22
|
+
readonly providerId: "azure";
|
|
23
|
+
readonly stability: "unstable";
|
|
24
|
+
readonly modelName: "gpt-4o-mini";
|
|
25
|
+
readonly inputPrice: number;
|
|
26
|
+
readonly outputPrice: number;
|
|
27
|
+
readonly cachedInputPrice: number;
|
|
28
|
+
readonly contextSize: 128000;
|
|
29
|
+
readonly maxOutput: 16384;
|
|
30
|
+
readonly streaming: true;
|
|
31
|
+
readonly vision: false;
|
|
32
|
+
readonly tools: true;
|
|
33
|
+
readonly jsonOutput: true;
|
|
34
|
+
}];
|
|
35
|
+
}, {
|
|
36
|
+
readonly id: "gpt-4o-search-preview";
|
|
37
|
+
readonly name: "GPT-4o Search Preview";
|
|
38
|
+
readonly description: "GPT-4o with native web search capabilities for up-to-date information.";
|
|
39
|
+
readonly family: "openai";
|
|
40
|
+
readonly releasedAt: Date;
|
|
41
|
+
readonly providers: [{
|
|
42
|
+
readonly providerId: "openai";
|
|
43
|
+
readonly modelName: "gpt-4o-search-preview";
|
|
44
|
+
readonly inputPrice: number;
|
|
45
|
+
readonly outputPrice: number;
|
|
46
|
+
readonly requestPrice: 0;
|
|
47
|
+
readonly webSearch: true;
|
|
48
|
+
readonly webSearchPrice: 0.025;
|
|
49
|
+
readonly contextSize: 128000;
|
|
50
|
+
readonly maxOutput: 16384;
|
|
51
|
+
readonly streaming: true;
|
|
52
|
+
readonly vision: true;
|
|
53
|
+
readonly tools: false;
|
|
54
|
+
readonly jsonOutput: false;
|
|
55
|
+
}];
|
|
56
|
+
}, {
|
|
57
|
+
readonly id: "gpt-4o-mini-search-preview";
|
|
58
|
+
readonly name: "GPT-4o Mini Search Preview";
|
|
59
|
+
readonly description: "Cost-effective GPT-4o Mini with native web search capabilities.";
|
|
60
|
+
readonly family: "openai";
|
|
61
|
+
readonly releasedAt: Date;
|
|
62
|
+
readonly providers: [{
|
|
63
|
+
readonly providerId: "openai";
|
|
64
|
+
readonly modelName: "gpt-4o-mini-search-preview";
|
|
65
|
+
readonly inputPrice: number;
|
|
66
|
+
readonly outputPrice: number;
|
|
67
|
+
readonly requestPrice: 0;
|
|
68
|
+
readonly webSearch: true;
|
|
69
|
+
readonly webSearchPrice: 0.025;
|
|
70
|
+
readonly contextSize: 128000;
|
|
71
|
+
readonly maxOutput: 16384;
|
|
72
|
+
readonly streaming: true;
|
|
73
|
+
readonly vision: true;
|
|
74
|
+
readonly tools: false;
|
|
75
|
+
readonly jsonOutput: false;
|
|
76
|
+
}];
|
|
77
|
+
}, {
|
|
78
|
+
readonly id: "gpt-4";
|
|
79
|
+
readonly name: "GPT-4";
|
|
80
|
+
readonly description: "Original GPT-4 model with strong reasoning and tool use capabilities.";
|
|
81
|
+
readonly family: "openai";
|
|
82
|
+
readonly releasedAt: Date;
|
|
83
|
+
readonly providers: [{
|
|
84
|
+
readonly test: "skip";
|
|
85
|
+
readonly providerId: "openai";
|
|
86
|
+
readonly modelName: "gpt-4";
|
|
87
|
+
readonly inputPrice: number;
|
|
88
|
+
readonly outputPrice: number;
|
|
89
|
+
readonly requestPrice: 0;
|
|
90
|
+
readonly contextSize: 8192;
|
|
91
|
+
readonly maxOutput: 8192;
|
|
92
|
+
readonly streaming: true;
|
|
93
|
+
readonly vision: false;
|
|
94
|
+
readonly tools: true;
|
|
95
|
+
readonly supportedParameters: ["temperature", "max_tokens", "top_p", "frequency_penalty", "presence_penalty", "response_format", "tools", "tool_choice"];
|
|
96
|
+
readonly jsonOutput: false;
|
|
97
|
+
}, {
|
|
98
|
+
readonly test: "skip";
|
|
99
|
+
readonly providerId: "azure";
|
|
100
|
+
readonly stability: "unstable";
|
|
101
|
+
readonly modelName: "gpt-4";
|
|
102
|
+
readonly inputPrice: number;
|
|
103
|
+
readonly outputPrice: number;
|
|
104
|
+
readonly contextSize: 8192;
|
|
105
|
+
readonly maxOutput: 8192;
|
|
106
|
+
readonly streaming: true;
|
|
107
|
+
readonly vision: false;
|
|
108
|
+
readonly tools: true;
|
|
109
|
+
readonly jsonOutput: false;
|
|
110
|
+
}];
|
|
111
|
+
}, {
|
|
112
|
+
readonly id: "gpt-4o";
|
|
113
|
+
readonly name: "GPT-4o";
|
|
114
|
+
readonly description: "Multimodal flagship model with vision, fast responses, and tool support.";
|
|
115
|
+
readonly family: "openai";
|
|
116
|
+
readonly releasedAt: Date;
|
|
117
|
+
readonly providers: [{
|
|
118
|
+
readonly providerId: "openai";
|
|
119
|
+
readonly modelName: "gpt-4o";
|
|
120
|
+
readonly inputPrice: number;
|
|
121
|
+
readonly outputPrice: number;
|
|
122
|
+
readonly cachedInputPrice: number;
|
|
123
|
+
readonly requestPrice: 0;
|
|
124
|
+
readonly imageInputPrice: 0.00553;
|
|
125
|
+
readonly contextSize: 128000;
|
|
126
|
+
readonly maxOutput: 16384;
|
|
127
|
+
readonly streaming: true;
|
|
128
|
+
readonly vision: true;
|
|
129
|
+
readonly tools: true;
|
|
130
|
+
readonly webSearch: true;
|
|
131
|
+
readonly jsonOutputSchema: true;
|
|
132
|
+
readonly jsonOutput: true;
|
|
133
|
+
}, {
|
|
134
|
+
readonly test: "skip";
|
|
135
|
+
readonly providerId: "azure";
|
|
136
|
+
readonly stability: "unstable";
|
|
137
|
+
readonly modelName: "gpt-4o";
|
|
138
|
+
readonly inputPrice: number;
|
|
139
|
+
readonly outputPrice: number;
|
|
140
|
+
readonly cachedInputPrice: number;
|
|
141
|
+
readonly imageInputPrice: 0.00553;
|
|
142
|
+
readonly contextSize: 128000;
|
|
143
|
+
readonly maxOutput: 16384;
|
|
144
|
+
readonly streaming: true;
|
|
145
|
+
readonly vision: true;
|
|
146
|
+
readonly tools: true;
|
|
147
|
+
readonly jsonOutput: true;
|
|
148
|
+
}];
|
|
149
|
+
}, {
|
|
150
|
+
readonly id: "gpt-3.5-turbo";
|
|
151
|
+
readonly name: "GPT-3.5 Turbo";
|
|
152
|
+
readonly description: "Fast and cost-effective model for simple tasks and conversational applications.";
|
|
153
|
+
readonly family: "openai";
|
|
154
|
+
readonly releasedAt: Date;
|
|
155
|
+
readonly providers: [{
|
|
156
|
+
readonly providerId: "openai";
|
|
157
|
+
readonly modelName: "gpt-3.5-turbo";
|
|
158
|
+
readonly inputPrice: number;
|
|
159
|
+
readonly outputPrice: number;
|
|
160
|
+
readonly requestPrice: 0;
|
|
161
|
+
readonly contextSize: 16385;
|
|
162
|
+
readonly maxOutput: undefined;
|
|
163
|
+
readonly streaming: true;
|
|
164
|
+
readonly vision: false;
|
|
165
|
+
readonly tools: true;
|
|
166
|
+
readonly jsonOutputSchema: false;
|
|
167
|
+
readonly jsonOutput: true;
|
|
168
|
+
}, {
|
|
169
|
+
readonly test: "skip";
|
|
170
|
+
readonly providerId: "azure";
|
|
171
|
+
readonly stability: "unstable";
|
|
172
|
+
readonly modelName: "gpt-35-turbo";
|
|
173
|
+
readonly inputPrice: number;
|
|
174
|
+
readonly outputPrice: number;
|
|
175
|
+
readonly contextSize: 16385;
|
|
176
|
+
readonly maxOutput: 4096;
|
|
177
|
+
readonly streaming: true;
|
|
178
|
+
readonly vision: false;
|
|
179
|
+
readonly tools: true;
|
|
180
|
+
readonly jsonOutput: true;
|
|
181
|
+
}];
|
|
182
|
+
}, {
|
|
183
|
+
readonly id: "gpt-4-turbo";
|
|
184
|
+
readonly name: "GPT-4 Turbo";
|
|
185
|
+
readonly description: "Enhanced GPT-4 with vision capabilities and improved performance.";
|
|
186
|
+
readonly family: "openai";
|
|
187
|
+
readonly releasedAt: Date;
|
|
188
|
+
readonly providers: [{
|
|
189
|
+
readonly test: "skip";
|
|
190
|
+
readonly providerId: "openai";
|
|
191
|
+
readonly modelName: "gpt-4-turbo";
|
|
192
|
+
readonly inputPrice: number;
|
|
193
|
+
readonly outputPrice: number;
|
|
194
|
+
readonly requestPrice: 0;
|
|
195
|
+
readonly contextSize: 128000;
|
|
196
|
+
readonly maxOutput: undefined;
|
|
197
|
+
readonly streaming: true;
|
|
198
|
+
readonly vision: true;
|
|
199
|
+
readonly tools: true;
|
|
200
|
+
readonly jsonOutputSchema: true;
|
|
201
|
+
readonly jsonOutput: true;
|
|
202
|
+
}, {
|
|
203
|
+
readonly test: "skip";
|
|
204
|
+
readonly providerId: "azure";
|
|
205
|
+
readonly stability: "unstable";
|
|
206
|
+
readonly modelName: "gpt-4-turbo";
|
|
207
|
+
readonly inputPrice: number;
|
|
208
|
+
readonly outputPrice: number;
|
|
209
|
+
readonly contextSize: 128000;
|
|
210
|
+
readonly maxOutput: 4096;
|
|
211
|
+
readonly streaming: true;
|
|
212
|
+
readonly vision: true;
|
|
213
|
+
readonly tools: true;
|
|
214
|
+
readonly jsonOutput: true;
|
|
215
|
+
}];
|
|
216
|
+
}, {
|
|
217
|
+
readonly id: "gpt-4.1";
|
|
218
|
+
readonly name: "GPT-4.1";
|
|
219
|
+
readonly description: "Updated GPT-4 with vision support and parallel tool calls.";
|
|
220
|
+
readonly family: "openai";
|
|
221
|
+
readonly releasedAt: Date;
|
|
222
|
+
readonly providers: [{
|
|
223
|
+
readonly providerId: "openai";
|
|
224
|
+
readonly modelName: "gpt-4.1";
|
|
225
|
+
readonly inputPrice: number;
|
|
226
|
+
readonly outputPrice: number;
|
|
227
|
+
readonly requestPrice: 0;
|
|
228
|
+
readonly contextSize: 1000000;
|
|
229
|
+
readonly maxOutput: undefined;
|
|
230
|
+
readonly streaming: true;
|
|
231
|
+
readonly vision: true;
|
|
232
|
+
readonly tools: true;
|
|
233
|
+
readonly parallelToolCalls: true;
|
|
234
|
+
readonly jsonOutputSchema: true;
|
|
235
|
+
readonly jsonOutput: true;
|
|
236
|
+
}, {
|
|
237
|
+
readonly test: "skip";
|
|
238
|
+
readonly providerId: "azure";
|
|
239
|
+
readonly stability: "unstable";
|
|
240
|
+
readonly modelName: "gpt-4.1";
|
|
241
|
+
readonly inputPrice: number;
|
|
242
|
+
readonly outputPrice: number;
|
|
243
|
+
readonly requestPrice: 0;
|
|
244
|
+
readonly contextSize: 1000000;
|
|
245
|
+
readonly maxOutput: undefined;
|
|
246
|
+
readonly streaming: true;
|
|
247
|
+
readonly vision: true;
|
|
248
|
+
readonly tools: true;
|
|
249
|
+
readonly parallelToolCalls: true;
|
|
250
|
+
readonly jsonOutputSchema: true;
|
|
251
|
+
readonly jsonOutput: true;
|
|
252
|
+
}];
|
|
253
|
+
}, {
|
|
254
|
+
readonly id: "o1";
|
|
255
|
+
readonly name: "o1";
|
|
256
|
+
readonly description: "Advanced reasoning model that thinks before responding for complex problem-solving.";
|
|
257
|
+
readonly family: "openai";
|
|
258
|
+
readonly releasedAt: Date;
|
|
259
|
+
readonly providers: [{
|
|
260
|
+
readonly test: "skip";
|
|
261
|
+
readonly providerId: "openai";
|
|
262
|
+
readonly modelName: "o1";
|
|
263
|
+
readonly inputPrice: number;
|
|
264
|
+
readonly outputPrice: number;
|
|
265
|
+
readonly requestPrice: 0;
|
|
266
|
+
readonly contextSize: 200000;
|
|
267
|
+
readonly maxOutput: undefined;
|
|
268
|
+
readonly streaming: true;
|
|
269
|
+
readonly vision: true;
|
|
270
|
+
readonly reasoning: true;
|
|
271
|
+
readonly tools: false;
|
|
272
|
+
readonly jsonOutputSchema: true;
|
|
273
|
+
readonly jsonOutput: true;
|
|
274
|
+
}, {
|
|
275
|
+
readonly test: "skip";
|
|
276
|
+
readonly providerId: "azure";
|
|
277
|
+
readonly stability: "unstable";
|
|
278
|
+
readonly modelName: "o1";
|
|
279
|
+
readonly inputPrice: number;
|
|
280
|
+
readonly outputPrice: number;
|
|
281
|
+
readonly requestPrice: 0;
|
|
282
|
+
readonly contextSize: 200000;
|
|
283
|
+
readonly maxOutput: undefined;
|
|
284
|
+
readonly streaming: true;
|
|
285
|
+
readonly vision: true;
|
|
286
|
+
readonly reasoning: true;
|
|
287
|
+
readonly tools: false;
|
|
288
|
+
readonly jsonOutputSchema: true;
|
|
289
|
+
readonly jsonOutput: true;
|
|
290
|
+
}];
|
|
291
|
+
}, {
|
|
292
|
+
readonly id: "o1-mini";
|
|
293
|
+
readonly name: "o1 Mini";
|
|
294
|
+
readonly description: "Smaller, faster reasoning model optimized for coding and math tasks.";
|
|
295
|
+
readonly family: "openai";
|
|
296
|
+
readonly releasedAt: Date;
|
|
297
|
+
readonly providers: [{
|
|
298
|
+
readonly stability: "unstable";
|
|
299
|
+
readonly providerId: "openai";
|
|
300
|
+
readonly modelName: "o1-mini";
|
|
301
|
+
readonly inputPrice: number;
|
|
302
|
+
readonly outputPrice: number;
|
|
303
|
+
readonly requestPrice: 0;
|
|
304
|
+
readonly contextSize: 128000;
|
|
305
|
+
readonly maxOutput: undefined;
|
|
306
|
+
readonly streaming: false;
|
|
307
|
+
readonly vision: false;
|
|
308
|
+
readonly tools: false;
|
|
309
|
+
readonly reasoning: false;
|
|
310
|
+
readonly supportsResponsesApi: false;
|
|
311
|
+
readonly jsonOutput: false;
|
|
312
|
+
}, {
|
|
313
|
+
readonly test: "skip";
|
|
314
|
+
readonly providerId: "azure";
|
|
315
|
+
readonly stability: "unstable";
|
|
316
|
+
readonly modelName: "o1-mini";
|
|
317
|
+
readonly inputPrice: number;
|
|
318
|
+
readonly outputPrice: number;
|
|
319
|
+
readonly requestPrice: 0;
|
|
320
|
+
readonly contextSize: 128000;
|
|
321
|
+
readonly maxOutput: undefined;
|
|
322
|
+
readonly streaming: false;
|
|
323
|
+
readonly vision: false;
|
|
324
|
+
readonly tools: false;
|
|
325
|
+
readonly reasoning: false;
|
|
326
|
+
readonly supportsResponsesApi: false;
|
|
327
|
+
readonly jsonOutput: false;
|
|
328
|
+
}];
|
|
329
|
+
readonly supportsSystemRole: false;
|
|
330
|
+
}, {
|
|
331
|
+
readonly id: "gpt-4.1-mini";
|
|
332
|
+
readonly name: "GPT-4.1 Mini";
|
|
333
|
+
readonly description: "Compact version of GPT-4.1 with vision and tool support.";
|
|
334
|
+
readonly family: "openai";
|
|
335
|
+
readonly releasedAt: Date;
|
|
336
|
+
readonly providers: [{
|
|
337
|
+
readonly providerId: "openai";
|
|
338
|
+
readonly modelName: "gpt-4.1-mini";
|
|
339
|
+
readonly inputPrice: number;
|
|
340
|
+
readonly outputPrice: number;
|
|
341
|
+
readonly requestPrice: 0;
|
|
342
|
+
readonly contextSize: 1000000;
|
|
343
|
+
readonly maxOutput: undefined;
|
|
344
|
+
readonly streaming: true;
|
|
345
|
+
readonly vision: true;
|
|
346
|
+
readonly tools: true;
|
|
347
|
+
readonly parallelToolCalls: true;
|
|
348
|
+
readonly jsonOutputSchema: true;
|
|
349
|
+
readonly jsonOutput: true;
|
|
350
|
+
}, {
|
|
351
|
+
readonly test: "skip";
|
|
352
|
+
readonly providerId: "azure";
|
|
353
|
+
readonly stability: "unstable";
|
|
354
|
+
readonly modelName: "gpt-4.1-mini";
|
|
355
|
+
readonly inputPrice: number;
|
|
356
|
+
readonly outputPrice: number;
|
|
357
|
+
readonly requestPrice: 0;
|
|
358
|
+
readonly contextSize: 1000000;
|
|
359
|
+
readonly maxOutput: undefined;
|
|
360
|
+
readonly streaming: true;
|
|
361
|
+
readonly vision: true;
|
|
362
|
+
readonly tools: true;
|
|
363
|
+
readonly parallelToolCalls: true;
|
|
364
|
+
readonly jsonOutputSchema: true;
|
|
365
|
+
readonly jsonOutput: true;
|
|
366
|
+
}];
|
|
367
|
+
}, {
|
|
368
|
+
readonly id: "gpt-4.1-nano";
|
|
369
|
+
readonly name: "GPT-4.1 Nano";
|
|
370
|
+
readonly description: "Ultra-lightweight GPT-4.1 variant for high-volume, cost-sensitive applications.";
|
|
371
|
+
readonly family: "openai";
|
|
372
|
+
readonly releasedAt: Date;
|
|
373
|
+
readonly providers: [{
|
|
374
|
+
readonly providerId: "openai";
|
|
375
|
+
readonly modelName: "gpt-4.1-nano";
|
|
376
|
+
readonly inputPrice: number;
|
|
377
|
+
readonly outputPrice: number;
|
|
378
|
+
readonly requestPrice: 0;
|
|
379
|
+
readonly contextSize: 1000000;
|
|
380
|
+
readonly maxOutput: undefined;
|
|
381
|
+
readonly streaming: true;
|
|
382
|
+
readonly vision: true;
|
|
383
|
+
readonly tools: true;
|
|
384
|
+
readonly parallelToolCalls: true;
|
|
385
|
+
readonly jsonOutputSchema: true;
|
|
386
|
+
readonly jsonOutput: true;
|
|
387
|
+
}, {
|
|
388
|
+
readonly test: "skip";
|
|
389
|
+
readonly providerId: "azure";
|
|
390
|
+
readonly stability: "unstable";
|
|
391
|
+
readonly modelName: "gpt-4.1-nano";
|
|
392
|
+
readonly inputPrice: number;
|
|
393
|
+
readonly outputPrice: number;
|
|
394
|
+
readonly requestPrice: 0;
|
|
395
|
+
readonly contextSize: 1000000;
|
|
396
|
+
readonly maxOutput: undefined;
|
|
397
|
+
readonly streaming: true;
|
|
398
|
+
readonly vision: true;
|
|
399
|
+
readonly tools: true;
|
|
400
|
+
readonly parallelToolCalls: true;
|
|
401
|
+
readonly jsonOutputSchema: true;
|
|
402
|
+
readonly jsonOutput: true;
|
|
403
|
+
}];
|
|
404
|
+
}, {
|
|
405
|
+
readonly id: "o3";
|
|
406
|
+
readonly name: "o3";
|
|
407
|
+
readonly description: "Next-generation reasoning model with enhanced problem-solving capabilities.";
|
|
408
|
+
readonly family: "openai";
|
|
409
|
+
readonly releasedAt: Date;
|
|
410
|
+
readonly providers: [{
|
|
411
|
+
readonly providerId: "openai";
|
|
412
|
+
readonly modelName: "o3";
|
|
413
|
+
readonly inputPrice: number;
|
|
414
|
+
readonly outputPrice: number;
|
|
415
|
+
readonly requestPrice: 0;
|
|
416
|
+
readonly contextSize: 200000;
|
|
417
|
+
readonly maxOutput: undefined;
|
|
418
|
+
readonly streaming: false;
|
|
419
|
+
readonly vision: true;
|
|
420
|
+
readonly tools: false;
|
|
421
|
+
readonly jsonOutputSchema: true;
|
|
422
|
+
readonly jsonOutput: true;
|
|
423
|
+
}, {
|
|
424
|
+
readonly test: "skip";
|
|
425
|
+
readonly providerId: "azure";
|
|
426
|
+
readonly stability: "unstable";
|
|
427
|
+
readonly modelName: "o3";
|
|
428
|
+
readonly inputPrice: number;
|
|
429
|
+
readonly outputPrice: number;
|
|
430
|
+
readonly requestPrice: 0;
|
|
431
|
+
readonly contextSize: 200000;
|
|
432
|
+
readonly maxOutput: undefined;
|
|
433
|
+
readonly streaming: false;
|
|
434
|
+
readonly vision: true;
|
|
435
|
+
readonly tools: false;
|
|
436
|
+
readonly jsonOutputSchema: true;
|
|
437
|
+
readonly jsonOutput: true;
|
|
438
|
+
}];
|
|
439
|
+
}, {
|
|
440
|
+
readonly id: "o3-mini";
|
|
441
|
+
readonly name: "o3 Mini";
|
|
442
|
+
readonly description: "Compact o3 reasoning model balancing performance and cost for complex tasks.";
|
|
443
|
+
readonly family: "openai";
|
|
444
|
+
readonly releasedAt: Date;
|
|
445
|
+
readonly providers: [{
|
|
446
|
+
readonly providerId: "openai";
|
|
447
|
+
readonly modelName: "o3-mini";
|
|
448
|
+
readonly inputPrice: number;
|
|
449
|
+
readonly outputPrice: number;
|
|
450
|
+
readonly requestPrice: 0;
|
|
451
|
+
readonly contextSize: 200000;
|
|
452
|
+
readonly maxOutput: undefined;
|
|
453
|
+
readonly streaming: true;
|
|
454
|
+
readonly vision: false;
|
|
455
|
+
readonly tools: false;
|
|
456
|
+
readonly jsonOutputSchema: true;
|
|
457
|
+
readonly jsonOutput: true;
|
|
458
|
+
}, {
|
|
459
|
+
readonly test: "skip";
|
|
460
|
+
readonly providerId: "azure";
|
|
461
|
+
readonly stability: "unstable";
|
|
462
|
+
readonly modelName: "o3-mini";
|
|
463
|
+
readonly inputPrice: number;
|
|
464
|
+
readonly outputPrice: number;
|
|
465
|
+
readonly requestPrice: 0;
|
|
466
|
+
readonly contextSize: 200000;
|
|
467
|
+
readonly maxOutput: undefined;
|
|
468
|
+
readonly streaming: true;
|
|
469
|
+
readonly vision: false;
|
|
470
|
+
readonly tools: false;
|
|
471
|
+
readonly jsonOutputSchema: true;
|
|
472
|
+
readonly jsonOutput: true;
|
|
473
|
+
}];
|
|
474
|
+
}, {
|
|
475
|
+
readonly id: "gpt-oss-120b";
|
|
476
|
+
readonly name: "GPT OSS 120B";
|
|
477
|
+
readonly description: "Open-source 120B parameter model with reasoning capabilities via Groq inference.";
|
|
478
|
+
readonly family: "openai";
|
|
479
|
+
readonly releasedAt: Date;
|
|
480
|
+
readonly providers: [{
|
|
481
|
+
readonly providerId: "groq";
|
|
482
|
+
readonly modelName: "openai/gpt-oss-120b";
|
|
483
|
+
readonly inputPrice: number;
|
|
484
|
+
readonly outputPrice: number;
|
|
485
|
+
readonly requestPrice: 0;
|
|
486
|
+
readonly contextSize: 131072;
|
|
487
|
+
readonly maxOutput: 32766;
|
|
488
|
+
readonly streaming: true;
|
|
489
|
+
readonly vision: false;
|
|
490
|
+
readonly tools: true;
|
|
491
|
+
readonly reasoning: true;
|
|
492
|
+
readonly jsonOutput: true;
|
|
493
|
+
}, {
|
|
494
|
+
readonly providerId: "cerebras";
|
|
495
|
+
readonly modelName: "gpt-oss-120b";
|
|
496
|
+
readonly inputPrice: number;
|
|
497
|
+
readonly outputPrice: number;
|
|
498
|
+
readonly requestPrice: 0;
|
|
499
|
+
readonly contextSize: 131072;
|
|
500
|
+
readonly maxOutput: 32768;
|
|
501
|
+
readonly streaming: true;
|
|
502
|
+
readonly vision: false;
|
|
503
|
+
readonly tools: true;
|
|
504
|
+
readonly reasoning: true;
|
|
505
|
+
readonly jsonOutput: true;
|
|
506
|
+
}, {
|
|
507
|
+
readonly test: "skip";
|
|
508
|
+
readonly providerId: "nanogpt";
|
|
509
|
+
readonly modelName: "openai/gpt-oss-120b";
|
|
510
|
+
readonly inputPrice: number;
|
|
511
|
+
readonly outputPrice: number;
|
|
512
|
+
readonly requestPrice: 0;
|
|
513
|
+
readonly contextSize: 131072;
|
|
514
|
+
readonly maxOutput: 32766;
|
|
515
|
+
readonly streaming: true;
|
|
516
|
+
readonly vision: false;
|
|
517
|
+
readonly tools: true;
|
|
518
|
+
readonly reasoning: true;
|
|
519
|
+
readonly jsonOutput: true;
|
|
520
|
+
}, {
|
|
521
|
+
readonly providerId: "bytedance";
|
|
522
|
+
readonly modelName: "gpt-oss-120b-250805";
|
|
523
|
+
readonly inputPrice: number;
|
|
524
|
+
readonly cachedInputPrice: number;
|
|
525
|
+
readonly outputPrice: number;
|
|
526
|
+
readonly requestPrice: 0;
|
|
527
|
+
readonly contextSize: 128000;
|
|
528
|
+
readonly maxOutput: 32000;
|
|
529
|
+
readonly streaming: true;
|
|
530
|
+
readonly vision: false;
|
|
531
|
+
readonly tools: true;
|
|
532
|
+
readonly reasoning: true;
|
|
533
|
+
readonly jsonOutput: false;
|
|
534
|
+
}];
|
|
535
|
+
}, {
|
|
536
|
+
readonly id: "gpt-oss-20b";
|
|
537
|
+
readonly name: "GPT OSS 20B";
|
|
538
|
+
readonly description: "Lightweight open-source 20B model with reasoning support for efficient inference.";
|
|
539
|
+
readonly family: "openai";
|
|
540
|
+
readonly releasedAt: Date;
|
|
541
|
+
readonly providers: [{
|
|
542
|
+
readonly providerId: "groq";
|
|
543
|
+
readonly modelName: "openai/gpt-oss-20b";
|
|
544
|
+
readonly inputPrice: number;
|
|
545
|
+
readonly outputPrice: number;
|
|
546
|
+
readonly requestPrice: 0;
|
|
547
|
+
readonly contextSize: 131072;
|
|
548
|
+
readonly maxOutput: 32766;
|
|
549
|
+
readonly streaming: true;
|
|
550
|
+
readonly vision: false;
|
|
551
|
+
readonly tools: true;
|
|
552
|
+
readonly reasoning: true;
|
|
553
|
+
readonly jsonOutput: true;
|
|
554
|
+
}, {
|
|
555
|
+
readonly test: "skip";
|
|
556
|
+
readonly providerId: "nanogpt";
|
|
557
|
+
readonly modelName: "openai/gpt-oss-20b";
|
|
558
|
+
readonly inputPrice: number;
|
|
559
|
+
readonly outputPrice: number;
|
|
560
|
+
readonly requestPrice: 0;
|
|
561
|
+
readonly contextSize: 131072;
|
|
562
|
+
readonly maxOutput: 32766;
|
|
563
|
+
readonly streaming: true;
|
|
564
|
+
readonly vision: false;
|
|
565
|
+
readonly tools: true;
|
|
566
|
+
readonly reasoning: true;
|
|
567
|
+
readonly jsonOutput: true;
|
|
568
|
+
}];
|
|
569
|
+
}, {
|
|
570
|
+
readonly id: "gpt-5";
|
|
571
|
+
readonly name: "GPT-5";
|
|
572
|
+
readonly description: "Latest flagship model with reasoning, vision, and enhanced capabilities.";
|
|
573
|
+
readonly family: "openai";
|
|
574
|
+
readonly releasedAt: Date;
|
|
575
|
+
readonly providers: [{
|
|
576
|
+
readonly providerId: "openai";
|
|
577
|
+
readonly modelName: "gpt-5";
|
|
578
|
+
readonly inputPrice: number;
|
|
579
|
+
readonly outputPrice: number;
|
|
580
|
+
readonly cachedInputPrice: number;
|
|
581
|
+
readonly requestPrice: 0;
|
|
582
|
+
readonly contextSize: 400000;
|
|
583
|
+
readonly maxOutput: 128000;
|
|
584
|
+
readonly reasoning: true;
|
|
585
|
+
readonly streaming: true;
|
|
586
|
+
readonly vision: true;
|
|
587
|
+
readonly tools: true;
|
|
588
|
+
readonly webSearch: true;
|
|
589
|
+
readonly webSearchPrice: 0.01;
|
|
590
|
+
readonly supportsResponsesApi: true;
|
|
591
|
+
readonly jsonOutputSchema: true;
|
|
592
|
+
readonly supportedParameters: ["temperature", "top_p", "frequency_penalty", "presence_penalty", "response_format", "tools", "tool_choice"];
|
|
593
|
+
readonly jsonOutput: true;
|
|
594
|
+
}, {
|
|
595
|
+
readonly test: "skip";
|
|
596
|
+
readonly providerId: "azure";
|
|
597
|
+
readonly stability: "unstable";
|
|
598
|
+
readonly modelName: "gpt-5";
|
|
599
|
+
readonly inputPrice: number;
|
|
600
|
+
readonly outputPrice: number;
|
|
601
|
+
readonly cachedInputPrice: number;
|
|
602
|
+
readonly requestPrice: 0;
|
|
603
|
+
readonly contextSize: 400000;
|
|
604
|
+
readonly maxOutput: 128000;
|
|
605
|
+
readonly reasoning: true;
|
|
606
|
+
readonly reasoningOutput: "omit";
|
|
607
|
+
readonly streaming: true;
|
|
608
|
+
readonly vision: true;
|
|
609
|
+
readonly tools: true;
|
|
610
|
+
readonly jsonOutputSchema: true;
|
|
611
|
+
readonly supportedParameters: ["temperature", "top_p", "frequency_penalty", "presence_penalty", "response_format", "tools", "tool_choice"];
|
|
612
|
+
readonly jsonOutput: true;
|
|
613
|
+
}];
|
|
614
|
+
}, {
|
|
615
|
+
readonly id: "gpt-5-mini";
|
|
616
|
+
readonly name: "GPT-5 Mini";
|
|
617
|
+
readonly description: "Compact GPT-5 variant with reasoning and vision at reduced cost.";
|
|
618
|
+
readonly family: "openai";
|
|
619
|
+
readonly releasedAt: Date;
|
|
620
|
+
readonly providers: [{
|
|
621
|
+
readonly providerId: "openai";
|
|
622
|
+
readonly modelName: "gpt-5-mini";
|
|
623
|
+
readonly inputPrice: number;
|
|
624
|
+
readonly outputPrice: number;
|
|
625
|
+
readonly cachedInputPrice: number;
|
|
626
|
+
readonly requestPrice: 0;
|
|
627
|
+
readonly contextSize: 400000;
|
|
628
|
+
readonly maxOutput: 128000;
|
|
629
|
+
readonly reasoning: true;
|
|
630
|
+
readonly streaming: true;
|
|
631
|
+
readonly vision: true;
|
|
632
|
+
readonly tools: true;
|
|
633
|
+
readonly webSearch: true;
|
|
634
|
+
readonly webSearchPrice: 0.01;
|
|
635
|
+
readonly supportsResponsesApi: true;
|
|
636
|
+
readonly jsonOutputSchema: true;
|
|
637
|
+
readonly supportedParameters: ["temperature", "top_p", "frequency_penalty", "presence_penalty", "response_format", "tools", "tool_choice"];
|
|
638
|
+
readonly jsonOutput: true;
|
|
639
|
+
}, {
|
|
640
|
+
readonly test: "skip";
|
|
641
|
+
readonly providerId: "azure";
|
|
642
|
+
readonly stability: "unstable";
|
|
643
|
+
readonly modelName: "gpt-5-mini";
|
|
644
|
+
readonly inputPrice: number;
|
|
645
|
+
readonly outputPrice: number;
|
|
646
|
+
readonly cachedInputPrice: number;
|
|
647
|
+
readonly requestPrice: 0;
|
|
648
|
+
readonly contextSize: 400000;
|
|
649
|
+
readonly maxOutput: 128000;
|
|
650
|
+
readonly reasoning: true;
|
|
651
|
+
readonly streaming: true;
|
|
652
|
+
readonly vision: true;
|
|
653
|
+
readonly tools: true;
|
|
654
|
+
readonly jsonOutputSchema: true;
|
|
655
|
+
readonly supportedParameters: ["temperature", "top_p", "frequency_penalty", "presence_penalty", "response_format", "tools", "tool_choice"];
|
|
656
|
+
readonly jsonOutput: true;
|
|
657
|
+
}];
|
|
658
|
+
}, {
|
|
659
|
+
readonly id: "gpt-5-nano";
|
|
660
|
+
readonly name: "GPT-5 Nano";
|
|
661
|
+
readonly description: "Ultra-efficient GPT-5 variant for high-volume applications with reasoning support.";
|
|
662
|
+
readonly family: "openai";
|
|
663
|
+
readonly releasedAt: Date;
|
|
664
|
+
readonly providers: [{
|
|
665
|
+
readonly providerId: "openai";
|
|
666
|
+
readonly modelName: "gpt-5-nano";
|
|
667
|
+
readonly inputPrice: number;
|
|
668
|
+
readonly outputPrice: number;
|
|
669
|
+
readonly cachedInputPrice: number;
|
|
670
|
+
readonly requestPrice: 0;
|
|
671
|
+
readonly contextSize: 400000;
|
|
672
|
+
readonly maxOutput: 128000;
|
|
673
|
+
readonly reasoning: true;
|
|
674
|
+
readonly streaming: true;
|
|
675
|
+
readonly vision: false;
|
|
676
|
+
readonly tools: true;
|
|
677
|
+
readonly webSearch: true;
|
|
678
|
+
readonly webSearchPrice: 0.01;
|
|
679
|
+
readonly supportsResponsesApi: true;
|
|
680
|
+
readonly jsonOutputSchema: true;
|
|
681
|
+
readonly supportedParameters: ["temperature", "top_p", "frequency_penalty", "presence_penalty", "response_format", "tools", "tool_choice"];
|
|
682
|
+
readonly jsonOutput: true;
|
|
683
|
+
}, {
|
|
684
|
+
readonly test: "skip";
|
|
685
|
+
readonly providerId: "azure";
|
|
686
|
+
readonly stability: "unstable";
|
|
687
|
+
readonly modelName: "gpt-5-nano";
|
|
688
|
+
readonly inputPrice: number;
|
|
689
|
+
readonly outputPrice: number;
|
|
690
|
+
readonly cachedInputPrice: number;
|
|
691
|
+
readonly requestPrice: 0;
|
|
692
|
+
readonly contextSize: 400000;
|
|
693
|
+
readonly maxOutput: 128000;
|
|
694
|
+
readonly reasoning: true;
|
|
695
|
+
readonly streaming: true;
|
|
696
|
+
readonly vision: false;
|
|
697
|
+
readonly tools: true;
|
|
698
|
+
readonly jsonOutputSchema: true;
|
|
699
|
+
readonly supportedParameters: ["temperature", "top_p", "frequency_penalty", "presence_penalty", "response_format", "tools", "tool_choice"];
|
|
700
|
+
readonly jsonOutput: true;
|
|
701
|
+
}];
|
|
702
|
+
}, {
|
|
703
|
+
readonly id: "gpt-5-chat-latest";
|
|
704
|
+
readonly name: "GPT-5 Chat Latest";
|
|
705
|
+
readonly description: "GPT-5 optimized for conversational interactions without tool calling.";
|
|
706
|
+
readonly family: "openai";
|
|
707
|
+
readonly releasedAt: Date;
|
|
708
|
+
readonly providers: [{
|
|
709
|
+
readonly providerId: "openai";
|
|
710
|
+
readonly modelName: "gpt-5-chat-latest";
|
|
711
|
+
readonly inputPrice: number;
|
|
712
|
+
readonly outputPrice: number;
|
|
713
|
+
readonly cachedInputPrice: number;
|
|
714
|
+
readonly requestPrice: 0;
|
|
715
|
+
readonly contextSize: 400000;
|
|
716
|
+
readonly maxOutput: 128000;
|
|
717
|
+
readonly streaming: true;
|
|
718
|
+
readonly vision: true;
|
|
719
|
+
readonly tools: false;
|
|
720
|
+
readonly jsonOutputSchema: true;
|
|
721
|
+
readonly supportedParameters: ["temperature", "top_p", "frequency_penalty", "presence_penalty", "response_format"];
|
|
722
|
+
readonly jsonOutput: true;
|
|
723
|
+
}];
|
|
724
|
+
}, {
|
|
725
|
+
readonly id: "gpt-5.1";
|
|
726
|
+
readonly name: "GPT-5.1";
|
|
727
|
+
readonly description: "Iterative improvement on GPT-5 with enhanced reasoning and tool support.";
|
|
728
|
+
readonly family: "openai";
|
|
729
|
+
readonly releasedAt: Date;
|
|
730
|
+
readonly providers: [{
|
|
731
|
+
readonly providerId: "openai";
|
|
732
|
+
readonly modelName: "gpt-5.1";
|
|
733
|
+
readonly inputPrice: number;
|
|
734
|
+
readonly outputPrice: number;
|
|
735
|
+
readonly cachedInputPrice: number;
|
|
736
|
+
readonly requestPrice: 0;
|
|
737
|
+
readonly contextSize: 400000;
|
|
738
|
+
readonly maxOutput: 128000;
|
|
739
|
+
readonly streaming: true;
|
|
740
|
+
readonly vision: true;
|
|
741
|
+
readonly tools: true;
|
|
742
|
+
readonly webSearch: true;
|
|
743
|
+
readonly webSearchPrice: 0.01;
|
|
744
|
+
readonly reasoning: true;
|
|
745
|
+
readonly reasoningOutput: "omit";
|
|
746
|
+
readonly supportsResponsesApi: true;
|
|
747
|
+
readonly jsonOutputSchema: true;
|
|
748
|
+
readonly supportedParameters: ["temperature", "top_p", "frequency_penalty", "presence_penalty", "response_format"];
|
|
749
|
+
readonly jsonOutput: true;
|
|
750
|
+
}, {
|
|
751
|
+
readonly test: "skip";
|
|
752
|
+
readonly providerId: "azure";
|
|
753
|
+
readonly modelName: "gpt-5.1";
|
|
754
|
+
readonly inputPrice: number;
|
|
755
|
+
readonly outputPrice: number;
|
|
756
|
+
readonly cachedInputPrice: number;
|
|
757
|
+
readonly discount: 0.3;
|
|
758
|
+
readonly requestPrice: 0;
|
|
759
|
+
readonly contextSize: 400000;
|
|
760
|
+
readonly maxOutput: 128000;
|
|
761
|
+
readonly streaming: true;
|
|
762
|
+
readonly vision: true;
|
|
763
|
+
readonly tools: true;
|
|
764
|
+
readonly reasoning: true;
|
|
765
|
+
readonly reasoningOutput: "omit";
|
|
766
|
+
readonly jsonOutputSchema: true;
|
|
767
|
+
readonly supportedParameters: ["temperature", "top_p", "frequency_penalty", "presence_penalty", "response_format"];
|
|
768
|
+
readonly jsonOutput: true;
|
|
769
|
+
}];
|
|
770
|
+
}, {
|
|
771
|
+
readonly id: "gpt-5-pro";
|
|
772
|
+
readonly name: "GPT-5 Pro";
|
|
773
|
+
readonly description: "Premium GPT-5 tier with extended output limits and advanced reasoning for complex tasks.";
|
|
774
|
+
readonly family: "openai";
|
|
775
|
+
readonly releasedAt: Date;
|
|
776
|
+
readonly providers: [{
|
|
777
|
+
readonly test: "skip";
|
|
778
|
+
readonly providerId: "openai";
|
|
779
|
+
readonly modelName: "gpt-5-pro";
|
|
780
|
+
readonly inputPrice: number;
|
|
781
|
+
readonly outputPrice: number;
|
|
782
|
+
readonly requestPrice: 0;
|
|
783
|
+
readonly contextSize: 400000;
|
|
784
|
+
readonly maxOutput: 272000;
|
|
785
|
+
readonly streaming: true;
|
|
786
|
+
readonly reasoning: true;
|
|
787
|
+
readonly reasoningOutput: "omit";
|
|
788
|
+
readonly vision: true;
|
|
789
|
+
readonly tools: true;
|
|
790
|
+
readonly webSearch: true;
|
|
791
|
+
readonly webSearchPrice: 0.01;
|
|
792
|
+
readonly supportsResponsesApi: true;
|
|
793
|
+
readonly jsonOutputSchema: true;
|
|
794
|
+
readonly jsonOutput: true;
|
|
795
|
+
}];
|
|
796
|
+
}, {
|
|
797
|
+
readonly id: "gpt-5.1-codex";
|
|
798
|
+
readonly name: "GPT-5.1 Codex";
|
|
799
|
+
readonly description: "GPT-5.1 specialized for code generation and software development tasks.";
|
|
800
|
+
readonly family: "openai";
|
|
801
|
+
readonly releasedAt: Date;
|
|
802
|
+
readonly providers: [{
|
|
803
|
+
readonly providerId: "openai";
|
|
804
|
+
readonly modelName: "gpt-5.1-codex";
|
|
805
|
+
readonly inputPrice: number;
|
|
806
|
+
readonly outputPrice: number;
|
|
807
|
+
readonly requestPrice: 0;
|
|
808
|
+
readonly contextSize: 400000;
|
|
809
|
+
readonly maxOutput: 272000;
|
|
810
|
+
readonly streaming: true;
|
|
811
|
+
readonly reasoning: true;
|
|
812
|
+
readonly reasoningOutput: "omit";
|
|
813
|
+
readonly vision: true;
|
|
814
|
+
readonly tools: true;
|
|
815
|
+
readonly webSearch: true;
|
|
816
|
+
readonly webSearchPrice: 0.01;
|
|
817
|
+
readonly supportsResponsesApi: true;
|
|
818
|
+
readonly jsonOutputSchema: false;
|
|
819
|
+
readonly jsonOutput: true;
|
|
820
|
+
}, {
|
|
821
|
+
readonly test: "skip";
|
|
822
|
+
readonly providerId: "azure";
|
|
823
|
+
readonly stability: "unstable";
|
|
824
|
+
readonly modelName: "gpt-5.1-codex";
|
|
825
|
+
readonly inputPrice: number;
|
|
826
|
+
readonly outputPrice: number;
|
|
827
|
+
readonly requestPrice: 0;
|
|
828
|
+
readonly contextSize: 400000;
|
|
829
|
+
readonly maxOutput: 272000;
|
|
830
|
+
readonly streaming: true;
|
|
831
|
+
readonly reasoning: true;
|
|
832
|
+
readonly reasoningOutput: "omit";
|
|
833
|
+
readonly vision: true;
|
|
834
|
+
readonly tools: true;
|
|
835
|
+
readonly supportsResponsesApi: true;
|
|
836
|
+
readonly jsonOutputSchema: false;
|
|
837
|
+
readonly jsonOutput: true;
|
|
838
|
+
}];
|
|
839
|
+
}, {
|
|
840
|
+
readonly id: "gpt-5.1-codex-mini";
|
|
841
|
+
readonly name: "GPT-5.1 Codex mini";
|
|
842
|
+
readonly description: "Lightweight code-focused model for efficient software development workflows.";
|
|
843
|
+
readonly family: "openai";
|
|
844
|
+
readonly releasedAt: Date;
|
|
845
|
+
readonly providers: [{
|
|
846
|
+
readonly providerId: "openai";
|
|
847
|
+
readonly modelName: "gpt-5.1-codex-mini";
|
|
848
|
+
readonly inputPrice: number;
|
|
849
|
+
readonly outputPrice: number;
|
|
850
|
+
readonly cachedInputPrice: number;
|
|
851
|
+
readonly requestPrice: 0;
|
|
852
|
+
readonly contextSize: 400000;
|
|
853
|
+
readonly maxOutput: 128000;
|
|
854
|
+
readonly streaming: true;
|
|
855
|
+
readonly reasoning: true;
|
|
856
|
+
readonly reasoningOutput: "omit";
|
|
857
|
+
readonly vision: true;
|
|
858
|
+
readonly tools: true;
|
|
859
|
+
readonly webSearch: true;
|
|
860
|
+
readonly webSearchPrice: 0.01;
|
|
861
|
+
readonly supportsResponsesApi: true;
|
|
862
|
+
readonly jsonOutputSchema: false;
|
|
863
|
+
readonly jsonOutput: true;
|
|
864
|
+
}, {
|
|
865
|
+
readonly test: "skip";
|
|
866
|
+
readonly providerId: "azure";
|
|
867
|
+
readonly stability: "unstable";
|
|
868
|
+
readonly modelName: "gpt-5.1-codex-mini";
|
|
869
|
+
readonly inputPrice: number;
|
|
870
|
+
readonly outputPrice: number;
|
|
871
|
+
readonly cachedInputPrice: number;
|
|
872
|
+
readonly requestPrice: 0;
|
|
873
|
+
readonly contextSize: 400000;
|
|
874
|
+
readonly maxOutput: 128000;
|
|
875
|
+
readonly streaming: true;
|
|
876
|
+
readonly reasoning: true;
|
|
877
|
+
readonly reasoningOutput: "omit";
|
|
878
|
+
readonly vision: true;
|
|
879
|
+
readonly tools: true;
|
|
880
|
+
readonly supportsResponsesApi: true;
|
|
881
|
+
readonly jsonOutputSchema: false;
|
|
882
|
+
readonly jsonOutput: true;
|
|
883
|
+
}];
|
|
884
|
+
}, {
|
|
885
|
+
readonly id: "gpt-5.2";
|
|
886
|
+
readonly name: "GPT-5.2";
|
|
887
|
+
readonly description: "Latest GPT-5 model with enhanced reasoning and tool support.";
|
|
888
|
+
readonly family: "openai";
|
|
889
|
+
readonly releasedAt: Date;
|
|
890
|
+
readonly providers: [{
|
|
891
|
+
readonly providerId: "openai";
|
|
892
|
+
readonly modelName: "gpt-5.2";
|
|
893
|
+
readonly inputPrice: number;
|
|
894
|
+
readonly outputPrice: number;
|
|
895
|
+
readonly cachedInputPrice: number;
|
|
896
|
+
readonly requestPrice: 0;
|
|
897
|
+
readonly contextSize: 400000;
|
|
898
|
+
readonly maxOutput: 128000;
|
|
899
|
+
readonly streaming: true;
|
|
900
|
+
readonly vision: true;
|
|
901
|
+
readonly tools: true;
|
|
902
|
+
readonly webSearch: true;
|
|
903
|
+
readonly webSearchPrice: 0.01;
|
|
904
|
+
readonly reasoning: true;
|
|
905
|
+
readonly reasoningOutput: "omit";
|
|
906
|
+
readonly supportsResponsesApi: true;
|
|
907
|
+
readonly jsonOutputSchema: true;
|
|
908
|
+
readonly supportedParameters: ["temperature", "top_p", "frequency_penalty", "presence_penalty", "response_format"];
|
|
909
|
+
readonly jsonOutput: true;
|
|
910
|
+
}, {
|
|
911
|
+
readonly test: "skip";
|
|
912
|
+
readonly providerId: "azure";
|
|
913
|
+
readonly modelName: "gpt-5.2";
|
|
914
|
+
readonly inputPrice: number;
|
|
915
|
+
readonly outputPrice: number;
|
|
916
|
+
readonly cachedInputPrice: number;
|
|
917
|
+
readonly discount: 0.3;
|
|
918
|
+
readonly requestPrice: 0;
|
|
919
|
+
readonly contextSize: 400000;
|
|
920
|
+
readonly maxOutput: 128000;
|
|
921
|
+
readonly streaming: true;
|
|
922
|
+
readonly vision: true;
|
|
923
|
+
readonly tools: true;
|
|
924
|
+
readonly reasoning: true;
|
|
925
|
+
readonly reasoningOutput: "omit";
|
|
926
|
+
readonly jsonOutputSchema: true;
|
|
927
|
+
readonly supportedParameters: ["temperature", "top_p", "frequency_penalty", "presence_penalty", "response_format"];
|
|
928
|
+
readonly jsonOutput: true;
|
|
929
|
+
}];
|
|
930
|
+
}, {
|
|
931
|
+
readonly id: "gpt-5.2-pro";
|
|
932
|
+
readonly name: "GPT-5.2 Pro";
|
|
933
|
+
readonly description: "Premium GPT-5.2 model with extended output limits and advanced reasoning for complex tasks.";
|
|
934
|
+
readonly family: "openai";
|
|
935
|
+
readonly releasedAt: Date;
|
|
936
|
+
readonly providers: [{
|
|
937
|
+
readonly providerId: "openai";
|
|
938
|
+
readonly modelName: "gpt-5.2-pro";
|
|
939
|
+
readonly inputPrice: number;
|
|
940
|
+
readonly outputPrice: number;
|
|
941
|
+
readonly requestPrice: 0;
|
|
942
|
+
readonly contextSize: 400000;
|
|
943
|
+
readonly maxOutput: 272000;
|
|
944
|
+
readonly streaming: true;
|
|
945
|
+
readonly reasoning: true;
|
|
946
|
+
readonly reasoningOutput: "omit";
|
|
947
|
+
readonly vision: true;
|
|
948
|
+
readonly tools: true;
|
|
949
|
+
readonly webSearch: true;
|
|
950
|
+
readonly webSearchPrice: 0.01;
|
|
951
|
+
readonly supportsResponsesApi: true;
|
|
952
|
+
readonly jsonOutputSchema: false;
|
|
953
|
+
readonly jsonOutput: true;
|
|
954
|
+
}, {
|
|
955
|
+
readonly test: "skip";
|
|
956
|
+
readonly providerId: "azure";
|
|
957
|
+
readonly stability: "unstable";
|
|
958
|
+
readonly modelName: "gpt-5.2-pro";
|
|
959
|
+
readonly inputPrice: number;
|
|
960
|
+
readonly outputPrice: number;
|
|
961
|
+
readonly requestPrice: 0;
|
|
962
|
+
readonly contextSize: 400000;
|
|
963
|
+
readonly maxOutput: 272000;
|
|
964
|
+
readonly streaming: true;
|
|
965
|
+
readonly reasoning: true;
|
|
966
|
+
readonly reasoningOutput: "omit";
|
|
967
|
+
readonly vision: true;
|
|
968
|
+
readonly tools: true;
|
|
969
|
+
readonly supportsResponsesApi: true;
|
|
970
|
+
readonly jsonOutputSchema: false;
|
|
971
|
+
readonly jsonOutput: true;
|
|
972
|
+
}];
|
|
973
|
+
}, {
|
|
974
|
+
readonly id: "gpt-5.2-chat-latest";
|
|
975
|
+
readonly name: "GPT-5.2 Chat";
|
|
976
|
+
readonly description: "GPT-5.2 Chat is the ChatGPT production snapshot for chat use. Use it to try the latest chat-focused updates.";
|
|
977
|
+
readonly family: "openai";
|
|
978
|
+
readonly releasedAt: Date;
|
|
979
|
+
readonly providers: [{
|
|
980
|
+
readonly providerId: "openai";
|
|
981
|
+
readonly modelName: "gpt-5.2-chat-latest";
|
|
982
|
+
readonly inputPrice: number;
|
|
983
|
+
readonly outputPrice: number;
|
|
984
|
+
readonly cachedInputPrice: number;
|
|
985
|
+
readonly requestPrice: 0;
|
|
986
|
+
readonly contextSize: 128000;
|
|
987
|
+
readonly maxOutput: 16400;
|
|
988
|
+
readonly streaming: true;
|
|
989
|
+
readonly reasoning: true;
|
|
990
|
+
readonly reasoningOutput: "omit";
|
|
991
|
+
readonly vision: true;
|
|
992
|
+
readonly tools: true;
|
|
993
|
+
readonly webSearch: true;
|
|
994
|
+
readonly webSearchPrice: 0.01;
|
|
995
|
+
readonly supportsResponsesApi: true;
|
|
996
|
+
readonly jsonOutputSchema: false;
|
|
997
|
+
readonly jsonOutput: false;
|
|
998
|
+
}, {
|
|
999
|
+
readonly test: "skip";
|
|
1000
|
+
readonly providerId: "azure";
|
|
1001
|
+
readonly stability: "unstable";
|
|
1002
|
+
readonly modelName: "gpt-5.2-chat-latest";
|
|
1003
|
+
readonly inputPrice: number;
|
|
1004
|
+
readonly outputPrice: number;
|
|
1005
|
+
readonly cachedInputPrice: number;
|
|
1006
|
+
readonly requestPrice: 0;
|
|
1007
|
+
readonly contextSize: 128000;
|
|
1008
|
+
readonly maxOutput: 16400;
|
|
1009
|
+
readonly streaming: true;
|
|
1010
|
+
readonly reasoning: true;
|
|
1011
|
+
readonly reasoningOutput: "omit";
|
|
1012
|
+
readonly vision: true;
|
|
1013
|
+
readonly tools: true;
|
|
1014
|
+
readonly supportsResponsesApi: true;
|
|
1015
|
+
readonly jsonOutputSchema: false;
|
|
1016
|
+
readonly jsonOutput: false;
|
|
1017
|
+
}];
|
|
1018
|
+
}];
|