model-library 0.1.3__py3-none-any.whl → 0.1.5__py3-none-any.whl

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.
Files changed (37) hide show
  1. model_library/base/base.py +2 -0
  2. model_library/base/output.py +24 -9
  3. model_library/base/utils.py +27 -5
  4. model_library/config/README.md +169 -0
  5. model_library/config/ai21labs_models.yaml +11 -11
  6. model_library/config/alibaba_models.yaml +21 -22
  7. model_library/config/all_models.json +4623 -2599
  8. model_library/config/amazon_models.yaml +100 -102
  9. model_library/config/anthropic_models.yaml +43 -52
  10. model_library/config/cohere_models.yaml +25 -24
  11. model_library/config/deepseek_models.yaml +28 -25
  12. model_library/config/dummy_model.yaml +9 -7
  13. model_library/config/fireworks_models.yaml +86 -56
  14. model_library/config/google_models.yaml +146 -126
  15. model_library/config/inception_models.yaml +6 -6
  16. model_library/config/kimi_models.yaml +13 -14
  17. model_library/config/minimax_models.yaml +37 -0
  18. model_library/config/mistral_models.yaml +85 -29
  19. model_library/config/openai_models.yaml +192 -150
  20. model_library/config/perplexity_models.yaml +10 -23
  21. model_library/config/together_models.yaml +115 -104
  22. model_library/config/xai_models.yaml +47 -79
  23. model_library/config/zai_models.yaml +23 -15
  24. model_library/exceptions.py +7 -16
  25. model_library/providers/amazon.py +32 -17
  26. model_library/providers/minimax.py +33 -0
  27. model_library/providers/mistral.py +10 -1
  28. model_library/providers/openai.py +2 -6
  29. model_library/register_models.py +36 -36
  30. model_library/registry_utils.py +78 -16
  31. model_library/utils.py +2 -2
  32. {model_library-0.1.3.dist-info → model_library-0.1.5.dist-info}/METADATA +2 -2
  33. model_library-0.1.5.dist-info/RECORD +64 -0
  34. model_library-0.1.3.dist-info/RECORD +0 -61
  35. {model_library-0.1.3.dist-info → model_library-0.1.5.dist-info}/WHEEL +0 -0
  36. {model_library-0.1.3.dist-info → model_library-0.1.5.dist-info}/licenses/LICENSE +0 -0
  37. {model_library-0.1.3.dist-info → model_library-0.1.5.dist-info}/top_level.txt +0 -0
@@ -1,12 +1,14 @@
1
1
  base-config:
2
2
  company: OpenAI
3
3
  open_source: false
4
- class_properties:
5
- supports_images: false
4
+ supports:
5
+ images: false
6
+ files: false
7
+ tools: true
8
+ batch: true
9
+ temperature: true
10
+ metadata:
6
11
  available_as_evaluator: false
7
- supports_files: false
8
- supports_tools: true
9
- supports_batch_requests: true
10
12
  available_for_everyone: true
11
13
  ignored_for_cost: false
12
14
  properties:
@@ -17,20 +19,63 @@ base-config:
17
19
  output_discount: 0.5
18
20
  default_parameters:
19
21
  reasoning_effort: "high"
20
-
21
22
  gpt-5-models:
22
23
  base-config:
23
24
  documentation_url: ""
25
+ supports:
26
+ images: true
27
+ files: true
28
+ tools: true
29
+ temperature: false
30
+ metadata:
31
+ available_for_everyone: false
24
32
  properties:
25
33
  context_window: 400_000
26
- max_token_output: 128_000
34
+ max_tokens: 128_000
35
+ training_cutoff: "2024-09"
27
36
  reasoning_model: true
28
- class_properties:
29
- available_for_everyone: false
30
- supports_images: true
31
- supports_temperature: false
32
- supports_files: true
33
- supports_tools: true
37
+
38
+ openai/gpt-5.2-2025-12-11:
39
+ label: GPT 5.2
40
+ documentation_url: https://platform.openai.com/docs/models/gpt-5.2
41
+ description: GPT-5.2 is OpenAI's most advanced frontier model for everyday professional use and agentic tasks, with leading long-context reasoning, multi-step tool use, and vision capabilities.
42
+ release_date: 2025-12-11
43
+ properties:
44
+ context_window: 400_000
45
+ metadata:
46
+ available_as_evaluator: true
47
+ costs_per_million_token:
48
+ input: 1.75
49
+ output: 14
50
+ cache:
51
+ read: 0.175
52
+ default_parameters:
53
+ reasoning_effort: "xhigh"
54
+ alternative_keys:
55
+ - openai/gpt-5.2
56
+
57
+ openai/gpt-5.2-pro-2025-12-11:
58
+ label: GPT 5.2 Pro
59
+ documentation_url: https://platform.openai.com/docs/models/gpt-5.2-pro
60
+ description: GPT-5.2 Pro is a higher-compute version of GPT-5.2 designed for stronger, more consistent reasoning on complex tasks.
61
+ release_date: 2025-12-11
62
+ properties:
63
+ context_window: 400_000
64
+ costs_per_million_token:
65
+ input: 21
66
+ output: 168
67
+ alternative_keys:
68
+ - openai/gpt-5.2-pro
69
+
70
+ openai/gpt-5.1-codex-max:
71
+ label: GPT 5.1 Codex Max
72
+ release_date: 2025-12-04
73
+ description: OpenAI's frontier agentic coding model. Good at long-running coding tasks.
74
+ costs_per_million_token:
75
+ input: 1.25
76
+ output: 10.0
77
+ cache:
78
+ read: 0.125
34
79
  openai/gpt-5.1-codex:
35
80
  label: GPT 5.1 Codex
36
81
  documentation_url: https://platform.openai.com/docs/models/gpt-5.1-codex
@@ -41,8 +86,6 @@ gpt-5-models:
41
86
  output: 10.0
42
87
  cache:
43
88
  read: 0.125
44
- default_parameters:
45
- max_output_tokens: 128_000
46
89
 
47
90
  openai/gpt-5.1-codex-mini:
48
91
  label: GPT 5.1 Codex Mini
@@ -54,8 +97,6 @@ gpt-5-models:
54
97
  output: 2.00
55
98
  cache:
56
99
  read: 0.025
57
- default_parameters:
58
- max_output_tokens: 128_000
59
100
 
60
101
  openai/gpt-5-codex:
61
102
  label: GPT 5 Codex
@@ -67,31 +108,19 @@ gpt-5-models:
67
108
  output: 10.0
68
109
  cache:
69
110
  read: 0.125
70
- properties:
71
- training_cutoff: "2024-09"
72
- class_properties:
73
- available_as_evaluator: true
74
- supports_images: true
75
- default_parameters:
76
- max_output_tokens: 128_000
77
111
 
78
112
  openai/gpt-5.1-2025-11-13:
79
113
  label: GPT 5.1
80
114
  documentation_url: https://platform.openai.com/docs/models/gpt-5.1
81
115
  description: GPT-5.1 is OpenAI's flagship model for coding and agentic tasks with configurable reasoning and non-reasoning effort.
82
116
  release_date: 2025-11-13
117
+ metadata:
118
+ available_as_evaluator: true
83
119
  costs_per_million_token:
84
120
  input: 1.25
85
121
  output: 10
86
122
  cache:
87
123
  read: 0.125
88
- properties:
89
- training_cutoff: "2024-09"
90
- class_properties:
91
- available_as_evaluator: true
92
- supports_images: true
93
- default_parameters:
94
- max_output_tokens: 128_000
95
124
 
96
125
  openai/gpt-5-2025-08-07:
97
126
  label: GPT 5
@@ -105,11 +134,10 @@ gpt-5-models:
105
134
  read: 0.125
106
135
  properties:
107
136
  training_cutoff: "2025-07"
108
- class_properties:
137
+ supports:
138
+ images: true
139
+ metadata:
109
140
  available_as_evaluator: true
110
- supports_images: true
111
- default_parameters:
112
- max_output_tokens: 128_000
113
141
  alternative_keys:
114
142
  - azure/gpt-5-2025-08-07
115
143
 
@@ -125,10 +153,6 @@ gpt-5-models:
125
153
  read: 0.025
126
154
  properties:
127
155
  training_cutoff: "2024-05"
128
- default_parameters:
129
- max_output_tokens: 128_000
130
- class_properties:
131
- supports_images: true
132
156
  alternative_keys:
133
157
  - azure/gpt-5-mini-2025-08-07
134
158
 
@@ -142,24 +166,19 @@ gpt-5-models:
142
166
  output: 0.4
143
167
  cache:
144
168
  read: 0.005
145
- properties:
146
- training_cutoff: "2024-05"
147
- default_parameters:
148
- max_output_tokens: 128_000
149
- class_properties:
150
- supports_images: true
151
169
  alternative_keys:
152
170
  - azure/gpt-5-nano-2025-08-07
153
171
 
154
172
  o4-models:
155
173
  base-config:
156
174
  documentation_url: https://platform.openai.com/docs/models#o4
175
+ supports:
176
+ tools: true
177
+ temperature: false
178
+ metadata:
179
+ deprecated: true
157
180
  properties:
158
181
  reasoning_model: true
159
- class_properties:
160
- deprecated: true
161
- supports_temperature: false
162
- supports_tools: true
163
182
 
164
183
  openai/o4-mini-2025-04-16:
165
184
  label: o4 Mini
@@ -168,14 +187,15 @@ o4-models:
168
187
  release_date: 2025-04-16
169
188
  properties:
170
189
  context_window: 200_000
171
- max_token_output: 100_000
190
+ max_tokens: 100_000
172
191
  training_cutoff: "2024-05-31"
173
192
  reasoning_model: true
174
- class_properties:
193
+ supports:
194
+ images: true
195
+ temperature: false
196
+ metadata:
175
197
  available_for_everyone: true
176
- supports_temperature: false
177
198
  deprecated: false
178
- supports_images: true
179
199
  costs_per_million_token:
180
200
  input: 1.1
181
201
  output: 4.4
@@ -188,12 +208,12 @@ gpt-4.1-models:
188
208
  base-config:
189
209
  documentation_url: https://platform.openai.com/docs/models/gpt-4.1
190
210
  release_date: 2025-04-14
191
- class_properties:
192
- supports_images: true
193
- supports_temperature: true
211
+ supports:
212
+ images: true
213
+ temperature: true
194
214
  properties:
195
215
  context_window: 1_047_576
196
- max_token_output: 32_768
216
+ max_tokens: 32_768
197
217
  training_cutoff: "2024-05-31"
198
218
  default_parameters:
199
219
  temperature: 1
@@ -207,8 +227,8 @@ gpt-4.1-models:
207
227
  cache:
208
228
  read: 0.5
209
229
  documentation_url: https://platform.openai.com/docs/models/gpt-4.1
210
- class_properties:
211
- supports_images: true
230
+ supports:
231
+ images: true
212
232
  alternative_keys:
213
233
  - azure/gpt-4.1-2025-04-14
214
234
 
@@ -221,8 +241,8 @@ gpt-4.1-models:
221
241
  cache:
222
242
  read: 0.1
223
243
  documentation_url: https://platform.openai.com/docs/models/gpt-4.1-mini
224
- class_properties:
225
- supports_images: true
244
+ supports:
245
+ images: true
226
246
  alternative_keys:
227
247
  - azure/gpt-4.1-mini-2025-04-14
228
248
 
@@ -235,17 +255,18 @@ gpt-4.1-models:
235
255
  cache:
236
256
  read: 0.025
237
257
  documentation_url: https://platform.openai.com/docs/models/gpt-4.1-nano
238
- class_properties:
239
- supports_images: true
258
+ supports:
259
+ images: true
240
260
  alternative_keys:
241
261
  - azure/gpt-4.1-nano-2025-04-14
242
262
 
243
263
  gpt-4.5-models:
244
264
  base-config:
245
265
  documentation_url: https://platform.openai.com/docs/models#gpt-4-5
246
- class_properties:
266
+ supports:
267
+ images: true
268
+ metadata:
247
269
  deprecated: true
248
- supports_images: true
249
270
 
250
271
  openai/gpt-4.5-preview-2025-02-27:
251
272
  label: GPT 4.5 Preview
@@ -253,7 +274,7 @@ gpt-4.5-models:
253
274
  release_date: 2025-02-27
254
275
  properties:
255
276
  context_window: 128_000
256
- max_token_output: 16_384
277
+ max_tokens: 16_384
257
278
  training_cutoff: "2023-10"
258
279
  costs_per_million_token:
259
280
  input: 75
@@ -261,16 +282,16 @@ gpt-4.5-models:
261
282
  cache:
262
283
  read: 37.5
263
284
  documentation_url: https://platform.openai.com/docs/models/gpt-4.5-preview
264
- class_properties:
265
- supports_images: true
285
+ supports:
286
+ images: true
266
287
 
267
288
  o3-models:
268
289
  base-config:
269
290
  documentation_url: https://platform.openai.com/docs/models#o3-mini
291
+ supports:
292
+ tools: true
270
293
  properties:
271
294
  reasoning_model: true
272
- class_properties:
273
- supports_tools: true
274
295
 
275
296
  openai/o3-2025-04-16:
276
297
  label: o3
@@ -279,13 +300,14 @@ o3-models:
279
300
  release_date: 2025-04-16
280
301
  properties:
281
302
  context_window: 200_000
282
- max_token_output: 100_000
303
+ max_tokens: 100_000
283
304
  training_cutoff: "2024-05-31"
284
305
  reasoning_model: true
285
- class_properties:
306
+ supports:
307
+ images: true
308
+ temperature: false
309
+ metadata:
286
310
  available_for_everyone: true
287
- supports_images: true
288
- supports_temperature: false
289
311
  costs_per_million_token:
290
312
  input: 2
291
313
  output: 8
@@ -300,7 +322,7 @@ o3-models:
300
322
  release_date: 2025-01-31
301
323
  properties:
302
324
  context_window: 200_000
303
- max_token_output: 100_000
325
+ max_tokens: 100_000
304
326
  training_cutoff: "2023-10"
305
327
  reasoning_model: true
306
328
  costs_per_million_token:
@@ -308,7 +330,7 @@ o3-models:
308
330
  output: 4.4
309
331
  cache:
310
332
  read: 0.55
311
- class_properties:
333
+ metadata:
312
334
  available_for_everyone: false
313
335
  documentation_url: https://platform.openai.com/docs/models/o3-mini
314
336
 
@@ -318,7 +340,7 @@ o3-models:
318
340
  release_date: 2025-01-31
319
341
  properties:
320
342
  context_window: 200_000
321
- max_token_output: 100_000
343
+ max_tokens: 100_000
322
344
  training_cutoff: "2023-10"
323
345
  reasoning_model: true
324
346
  costs_per_million_token:
@@ -326,9 +348,10 @@ o3-models:
326
348
  output: 4.4
327
349
  cache:
328
350
  read: 0.55
329
- class_properties:
351
+ supports:
352
+ temperature: false
353
+ metadata:
330
354
  available_for_everyone: false
331
- supports_temperature: false
332
355
  documentation_url: https://platform.openai.com/docs/models/o3-mini
333
356
  alternative_keys:
334
357
  - azure/o3-mini-2025-01-31
@@ -339,7 +362,7 @@ o3-models:
339
362
  release_date: 2025-06-10
340
363
  properties:
341
364
  context_window: 200_000
342
- max_token_output: 100_000
365
+ max_tokens: 100_000
343
366
  training_cutoff: "2024-05-31"
344
367
  reasoning_model: true
345
368
  costs_per_million_token:
@@ -347,25 +370,26 @@ o3-models:
347
370
  output: 80
348
371
  cache:
349
372
  read_discount: 1
350
- class_properties:
373
+ supports:
374
+ images: true
375
+ temperature: false
376
+ metadata:
351
377
  available_for_everyone: false
352
- supports_images: true
353
- supports_temperature: false
354
378
  documentation_url: https://platform.openai.com/docs/models/o3-pro
355
379
 
356
380
  deep-research-models:
357
381
  base-config:
358
382
  documentation_url: https://platform.openai.com/docs/deep-research
383
+ supports:
384
+ images: true
385
+ files: true
386
+ tools: true
387
+ temperature: false
359
388
  properties:
360
389
  context_window: 200_000
361
- max_token_output: 100_000
390
+ max_tokens: 100_000
362
391
  training_cutoff: "2024-05-31"
363
392
  reasoning_model: true
364
- class_properties:
365
- supports_temperature: false
366
- supports_images: true
367
- supports_files: true
368
- supports_tools: true
369
393
  provider_properties:
370
394
  deep_research: true
371
395
 
@@ -380,9 +404,10 @@ deep-research-models:
380
404
  output: 40
381
405
  cache:
382
406
  read: 2.5
383
- class_properties:
407
+ supports:
408
+ images: true
409
+ metadata:
384
410
  available_for_everyone: true
385
- supports_images: true
386
411
  documentation_url: https://platform.openai.com/docs/models/o3-deep-research
387
412
 
388
413
  openai/o3-deep-research:
@@ -396,9 +421,10 @@ deep-research-models:
396
421
  output: 40
397
422
  cache:
398
423
  read: 2.5
399
- class_properties:
424
+ supports:
425
+ images: true
426
+ metadata:
400
427
  available_for_everyone: true
401
- supports_images: true
402
428
  documentation_url: https://platform.openai.com/docs/models/o3-deep-research
403
429
 
404
430
  openai/o4-mini-deep-research-2025-06-26:
@@ -410,9 +436,10 @@ deep-research-models:
410
436
  output: 8
411
437
  cache:
412
438
  read: 0.5
413
- class_properties:
439
+ supports:
440
+ images: true
441
+ metadata:
414
442
  available_for_everyone: true
415
- supports_images: true
416
443
  documentation_url: https://platform.openai.com/docs/models/o4-mini-deep-research
417
444
 
418
445
  openai/o4-mini-deep-research:
@@ -424,19 +451,21 @@ deep-research-models:
424
451
  output: 8
425
452
  cache:
426
453
  read: 0.5
427
- class_properties:
454
+ supports:
455
+ images: true
456
+ metadata:
428
457
  available_for_everyone: true
429
- supports_images: true
430
458
  documentation_url: https://platform.openai.com/docs/models/o4-mini-deep-research
431
459
 
432
460
  o1-models:
433
461
  base-config:
434
462
  documentation_url: https://platform.openai.com/docs/models#o1
463
+ supports:
464
+ temperature: false
465
+ metadata:
466
+ deprecated: true
435
467
  properties:
436
468
  reasoning_model: true
437
- class_properties:
438
- deprecated: true
439
- supports_temperature: false
440
469
 
441
470
  openai/o1-2024-12-17:
442
471
  label: o1
@@ -444,7 +473,7 @@ o1-models:
444
473
  release_date: 2024-12-17
445
474
  properties:
446
475
  context_window: 200_000
447
- max_token_output: 100_000
476
+ max_tokens: 100_000
448
477
  training_cutoff: "2023-10"
449
478
  reasoning_model: true
450
479
  costs_per_million_token:
@@ -452,8 +481,9 @@ o1-models:
452
481
  output: 60.0
453
482
  cache:
454
483
  read: 7.5
455
- class_properties:
456
- supports_images: true
484
+ supports:
485
+ images: true
486
+ metadata:
457
487
  available_for_everyone: false
458
488
  deprecated: false
459
489
  documentation_url: https://platform.openai.com/docs/models/o1
@@ -470,7 +500,7 @@ o1-models:
470
500
  release_date: 2024-09-12
471
501
  properties:
472
502
  context_window: 128_000
473
- max_token_output: 32_768
503
+ max_tokens: 32_768
474
504
  training_cutoff: "2023-10"
475
505
  reasoning_model: true
476
506
  costs_per_million_token:
@@ -478,9 +508,10 @@ o1-models:
478
508
  output: 60.0
479
509
  cache:
480
510
  read: 7.5
481
- class_properties:
511
+ supports:
512
+ temperature: false
513
+ metadata:
482
514
  available_for_everyone: false
483
- supports_temperature: false
484
515
  documentation_url: https://platform.openai.com/docs/models/o1-preview
485
516
 
486
517
  openai/o1-preview-2024-09-12:
@@ -489,7 +520,7 @@ o1-models:
489
520
  release_date: 2024-09-12
490
521
  properties:
491
522
  context_window: 128_000
492
- max_token_output: 32_768
523
+ max_tokens: 32_768
493
524
  training_cutoff: "2023-10"
494
525
  reasoning_model: true
495
526
  costs_per_million_token:
@@ -497,7 +528,7 @@ o1-models:
497
528
  output: 60.0
498
529
  cache:
499
530
  read: 7.5
500
- class_properties:
531
+ metadata:
501
532
  available_for_everyone: false
502
533
  documentation_url: https://platform.openai.com/docs/models/o1-preview
503
534
  alternative_keys:
@@ -509,7 +540,7 @@ o1-models:
509
540
  release_date: 2024-09-12
510
541
  properties:
511
542
  context_window: 128_000
512
- max_token_output: 65_536
543
+ max_tokens: 65_536
513
544
  training_cutoff: "2023-10"
514
545
  reasoning_model: true
515
546
  costs_per_million_token:
@@ -517,7 +548,7 @@ o1-models:
517
548
  output: 4.4
518
549
  cache:
519
550
  read: 0.55
520
- class_properties:
551
+ metadata:
521
552
  available_for_everyone: true
522
553
  deprecated: true
523
554
  documentation_url: https://platform.openai.com/docs/models/o1-mini
@@ -528,12 +559,12 @@ o1-models:
528
559
  gpt-4o-models:
529
560
  base-config:
530
561
  documentation_url: https://platform.openai.com/docs/models#gpt-4o
562
+ supports:
563
+ temperature: true
531
564
  properties:
532
565
  context_window: 128_000
533
- max_token_output: 16_384
566
+ max_tokens: 16_384
534
567
  training_cutoff: "2023-10"
535
- class_properties:
536
- supports_temperature: true
537
568
  default_parameters:
538
569
  temperature: 1
539
570
 
@@ -541,8 +572,9 @@ gpt-4o-models:
541
572
  label: GPT 4o
542
573
  description: GPT-4o is a fast, intelligent, flexible GPT model that accepts text and image inputs and produces text outputs.
543
574
  release_date: 2024-08-06
544
- class_properties:
545
- supports_images: true
575
+ supports:
576
+ images: true
577
+ metadata:
546
578
  available_as_evaluator: true
547
579
  costs_per_million_token:
548
580
  input: 2.5
@@ -555,9 +587,10 @@ gpt-4o-models:
555
587
  label: GPT 4o (2024-11-20)
556
588
  description: GPT-4o is a fast, intelligent, flexible GPT model that accepts text and image inputs and produces text outputs.
557
589
  release_date: 2024-11-20
558
- class_properties:
559
- supports_images: true
560
- supports_batch_requests: true
590
+ supports:
591
+ images: true
592
+ batch: true
593
+ metadata:
561
594
  available_as_evaluator: true
562
595
  available_for_everyone: false
563
596
  costs_per_million_token:
@@ -571,8 +604,9 @@ gpt-4o-models:
571
604
  label: GPT 4o (2024-08-06)
572
605
  description: GPT-4o is a fast, intelligent, flexible GPT model that accepts text and image inputs and produces text outputs.
573
606
  release_date: 2024-08-06
574
- class_properties:
575
- supports_images: true
607
+ supports:
608
+ images: true
609
+ metadata:
576
610
  available_as_evaluator: true
577
611
  available_for_everyone: false
578
612
  costs_per_million_token:
@@ -586,8 +620,9 @@ gpt-4o-models:
586
620
  label: GPT 4o (2024-05-13)
587
621
  description: GPT-4o is a fast, intelligent, flexible GPT model that accepts text and image inputs and produces text outputs.
588
622
  release_date: 2024-05-13
589
- class_properties:
590
- supports_images: true
623
+ supports:
624
+ images: true
625
+ metadata:
591
626
  available_for_everyone: false
592
627
  costs_per_million_token:
593
628
  input: 5.0
@@ -599,12 +634,12 @@ gpt-4o-models:
599
634
  gpt-4o-mini-models:
600
635
  base-config:
601
636
  documentation_url: https://platform.openai.com/docs/models#gpt-4o-mini
637
+ supports:
638
+ temperature: true
602
639
  properties:
603
640
  context_window: 128_000
604
- max_token_output: 16_384
641
+ max_tokens: 16_384
605
642
  training_cutoff: "2023-10"
606
- class_properties:
607
- supports_temperature: true
608
643
  default_parameters:
609
644
  temperature: 1
610
645
 
@@ -612,8 +647,9 @@ gpt-4o-mini-models:
612
647
  label: GPT 4o Mini
613
648
  description: GPT-4o mini is a fast, affordable small model for focused tasks that accepts text and image inputs and produces text outputs.
614
649
  release_date: 2024-07-18
615
- class_properties:
616
- supports_images: true
650
+ supports:
651
+ images: true
652
+ metadata:
617
653
  available_as_evaluator: true
618
654
  costs_per_million_token:
619
655
  input: 0.15
@@ -626,8 +662,9 @@ gpt-4o-mini-models:
626
662
  label: GPT 4o Mini
627
663
  description: GPT-4o mini is a fast, affordable small model for focused tasks that accepts text and image inputs and produces text outputs.
628
664
  release_date: 2024-07-18
629
- class_properties:
630
- supports_images: true
665
+ supports:
666
+ images: true
667
+ metadata:
631
668
  available_as_evaluator: true
632
669
  available_for_everyone: false
633
670
  costs_per_million_token:
@@ -642,14 +679,15 @@ gpt-4o-mini-models:
642
679
  gpt-4-models:
643
680
  base-config:
644
681
  documentation_url: https://platform.openai.com/docs/models#gpt-4-turbo-and-gpt-4
682
+ supports:
683
+ temperature: true
684
+ metadata:
685
+ available_for_everyone: false
686
+ deprecated: true
645
687
  properties:
646
688
  context_window: 128_000
647
- max_token_output: 4_096
689
+ max_tokens: 4_096
648
690
  training_cutoff: "2023-12"
649
- class_properties:
650
- available_for_everyone: false
651
- deprecated: true
652
- supports_temperature: true
653
691
  default_parameters:
654
692
  temperature: 1
655
693
 
@@ -657,11 +695,12 @@ gpt-4-models:
657
695
  label: GPT 4 Turbo
658
696
  description: GPT-4 Turbo is an older high-intelligence GPT model that accepts text and image inputs and produces text outputs.
659
697
  release_date: 2024-04-09
660
- class_properties:
698
+ supports:
699
+ images: true
700
+ metadata:
661
701
  available_as_evaluator: true
662
702
  available_for_everyone: false
663
703
  deprecated: true
664
- supports_images: true
665
704
  costs_per_million_token:
666
705
  input: 10
667
706
  output: 30
@@ -677,8 +716,8 @@ gpt-4-models:
677
716
  input: 10
678
717
  output: 30
679
718
  documentation_url: https://platform.openai.com/docs/models/gpt-4-turbo
680
- class_properties:
681
- supports_images: true
719
+ supports:
720
+ images: true
682
721
  alternative_keys:
683
722
  - azure/gpt-4-turbo-2024-04-09
684
723
 
@@ -713,10 +752,11 @@ gpt-4-models:
713
752
  label: GPT 4
714
753
  description: GPT-4 is an older high-intelligence GPT model for text-only conversations.
715
754
  release_date: 2023-06-13
716
- properties:
755
+ metadata:
717
756
  deprecated: true
757
+ properties:
718
758
  context_window: 8_192
719
- max_token_output: 8_192
759
+ max_tokens: 8_192
720
760
  training_cutoff: "2021-09"
721
761
  costs_per_million_token:
722
762
  input: 30
@@ -728,7 +768,7 @@ gpt-4-models:
728
768
  label: GPT 4 (2023-06-13)
729
769
  properties:
730
770
  context_window: 8_192
731
- max_token_output: 8_192
771
+ max_tokens: 8_192
732
772
  training_cutoff: "2021-09"
733
773
  costs_per_million_token:
734
774
  input: 30
@@ -740,7 +780,7 @@ gpt-4-models:
740
780
  release_date: 2023-03-14
741
781
  properties:
742
782
  context_window: 8_192
743
- max_token_output: 8_192
783
+ max_tokens: 8_192
744
784
  training_cutoff: "2021-09"
745
785
  costs_per_million_token:
746
786
  input: 30
@@ -749,14 +789,15 @@ gpt-4-models:
749
789
  gpt-3.5-models:
750
790
  base-config:
751
791
  documentation_url: https://platform.openai.com/docs/models#gpt-3-5-turbo
792
+ supports:
793
+ temperature: true
794
+ metadata:
795
+ available_for_everyone: false
796
+ deprecated: true
752
797
  properties:
753
798
  context_window: 16_385
754
- max_token_output: 4_096
799
+ max_tokens: 4_096
755
800
  training_cutoff: "2021-09"
756
- class_properties:
757
- available_for_everyone: false
758
- deprecated: true
759
- supports_temperature: true
760
801
  default_parameters:
761
802
  temperature: 1
762
803
 
@@ -764,7 +805,7 @@ gpt-3.5-models:
764
805
  label: GPT 3.5
765
806
  description: GPT-3.5 Turbo is a legacy text-only model for natural language and code conversations.
766
807
  release_date: 2023-01-25
767
- class_properties:
808
+ metadata:
768
809
  available_for_everyone: true
769
810
  costs_per_million_token:
770
811
  input: 0.5
@@ -795,6 +836,7 @@ gpt-3.5-models:
795
836
  release_date: 2022-11-06
796
837
  properties:
797
838
  context_window: 4_096
839
+ max_tokens: 4_096
798
840
  costs_per_million_token:
799
841
  input: 1.5
800
842
  output: 2.0
@@ -810,9 +852,9 @@ databricks-models:
810
852
  release_date: 2024-03-27
811
853
  properties:
812
854
  context_window: 32_768
813
- max_token_output: 4_096
855
+ max_tokens: 4_096
814
856
  training_cutoff: "2023-12"
815
- class_properties:
857
+ metadata:
816
858
  available_for_everyone: false
817
859
  deprecated: true
818
860
  costs_per_million_token: