@langchain/openai 1.7.0 → 1.8.0

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.
@@ -128,26 +128,7 @@ const FILE_MIME_TYPES = [
128
128
  "text/xml"
129
129
  ];
130
130
  const PROFILES = {
131
- "chatgpt-image-latest": {
132
- maxInputTokens: 0,
133
- imageInputs: true,
134
- audioInputs: false,
135
- pdfInputs: true,
136
- videoInputs: false,
137
- maxOutputTokens: 0,
138
- reasoningOutput: false,
139
- imageOutputs: true,
140
- audioOutputs: false,
141
- videoOutputs: false,
142
- toolCalling: false,
143
- structuredOutput: true,
144
- imageUrlInputs: true,
145
- pdfToolMessage: true,
146
- imageToolMessage: true,
147
- toolChoice: true,
148
- fileMimeTypes: FILE_MIME_TYPES
149
- },
150
- "gpt-5.4": {
131
+ "gpt-6-sol": {
151
132
  maxInputTokens: 105e4,
152
133
  imageInputs: true,
153
134
  audioInputs: false,
@@ -168,44 +149,23 @@ const PROFILES = {
168
149
  midConversationSystemMessages: true,
169
150
  midConversationTools: true
170
151
  },
171
- "gpt-5.4-pro": {
172
- maxInputTokens: 105e4,
173
- imageInputs: true,
152
+ "text-embedding-3-large": {
153
+ maxInputTokens: 8191,
154
+ imageInputs: false,
174
155
  audioInputs: false,
175
156
  pdfInputs: true,
176
157
  videoInputs: false,
177
- maxOutputTokens: 128e3,
178
- reasoningOutput: true,
158
+ maxOutputTokens: 3072,
159
+ reasoningOutput: false,
179
160
  imageOutputs: false,
180
161
  audioOutputs: false,
181
162
  videoOutputs: false,
182
- toolCalling: true,
163
+ toolCalling: false,
183
164
  structuredOutput: true,
184
165
  imageUrlInputs: true,
185
166
  pdfToolMessage: true,
186
167
  imageToolMessage: true,
187
168
  toolChoice: true,
188
- fileMimeTypes: FILE_MIME_TYPES,
189
- midConversationSystemMessages: true,
190
- midConversationTools: true
191
- },
192
- "gpt-3.5-turbo": {
193
- maxInputTokens: 16385,
194
- imageInputs: false,
195
- audioInputs: false,
196
- pdfInputs: false,
197
- videoInputs: false,
198
- maxOutputTokens: 4096,
199
- reasoningOutput: false,
200
- imageOutputs: false,
201
- audioOutputs: false,
202
- videoOutputs: false,
203
- toolCalling: false,
204
- structuredOutput: false,
205
- imageUrlInputs: false,
206
- pdfToolMessage: false,
207
- imageToolMessage: false,
208
- toolChoice: true,
209
169
  fileMimeTypes: FILE_MIME_TYPES
210
170
  },
211
171
  "gpt-5.5-pro": {
@@ -229,15 +189,15 @@ const PROFILES = {
229
189
  midConversationSystemMessages: true,
230
190
  midConversationTools: true
231
191
  },
232
- "text-embedding-3-small": {
233
- maxInputTokens: 8191,
234
- imageInputs: false,
192
+ "gpt-image-2": {
193
+ maxInputTokens: 0,
194
+ imageInputs: true,
235
195
  audioInputs: false,
236
196
  pdfInputs: true,
237
197
  videoInputs: false,
238
- maxOutputTokens: 1536,
198
+ maxOutputTokens: 0,
239
199
  reasoningOutput: false,
240
- imageOutputs: false,
200
+ imageOutputs: true,
241
201
  audioOutputs: false,
242
202
  videoOutputs: false,
243
203
  toolCalling: false,
@@ -248,7 +208,7 @@ const PROFILES = {
248
208
  toolChoice: true,
249
209
  fileMimeTypes: FILE_MIME_TYPES
250
210
  },
251
- "gpt-5.4-nano": {
211
+ "gpt-5.2-pro": {
252
212
  maxInputTokens: 4e5,
253
213
  imageInputs: true,
254
214
  audioInputs: false,
@@ -269,16 +229,16 @@ const PROFILES = {
269
229
  midConversationSystemMessages: true,
270
230
  midConversationTools: true
271
231
  },
272
- "gpt-realtime-2.1": {
273
- maxInputTokens: 128e3,
232
+ "gpt-daybreak-blue-latest": {
233
+ maxInputTokens: 105e4,
274
234
  imageInputs: true,
275
- audioInputs: true,
235
+ audioInputs: false,
276
236
  pdfInputs: true,
277
237
  videoInputs: false,
278
- maxOutputTokens: 32e3,
238
+ maxOutputTokens: 128e3,
279
239
  reasoningOutput: true,
280
240
  imageOutputs: false,
281
- audioOutputs: true,
241
+ audioOutputs: false,
282
242
  videoOutputs: false,
283
243
  toolCalling: true,
284
244
  structuredOutput: true,
@@ -288,14 +248,14 @@ const PROFILES = {
288
248
  toolChoice: true,
289
249
  fileMimeTypes: FILE_MIME_TYPES
290
250
  },
291
- "gpt-4o-2024-05-13": {
292
- maxInputTokens: 128e3,
251
+ "o1-pro": {
252
+ maxInputTokens: 2e5,
293
253
  imageInputs: true,
294
254
  audioInputs: false,
295
255
  pdfInputs: true,
296
256
  videoInputs: false,
297
- maxOutputTokens: 4096,
298
- reasoningOutput: false,
257
+ maxOutputTokens: 1e5,
258
+ reasoningOutput: true,
299
259
  imageOutputs: false,
300
260
  audioOutputs: false,
301
261
  videoOutputs: false,
@@ -307,14 +267,14 @@ const PROFILES = {
307
267
  toolChoice: true,
308
268
  fileMimeTypes: FILE_MIME_TYPES
309
269
  },
310
- "gpt-4o": {
311
- maxInputTokens: 128e3,
270
+ "gpt-5.6-luna": {
271
+ maxInputTokens: 105e4,
312
272
  imageInputs: true,
313
273
  audioInputs: false,
314
274
  pdfInputs: true,
315
275
  videoInputs: false,
316
- maxOutputTokens: 16384,
317
- reasoningOutput: false,
276
+ maxOutputTokens: 128e3,
277
+ reasoningOutput: true,
318
278
  imageOutputs: false,
319
279
  audioOutputs: false,
320
280
  videoOutputs: false,
@@ -324,16 +284,18 @@ const PROFILES = {
324
284
  pdfToolMessage: true,
325
285
  imageToolMessage: true,
326
286
  toolChoice: true,
327
- fileMimeTypes: FILE_MIME_TYPES
287
+ fileMimeTypes: FILE_MIME_TYPES,
288
+ midConversationSystemMessages: true,
289
+ midConversationTools: true
328
290
  },
329
- "gpt-5-mini": {
330
- maxInputTokens: 4e5,
291
+ "gpt-4.1-nano": {
292
+ maxInputTokens: 1047576,
331
293
  imageInputs: true,
332
294
  audioInputs: false,
333
295
  pdfInputs: true,
334
296
  videoInputs: false,
335
- maxOutputTokens: 128e3,
336
- reasoningOutput: true,
297
+ maxOutputTokens: 32768,
298
+ reasoningOutput: false,
337
299
  imageOutputs: false,
338
300
  audioOutputs: false,
339
301
  videoOutputs: false,
@@ -347,53 +309,53 @@ const PROFILES = {
347
309
  midConversationSystemMessages: true,
348
310
  midConversationTools: true
349
311
  },
350
- "gpt-image-2": {
351
- maxInputTokens: 0,
312
+ o3: {
313
+ maxInputTokens: 2e5,
352
314
  imageInputs: true,
353
315
  audioInputs: false,
354
316
  pdfInputs: true,
355
317
  videoInputs: false,
356
- maxOutputTokens: 0,
357
- reasoningOutput: false,
358
- imageOutputs: true,
318
+ maxOutputTokens: 1e5,
319
+ reasoningOutput: true,
320
+ imageOutputs: false,
359
321
  audioOutputs: false,
360
322
  videoOutputs: false,
361
- toolCalling: false,
323
+ toolCalling: true,
362
324
  structuredOutput: true,
363
325
  imageUrlInputs: true,
364
326
  pdfToolMessage: true,
365
327
  imageToolMessage: true,
366
328
  toolChoice: true,
367
- fileMimeTypes: FILE_MIME_TYPES
329
+ fileMimeTypes: FILE_MIME_TYPES,
330
+ midConversationSystemMessages: true,
331
+ midConversationTools: true
368
332
  },
369
- "gpt-5.2-pro": {
370
- maxInputTokens: 4e5,
371
- imageInputs: true,
333
+ "text-embedding-3-small": {
334
+ maxInputTokens: 8191,
335
+ imageInputs: false,
372
336
  audioInputs: false,
373
337
  pdfInputs: true,
374
338
  videoInputs: false,
375
- maxOutputTokens: 128e3,
376
- reasoningOutput: true,
339
+ maxOutputTokens: 1536,
340
+ reasoningOutput: false,
377
341
  imageOutputs: false,
378
342
  audioOutputs: false,
379
343
  videoOutputs: false,
380
- toolCalling: true,
344
+ toolCalling: false,
381
345
  structuredOutput: true,
382
346
  imageUrlInputs: true,
383
347
  pdfToolMessage: true,
384
348
  imageToolMessage: true,
385
349
  toolChoice: true,
386
- fileMimeTypes: FILE_MIME_TYPES,
387
- midConversationSystemMessages: true,
388
- midConversationTools: true
350
+ fileMimeTypes: FILE_MIME_TYPES
389
351
  },
390
- "o4-mini": {
391
- maxInputTokens: 2e5,
352
+ "gpt-5.6": {
353
+ maxInputTokens: 105e4,
392
354
  imageInputs: true,
393
355
  audioInputs: false,
394
356
  pdfInputs: true,
395
357
  videoInputs: false,
396
- maxOutputTokens: 1e5,
358
+ maxOutputTokens: 128e3,
397
359
  reasoningOutput: true,
398
360
  imageOutputs: false,
399
361
  audioOutputs: false,
@@ -404,15 +366,17 @@ const PROFILES = {
404
366
  pdfToolMessage: true,
405
367
  imageToolMessage: true,
406
368
  toolChoice: true,
407
- fileMimeTypes: FILE_MIME_TYPES
369
+ fileMimeTypes: FILE_MIME_TYPES,
370
+ midConversationSystemMessages: true,
371
+ midConversationTools: true
408
372
  },
409
- "o3-mini": {
410
- maxInputTokens: 2e5,
411
- imageInputs: false,
373
+ "gpt-5": {
374
+ maxInputTokens: 4e5,
375
+ imageInputs: true,
412
376
  audioInputs: false,
413
377
  pdfInputs: true,
414
378
  videoInputs: false,
415
- maxOutputTokens: 1e5,
379
+ maxOutputTokens: 128e3,
416
380
  reasoningOutput: true,
417
381
  imageOutputs: false,
418
382
  audioOutputs: false,
@@ -446,18 +410,18 @@ const PROFILES = {
446
410
  toolChoice: true,
447
411
  fileMimeTypes: FILE_MIME_TYPES
448
412
  },
449
- "gpt-4": {
450
- maxInputTokens: 8192,
451
- imageInputs: false,
413
+ "gpt-image-1.5": {
414
+ maxInputTokens: 0,
415
+ imageInputs: true,
452
416
  audioInputs: false,
453
417
  pdfInputs: true,
454
418
  videoInputs: false,
455
- maxOutputTokens: 8192,
419
+ maxOutputTokens: 0,
456
420
  reasoningOutput: false,
457
- imageOutputs: false,
421
+ imageOutputs: true,
458
422
  audioOutputs: false,
459
423
  videoOutputs: false,
460
- toolCalling: true,
424
+ toolCalling: false,
461
425
  structuredOutput: true,
462
426
  imageUrlInputs: true,
463
427
  pdfToolMessage: true,
@@ -465,7 +429,7 @@ const PROFILES = {
465
429
  toolChoice: true,
466
430
  fileMimeTypes: FILE_MIME_TYPES
467
431
  },
468
- "gpt-5.3-codex": {
432
+ "gpt-5.1": {
469
433
  maxInputTokens: 4e5,
470
434
  imageInputs: true,
471
435
  audioInputs: false,
@@ -486,13 +450,13 @@ const PROFILES = {
486
450
  midConversationSystemMessages: true,
487
451
  midConversationTools: true
488
452
  },
489
- "gpt-4.1-nano": {
490
- maxInputTokens: 1047576,
453
+ "gpt-4-turbo": {
454
+ maxInputTokens: 128e3,
491
455
  imageInputs: true,
492
456
  audioInputs: false,
493
457
  pdfInputs: true,
494
458
  videoInputs: false,
495
- maxOutputTokens: 32768,
459
+ maxOutputTokens: 4096,
496
460
  reasoningOutput: false,
497
461
  imageOutputs: false,
498
462
  audioOutputs: false,
@@ -503,11 +467,30 @@ const PROFILES = {
503
467
  pdfToolMessage: true,
504
468
  imageToolMessage: true,
505
469
  toolChoice: true,
470
+ fileMimeTypes: FILE_MIME_TYPES
471
+ },
472
+ "gpt-5-mini": {
473
+ maxInputTokens: 4e5,
474
+ imageInputs: true,
475
+ audioInputs: false,
476
+ pdfInputs: true,
477
+ videoInputs: false,
478
+ maxOutputTokens: 128e3,
479
+ reasoningOutput: true,
480
+ imageOutputs: false,
481
+ audioOutputs: false,
482
+ videoOutputs: false,
483
+ toolCalling: true,
484
+ structuredOutput: true,
485
+ imageUrlInputs: true,
486
+ pdfToolMessage: true,
487
+ imageToolMessage: true,
488
+ toolChoice: true,
506
489
  fileMimeTypes: FILE_MIME_TYPES,
507
490
  midConversationSystemMessages: true,
508
491
  midConversationTools: true
509
492
  },
510
- "gpt-5-nano": {
493
+ "gpt-5.2": {
511
494
  maxInputTokens: 4e5,
512
495
  imageInputs: true,
513
496
  audioInputs: false,
@@ -528,7 +511,7 @@ const PROFILES = {
528
511
  midConversationSystemMessages: true,
529
512
  midConversationTools: true
530
513
  },
531
- "gpt-5.6": {
514
+ "gpt-5.4-pro": {
532
515
  maxInputTokens: 105e4,
533
516
  imageInputs: true,
534
517
  audioInputs: false,
@@ -549,13 +532,13 @@ const PROFILES = {
549
532
  midConversationSystemMessages: true,
550
533
  midConversationTools: true
551
534
  },
552
- "gpt-5.2-chat-latest": {
553
- maxInputTokens: 128e3,
535
+ "gpt-5.3-codex": {
536
+ maxInputTokens: 4e5,
554
537
  imageInputs: true,
555
538
  audioInputs: false,
556
539
  pdfInputs: true,
557
540
  videoInputs: false,
558
- maxOutputTokens: 16384,
541
+ maxOutputTokens: 128e3,
559
542
  reasoningOutput: true,
560
543
  imageOutputs: false,
561
544
  audioOutputs: false,
@@ -570,7 +553,7 @@ const PROFILES = {
570
553
  midConversationSystemMessages: true,
571
554
  midConversationTools: true
572
555
  },
573
- o1: {
556
+ "o4-mini": {
574
557
  maxInputTokens: 2e5,
575
558
  imageInputs: true,
576
559
  audioInputs: false,
@@ -589,13 +572,13 @@ const PROFILES = {
589
572
  toolChoice: true,
590
573
  fileMimeTypes: FILE_MIME_TYPES
591
574
  },
592
- "gpt-5-pro": {
593
- maxInputTokens: 4e5,
575
+ "gpt-6-astra": {
576
+ maxInputTokens: 105e4,
594
577
  imageInputs: true,
595
578
  audioInputs: false,
596
579
  pdfInputs: true,
597
580
  videoInputs: false,
598
- maxOutputTokens: 272e3,
581
+ maxOutputTokens: 128e3,
599
582
  reasoningOutput: true,
600
583
  imageOutputs: false,
601
584
  audioOutputs: false,
@@ -610,28 +593,26 @@ const PROFILES = {
610
593
  midConversationSystemMessages: true,
611
594
  midConversationTools: true
612
595
  },
613
- "gpt-5.3-codex-spark": {
614
- maxInputTokens: 128e3,
596
+ "gpt-image-1": {
597
+ maxInputTokens: 0,
615
598
  imageInputs: true,
616
599
  audioInputs: false,
617
600
  pdfInputs: true,
618
601
  videoInputs: false,
619
- maxOutputTokens: 32e3,
620
- reasoningOutput: true,
621
- imageOutputs: false,
602
+ maxOutputTokens: 0,
603
+ reasoningOutput: false,
604
+ imageOutputs: true,
622
605
  audioOutputs: false,
623
606
  videoOutputs: false,
624
- toolCalling: true,
607
+ toolCalling: false,
625
608
  structuredOutput: true,
626
609
  imageUrlInputs: true,
627
610
  pdfToolMessage: true,
628
611
  imageToolMessage: true,
629
612
  toolChoice: true,
630
- fileMimeTypes: FILE_MIME_TYPES,
631
- midConversationSystemMessages: true,
632
- midConversationTools: true
613
+ fileMimeTypes: FILE_MIME_TYPES
633
614
  },
634
- "gpt-6.1-sol": {
615
+ "gpt-6-luna": {
635
616
  maxInputTokens: 105e4,
636
617
  imageInputs: true,
637
618
  audioInputs: false,
@@ -652,18 +633,18 @@ const PROFILES = {
652
633
  midConversationSystemMessages: true,
653
634
  midConversationTools: true
654
635
  },
655
- "text-embedding-3-large": {
656
- maxInputTokens: 8191,
657
- imageInputs: false,
636
+ "gpt-4o-2024-08-06": {
637
+ maxInputTokens: 128e3,
638
+ imageInputs: true,
658
639
  audioInputs: false,
659
640
  pdfInputs: true,
660
641
  videoInputs: false,
661
- maxOutputTokens: 3072,
642
+ maxOutputTokens: 16384,
662
643
  reasoningOutput: false,
663
644
  imageOutputs: false,
664
645
  audioOutputs: false,
665
646
  videoOutputs: false,
666
- toolCalling: false,
647
+ toolCalling: true,
667
648
  structuredOutput: true,
668
649
  imageUrlInputs: true,
669
650
  pdfToolMessage: true,
@@ -671,13 +652,13 @@ const PROFILES = {
671
652
  toolChoice: true,
672
653
  fileMimeTypes: FILE_MIME_TYPES
673
654
  },
674
- "gpt-4o-2024-08-06": {
675
- maxInputTokens: 128e3,
655
+ "gpt-4.1-mini": {
656
+ maxInputTokens: 1047576,
676
657
  imageInputs: true,
677
658
  audioInputs: false,
678
659
  pdfInputs: true,
679
660
  videoInputs: false,
680
- maxOutputTokens: 16384,
661
+ maxOutputTokens: 32768,
681
662
  reasoningOutput: false,
682
663
  imageOutputs: false,
683
664
  audioOutputs: false,
@@ -688,9 +669,11 @@ const PROFILES = {
688
669
  pdfToolMessage: true,
689
670
  imageToolMessage: true,
690
671
  toolChoice: true,
691
- fileMimeTypes: FILE_MIME_TYPES
672
+ fileMimeTypes: FILE_MIME_TYPES,
673
+ midConversationSystemMessages: true,
674
+ midConversationTools: true
692
675
  },
693
- "gpt-6-astra": {
676
+ "gpt-6.1-terra": {
694
677
  maxInputTokens: 105e4,
695
678
  imageInputs: true,
696
679
  audioInputs: false,
@@ -707,12 +690,10 @@ const PROFILES = {
707
690
  pdfToolMessage: true,
708
691
  imageToolMessage: true,
709
692
  toolChoice: true,
710
- fileMimeTypes: FILE_MIME_TYPES,
711
- midConversationSystemMessages: true,
712
- midConversationTools: true
693
+ fileMimeTypes: FILE_MIME_TYPES
713
694
  },
714
- "gpt-5.1": {
715
- maxInputTokens: 4e5,
695
+ "gpt-5.6-sol": {
696
+ maxInputTokens: 105e4,
716
697
  imageInputs: true,
717
698
  audioInputs: false,
718
699
  pdfInputs: true,
@@ -732,7 +713,7 @@ const PROFILES = {
732
713
  midConversationSystemMessages: true,
733
714
  midConversationTools: true
734
715
  },
735
- "gpt-4o-mini": {
716
+ "gpt-4o-2024-11-20": {
736
717
  maxInputTokens: 128e3,
737
718
  imageInputs: true,
738
719
  audioInputs: false,
@@ -751,14 +732,14 @@ const PROFILES = {
751
732
  toolChoice: true,
752
733
  fileMimeTypes: FILE_MIME_TYPES
753
734
  },
754
- "o3-pro": {
755
- maxInputTokens: 2e5,
735
+ "gpt-4.1": {
736
+ maxInputTokens: 1047576,
756
737
  imageInputs: true,
757
738
  audioInputs: false,
758
739
  pdfInputs: true,
759
740
  videoInputs: false,
760
- maxOutputTokens: 1e5,
761
- reasoningOutput: true,
741
+ maxOutputTokens: 32768,
742
+ reasoningOutput: false,
762
743
  imageOutputs: false,
763
744
  audioOutputs: false,
764
745
  videoOutputs: false,
@@ -772,27 +753,29 @@ const PROFILES = {
772
753
  midConversationSystemMessages: true,
773
754
  midConversationTools: true
774
755
  },
775
- "gpt-image-1": {
776
- maxInputTokens: 0,
756
+ "o3-pro": {
757
+ maxInputTokens: 2e5,
777
758
  imageInputs: true,
778
759
  audioInputs: false,
779
760
  pdfInputs: true,
780
761
  videoInputs: false,
781
- maxOutputTokens: 0,
782
- reasoningOutput: false,
783
- imageOutputs: true,
762
+ maxOutputTokens: 1e5,
763
+ reasoningOutput: true,
764
+ imageOutputs: false,
784
765
  audioOutputs: false,
785
766
  videoOutputs: false,
786
- toolCalling: false,
767
+ toolCalling: true,
787
768
  structuredOutput: true,
788
769
  imageUrlInputs: true,
789
770
  pdfToolMessage: true,
790
771
  imageToolMessage: true,
791
772
  toolChoice: true,
792
- fileMimeTypes: FILE_MIME_TYPES
773
+ fileMimeTypes: FILE_MIME_TYPES,
774
+ midConversationSystemMessages: true,
775
+ midConversationTools: true
793
776
  },
794
- "gpt-daybreak-blue-latest": {
795
- maxInputTokens: 105e4,
777
+ "gpt-5.4-nano": {
778
+ maxInputTokens: 4e5,
796
779
  imageInputs: true,
797
780
  audioInputs: false,
798
781
  pdfInputs: true,
@@ -808,16 +791,18 @@ const PROFILES = {
808
791
  pdfToolMessage: true,
809
792
  imageToolMessage: true,
810
793
  toolChoice: true,
811
- fileMimeTypes: FILE_MIME_TYPES
794
+ fileMimeTypes: FILE_MIME_TYPES,
795
+ midConversationSystemMessages: true,
796
+ midConversationTools: true
812
797
  },
813
- "gpt-5.4-mini": {
814
- maxInputTokens: 4e5,
815
- imageInputs: true,
798
+ "gpt-4": {
799
+ maxInputTokens: 8192,
800
+ imageInputs: false,
816
801
  audioInputs: false,
817
802
  pdfInputs: true,
818
803
  videoInputs: false,
819
- maxOutputTokens: 128e3,
820
- reasoningOutput: true,
804
+ maxOutputTokens: 8192,
805
+ reasoningOutput: false,
821
806
  imageOutputs: false,
822
807
  audioOutputs: false,
823
808
  videoOutputs: false,
@@ -827,18 +812,16 @@ const PROFILES = {
827
812
  pdfToolMessage: true,
828
813
  imageToolMessage: true,
829
814
  toolChoice: true,
830
- fileMimeTypes: FILE_MIME_TYPES,
831
- midConversationSystemMessages: true,
832
- midConversationTools: true
815
+ fileMimeTypes: FILE_MIME_TYPES
833
816
  },
834
- "gpt-5.6-luna": {
835
- maxInputTokens: 105e4,
817
+ "gpt-4o": {
818
+ maxInputTokens: 128e3,
836
819
  imageInputs: true,
837
820
  audioInputs: false,
838
821
  pdfInputs: true,
839
822
  videoInputs: false,
840
- maxOutputTokens: 128e3,
841
- reasoningOutput: true,
823
+ maxOutputTokens: 16384,
824
+ reasoningOutput: false,
842
825
  imageOutputs: false,
843
826
  audioOutputs: false,
844
827
  videoOutputs: false,
@@ -848,18 +831,16 @@ const PROFILES = {
848
831
  pdfToolMessage: true,
849
832
  imageToolMessage: true,
850
833
  toolChoice: true,
851
- fileMimeTypes: FILE_MIME_TYPES,
852
- midConversationSystemMessages: true,
853
- midConversationTools: true
834
+ fileMimeTypes: FILE_MIME_TYPES
854
835
  },
855
- "gpt-5.2": {
856
- maxInputTokens: 4e5,
836
+ "gpt-4o-mini": {
837
+ maxInputTokens: 128e3,
857
838
  imageInputs: true,
858
839
  audioInputs: false,
859
840
  pdfInputs: true,
860
841
  videoInputs: false,
861
- maxOutputTokens: 128e3,
862
- reasoningOutput: true,
842
+ maxOutputTokens: 16384,
843
+ reasoningOutput: false,
863
844
  imageOutputs: false,
864
845
  audioOutputs: false,
865
846
  videoOutputs: false,
@@ -869,17 +850,15 @@ const PROFILES = {
869
850
  pdfToolMessage: true,
870
851
  imageToolMessage: true,
871
852
  toolChoice: true,
872
- fileMimeTypes: FILE_MIME_TYPES,
873
- midConversationSystemMessages: true,
874
- midConversationTools: true
853
+ fileMimeTypes: FILE_MIME_TYPES
875
854
  },
876
- "gpt-5.5": {
877
- maxInputTokens: 105e4,
855
+ "gpt-5.3-codex-spark": {
856
+ maxInputTokens: 128e3,
878
857
  imageInputs: true,
879
858
  audioInputs: false,
880
859
  pdfInputs: true,
881
860
  videoInputs: false,
882
- maxOutputTokens: 128e3,
861
+ maxOutputTokens: 32e3,
883
862
  reasoningOutput: true,
884
863
  imageOutputs: false,
885
864
  audioOutputs: false,
@@ -894,35 +873,33 @@ const PROFILES = {
894
873
  midConversationSystemMessages: true,
895
874
  midConversationTools: true
896
875
  },
897
- "gpt-4.1": {
898
- maxInputTokens: 1047576,
899
- imageInputs: true,
876
+ "gpt-3.5-turbo": {
877
+ maxInputTokens: 16385,
878
+ imageInputs: false,
900
879
  audioInputs: false,
901
- pdfInputs: true,
880
+ pdfInputs: false,
902
881
  videoInputs: false,
903
- maxOutputTokens: 32768,
882
+ maxOutputTokens: 4096,
904
883
  reasoningOutput: false,
905
884
  imageOutputs: false,
906
885
  audioOutputs: false,
907
886
  videoOutputs: false,
908
- toolCalling: true,
909
- structuredOutput: true,
910
- imageUrlInputs: true,
911
- pdfToolMessage: true,
912
- imageToolMessage: true,
887
+ toolCalling: false,
888
+ structuredOutput: false,
889
+ imageUrlInputs: false,
890
+ pdfToolMessage: false,
891
+ imageToolMessage: false,
913
892
  toolChoice: true,
914
- fileMimeTypes: FILE_MIME_TYPES,
915
- midConversationSystemMessages: true,
916
- midConversationTools: true
893
+ fileMimeTypes: FILE_MIME_TYPES
917
894
  },
918
- "gpt-4o-2024-11-20": {
919
- maxInputTokens: 128e3,
895
+ "gpt-daybreak-red-latest": {
896
+ maxInputTokens: 4e5,
920
897
  imageInputs: true,
921
898
  audioInputs: false,
922
899
  pdfInputs: true,
923
900
  videoInputs: false,
924
- maxOutputTokens: 16384,
925
- reasoningOutput: false,
901
+ maxOutputTokens: 128e3,
902
+ reasoningOutput: true,
926
903
  imageOutputs: false,
927
904
  audioOutputs: false,
928
905
  videoOutputs: false,
@@ -934,14 +911,14 @@ const PROFILES = {
934
911
  toolChoice: true,
935
912
  fileMimeTypes: FILE_MIME_TYPES
936
913
  },
937
- "gpt-4.1-mini": {
938
- maxInputTokens: 1047576,
914
+ "gpt-5.4": {
915
+ maxInputTokens: 105e4,
939
916
  imageInputs: true,
940
917
  audioInputs: false,
941
918
  pdfInputs: true,
942
919
  videoInputs: false,
943
- maxOutputTokens: 32768,
944
- reasoningOutput: false,
920
+ maxOutputTokens: 128e3,
921
+ reasoningOutput: true,
945
922
  imageOutputs: false,
946
923
  audioOutputs: false,
947
924
  videoOutputs: false,
@@ -955,13 +932,13 @@ const PROFILES = {
955
932
  midConversationSystemMessages: true,
956
933
  midConversationTools: true
957
934
  },
958
- "gpt-6-luna": {
959
- maxInputTokens: 105e4,
935
+ o1: {
936
+ maxInputTokens: 2e5,
960
937
  imageInputs: true,
961
938
  audioInputs: false,
962
939
  pdfInputs: true,
963
940
  videoInputs: false,
964
- maxOutputTokens: 128e3,
941
+ maxOutputTokens: 1e5,
965
942
  reasoningOutput: true,
966
943
  imageOutputs: false,
967
944
  audioOutputs: false,
@@ -972,18 +949,16 @@ const PROFILES = {
972
949
  pdfToolMessage: true,
973
950
  imageToolMessage: true,
974
951
  toolChoice: true,
975
- fileMimeTypes: FILE_MIME_TYPES,
976
- midConversationSystemMessages: true,
977
- midConversationTools: true
952
+ fileMimeTypes: FILE_MIME_TYPES
978
953
  },
979
- "gpt-5.3-chat-latest": {
980
- maxInputTokens: 128e3,
954
+ "gpt-5.6-terra": {
955
+ maxInputTokens: 105e4,
981
956
  imageInputs: true,
982
957
  audioInputs: false,
983
958
  pdfInputs: true,
984
959
  videoInputs: false,
985
- maxOutputTokens: 16384,
986
- reasoningOutput: false,
960
+ maxOutputTokens: 128e3,
961
+ reasoningOutput: true,
987
962
  imageOutputs: false,
988
963
  audioOutputs: false,
989
964
  videoOutputs: false,
@@ -997,7 +972,7 @@ const PROFILES = {
997
972
  midConversationSystemMessages: true,
998
973
  midConversationTools: true
999
974
  },
1000
- "gpt-image-1-mini": {
975
+ "chatgpt-image-latest": {
1001
976
  maxInputTokens: 0,
1002
977
  imageInputs: true,
1003
978
  audioInputs: false,
@@ -1016,27 +991,29 @@ const PROFILES = {
1016
991
  toolChoice: true,
1017
992
  fileMimeTypes: FILE_MIME_TYPES
1018
993
  },
1019
- "gpt-image-1.5": {
1020
- maxInputTokens: 0,
994
+ "gpt-6.1-sol": {
995
+ maxInputTokens: 105e4,
1021
996
  imageInputs: true,
1022
997
  audioInputs: false,
1023
998
  pdfInputs: true,
1024
999
  videoInputs: false,
1025
- maxOutputTokens: 0,
1026
- reasoningOutput: false,
1027
- imageOutputs: true,
1000
+ maxOutputTokens: 128e3,
1001
+ reasoningOutput: true,
1002
+ imageOutputs: false,
1028
1003
  audioOutputs: false,
1029
1004
  videoOutputs: false,
1030
- toolCalling: false,
1005
+ toolCalling: true,
1031
1006
  structuredOutput: true,
1032
1007
  imageUrlInputs: true,
1033
1008
  pdfToolMessage: true,
1034
1009
  imageToolMessage: true,
1035
1010
  toolChoice: true,
1036
- fileMimeTypes: FILE_MIME_TYPES
1011
+ fileMimeTypes: FILE_MIME_TYPES,
1012
+ midConversationSystemMessages: true,
1013
+ midConversationTools: true
1037
1014
  },
1038
- "gpt-5.6-terra": {
1039
- maxInputTokens: 105e4,
1015
+ "gpt-5-nano": {
1016
+ maxInputTokens: 4e5,
1040
1017
  imageInputs: true,
1041
1018
  audioInputs: false,
1042
1019
  pdfInputs: true,
@@ -1056,16 +1033,16 @@ const PROFILES = {
1056
1033
  midConversationSystemMessages: true,
1057
1034
  midConversationTools: true
1058
1035
  },
1059
- "gpt-4-turbo": {
1036
+ "gpt-realtime-2.1": {
1060
1037
  maxInputTokens: 128e3,
1061
1038
  imageInputs: true,
1062
- audioInputs: false,
1039
+ audioInputs: true,
1063
1040
  pdfInputs: true,
1064
1041
  videoInputs: false,
1065
- maxOutputTokens: 4096,
1066
- reasoningOutput: false,
1042
+ maxOutputTokens: 32e3,
1043
+ reasoningOutput: true,
1067
1044
  imageOutputs: false,
1068
- audioOutputs: false,
1045
+ audioOutputs: true,
1069
1046
  videoOutputs: false,
1070
1047
  toolCalling: true,
1071
1048
  structuredOutput: true,
@@ -1075,13 +1052,13 @@ const PROFILES = {
1075
1052
  toolChoice: true,
1076
1053
  fileMimeTypes: FILE_MIME_TYPES
1077
1054
  },
1078
- "gpt-daybreak-red-latest": {
1079
- maxInputTokens: 4e5,
1080
- imageInputs: true,
1055
+ "o3-mini": {
1056
+ maxInputTokens: 2e5,
1057
+ imageInputs: false,
1081
1058
  audioInputs: false,
1082
1059
  pdfInputs: true,
1083
1060
  videoInputs: false,
1084
- maxOutputTokens: 128e3,
1061
+ maxOutputTokens: 1e5,
1085
1062
  reasoningOutput: true,
1086
1063
  imageOutputs: false,
1087
1064
  audioOutputs: false,
@@ -1092,37 +1069,37 @@ const PROFILES = {
1092
1069
  pdfToolMessage: true,
1093
1070
  imageToolMessage: true,
1094
1071
  toolChoice: true,
1095
- fileMimeTypes: FILE_MIME_TYPES
1072
+ fileMimeTypes: FILE_MIME_TYPES,
1073
+ midConversationSystemMessages: true,
1074
+ midConversationTools: true
1096
1075
  },
1097
- o3: {
1098
- maxInputTokens: 2e5,
1076
+ "gpt-image-1-mini": {
1077
+ maxInputTokens: 0,
1099
1078
  imageInputs: true,
1100
1079
  audioInputs: false,
1101
1080
  pdfInputs: true,
1102
1081
  videoInputs: false,
1103
- maxOutputTokens: 1e5,
1104
- reasoningOutput: true,
1105
- imageOutputs: false,
1082
+ maxOutputTokens: 0,
1083
+ reasoningOutput: false,
1084
+ imageOutputs: true,
1106
1085
  audioOutputs: false,
1107
1086
  videoOutputs: false,
1108
- toolCalling: true,
1087
+ toolCalling: false,
1109
1088
  structuredOutput: true,
1110
1089
  imageUrlInputs: true,
1111
1090
  pdfToolMessage: true,
1112
1091
  imageToolMessage: true,
1113
1092
  toolChoice: true,
1114
- fileMimeTypes: FILE_MIME_TYPES,
1115
- midConversationSystemMessages: true,
1116
- midConversationTools: true
1093
+ fileMimeTypes: FILE_MIME_TYPES
1117
1094
  },
1118
- "gpt-5": {
1119
- maxInputTokens: 4e5,
1095
+ "gpt-4o-2024-05-13": {
1096
+ maxInputTokens: 128e3,
1120
1097
  imageInputs: true,
1121
1098
  audioInputs: false,
1122
1099
  pdfInputs: true,
1123
1100
  videoInputs: false,
1124
- maxOutputTokens: 128e3,
1125
- reasoningOutput: true,
1101
+ maxOutputTokens: 4096,
1102
+ reasoningOutput: false,
1126
1103
  imageOutputs: false,
1127
1104
  audioOutputs: false,
1128
1105
  videoOutputs: false,
@@ -1132,11 +1109,9 @@ const PROFILES = {
1132
1109
  pdfToolMessage: true,
1133
1110
  imageToolMessage: true,
1134
1111
  toolChoice: true,
1135
- fileMimeTypes: FILE_MIME_TYPES,
1136
- midConversationSystemMessages: true,
1137
- midConversationTools: true
1112
+ fileMimeTypes: FILE_MIME_TYPES
1138
1113
  },
1139
- "gpt-5.6-sol": {
1114
+ "gpt-5.5": {
1140
1115
  maxInputTokens: 105e4,
1141
1116
  imageInputs: true,
1142
1117
  audioInputs: false,
@@ -1157,8 +1132,8 @@ const PROFILES = {
1157
1132
  midConversationSystemMessages: true,
1158
1133
  midConversationTools: true
1159
1134
  },
1160
- "gpt-6-sol": {
1161
- maxInputTokens: 105e4,
1135
+ "gpt-5.4-mini": {
1136
+ maxInputTokens: 4e5,
1162
1137
  imageInputs: true,
1163
1138
  audioInputs: false,
1164
1139
  pdfInputs: true,
@@ -1178,13 +1153,13 @@ const PROFILES = {
1178
1153
  midConversationSystemMessages: true,
1179
1154
  midConversationTools: true
1180
1155
  },
1181
- "o1-pro": {
1182
- maxInputTokens: 2e5,
1156
+ "gpt-5-pro": {
1157
+ maxInputTokens: 4e5,
1183
1158
  imageInputs: true,
1184
1159
  audioInputs: false,
1185
1160
  pdfInputs: true,
1186
1161
  videoInputs: false,
1187
- maxOutputTokens: 1e5,
1162
+ maxOutputTokens: 272e3,
1188
1163
  reasoningOutput: true,
1189
1164
  imageOutputs: false,
1190
1165
  audioOutputs: false,
@@ -1195,7 +1170,9 @@ const PROFILES = {
1195
1170
  pdfToolMessage: true,
1196
1171
  imageToolMessage: true,
1197
1172
  toolChoice: true,
1198
- fileMimeTypes: FILE_MIME_TYPES
1173
+ fileMimeTypes: FILE_MIME_TYPES,
1174
+ midConversationSystemMessages: true,
1175
+ midConversationTools: true
1199
1176
  }
1200
1177
  };
1201
1178
  //#endregion