llm_gateway 0.9.0 → 0.10.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.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/README.md +149 -64
  4. data/Rakefile +5 -0
  5. data/docs/migration_guide_0.10.0.md +53 -0
  6. data/docs/structured-output.md +28 -0
  7. data/lib/llm_gateway/adapter_definition.rb +64 -0
  8. data/lib/llm_gateway/adapters/adapter.rb +105 -21
  9. data/lib/llm_gateway/adapters/anthropic/messages_adapter.rb +8 -0
  10. data/lib/llm_gateway/adapters/anthropic_option_mapper.rb +29 -19
  11. data/lib/llm_gateway/adapters/groq/chat_completions_adapter.rb +8 -0
  12. data/lib/llm_gateway/adapters/groq/option_mapper.rb +7 -9
  13. data/lib/llm_gateway/adapters/normalized_stream_accumulator.rb +7 -3
  14. data/lib/llm_gateway/adapters/openai/chat_completions/option_mapper.rb +7 -9
  15. data/lib/llm_gateway/adapters/openai/chat_completions/stream_mapper.rb +1 -1
  16. data/lib/llm_gateway/adapters/openai/chat_completions_adapter.rb +6 -0
  17. data/lib/llm_gateway/adapters/openai/responses/option_mapper.rb +11 -9
  18. data/lib/llm_gateway/adapters/openai/responses/stream_mapper.rb +1 -1
  19. data/lib/llm_gateway/adapters/openai/responses_adapter.rb +6 -0
  20. data/lib/llm_gateway/adapters/openai_codex/responses_adapter.rb +8 -0
  21. data/lib/llm_gateway/adapters/stream_mapper.rb +4 -3
  22. data/lib/llm_gateway/agents/harness.rb +63 -29
  23. data/lib/llm_gateway/agents/in_memory_session_manager.rb +35 -4
  24. data/lib/llm_gateway/agents/tools/tool_utils.rb +2 -2
  25. data/lib/llm_gateway/errors.rb +3 -0
  26. data/lib/llm_gateway/models/catalog.rb +68 -0
  27. data/lib/llm_gateway/models/cost_calculator.rb +47 -0
  28. data/lib/llm_gateway/models/definition.rb +325 -0
  29. data/lib/llm_gateway/models/explicit.rb +46 -0
  30. data/lib/llm_gateway/models/generated.json +3055 -0
  31. data/lib/llm_gateway/models.rb +78 -0
  32. data/lib/llm_gateway/prompt.rb +13 -13
  33. data/lib/llm_gateway/proxy/adapter.rb +22 -12
  34. data/lib/llm_gateway/proxy/client.rb +4 -4
  35. data/lib/llm_gateway/proxy/protocol.rb +50 -0
  36. data/lib/llm_gateway/proxy/server.rb +12 -9
  37. data/lib/llm_gateway/utils.rb +12 -6
  38. data/lib/llm_gateway/version.rb +1 -1
  39. data/lib/llm_gateway.rb +4 -67
  40. data/scripts/generate_model_catalog.rb +195 -0
  41. metadata +13 -4
  42. data/lib/llm_gateway/client.rb +0 -35
  43. data/lib/llm_gateway/provider_registry.rb +0 -37
@@ -0,0 +1,3055 @@
1
+ {
2
+ "source": "https://models.dev/api.json",
3
+ "definitions": [
4
+ {
5
+ "provider": "anthropic",
6
+ "id": "claude-fable-5",
7
+ "name": "Claude Fable 5",
8
+ "source": "models_dev",
9
+ "release_date": "2026-06-07",
10
+ "last_updated": "2026-06-09",
11
+ "context_window": 1000000,
12
+ "max_output_tokens": 128000,
13
+ "input_modalities": [
14
+ "text",
15
+ "image",
16
+ "pdf"
17
+ ],
18
+ "output_modalities": [
19
+ "text"
20
+ ],
21
+ "capabilities": {
22
+ "text_generation": true,
23
+ "tool_calling": true,
24
+ "structured_output": true,
25
+ "reasoning": true
26
+ },
27
+ "reasoning_controls": [
28
+ {
29
+ "type": "effort",
30
+ "values": [
31
+ "low",
32
+ "medium",
33
+ "high",
34
+ "xhigh",
35
+ "max"
36
+ ]
37
+ }
38
+ ],
39
+ "pricing": {
40
+ "input": "10",
41
+ "output": "50",
42
+ "cache_read": "1",
43
+ "cache_write": "12.5"
44
+ }
45
+ },
46
+ {
47
+ "provider": "anthropic",
48
+ "id": "claude-fable-5-1",
49
+ "name": "Claude Fable 5.1",
50
+ "source": "models_dev",
51
+ "release_date": "2026-09-01",
52
+ "last_updated": "2026-09-01",
53
+ "context_window": 1000000,
54
+ "max_output_tokens": 128000,
55
+ "input_modalities": [
56
+ "text",
57
+ "image",
58
+ "pdf"
59
+ ],
60
+ "output_modalities": [
61
+ "text"
62
+ ],
63
+ "capabilities": {
64
+ "text_generation": true,
65
+ "tool_calling": true,
66
+ "structured_output": true,
67
+ "reasoning": true
68
+ },
69
+ "reasoning_controls": [
70
+ {
71
+ "type": "effort",
72
+ "values": [
73
+ "low",
74
+ "medium",
75
+ "high",
76
+ "xhigh",
77
+ "max"
78
+ ]
79
+ }
80
+ ],
81
+ "pricing": {
82
+ "input": "10",
83
+ "output": "50",
84
+ "cache_read": "0.25",
85
+ "cache_write": "12.5"
86
+ }
87
+ },
88
+ {
89
+ "provider": "anthropic",
90
+ "id": "claude-haiku-4-5",
91
+ "name": "Claude Haiku 4.5 (latest)",
92
+ "source": "models_dev",
93
+ "release_date": "2025-10-15",
94
+ "last_updated": "2025-10-15",
95
+ "context_window": 200000,
96
+ "max_output_tokens": 64000,
97
+ "input_modalities": [
98
+ "text",
99
+ "image",
100
+ "pdf"
101
+ ],
102
+ "output_modalities": [
103
+ "text"
104
+ ],
105
+ "capabilities": {
106
+ "text_generation": true,
107
+ "tool_calling": true,
108
+ "structured_output": true,
109
+ "reasoning": true
110
+ },
111
+ "reasoning_controls": [
112
+ {
113
+ "type": "budget_tokens",
114
+ "min": 1024
115
+ }
116
+ ],
117
+ "pricing": {
118
+ "input": "1",
119
+ "output": "5",
120
+ "cache_read": "0.1",
121
+ "cache_write": "1.25"
122
+ }
123
+ },
124
+ {
125
+ "provider": "anthropic",
126
+ "id": "claude-haiku-4-5-20251001",
127
+ "name": "Claude Haiku 4.5",
128
+ "source": "models_dev",
129
+ "release_date": "2025-10-15",
130
+ "last_updated": "2025-10-15",
131
+ "context_window": 200000,
132
+ "max_output_tokens": 64000,
133
+ "input_modalities": [
134
+ "text",
135
+ "image",
136
+ "pdf"
137
+ ],
138
+ "output_modalities": [
139
+ "text"
140
+ ],
141
+ "capabilities": {
142
+ "text_generation": true,
143
+ "tool_calling": true,
144
+ "structured_output": true,
145
+ "reasoning": true
146
+ },
147
+ "reasoning_controls": [
148
+ {
149
+ "type": "budget_tokens",
150
+ "min": 1024
151
+ }
152
+ ],
153
+ "pricing": {
154
+ "input": "1",
155
+ "output": "5",
156
+ "cache_read": "0.1",
157
+ "cache_write": "1.25"
158
+ }
159
+ },
160
+ {
161
+ "provider": "anthropic",
162
+ "id": "claude-haiku-5-5",
163
+ "name": "Claude Haiku 5.5",
164
+ "source": "models_dev",
165
+ "release_date": "2026-10-07",
166
+ "last_updated": "2026-10-07",
167
+ "context_window": 1000000,
168
+ "max_output_tokens": 128000,
169
+ "input_modalities": [
170
+ "text",
171
+ "image",
172
+ "pdf"
173
+ ],
174
+ "output_modalities": [
175
+ "text"
176
+ ],
177
+ "capabilities": {
178
+ "text_generation": true,
179
+ "tool_calling": true,
180
+ "structured_output": true,
181
+ "reasoning": true
182
+ },
183
+ "reasoning_controls": [
184
+ {
185
+ "type": "toggle"
186
+ },
187
+ {
188
+ "type": "effort",
189
+ "values": [
190
+ "low",
191
+ "medium",
192
+ "high",
193
+ "xhigh",
194
+ "max"
195
+ ]
196
+ }
197
+ ],
198
+ "pricing": {
199
+ "input": "0.1",
200
+ "output": "0.5",
201
+ "cache_read": "0.01",
202
+ "cache_write": "0.125"
203
+ }
204
+ },
205
+ {
206
+ "provider": "anthropic",
207
+ "id": "claude-opus-4-5",
208
+ "name": "Claude Opus 4.5 (latest)",
209
+ "source": "models_dev",
210
+ "release_date": "2025-11-24",
211
+ "last_updated": "2025-11-24",
212
+ "context_window": 200000,
213
+ "max_output_tokens": 64000,
214
+ "input_modalities": [
215
+ "text",
216
+ "image",
217
+ "pdf"
218
+ ],
219
+ "output_modalities": [
220
+ "text"
221
+ ],
222
+ "capabilities": {
223
+ "text_generation": true,
224
+ "tool_calling": true,
225
+ "structured_output": true,
226
+ "reasoning": true
227
+ },
228
+ "reasoning_controls": [
229
+ {
230
+ "type": "effort",
231
+ "values": [
232
+ "low",
233
+ "medium",
234
+ "high"
235
+ ]
236
+ },
237
+ {
238
+ "type": "budget_tokens",
239
+ "min": 1024
240
+ }
241
+ ],
242
+ "pricing": {
243
+ "input": "5",
244
+ "output": "25",
245
+ "cache_read": "0.5",
246
+ "cache_write": "6.25"
247
+ }
248
+ },
249
+ {
250
+ "provider": "anthropic",
251
+ "id": "claude-opus-4-5-20251101",
252
+ "name": "Claude Opus 4.5",
253
+ "source": "models_dev",
254
+ "release_date": "2025-11-24",
255
+ "last_updated": "2025-11-01",
256
+ "context_window": 200000,
257
+ "max_output_tokens": 64000,
258
+ "input_modalities": [
259
+ "text",
260
+ "image",
261
+ "pdf"
262
+ ],
263
+ "output_modalities": [
264
+ "text"
265
+ ],
266
+ "capabilities": {
267
+ "text_generation": true,
268
+ "tool_calling": true,
269
+ "structured_output": true,
270
+ "reasoning": true
271
+ },
272
+ "reasoning_controls": [
273
+ {
274
+ "type": "effort",
275
+ "values": [
276
+ "low",
277
+ "medium",
278
+ "high"
279
+ ]
280
+ },
281
+ {
282
+ "type": "budget_tokens",
283
+ "min": 1024
284
+ }
285
+ ],
286
+ "pricing": {
287
+ "input": "5",
288
+ "output": "25",
289
+ "cache_read": "0.5",
290
+ "cache_write": "6.25"
291
+ }
292
+ },
293
+ {
294
+ "provider": "anthropic",
295
+ "id": "claude-opus-4-6",
296
+ "name": "Claude Opus 4.6",
297
+ "source": "models_dev",
298
+ "release_date": "2026-02-04",
299
+ "last_updated": "2026-03-13",
300
+ "context_window": 1000000,
301
+ "max_output_tokens": 128000,
302
+ "input_modalities": [
303
+ "text",
304
+ "image",
305
+ "pdf"
306
+ ],
307
+ "output_modalities": [
308
+ "text"
309
+ ],
310
+ "capabilities": {
311
+ "text_generation": true,
312
+ "tool_calling": true,
313
+ "structured_output": true,
314
+ "reasoning": true
315
+ },
316
+ "reasoning_controls": [
317
+ {
318
+ "type": "effort",
319
+ "values": [
320
+ "low",
321
+ "medium",
322
+ "high",
323
+ "max"
324
+ ]
325
+ },
326
+ {
327
+ "type": "budget_tokens",
328
+ "min": 1024
329
+ }
330
+ ],
331
+ "pricing": {
332
+ "input": "5",
333
+ "output": "25",
334
+ "cache_read": "0.5",
335
+ "cache_write": "6.25"
336
+ }
337
+ },
338
+ {
339
+ "provider": "anthropic",
340
+ "id": "claude-opus-4-7",
341
+ "name": "Claude Opus 4.7",
342
+ "source": "models_dev",
343
+ "release_date": "2026-04-14",
344
+ "last_updated": "2026-04-16",
345
+ "context_window": 1000000,
346
+ "max_output_tokens": 128000,
347
+ "input_modalities": [
348
+ "text",
349
+ "image",
350
+ "pdf"
351
+ ],
352
+ "output_modalities": [
353
+ "text"
354
+ ],
355
+ "capabilities": {
356
+ "text_generation": true,
357
+ "tool_calling": true,
358
+ "structured_output": true,
359
+ "reasoning": true
360
+ },
361
+ "reasoning_controls": [
362
+ {
363
+ "type": "effort",
364
+ "values": [
365
+ "low",
366
+ "medium",
367
+ "high",
368
+ "xhigh",
369
+ "max"
370
+ ]
371
+ }
372
+ ],
373
+ "pricing": {
374
+ "input": "5",
375
+ "output": "25",
376
+ "cache_read": "0.5",
377
+ "cache_write": "6.25"
378
+ }
379
+ },
380
+ {
381
+ "provider": "anthropic",
382
+ "id": "claude-opus-4-8",
383
+ "name": "Claude Opus 4.8",
384
+ "source": "models_dev",
385
+ "release_date": "2026-05-28",
386
+ "last_updated": "2026-05-28",
387
+ "context_window": 1000000,
388
+ "max_output_tokens": 128000,
389
+ "input_modalities": [
390
+ "text",
391
+ "image",
392
+ "pdf"
393
+ ],
394
+ "output_modalities": [
395
+ "text"
396
+ ],
397
+ "capabilities": {
398
+ "text_generation": true,
399
+ "tool_calling": true,
400
+ "structured_output": true,
401
+ "reasoning": true
402
+ },
403
+ "reasoning_controls": [
404
+ {
405
+ "type": "effort",
406
+ "values": [
407
+ "low",
408
+ "medium",
409
+ "high",
410
+ "xhigh",
411
+ "max"
412
+ ]
413
+ }
414
+ ],
415
+ "pricing": {
416
+ "input": "5",
417
+ "output": "25",
418
+ "cache_read": "0.5",
419
+ "cache_write": "6.25"
420
+ }
421
+ },
422
+ {
423
+ "provider": "anthropic",
424
+ "id": "claude-opus-5",
425
+ "name": "Claude Opus 5",
426
+ "source": "models_dev",
427
+ "release_date": "2026-07-24",
428
+ "last_updated": "2026-07-24",
429
+ "context_window": 1000000,
430
+ "max_output_tokens": 128000,
431
+ "input_modalities": [
432
+ "text",
433
+ "image",
434
+ "pdf"
435
+ ],
436
+ "output_modalities": [
437
+ "text"
438
+ ],
439
+ "capabilities": {
440
+ "text_generation": true,
441
+ "tool_calling": true,
442
+ "structured_output": true,
443
+ "reasoning": true
444
+ },
445
+ "reasoning_controls": [
446
+ {
447
+ "type": "effort",
448
+ "values": [
449
+ "low",
450
+ "medium",
451
+ "high",
452
+ "xhigh",
453
+ "max"
454
+ ]
455
+ }
456
+ ],
457
+ "pricing": {
458
+ "input": "5",
459
+ "output": "25",
460
+ "cache_read": "0.5",
461
+ "cache_write": "6.25"
462
+ }
463
+ },
464
+ {
465
+ "provider": "anthropic",
466
+ "id": "claude-opus-5-5",
467
+ "name": "Claude Opus 5.5",
468
+ "source": "models_dev",
469
+ "release_date": "2026-09-22",
470
+ "last_updated": "2026-09-22",
471
+ "context_window": 1000000,
472
+ "max_output_tokens": 128000,
473
+ "input_modalities": [
474
+ "text",
475
+ "image",
476
+ "pdf"
477
+ ],
478
+ "output_modalities": [
479
+ "text"
480
+ ],
481
+ "capabilities": {
482
+ "text_generation": true,
483
+ "tool_calling": true,
484
+ "structured_output": true,
485
+ "reasoning": true
486
+ },
487
+ "reasoning_controls": [
488
+ {
489
+ "type": "effort",
490
+ "values": [
491
+ "low",
492
+ "medium",
493
+ "high",
494
+ "xhigh",
495
+ "max"
496
+ ]
497
+ }
498
+ ],
499
+ "pricing": {
500
+ "input": "4",
501
+ "output": "20",
502
+ "cache_read": "0.2",
503
+ "cache_write": "5"
504
+ }
505
+ },
506
+ {
507
+ "provider": "anthropic",
508
+ "id": "claude-sonnet-4-5",
509
+ "name": "Claude Sonnet 4.5 (latest)",
510
+ "source": "models_dev",
511
+ "release_date": "2025-09-29",
512
+ "last_updated": "2025-09-29",
513
+ "context_window": 200000,
514
+ "max_output_tokens": 64000,
515
+ "input_modalities": [
516
+ "text",
517
+ "image",
518
+ "pdf"
519
+ ],
520
+ "output_modalities": [
521
+ "text"
522
+ ],
523
+ "capabilities": {
524
+ "text_generation": true,
525
+ "tool_calling": true,
526
+ "structured_output": true,
527
+ "reasoning": true
528
+ },
529
+ "reasoning_controls": [
530
+ {
531
+ "type": "budget_tokens",
532
+ "min": 1024
533
+ }
534
+ ],
535
+ "pricing": {
536
+ "input": "3",
537
+ "output": "15",
538
+ "cache_read": "0.3",
539
+ "cache_write": "3.75"
540
+ }
541
+ },
542
+ {
543
+ "provider": "anthropic",
544
+ "id": "claude-sonnet-4-5-20250929",
545
+ "name": "Claude Sonnet 4.5",
546
+ "source": "models_dev",
547
+ "release_date": "2025-09-29",
548
+ "last_updated": "2025-09-29",
549
+ "context_window": 200000,
550
+ "max_output_tokens": 64000,
551
+ "input_modalities": [
552
+ "text",
553
+ "image",
554
+ "pdf"
555
+ ],
556
+ "output_modalities": [
557
+ "text"
558
+ ],
559
+ "capabilities": {
560
+ "text_generation": true,
561
+ "tool_calling": true,
562
+ "structured_output": true,
563
+ "reasoning": true
564
+ },
565
+ "reasoning_controls": [
566
+ {
567
+ "type": "budget_tokens",
568
+ "min": 1024
569
+ }
570
+ ],
571
+ "pricing": {
572
+ "input": "3",
573
+ "output": "15",
574
+ "cache_read": "0.3",
575
+ "cache_write": "3.75"
576
+ }
577
+ },
578
+ {
579
+ "provider": "anthropic",
580
+ "id": "claude-sonnet-4-6",
581
+ "name": "Claude Sonnet 4.6",
582
+ "source": "models_dev",
583
+ "release_date": "2026-02-17",
584
+ "last_updated": "2026-03-13",
585
+ "context_window": 1000000,
586
+ "max_output_tokens": 128000,
587
+ "input_modalities": [
588
+ "text",
589
+ "image",
590
+ "pdf"
591
+ ],
592
+ "output_modalities": [
593
+ "text"
594
+ ],
595
+ "capabilities": {
596
+ "text_generation": true,
597
+ "tool_calling": true,
598
+ "structured_output": true,
599
+ "reasoning": true
600
+ },
601
+ "reasoning_controls": [
602
+ {
603
+ "type": "effort",
604
+ "values": [
605
+ "low",
606
+ "medium",
607
+ "high",
608
+ "max"
609
+ ]
610
+ },
611
+ {
612
+ "type": "budget_tokens",
613
+ "min": 1024
614
+ }
615
+ ],
616
+ "pricing": {
617
+ "input": "3",
618
+ "output": "15",
619
+ "cache_read": "0.3",
620
+ "cache_write": "3.75"
621
+ }
622
+ },
623
+ {
624
+ "provider": "anthropic",
625
+ "id": "claude-sonnet-5",
626
+ "name": "Claude Sonnet 5",
627
+ "source": "models_dev",
628
+ "release_date": "2026-06-29",
629
+ "last_updated": "2026-06-30",
630
+ "context_window": 1000000,
631
+ "max_output_tokens": 128000,
632
+ "input_modalities": [
633
+ "text",
634
+ "image",
635
+ "pdf"
636
+ ],
637
+ "output_modalities": [
638
+ "text"
639
+ ],
640
+ "capabilities": {
641
+ "text_generation": true,
642
+ "tool_calling": true,
643
+ "structured_output": true,
644
+ "reasoning": true
645
+ },
646
+ "reasoning_controls": [
647
+ {
648
+ "type": "toggle"
649
+ },
650
+ {
651
+ "type": "effort",
652
+ "values": [
653
+ "low",
654
+ "medium",
655
+ "high",
656
+ "xhigh",
657
+ "max"
658
+ ]
659
+ }
660
+ ],
661
+ "pricing": {
662
+ "input": "2",
663
+ "output": "10",
664
+ "cache_read": "0.2",
665
+ "cache_write": "2.5"
666
+ }
667
+ },
668
+ {
669
+ "provider": "anthropic",
670
+ "id": "claude-sonnet-5-5",
671
+ "name": "Claude Sonnet 5.5",
672
+ "source": "models_dev",
673
+ "release_date": "2026-09-28",
674
+ "last_updated": "2026-09-28",
675
+ "context_window": 1000000,
676
+ "max_output_tokens": 128000,
677
+ "input_modalities": [
678
+ "text",
679
+ "image",
680
+ "pdf"
681
+ ],
682
+ "output_modalities": [
683
+ "text"
684
+ ],
685
+ "capabilities": {
686
+ "text_generation": true,
687
+ "tool_calling": true,
688
+ "structured_output": true,
689
+ "reasoning": true
690
+ },
691
+ "reasoning_controls": [
692
+ {
693
+ "type": "effort",
694
+ "values": [
695
+ "low",
696
+ "medium",
697
+ "high",
698
+ "xhigh",
699
+ "max"
700
+ ]
701
+ }
702
+ ],
703
+ "pricing": {
704
+ "input": "2",
705
+ "output": "10",
706
+ "cache_read": "0.1",
707
+ "cache_write": "2.5"
708
+ }
709
+ },
710
+ {
711
+ "provider": "groq",
712
+ "id": "allam-2-7b",
713
+ "name": "ALLaM-2-7b",
714
+ "source": "models_dev",
715
+ "release_date": "2025-01-23",
716
+ "last_updated": "2025-01-23",
717
+ "context_window": 4096,
718
+ "max_output_tokens": 4096,
719
+ "input_modalities": [
720
+ "text"
721
+ ],
722
+ "output_modalities": [
723
+ "text"
724
+ ],
725
+ "capabilities": {
726
+ "text_generation": true,
727
+ "tool_calling": false,
728
+ "structured_output": null,
729
+ "reasoning": false
730
+ },
731
+ "pricing": {
732
+ "input": "0",
733
+ "output": "0",
734
+ "cache_read": "0",
735
+ "cache_write": "0"
736
+ }
737
+ },
738
+ {
739
+ "provider": "groq",
740
+ "id": "canopylabs/orpheus-arabic-saudi",
741
+ "name": "Canopy Labs Orpheus Arabic Saudi",
742
+ "source": "models_dev",
743
+ "release_date": "2025-12-16",
744
+ "last_updated": "2025-12-16",
745
+ "context_window": 4000,
746
+ "max_output_tokens": 50000,
747
+ "input_modalities": [
748
+ "text"
749
+ ],
750
+ "output_modalities": [
751
+ "audio"
752
+ ],
753
+ "capabilities": {
754
+ "text_generation": false,
755
+ "tool_calling": false,
756
+ "structured_output": null,
757
+ "reasoning": false
758
+ }
759
+ },
760
+ {
761
+ "provider": "groq",
762
+ "id": "canopylabs/orpheus-v1-english",
763
+ "name": "Canopy Labs Orpheus V1 English",
764
+ "source": "models_dev",
765
+ "release_date": "2025-12-19",
766
+ "last_updated": "2025-12-19",
767
+ "context_window": 4000,
768
+ "max_output_tokens": 50000,
769
+ "input_modalities": [
770
+ "text"
771
+ ],
772
+ "output_modalities": [
773
+ "audio"
774
+ ],
775
+ "capabilities": {
776
+ "text_generation": false,
777
+ "tool_calling": false,
778
+ "structured_output": null,
779
+ "reasoning": false
780
+ }
781
+ },
782
+ {
783
+ "provider": "groq",
784
+ "id": "llama-3.1-8b-instant",
785
+ "name": "Llama 3.1 8B",
786
+ "source": "models_dev",
787
+ "release_date": "2024-07-23",
788
+ "last_updated": "2024-07-23",
789
+ "context_window": 131072,
790
+ "max_output_tokens": 131072,
791
+ "input_modalities": [
792
+ "text"
793
+ ],
794
+ "output_modalities": [
795
+ "text"
796
+ ],
797
+ "capabilities": {
798
+ "text_generation": true,
799
+ "tool_calling": true,
800
+ "structured_output": null,
801
+ "reasoning": false
802
+ },
803
+ "pricing": {
804
+ "input": "0.05",
805
+ "output": "0.08",
806
+ "cache_read": "0",
807
+ "cache_write": "0"
808
+ }
809
+ },
810
+ {
811
+ "provider": "groq",
812
+ "id": "llama-3.3-70b-versatile",
813
+ "name": "Llama 3.3 70B",
814
+ "source": "models_dev",
815
+ "release_date": "2024-12-06",
816
+ "last_updated": "2024-12-06",
817
+ "context_window": 131072,
818
+ "max_output_tokens": 32768,
819
+ "input_modalities": [
820
+ "text"
821
+ ],
822
+ "output_modalities": [
823
+ "text"
824
+ ],
825
+ "capabilities": {
826
+ "text_generation": true,
827
+ "tool_calling": true,
828
+ "structured_output": null,
829
+ "reasoning": false
830
+ },
831
+ "pricing": {
832
+ "input": "0.59",
833
+ "output": "0.79",
834
+ "cache_read": "0",
835
+ "cache_write": "0"
836
+ }
837
+ },
838
+ {
839
+ "provider": "groq",
840
+ "id": "meta-llama/llama-prompt-guard-2-22m",
841
+ "name": "Llama Prompt Guard 2 22M",
842
+ "source": "models_dev",
843
+ "release_date": "2025-04-29",
844
+ "last_updated": "2025-04-29",
845
+ "context_window": 512,
846
+ "max_output_tokens": 512,
847
+ "input_modalities": [
848
+ "text"
849
+ ],
850
+ "output_modalities": [
851
+ "text"
852
+ ],
853
+ "capabilities": {
854
+ "text_generation": true,
855
+ "tool_calling": false,
856
+ "structured_output": null,
857
+ "reasoning": false
858
+ },
859
+ "pricing": {
860
+ "input": "0.03",
861
+ "output": "0.03",
862
+ "cache_read": "0",
863
+ "cache_write": "0"
864
+ }
865
+ },
866
+ {
867
+ "provider": "groq",
868
+ "id": "meta-llama/llama-prompt-guard-2-86m",
869
+ "name": "Prompt Guard 2 86M",
870
+ "source": "models_dev",
871
+ "release_date": "2025-04-29",
872
+ "last_updated": "2025-04-29",
873
+ "context_window": 512,
874
+ "max_output_tokens": 512,
875
+ "input_modalities": [
876
+ "text"
877
+ ],
878
+ "output_modalities": [
879
+ "text"
880
+ ],
881
+ "capabilities": {
882
+ "text_generation": true,
883
+ "tool_calling": false,
884
+ "structured_output": null,
885
+ "reasoning": false
886
+ },
887
+ "pricing": {
888
+ "input": "0.04",
889
+ "output": "0.04",
890
+ "cache_read": "0",
891
+ "cache_write": "0"
892
+ }
893
+ },
894
+ {
895
+ "provider": "groq",
896
+ "id": "openai/gpt-oss-120b",
897
+ "name": "GPT OSS 120B",
898
+ "source": "models_dev",
899
+ "release_date": "2025-08-05",
900
+ "last_updated": "2025-08-05",
901
+ "context_window": 131072,
902
+ "max_output_tokens": 65536,
903
+ "input_modalities": [
904
+ "text"
905
+ ],
906
+ "output_modalities": [
907
+ "text"
908
+ ],
909
+ "capabilities": {
910
+ "text_generation": true,
911
+ "tool_calling": true,
912
+ "structured_output": true,
913
+ "reasoning": true
914
+ },
915
+ "reasoning_controls": [
916
+ {
917
+ "type": "effort",
918
+ "values": [
919
+ "low",
920
+ "medium",
921
+ "high"
922
+ ]
923
+ }
924
+ ],
925
+ "pricing": {
926
+ "input": "0.15",
927
+ "output": "0.6",
928
+ "cache_read": "0.075",
929
+ "cache_write": "0"
930
+ }
931
+ },
932
+ {
933
+ "provider": "groq",
934
+ "id": "openai/gpt-oss-20b",
935
+ "name": "GPT OSS 20B",
936
+ "source": "models_dev",
937
+ "release_date": "2025-08-05",
938
+ "last_updated": "2025-08-05",
939
+ "context_window": 131072,
940
+ "max_output_tokens": 65536,
941
+ "input_modalities": [
942
+ "text"
943
+ ],
944
+ "output_modalities": [
945
+ "text"
946
+ ],
947
+ "capabilities": {
948
+ "text_generation": true,
949
+ "tool_calling": true,
950
+ "structured_output": true,
951
+ "reasoning": true
952
+ },
953
+ "reasoning_controls": [
954
+ {
955
+ "type": "effort",
956
+ "values": [
957
+ "low",
958
+ "medium",
959
+ "high"
960
+ ]
961
+ }
962
+ ],
963
+ "pricing": {
964
+ "input": "0.075",
965
+ "output": "0.3",
966
+ "cache_read": "0.0375",
967
+ "cache_write": "0"
968
+ }
969
+ },
970
+ {
971
+ "provider": "groq",
972
+ "id": "openai/gpt-oss-safeguard-20b",
973
+ "name": "Safety GPT OSS 20B",
974
+ "source": "models_dev",
975
+ "release_date": "2025-10-29",
976
+ "last_updated": "2025-10-29",
977
+ "context_window": 131072,
978
+ "max_output_tokens": 65536,
979
+ "input_modalities": [
980
+ "text"
981
+ ],
982
+ "output_modalities": [
983
+ "text"
984
+ ],
985
+ "capabilities": {
986
+ "text_generation": true,
987
+ "tool_calling": true,
988
+ "structured_output": true,
989
+ "reasoning": true
990
+ },
991
+ "reasoning_controls": [
992
+ {
993
+ "type": "effort",
994
+ "values": [
995
+ "low",
996
+ "medium",
997
+ "high"
998
+ ]
999
+ }
1000
+ ],
1001
+ "pricing": {
1002
+ "input": "0.075",
1003
+ "output": "0.3",
1004
+ "cache_read": "0.0375",
1005
+ "cache_write": "0"
1006
+ }
1007
+ },
1008
+ {
1009
+ "provider": "groq",
1010
+ "id": "qwen/qwen3.6-27b",
1011
+ "name": "Qwen3.6 27B",
1012
+ "source": "models_dev",
1013
+ "release_date": "2026-04-22",
1014
+ "last_updated": "2026-04-22",
1015
+ "context_window": 131072,
1016
+ "max_output_tokens": 16384,
1017
+ "input_modalities": [
1018
+ "text",
1019
+ "image"
1020
+ ],
1021
+ "output_modalities": [
1022
+ "text"
1023
+ ],
1024
+ "capabilities": {
1025
+ "text_generation": true,
1026
+ "tool_calling": true,
1027
+ "structured_output": true,
1028
+ "reasoning": true
1029
+ },
1030
+ "reasoning_controls": [
1031
+ {
1032
+ "type": "effort",
1033
+ "values": [
1034
+ "none",
1035
+ "default"
1036
+ ]
1037
+ }
1038
+ ],
1039
+ "pricing": {
1040
+ "input": "0.6",
1041
+ "output": "3",
1042
+ "cache_read": "0.3",
1043
+ "cache_write": "0"
1044
+ }
1045
+ },
1046
+ {
1047
+ "provider": "groq",
1048
+ "id": "qwen/qwen3.8-27b",
1049
+ "name": "Qwen3.8 27B",
1050
+ "source": "models_dev",
1051
+ "release_date": "2026-08-14",
1052
+ "last_updated": "2026-08-14",
1053
+ "context_window": 131072,
1054
+ "max_output_tokens": 16384,
1055
+ "input_modalities": [
1056
+ "text",
1057
+ "image"
1058
+ ],
1059
+ "output_modalities": [
1060
+ "text"
1061
+ ],
1062
+ "capabilities": {
1063
+ "text_generation": true,
1064
+ "tool_calling": true,
1065
+ "structured_output": true,
1066
+ "reasoning": true
1067
+ },
1068
+ "reasoning_controls": [
1069
+ {
1070
+ "type": "effort",
1071
+ "values": [
1072
+ "none",
1073
+ "default",
1074
+ "low",
1075
+ "medium",
1076
+ "high"
1077
+ ]
1078
+ }
1079
+ ],
1080
+ "pricing": {
1081
+ "input": "0.8",
1082
+ "output": "4",
1083
+ "cache_read": "0",
1084
+ "cache_write": "0"
1085
+ }
1086
+ },
1087
+ {
1088
+ "provider": "groq",
1089
+ "id": "whisper-large-v3",
1090
+ "name": "Whisper",
1091
+ "source": "models_dev",
1092
+ "release_date": "2023-11-06",
1093
+ "last_updated": "2023-11-06",
1094
+ "context_window": 448,
1095
+ "max_output_tokens": 448,
1096
+ "input_modalities": [
1097
+ "audio"
1098
+ ],
1099
+ "output_modalities": [
1100
+ "text"
1101
+ ],
1102
+ "capabilities": {
1103
+ "text_generation": false,
1104
+ "tool_calling": false,
1105
+ "structured_output": null,
1106
+ "reasoning": false
1107
+ }
1108
+ },
1109
+ {
1110
+ "provider": "groq",
1111
+ "id": "whisper-large-v3-turbo",
1112
+ "name": "Whisper Large V3 Turbo",
1113
+ "source": "models_dev",
1114
+ "release_date": "2024-10-01",
1115
+ "last_updated": "2024-10-01",
1116
+ "context_window": 448,
1117
+ "max_output_tokens": 448,
1118
+ "input_modalities": [
1119
+ "audio"
1120
+ ],
1121
+ "output_modalities": [
1122
+ "text"
1123
+ ],
1124
+ "capabilities": {
1125
+ "text_generation": false,
1126
+ "tool_calling": false,
1127
+ "structured_output": null,
1128
+ "reasoning": false
1129
+ }
1130
+ },
1131
+ {
1132
+ "provider": "openai",
1133
+ "id": "chatgpt-image-latest",
1134
+ "name": "chatgpt-image-latest",
1135
+ "source": "models_dev",
1136
+ "release_date": "2025-12-16",
1137
+ "last_updated": "2025-12-16",
1138
+ "context_window": 0,
1139
+ "max_output_tokens": 0,
1140
+ "input_modalities": [
1141
+ "text",
1142
+ "image"
1143
+ ],
1144
+ "output_modalities": [
1145
+ "text",
1146
+ "image"
1147
+ ],
1148
+ "capabilities": {
1149
+ "text_generation": false,
1150
+ "tool_calling": false,
1151
+ "structured_output": null,
1152
+ "reasoning": false
1153
+ }
1154
+ },
1155
+ {
1156
+ "provider": "openai",
1157
+ "id": "gpt-3.5-turbo",
1158
+ "name": "GPT-3.5-turbo",
1159
+ "source": "models_dev",
1160
+ "release_date": "2023-03-01",
1161
+ "last_updated": "2023-11-06",
1162
+ "context_window": 16385,
1163
+ "max_output_tokens": 4096,
1164
+ "input_modalities": [
1165
+ "text"
1166
+ ],
1167
+ "output_modalities": [
1168
+ "text"
1169
+ ],
1170
+ "capabilities": {
1171
+ "text_generation": true,
1172
+ "tool_calling": false,
1173
+ "structured_output": false,
1174
+ "reasoning": false
1175
+ },
1176
+ "pricing": {
1177
+ "input": "0.5",
1178
+ "output": "1.5",
1179
+ "cache_read": "0",
1180
+ "cache_write": "0"
1181
+ }
1182
+ },
1183
+ {
1184
+ "provider": "openai",
1185
+ "id": "gpt-4",
1186
+ "name": "GPT-4",
1187
+ "source": "models_dev",
1188
+ "release_date": "2023-11-06",
1189
+ "last_updated": "2024-04-09",
1190
+ "context_window": 8192,
1191
+ "max_output_tokens": 8192,
1192
+ "input_modalities": [
1193
+ "text"
1194
+ ],
1195
+ "output_modalities": [
1196
+ "text"
1197
+ ],
1198
+ "capabilities": {
1199
+ "text_generation": true,
1200
+ "tool_calling": true,
1201
+ "structured_output": false,
1202
+ "reasoning": false
1203
+ },
1204
+ "pricing": {
1205
+ "input": "30",
1206
+ "output": "60",
1207
+ "cache_read": "0",
1208
+ "cache_write": "0"
1209
+ }
1210
+ },
1211
+ {
1212
+ "provider": "openai",
1213
+ "id": "gpt-4-turbo",
1214
+ "name": "GPT-4 Turbo",
1215
+ "source": "models_dev",
1216
+ "release_date": "2023-11-06",
1217
+ "last_updated": "2024-04-09",
1218
+ "context_window": 128000,
1219
+ "max_output_tokens": 4096,
1220
+ "input_modalities": [
1221
+ "text",
1222
+ "image"
1223
+ ],
1224
+ "output_modalities": [
1225
+ "text"
1226
+ ],
1227
+ "capabilities": {
1228
+ "text_generation": true,
1229
+ "tool_calling": true,
1230
+ "structured_output": false,
1231
+ "reasoning": false
1232
+ },
1233
+ "pricing": {
1234
+ "input": "10",
1235
+ "output": "30",
1236
+ "cache_read": "0",
1237
+ "cache_write": "0"
1238
+ }
1239
+ },
1240
+ {
1241
+ "provider": "openai",
1242
+ "id": "gpt-4.1",
1243
+ "name": "GPT-4.1",
1244
+ "source": "models_dev",
1245
+ "release_date": "2025-04-14",
1246
+ "last_updated": "2025-04-14",
1247
+ "context_window": 1047576,
1248
+ "max_output_tokens": 32768,
1249
+ "input_modalities": [
1250
+ "text",
1251
+ "image",
1252
+ "pdf"
1253
+ ],
1254
+ "output_modalities": [
1255
+ "text"
1256
+ ],
1257
+ "capabilities": {
1258
+ "text_generation": true,
1259
+ "tool_calling": true,
1260
+ "structured_output": true,
1261
+ "reasoning": false
1262
+ },
1263
+ "pricing": {
1264
+ "input": "2",
1265
+ "output": "8",
1266
+ "cache_read": "0.5",
1267
+ "cache_write": "0"
1268
+ }
1269
+ },
1270
+ {
1271
+ "provider": "openai",
1272
+ "id": "gpt-4.1-mini",
1273
+ "name": "GPT-4.1 mini",
1274
+ "source": "models_dev",
1275
+ "release_date": "2025-04-14",
1276
+ "last_updated": "2025-04-14",
1277
+ "context_window": 1047576,
1278
+ "max_output_tokens": 32768,
1279
+ "input_modalities": [
1280
+ "text",
1281
+ "image",
1282
+ "pdf"
1283
+ ],
1284
+ "output_modalities": [
1285
+ "text"
1286
+ ],
1287
+ "capabilities": {
1288
+ "text_generation": true,
1289
+ "tool_calling": true,
1290
+ "structured_output": true,
1291
+ "reasoning": false
1292
+ },
1293
+ "pricing": {
1294
+ "input": "0.4",
1295
+ "output": "1.6",
1296
+ "cache_read": "0.1",
1297
+ "cache_write": "0"
1298
+ }
1299
+ },
1300
+ {
1301
+ "provider": "openai",
1302
+ "id": "gpt-4.1-nano",
1303
+ "name": "GPT-4.1 nano",
1304
+ "source": "models_dev",
1305
+ "release_date": "2025-04-14",
1306
+ "last_updated": "2025-04-14",
1307
+ "context_window": 1047576,
1308
+ "max_output_tokens": 32768,
1309
+ "input_modalities": [
1310
+ "text",
1311
+ "image"
1312
+ ],
1313
+ "output_modalities": [
1314
+ "text"
1315
+ ],
1316
+ "capabilities": {
1317
+ "text_generation": true,
1318
+ "tool_calling": true,
1319
+ "structured_output": true,
1320
+ "reasoning": false
1321
+ },
1322
+ "pricing": {
1323
+ "input": "0.1",
1324
+ "output": "0.4",
1325
+ "cache_read": "0.025",
1326
+ "cache_write": "0"
1327
+ }
1328
+ },
1329
+ {
1330
+ "provider": "openai",
1331
+ "id": "gpt-4o",
1332
+ "name": "GPT-4o",
1333
+ "source": "models_dev",
1334
+ "release_date": "2024-05-13",
1335
+ "last_updated": "2024-08-06",
1336
+ "context_window": 128000,
1337
+ "max_output_tokens": 16384,
1338
+ "input_modalities": [
1339
+ "text",
1340
+ "image",
1341
+ "pdf"
1342
+ ],
1343
+ "output_modalities": [
1344
+ "text"
1345
+ ],
1346
+ "capabilities": {
1347
+ "text_generation": true,
1348
+ "tool_calling": true,
1349
+ "structured_output": true,
1350
+ "reasoning": false
1351
+ },
1352
+ "pricing": {
1353
+ "input": "2.5",
1354
+ "output": "10",
1355
+ "cache_read": "1.25",
1356
+ "cache_write": "0"
1357
+ }
1358
+ },
1359
+ {
1360
+ "provider": "openai",
1361
+ "id": "gpt-4o-2024-05-13",
1362
+ "name": "GPT-4o (2024-05-13)",
1363
+ "source": "models_dev",
1364
+ "release_date": "2024-05-13",
1365
+ "last_updated": "2024-05-13",
1366
+ "context_window": 128000,
1367
+ "max_output_tokens": 4096,
1368
+ "input_modalities": [
1369
+ "text",
1370
+ "image"
1371
+ ],
1372
+ "output_modalities": [
1373
+ "text"
1374
+ ],
1375
+ "capabilities": {
1376
+ "text_generation": true,
1377
+ "tool_calling": true,
1378
+ "structured_output": true,
1379
+ "reasoning": false
1380
+ },
1381
+ "pricing": {
1382
+ "input": "5",
1383
+ "output": "15",
1384
+ "cache_read": "0",
1385
+ "cache_write": "0"
1386
+ }
1387
+ },
1388
+ {
1389
+ "provider": "openai",
1390
+ "id": "gpt-4o-2024-08-06",
1391
+ "name": "GPT-4o (2024-08-06)",
1392
+ "source": "models_dev",
1393
+ "release_date": "2024-08-06",
1394
+ "last_updated": "2024-08-06",
1395
+ "context_window": 128000,
1396
+ "max_output_tokens": 16384,
1397
+ "input_modalities": [
1398
+ "text",
1399
+ "image"
1400
+ ],
1401
+ "output_modalities": [
1402
+ "text"
1403
+ ],
1404
+ "capabilities": {
1405
+ "text_generation": true,
1406
+ "tool_calling": true,
1407
+ "structured_output": true,
1408
+ "reasoning": false
1409
+ },
1410
+ "pricing": {
1411
+ "input": "2.5",
1412
+ "output": "10",
1413
+ "cache_read": "1.25",
1414
+ "cache_write": "0"
1415
+ }
1416
+ },
1417
+ {
1418
+ "provider": "openai",
1419
+ "id": "gpt-4o-2024-11-20",
1420
+ "name": "GPT-4o (2024-11-20)",
1421
+ "source": "models_dev",
1422
+ "release_date": "2024-11-20",
1423
+ "last_updated": "2024-11-20",
1424
+ "context_window": 128000,
1425
+ "max_output_tokens": 16384,
1426
+ "input_modalities": [
1427
+ "text",
1428
+ "image"
1429
+ ],
1430
+ "output_modalities": [
1431
+ "text"
1432
+ ],
1433
+ "capabilities": {
1434
+ "text_generation": true,
1435
+ "tool_calling": true,
1436
+ "structured_output": true,
1437
+ "reasoning": false
1438
+ },
1439
+ "pricing": {
1440
+ "input": "2.5",
1441
+ "output": "10",
1442
+ "cache_read": "1.25",
1443
+ "cache_write": "0"
1444
+ }
1445
+ },
1446
+ {
1447
+ "provider": "openai",
1448
+ "id": "gpt-4o-mini",
1449
+ "name": "GPT-4o mini",
1450
+ "source": "models_dev",
1451
+ "release_date": "2024-07-18",
1452
+ "last_updated": "2024-07-18",
1453
+ "context_window": 128000,
1454
+ "max_output_tokens": 16384,
1455
+ "input_modalities": [
1456
+ "text",
1457
+ "image",
1458
+ "pdf"
1459
+ ],
1460
+ "output_modalities": [
1461
+ "text"
1462
+ ],
1463
+ "capabilities": {
1464
+ "text_generation": true,
1465
+ "tool_calling": true,
1466
+ "structured_output": true,
1467
+ "reasoning": false
1468
+ },
1469
+ "pricing": {
1470
+ "input": "0.15",
1471
+ "output": "0.6",
1472
+ "cache_read": "0.075",
1473
+ "cache_write": "0"
1474
+ }
1475
+ },
1476
+ {
1477
+ "provider": "openai",
1478
+ "id": "gpt-5",
1479
+ "name": "GPT-5",
1480
+ "source": "models_dev",
1481
+ "release_date": "2025-08-07",
1482
+ "last_updated": "2025-08-07",
1483
+ "context_window": 400000,
1484
+ "max_output_tokens": 128000,
1485
+ "input_modalities": [
1486
+ "text",
1487
+ "image"
1488
+ ],
1489
+ "output_modalities": [
1490
+ "text"
1491
+ ],
1492
+ "capabilities": {
1493
+ "text_generation": true,
1494
+ "tool_calling": true,
1495
+ "structured_output": true,
1496
+ "reasoning": true
1497
+ },
1498
+ "reasoning_controls": [
1499
+ {
1500
+ "type": "effort",
1501
+ "values": [
1502
+ "minimal",
1503
+ "low",
1504
+ "medium",
1505
+ "high"
1506
+ ]
1507
+ }
1508
+ ],
1509
+ "pricing": {
1510
+ "input": "1.25",
1511
+ "output": "10",
1512
+ "cache_read": "0.125",
1513
+ "cache_write": "0"
1514
+ }
1515
+ },
1516
+ {
1517
+ "provider": "openai",
1518
+ "id": "gpt-5-mini",
1519
+ "name": "GPT-5 Mini",
1520
+ "source": "models_dev",
1521
+ "release_date": "2025-08-07",
1522
+ "last_updated": "2025-08-07",
1523
+ "context_window": 400000,
1524
+ "max_output_tokens": 128000,
1525
+ "input_modalities": [
1526
+ "text",
1527
+ "image"
1528
+ ],
1529
+ "output_modalities": [
1530
+ "text"
1531
+ ],
1532
+ "capabilities": {
1533
+ "text_generation": true,
1534
+ "tool_calling": true,
1535
+ "structured_output": true,
1536
+ "reasoning": true
1537
+ },
1538
+ "reasoning_controls": [
1539
+ {
1540
+ "type": "effort",
1541
+ "values": [
1542
+ "minimal",
1543
+ "low",
1544
+ "medium",
1545
+ "high"
1546
+ ]
1547
+ }
1548
+ ],
1549
+ "pricing": {
1550
+ "input": "0.25",
1551
+ "output": "2",
1552
+ "cache_read": "0.025",
1553
+ "cache_write": "0"
1554
+ }
1555
+ },
1556
+ {
1557
+ "provider": "openai",
1558
+ "id": "gpt-5-nano",
1559
+ "name": "GPT-5 Nano",
1560
+ "source": "models_dev",
1561
+ "release_date": "2025-08-07",
1562
+ "last_updated": "2025-08-07",
1563
+ "context_window": 400000,
1564
+ "max_output_tokens": 128000,
1565
+ "input_modalities": [
1566
+ "text",
1567
+ "image"
1568
+ ],
1569
+ "output_modalities": [
1570
+ "text"
1571
+ ],
1572
+ "capabilities": {
1573
+ "text_generation": true,
1574
+ "tool_calling": true,
1575
+ "structured_output": true,
1576
+ "reasoning": true
1577
+ },
1578
+ "reasoning_controls": [
1579
+ {
1580
+ "type": "effort",
1581
+ "values": [
1582
+ "minimal",
1583
+ "low",
1584
+ "medium",
1585
+ "high"
1586
+ ]
1587
+ }
1588
+ ],
1589
+ "pricing": {
1590
+ "input": "0.05",
1591
+ "output": "0.4",
1592
+ "cache_read": "0.005",
1593
+ "cache_write": "0"
1594
+ }
1595
+ },
1596
+ {
1597
+ "provider": "openai",
1598
+ "id": "gpt-5-pro",
1599
+ "name": "GPT-5 Pro",
1600
+ "source": "models_dev",
1601
+ "release_date": "2025-10-06",
1602
+ "last_updated": "2025-10-06",
1603
+ "context_window": 400000,
1604
+ "max_output_tokens": 272000,
1605
+ "input_modalities": [
1606
+ "text",
1607
+ "image"
1608
+ ],
1609
+ "output_modalities": [
1610
+ "text"
1611
+ ],
1612
+ "capabilities": {
1613
+ "text_generation": true,
1614
+ "tool_calling": true,
1615
+ "structured_output": true,
1616
+ "reasoning": true
1617
+ },
1618
+ "reasoning_controls": [
1619
+ {
1620
+ "type": "effort",
1621
+ "values": [
1622
+ "high"
1623
+ ]
1624
+ }
1625
+ ],
1626
+ "pricing": {
1627
+ "input": "15",
1628
+ "output": "120",
1629
+ "cache_read": "0",
1630
+ "cache_write": "0"
1631
+ }
1632
+ },
1633
+ {
1634
+ "provider": "openai",
1635
+ "id": "gpt-5.1",
1636
+ "name": "GPT-5.1",
1637
+ "source": "models_dev",
1638
+ "release_date": "2025-11-13",
1639
+ "last_updated": "2025-11-13",
1640
+ "context_window": 400000,
1641
+ "max_output_tokens": 128000,
1642
+ "input_modalities": [
1643
+ "text",
1644
+ "image"
1645
+ ],
1646
+ "output_modalities": [
1647
+ "text"
1648
+ ],
1649
+ "capabilities": {
1650
+ "text_generation": true,
1651
+ "tool_calling": true,
1652
+ "structured_output": true,
1653
+ "reasoning": true
1654
+ },
1655
+ "reasoning_controls": [
1656
+ {
1657
+ "type": "effort",
1658
+ "values": [
1659
+ "none",
1660
+ "low",
1661
+ "medium",
1662
+ "high"
1663
+ ]
1664
+ }
1665
+ ],
1666
+ "pricing": {
1667
+ "input": "1.25",
1668
+ "output": "10",
1669
+ "cache_read": "0.125",
1670
+ "cache_write": "0"
1671
+ }
1672
+ },
1673
+ {
1674
+ "provider": "openai",
1675
+ "id": "gpt-5.2",
1676
+ "name": "GPT-5.2",
1677
+ "source": "models_dev",
1678
+ "release_date": "2025-12-11",
1679
+ "last_updated": "2025-12-11",
1680
+ "context_window": 400000,
1681
+ "max_output_tokens": 128000,
1682
+ "input_modalities": [
1683
+ "text",
1684
+ "image"
1685
+ ],
1686
+ "output_modalities": [
1687
+ "text"
1688
+ ],
1689
+ "capabilities": {
1690
+ "text_generation": true,
1691
+ "tool_calling": true,
1692
+ "structured_output": true,
1693
+ "reasoning": true
1694
+ },
1695
+ "reasoning_controls": [
1696
+ {
1697
+ "type": "effort",
1698
+ "values": [
1699
+ "none",
1700
+ "low",
1701
+ "medium",
1702
+ "high",
1703
+ "xhigh"
1704
+ ]
1705
+ }
1706
+ ],
1707
+ "pricing": {
1708
+ "input": "1.75",
1709
+ "output": "14",
1710
+ "cache_read": "0.175",
1711
+ "cache_write": "0"
1712
+ }
1713
+ },
1714
+ {
1715
+ "provider": "openai",
1716
+ "id": "gpt-5.2-pro",
1717
+ "name": "GPT-5.2 Pro",
1718
+ "source": "models_dev",
1719
+ "release_date": "2025-12-11",
1720
+ "last_updated": "2025-12-11",
1721
+ "context_window": 400000,
1722
+ "max_output_tokens": 128000,
1723
+ "input_modalities": [
1724
+ "text",
1725
+ "image"
1726
+ ],
1727
+ "output_modalities": [
1728
+ "text"
1729
+ ],
1730
+ "capabilities": {
1731
+ "text_generation": true,
1732
+ "tool_calling": true,
1733
+ "structured_output": false,
1734
+ "reasoning": true
1735
+ },
1736
+ "reasoning_controls": [
1737
+ {
1738
+ "type": "effort",
1739
+ "values": [
1740
+ "medium",
1741
+ "high",
1742
+ "xhigh"
1743
+ ]
1744
+ }
1745
+ ],
1746
+ "pricing": {
1747
+ "input": "21",
1748
+ "output": "168",
1749
+ "cache_read": "0",
1750
+ "cache_write": "0"
1751
+ }
1752
+ },
1753
+ {
1754
+ "provider": "openai",
1755
+ "id": "gpt-5.3-codex",
1756
+ "name": "GPT-5.3 Codex",
1757
+ "source": "models_dev",
1758
+ "release_date": "2026-02-05",
1759
+ "last_updated": "2026-02-05",
1760
+ "context_window": 400000,
1761
+ "max_output_tokens": 128000,
1762
+ "input_modalities": [
1763
+ "text",
1764
+ "image",
1765
+ "pdf"
1766
+ ],
1767
+ "output_modalities": [
1768
+ "text"
1769
+ ],
1770
+ "capabilities": {
1771
+ "text_generation": true,
1772
+ "tool_calling": true,
1773
+ "structured_output": true,
1774
+ "reasoning": true
1775
+ },
1776
+ "reasoning_controls": [
1777
+ {
1778
+ "type": "effort",
1779
+ "values": [
1780
+ "none",
1781
+ "low",
1782
+ "medium",
1783
+ "high",
1784
+ "xhigh"
1785
+ ]
1786
+ }
1787
+ ],
1788
+ "pricing": {
1789
+ "input": "1.75",
1790
+ "output": "14",
1791
+ "cache_read": "0.175",
1792
+ "cache_write": "0"
1793
+ }
1794
+ },
1795
+ {
1796
+ "provider": "openai",
1797
+ "id": "gpt-5.3-codex-spark",
1798
+ "name": "GPT-5.3 Codex Spark",
1799
+ "source": "models_dev",
1800
+ "release_date": "2026-02-05",
1801
+ "last_updated": "2026-02-05",
1802
+ "context_window": 128000,
1803
+ "max_output_tokens": 32000,
1804
+ "input_modalities": [
1805
+ "text",
1806
+ "image",
1807
+ "pdf"
1808
+ ],
1809
+ "output_modalities": [
1810
+ "text"
1811
+ ],
1812
+ "capabilities": {
1813
+ "text_generation": true,
1814
+ "tool_calling": true,
1815
+ "structured_output": true,
1816
+ "reasoning": true
1817
+ },
1818
+ "reasoning_controls": [
1819
+ {
1820
+ "type": "effort",
1821
+ "values": [
1822
+ "none",
1823
+ "low",
1824
+ "medium",
1825
+ "high",
1826
+ "xhigh"
1827
+ ]
1828
+ }
1829
+ ],
1830
+ "pricing": {
1831
+ "input": "1.75",
1832
+ "output": "14",
1833
+ "cache_read": "0.175",
1834
+ "cache_write": "0"
1835
+ }
1836
+ },
1837
+ {
1838
+ "provider": "openai",
1839
+ "id": "gpt-5.4",
1840
+ "name": "GPT-5.4",
1841
+ "source": "models_dev",
1842
+ "release_date": "2026-03-05",
1843
+ "last_updated": "2026-03-05",
1844
+ "context_window": 1050000,
1845
+ "max_output_tokens": 128000,
1846
+ "input_modalities": [
1847
+ "text",
1848
+ "image",
1849
+ "pdf"
1850
+ ],
1851
+ "output_modalities": [
1852
+ "text"
1853
+ ],
1854
+ "capabilities": {
1855
+ "text_generation": true,
1856
+ "tool_calling": true,
1857
+ "structured_output": true,
1858
+ "reasoning": true
1859
+ },
1860
+ "reasoning_controls": [
1861
+ {
1862
+ "type": "effort",
1863
+ "values": [
1864
+ "none",
1865
+ "low",
1866
+ "medium",
1867
+ "high",
1868
+ "xhigh"
1869
+ ]
1870
+ }
1871
+ ],
1872
+ "pricing": {
1873
+ "input": "2.5",
1874
+ "output": "15",
1875
+ "cache_read": "0.25",
1876
+ "cache_write": "0",
1877
+ "tiers": [
1878
+ {
1879
+ "input_tokens_above": 272000,
1880
+ "input": "5.0",
1881
+ "output": "22.5",
1882
+ "cache_read": "0.5",
1883
+ "cache_write": "0.0"
1884
+ }
1885
+ ]
1886
+ }
1887
+ },
1888
+ {
1889
+ "provider": "openai",
1890
+ "id": "gpt-5.4-mini",
1891
+ "name": "GPT-5.4 mini",
1892
+ "source": "models_dev",
1893
+ "release_date": "2026-03-17",
1894
+ "last_updated": "2026-03-17",
1895
+ "context_window": 400000,
1896
+ "max_output_tokens": 128000,
1897
+ "input_modalities": [
1898
+ "text",
1899
+ "image"
1900
+ ],
1901
+ "output_modalities": [
1902
+ "text"
1903
+ ],
1904
+ "capabilities": {
1905
+ "text_generation": true,
1906
+ "tool_calling": true,
1907
+ "structured_output": true,
1908
+ "reasoning": true
1909
+ },
1910
+ "reasoning_controls": [
1911
+ {
1912
+ "type": "effort",
1913
+ "values": [
1914
+ "none",
1915
+ "low",
1916
+ "medium",
1917
+ "high",
1918
+ "xhigh"
1919
+ ]
1920
+ }
1921
+ ],
1922
+ "pricing": {
1923
+ "input": "0.75",
1924
+ "output": "4.5",
1925
+ "cache_read": "0.075",
1926
+ "cache_write": "0"
1927
+ }
1928
+ },
1929
+ {
1930
+ "provider": "openai",
1931
+ "id": "gpt-5.4-nano",
1932
+ "name": "GPT-5.4 nano",
1933
+ "source": "models_dev",
1934
+ "release_date": "2026-03-17",
1935
+ "last_updated": "2026-03-17",
1936
+ "context_window": 400000,
1937
+ "max_output_tokens": 128000,
1938
+ "input_modalities": [
1939
+ "text",
1940
+ "image"
1941
+ ],
1942
+ "output_modalities": [
1943
+ "text"
1944
+ ],
1945
+ "capabilities": {
1946
+ "text_generation": true,
1947
+ "tool_calling": true,
1948
+ "structured_output": true,
1949
+ "reasoning": true
1950
+ },
1951
+ "reasoning_controls": [
1952
+ {
1953
+ "type": "effort",
1954
+ "values": [
1955
+ "none",
1956
+ "low",
1957
+ "medium",
1958
+ "high",
1959
+ "xhigh"
1960
+ ]
1961
+ }
1962
+ ],
1963
+ "pricing": {
1964
+ "input": "0.2",
1965
+ "output": "1.25",
1966
+ "cache_read": "0.02",
1967
+ "cache_write": "0"
1968
+ }
1969
+ },
1970
+ {
1971
+ "provider": "openai",
1972
+ "id": "gpt-5.4-pro",
1973
+ "name": "GPT-5.4 Pro",
1974
+ "source": "models_dev",
1975
+ "release_date": "2026-03-05",
1976
+ "last_updated": "2026-03-05",
1977
+ "context_window": 1050000,
1978
+ "max_output_tokens": 128000,
1979
+ "input_modalities": [
1980
+ "text",
1981
+ "image"
1982
+ ],
1983
+ "output_modalities": [
1984
+ "text"
1985
+ ],
1986
+ "capabilities": {
1987
+ "text_generation": true,
1988
+ "tool_calling": true,
1989
+ "structured_output": false,
1990
+ "reasoning": true
1991
+ },
1992
+ "reasoning_controls": [
1993
+ {
1994
+ "type": "effort",
1995
+ "values": [
1996
+ "medium",
1997
+ "high",
1998
+ "xhigh"
1999
+ ]
2000
+ }
2001
+ ],
2002
+ "pricing": {
2003
+ "input": "30",
2004
+ "output": "180",
2005
+ "cache_read": "0",
2006
+ "cache_write": "0",
2007
+ "tiers": [
2008
+ {
2009
+ "input_tokens_above": 272000,
2010
+ "input": "60.0",
2011
+ "output": "270.0",
2012
+ "cache_read": "0.0",
2013
+ "cache_write": "0.0"
2014
+ }
2015
+ ]
2016
+ }
2017
+ },
2018
+ {
2019
+ "provider": "openai",
2020
+ "id": "gpt-5.5",
2021
+ "name": "GPT-5.5",
2022
+ "source": "models_dev",
2023
+ "release_date": "2026-04-23",
2024
+ "last_updated": "2026-04-23",
2025
+ "context_window": 1050000,
2026
+ "max_output_tokens": 128000,
2027
+ "input_modalities": [
2028
+ "text",
2029
+ "image",
2030
+ "pdf"
2031
+ ],
2032
+ "output_modalities": [
2033
+ "text"
2034
+ ],
2035
+ "capabilities": {
2036
+ "text_generation": true,
2037
+ "tool_calling": true,
2038
+ "structured_output": true,
2039
+ "reasoning": true
2040
+ },
2041
+ "reasoning_controls": [
2042
+ {
2043
+ "type": "effort",
2044
+ "values": [
2045
+ "none",
2046
+ "low",
2047
+ "medium",
2048
+ "high",
2049
+ "xhigh"
2050
+ ]
2051
+ }
2052
+ ],
2053
+ "pricing": {
2054
+ "input": "5",
2055
+ "output": "30",
2056
+ "cache_read": "0.5",
2057
+ "cache_write": "0",
2058
+ "tiers": [
2059
+ {
2060
+ "input_tokens_above": 272000,
2061
+ "input": "10.0",
2062
+ "output": "45.0",
2063
+ "cache_read": "1.0",
2064
+ "cache_write": "0.0"
2065
+ }
2066
+ ]
2067
+ }
2068
+ },
2069
+ {
2070
+ "provider": "openai",
2071
+ "id": "gpt-5.5-pro",
2072
+ "name": "GPT-5.5 Pro",
2073
+ "source": "models_dev",
2074
+ "release_date": "2026-04-23",
2075
+ "last_updated": "2026-04-23",
2076
+ "context_window": 1050000,
2077
+ "max_output_tokens": 128000,
2078
+ "input_modalities": [
2079
+ "text",
2080
+ "image",
2081
+ "pdf"
2082
+ ],
2083
+ "output_modalities": [
2084
+ "text"
2085
+ ],
2086
+ "capabilities": {
2087
+ "text_generation": true,
2088
+ "tool_calling": true,
2089
+ "structured_output": true,
2090
+ "reasoning": true
2091
+ },
2092
+ "reasoning_controls": [
2093
+ {
2094
+ "type": "effort",
2095
+ "values": [
2096
+ "medium",
2097
+ "high",
2098
+ "xhigh"
2099
+ ]
2100
+ }
2101
+ ],
2102
+ "pricing": {
2103
+ "input": "30",
2104
+ "output": "180",
2105
+ "cache_read": "0",
2106
+ "cache_write": "0",
2107
+ "tiers": [
2108
+ {
2109
+ "input_tokens_above": 272000,
2110
+ "input": "60.0",
2111
+ "output": "270.0",
2112
+ "cache_read": "0.0",
2113
+ "cache_write": "0.0"
2114
+ }
2115
+ ]
2116
+ }
2117
+ },
2118
+ {
2119
+ "provider": "openai",
2120
+ "id": "gpt-5.6",
2121
+ "name": "GPT-5.6",
2122
+ "source": "models_dev",
2123
+ "release_date": "2026-07-09",
2124
+ "last_updated": "2026-07-09",
2125
+ "context_window": 1050000,
2126
+ "max_output_tokens": 128000,
2127
+ "input_modalities": [
2128
+ "text",
2129
+ "image",
2130
+ "pdf"
2131
+ ],
2132
+ "output_modalities": [
2133
+ "text"
2134
+ ],
2135
+ "capabilities": {
2136
+ "text_generation": true,
2137
+ "tool_calling": true,
2138
+ "structured_output": true,
2139
+ "reasoning": true
2140
+ },
2141
+ "reasoning_controls": [
2142
+ {
2143
+ "type": "effort",
2144
+ "values": [
2145
+ "none",
2146
+ "low",
2147
+ "medium",
2148
+ "high",
2149
+ "xhigh",
2150
+ "max"
2151
+ ]
2152
+ }
2153
+ ],
2154
+ "pricing": {
2155
+ "input": "4",
2156
+ "output": "20",
2157
+ "cache_read": "0.4",
2158
+ "cache_write": "5"
2159
+ }
2160
+ },
2161
+ {
2162
+ "provider": "openai",
2163
+ "id": "gpt-5.6-luna",
2164
+ "name": "GPT-5.6 Luna",
2165
+ "source": "models_dev",
2166
+ "release_date": "2026-07-09",
2167
+ "last_updated": "2026-07-09",
2168
+ "context_window": 1050000,
2169
+ "max_output_tokens": 128000,
2170
+ "input_modalities": [
2171
+ "text",
2172
+ "image",
2173
+ "pdf"
2174
+ ],
2175
+ "output_modalities": [
2176
+ "text"
2177
+ ],
2178
+ "capabilities": {
2179
+ "text_generation": true,
2180
+ "tool_calling": true,
2181
+ "structured_output": true,
2182
+ "reasoning": true
2183
+ },
2184
+ "reasoning_controls": [
2185
+ {
2186
+ "type": "effort",
2187
+ "values": [
2188
+ "none",
2189
+ "low",
2190
+ "medium",
2191
+ "high",
2192
+ "xhigh",
2193
+ "max"
2194
+ ]
2195
+ }
2196
+ ],
2197
+ "pricing": {
2198
+ "input": "0.2",
2199
+ "output": "1.2",
2200
+ "cache_read": "0.02",
2201
+ "cache_write": "0.25",
2202
+ "tiers": [
2203
+ {
2204
+ "input_tokens_above": 272000,
2205
+ "input": "0.4",
2206
+ "output": "1.8",
2207
+ "cache_read": "0.04",
2208
+ "cache_write": "0.5"
2209
+ }
2210
+ ]
2211
+ }
2212
+ },
2213
+ {
2214
+ "provider": "openai",
2215
+ "id": "gpt-5.6-sol",
2216
+ "name": "GPT-5.6 Sol",
2217
+ "source": "models_dev",
2218
+ "release_date": "2026-07-09",
2219
+ "last_updated": "2026-07-09",
2220
+ "context_window": 1050000,
2221
+ "max_output_tokens": 128000,
2222
+ "input_modalities": [
2223
+ "text",
2224
+ "image",
2225
+ "pdf"
2226
+ ],
2227
+ "output_modalities": [
2228
+ "text"
2229
+ ],
2230
+ "capabilities": {
2231
+ "text_generation": true,
2232
+ "tool_calling": true,
2233
+ "structured_output": true,
2234
+ "reasoning": true
2235
+ },
2236
+ "reasoning_controls": [
2237
+ {
2238
+ "type": "effort",
2239
+ "values": [
2240
+ "none",
2241
+ "low",
2242
+ "medium",
2243
+ "high",
2244
+ "xhigh",
2245
+ "max"
2246
+ ]
2247
+ }
2248
+ ],
2249
+ "pricing": {
2250
+ "input": "4",
2251
+ "output": "20",
2252
+ "cache_read": "0.4",
2253
+ "cache_write": "5",
2254
+ "tiers": [
2255
+ {
2256
+ "input_tokens_above": 272000,
2257
+ "input": "8.0",
2258
+ "output": "30.0",
2259
+ "cache_read": "0.8",
2260
+ "cache_write": "10.0"
2261
+ }
2262
+ ]
2263
+ }
2264
+ },
2265
+ {
2266
+ "provider": "openai",
2267
+ "id": "gpt-5.6-terra",
2268
+ "name": "GPT-5.6 Terra",
2269
+ "source": "models_dev",
2270
+ "release_date": "2026-07-09",
2271
+ "last_updated": "2026-07-09",
2272
+ "context_window": 1050000,
2273
+ "max_output_tokens": 128000,
2274
+ "input_modalities": [
2275
+ "text",
2276
+ "image",
2277
+ "pdf"
2278
+ ],
2279
+ "output_modalities": [
2280
+ "text"
2281
+ ],
2282
+ "capabilities": {
2283
+ "text_generation": true,
2284
+ "tool_calling": true,
2285
+ "structured_output": true,
2286
+ "reasoning": true
2287
+ },
2288
+ "reasoning_controls": [
2289
+ {
2290
+ "type": "effort",
2291
+ "values": [
2292
+ "none",
2293
+ "low",
2294
+ "medium",
2295
+ "high",
2296
+ "xhigh",
2297
+ "max"
2298
+ ]
2299
+ }
2300
+ ],
2301
+ "pricing": {
2302
+ "input": "2",
2303
+ "output": "12",
2304
+ "cache_read": "0.2",
2305
+ "cache_write": "2.5",
2306
+ "tiers": [
2307
+ {
2308
+ "input_tokens_above": 272000,
2309
+ "input": "4.0",
2310
+ "output": "18.0",
2311
+ "cache_read": "0.4",
2312
+ "cache_write": "5.0"
2313
+ }
2314
+ ]
2315
+ }
2316
+ },
2317
+ {
2318
+ "provider": "openai",
2319
+ "id": "gpt-6-astra",
2320
+ "name": "GPT-6 Astra",
2321
+ "source": "models_dev",
2322
+ "release_date": "2026-09-04",
2323
+ "last_updated": "2026-09-04",
2324
+ "context_window": 1050000,
2325
+ "max_output_tokens": 128000,
2326
+ "input_modalities": [
2327
+ "text",
2328
+ "image",
2329
+ "pdf"
2330
+ ],
2331
+ "output_modalities": [
2332
+ "text"
2333
+ ],
2334
+ "capabilities": {
2335
+ "text_generation": true,
2336
+ "tool_calling": true,
2337
+ "structured_output": true,
2338
+ "reasoning": true
2339
+ },
2340
+ "reasoning_controls": [
2341
+ {
2342
+ "type": "effort",
2343
+ "values": [
2344
+ "low",
2345
+ "medium",
2346
+ "high",
2347
+ "xhigh",
2348
+ "max"
2349
+ ]
2350
+ }
2351
+ ],
2352
+ "pricing": {
2353
+ "input": "10",
2354
+ "output": "50",
2355
+ "cache_read": "1",
2356
+ "cache_write": "12.5"
2357
+ }
2358
+ },
2359
+ {
2360
+ "provider": "openai",
2361
+ "id": "gpt-6-luna",
2362
+ "name": "GPT-6 Luna",
2363
+ "source": "models_dev",
2364
+ "release_date": "2026-09-22",
2365
+ "last_updated": "2026-09-22",
2366
+ "context_window": 1050000,
2367
+ "max_output_tokens": 128000,
2368
+ "input_modalities": [
2369
+ "text",
2370
+ "image",
2371
+ "pdf"
2372
+ ],
2373
+ "output_modalities": [
2374
+ "text"
2375
+ ],
2376
+ "capabilities": {
2377
+ "text_generation": true,
2378
+ "tool_calling": true,
2379
+ "structured_output": true,
2380
+ "reasoning": true
2381
+ },
2382
+ "reasoning_controls": [
2383
+ {
2384
+ "type": "effort",
2385
+ "values": [
2386
+ "none",
2387
+ "low",
2388
+ "medium",
2389
+ "high",
2390
+ "xhigh",
2391
+ "max"
2392
+ ]
2393
+ }
2394
+ ],
2395
+ "pricing": {
2396
+ "input": "0.1",
2397
+ "output": "0.5",
2398
+ "cache_read": "0.01",
2399
+ "cache_write": "0.125"
2400
+ }
2401
+ },
2402
+ {
2403
+ "provider": "openai",
2404
+ "id": "gpt-6-sol",
2405
+ "name": "GPT-6 Sol",
2406
+ "source": "models_dev",
2407
+ "release_date": "2026-09-22",
2408
+ "last_updated": "2026-09-22",
2409
+ "context_window": 1050000,
2410
+ "max_output_tokens": 128000,
2411
+ "input_modalities": [
2412
+ "text",
2413
+ "image",
2414
+ "pdf"
2415
+ ],
2416
+ "output_modalities": [
2417
+ "text"
2418
+ ],
2419
+ "capabilities": {
2420
+ "text_generation": true,
2421
+ "tool_calling": true,
2422
+ "structured_output": true,
2423
+ "reasoning": true
2424
+ },
2425
+ "reasoning_controls": [
2426
+ {
2427
+ "type": "effort",
2428
+ "values": [
2429
+ "none",
2430
+ "low",
2431
+ "medium",
2432
+ "high",
2433
+ "xhigh",
2434
+ "max"
2435
+ ]
2436
+ }
2437
+ ],
2438
+ "pricing": {
2439
+ "input": "2",
2440
+ "output": "10",
2441
+ "cache_read": "0.2",
2442
+ "cache_write": "2.5"
2443
+ }
2444
+ },
2445
+ {
2446
+ "provider": "openai",
2447
+ "id": "gpt-6.1-sol",
2448
+ "name": "GPT-6.1 Sol",
2449
+ "source": "models_dev",
2450
+ "release_date": "2026-09-29",
2451
+ "last_updated": "2026-09-29",
2452
+ "context_window": 1050000,
2453
+ "max_output_tokens": 128000,
2454
+ "input_modalities": [
2455
+ "text",
2456
+ "image",
2457
+ "pdf"
2458
+ ],
2459
+ "output_modalities": [
2460
+ "text"
2461
+ ],
2462
+ "capabilities": {
2463
+ "text_generation": true,
2464
+ "tool_calling": true,
2465
+ "structured_output": true,
2466
+ "reasoning": true
2467
+ },
2468
+ "reasoning_controls": [
2469
+ {
2470
+ "type": "effort",
2471
+ "values": [
2472
+ "low",
2473
+ "medium",
2474
+ "high",
2475
+ "xhigh",
2476
+ "max"
2477
+ ]
2478
+ }
2479
+ ],
2480
+ "pricing": {
2481
+ "input": "2",
2482
+ "output": "10",
2483
+ "cache_read": "0.1",
2484
+ "cache_write": "2.5"
2485
+ }
2486
+ },
2487
+ {
2488
+ "provider": "openai",
2489
+ "id": "gpt-6.1-terra",
2490
+ "name": "GPT-6.1 Terra",
2491
+ "source": "models_dev",
2492
+ "release_date": "2026-10-26",
2493
+ "last_updated": "2026-10-26",
2494
+ "context_window": 1050000,
2495
+ "max_output_tokens": 128000,
2496
+ "input_modalities": [
2497
+ "text",
2498
+ "image",
2499
+ "pdf"
2500
+ ],
2501
+ "output_modalities": [
2502
+ "text"
2503
+ ],
2504
+ "capabilities": {
2505
+ "text_generation": true,
2506
+ "tool_calling": true,
2507
+ "structured_output": true,
2508
+ "reasoning": true
2509
+ },
2510
+ "reasoning_controls": [
2511
+ {
2512
+ "type": "effort",
2513
+ "values": [
2514
+ "none",
2515
+ "low",
2516
+ "medium",
2517
+ "high",
2518
+ "xhigh",
2519
+ "max"
2520
+ ]
2521
+ }
2522
+ ],
2523
+ "pricing": {
2524
+ "input": "1",
2525
+ "output": "5",
2526
+ "cache_read": "0.05",
2527
+ "cache_write": "1.25"
2528
+ }
2529
+ },
2530
+ {
2531
+ "provider": "openai",
2532
+ "id": "gpt-daybreak-blue-latest",
2533
+ "name": "Daybreak Blue",
2534
+ "source": "models_dev",
2535
+ "release_date": "2026-08-07",
2536
+ "last_updated": "2026-08-07",
2537
+ "context_window": 1050000,
2538
+ "max_output_tokens": 128000,
2539
+ "input_modalities": [
2540
+ "text",
2541
+ "image",
2542
+ "pdf"
2543
+ ],
2544
+ "output_modalities": [
2545
+ "text"
2546
+ ],
2547
+ "capabilities": {
2548
+ "text_generation": true,
2549
+ "tool_calling": true,
2550
+ "structured_output": true,
2551
+ "reasoning": true
2552
+ },
2553
+ "reasoning_controls": [
2554
+ {
2555
+ "type": "effort",
2556
+ "values": [
2557
+ "none",
2558
+ "low",
2559
+ "medium",
2560
+ "high",
2561
+ "xhigh",
2562
+ "max"
2563
+ ]
2564
+ }
2565
+ ],
2566
+ "pricing": {
2567
+ "input": "4",
2568
+ "output": "20",
2569
+ "cache_read": "0.4",
2570
+ "cache_write": "5"
2571
+ }
2572
+ },
2573
+ {
2574
+ "provider": "openai",
2575
+ "id": "gpt-daybreak-red-latest",
2576
+ "name": "Daybreak Red",
2577
+ "source": "models_dev",
2578
+ "release_date": "2026-08-07",
2579
+ "last_updated": "2026-08-07",
2580
+ "context_window": 400000,
2581
+ "max_output_tokens": 128000,
2582
+ "input_modalities": [
2583
+ "text",
2584
+ "image"
2585
+ ],
2586
+ "output_modalities": [
2587
+ "text"
2588
+ ],
2589
+ "capabilities": {
2590
+ "text_generation": true,
2591
+ "tool_calling": true,
2592
+ "structured_output": true,
2593
+ "reasoning": true
2594
+ },
2595
+ "reasoning_controls": [
2596
+ {
2597
+ "type": "effort",
2598
+ "values": [
2599
+ "none",
2600
+ "low",
2601
+ "medium",
2602
+ "high",
2603
+ "xhigh",
2604
+ "max"
2605
+ ]
2606
+ }
2607
+ ],
2608
+ "pricing": {
2609
+ "input": "12.5",
2610
+ "output": "75",
2611
+ "cache_read": "1.25",
2612
+ "cache_write": "15.625"
2613
+ }
2614
+ },
2615
+ {
2616
+ "provider": "openai",
2617
+ "id": "gpt-image-1-mini",
2618
+ "name": "gpt-image-1-mini",
2619
+ "source": "models_dev",
2620
+ "release_date": "2025-09-26",
2621
+ "last_updated": "2025-09-26",
2622
+ "context_window": 0,
2623
+ "max_output_tokens": 0,
2624
+ "input_modalities": [
2625
+ "text",
2626
+ "image"
2627
+ ],
2628
+ "output_modalities": [
2629
+ "text",
2630
+ "image"
2631
+ ],
2632
+ "capabilities": {
2633
+ "text_generation": false,
2634
+ "tool_calling": false,
2635
+ "structured_output": null,
2636
+ "reasoning": false
2637
+ }
2638
+ },
2639
+ {
2640
+ "provider": "openai",
2641
+ "id": "gpt-image-1.5",
2642
+ "name": "gpt-image-1.5",
2643
+ "source": "models_dev",
2644
+ "release_date": "2025-11-25",
2645
+ "last_updated": "2025-11-25",
2646
+ "context_window": 0,
2647
+ "max_output_tokens": 0,
2648
+ "input_modalities": [
2649
+ "text",
2650
+ "image"
2651
+ ],
2652
+ "output_modalities": [
2653
+ "text",
2654
+ "image"
2655
+ ],
2656
+ "capabilities": {
2657
+ "text_generation": false,
2658
+ "tool_calling": false,
2659
+ "structured_output": null,
2660
+ "reasoning": false
2661
+ }
2662
+ },
2663
+ {
2664
+ "provider": "openai",
2665
+ "id": "gpt-image-2",
2666
+ "name": "gpt-image-2",
2667
+ "source": "models_dev",
2668
+ "release_date": "2026-04-21",
2669
+ "last_updated": "2026-04-21",
2670
+ "context_window": 0,
2671
+ "max_output_tokens": 0,
2672
+ "input_modalities": [
2673
+ "text",
2674
+ "image"
2675
+ ],
2676
+ "output_modalities": [
2677
+ "image"
2678
+ ],
2679
+ "capabilities": {
2680
+ "text_generation": false,
2681
+ "tool_calling": false,
2682
+ "structured_output": null,
2683
+ "reasoning": false
2684
+ },
2685
+ "pricing": {
2686
+ "input": "5",
2687
+ "output": "30",
2688
+ "cache_read": "1.25",
2689
+ "cache_write": "0"
2690
+ }
2691
+ },
2692
+ {
2693
+ "provider": "openai",
2694
+ "id": "gpt-realtime-2.1",
2695
+ "name": "GPT-Realtime-2.1",
2696
+ "source": "models_dev",
2697
+ "release_date": "2026-07-06",
2698
+ "last_updated": "2026-07-06",
2699
+ "context_window": 128000,
2700
+ "max_output_tokens": 32000,
2701
+ "input_modalities": [
2702
+ "text",
2703
+ "audio",
2704
+ "image"
2705
+ ],
2706
+ "output_modalities": [
2707
+ "text",
2708
+ "audio"
2709
+ ],
2710
+ "capabilities": {
2711
+ "text_generation": true,
2712
+ "tool_calling": true,
2713
+ "structured_output": false,
2714
+ "reasoning": true
2715
+ },
2716
+ "reasoning_controls": [
2717
+ {
2718
+ "type": "effort",
2719
+ "values": [
2720
+ "minimal",
2721
+ "low",
2722
+ "medium",
2723
+ "high",
2724
+ "xhigh"
2725
+ ]
2726
+ }
2727
+ ],
2728
+ "pricing": {
2729
+ "input": "4",
2730
+ "output": "24",
2731
+ "cache_read": "0.4",
2732
+ "cache_write": "0"
2733
+ }
2734
+ },
2735
+ {
2736
+ "provider": "openai",
2737
+ "id": "o1",
2738
+ "name": "o1",
2739
+ "source": "models_dev",
2740
+ "release_date": "2024-12-05",
2741
+ "last_updated": "2024-12-05",
2742
+ "context_window": 200000,
2743
+ "max_output_tokens": 100000,
2744
+ "input_modalities": [
2745
+ "text",
2746
+ "image",
2747
+ "pdf"
2748
+ ],
2749
+ "output_modalities": [
2750
+ "text"
2751
+ ],
2752
+ "capabilities": {
2753
+ "text_generation": true,
2754
+ "tool_calling": true,
2755
+ "structured_output": true,
2756
+ "reasoning": true
2757
+ },
2758
+ "reasoning_controls": [
2759
+ {
2760
+ "type": "effort",
2761
+ "values": [
2762
+ "low",
2763
+ "medium",
2764
+ "high"
2765
+ ]
2766
+ }
2767
+ ],
2768
+ "pricing": {
2769
+ "input": "15",
2770
+ "output": "60",
2771
+ "cache_read": "7.5",
2772
+ "cache_write": "0"
2773
+ }
2774
+ },
2775
+ {
2776
+ "provider": "openai",
2777
+ "id": "o1-pro",
2778
+ "name": "o1-pro",
2779
+ "source": "models_dev",
2780
+ "release_date": "2025-03-19",
2781
+ "last_updated": "2025-03-19",
2782
+ "context_window": 200000,
2783
+ "max_output_tokens": 100000,
2784
+ "input_modalities": [
2785
+ "text",
2786
+ "image"
2787
+ ],
2788
+ "output_modalities": [
2789
+ "text"
2790
+ ],
2791
+ "capabilities": {
2792
+ "text_generation": true,
2793
+ "tool_calling": true,
2794
+ "structured_output": true,
2795
+ "reasoning": true
2796
+ },
2797
+ "reasoning_controls": [
2798
+ {
2799
+ "type": "effort",
2800
+ "values": [
2801
+ "low",
2802
+ "medium",
2803
+ "high"
2804
+ ]
2805
+ }
2806
+ ],
2807
+ "pricing": {
2808
+ "input": "150",
2809
+ "output": "600",
2810
+ "cache_read": "0",
2811
+ "cache_write": "0"
2812
+ }
2813
+ },
2814
+ {
2815
+ "provider": "openai",
2816
+ "id": "o3",
2817
+ "name": "o3",
2818
+ "source": "models_dev",
2819
+ "release_date": "2025-04-16",
2820
+ "last_updated": "2025-04-16",
2821
+ "context_window": 200000,
2822
+ "max_output_tokens": 100000,
2823
+ "input_modalities": [
2824
+ "text",
2825
+ "image",
2826
+ "pdf"
2827
+ ],
2828
+ "output_modalities": [
2829
+ "text"
2830
+ ],
2831
+ "capabilities": {
2832
+ "text_generation": true,
2833
+ "tool_calling": true,
2834
+ "structured_output": true,
2835
+ "reasoning": true
2836
+ },
2837
+ "reasoning_controls": [
2838
+ {
2839
+ "type": "effort",
2840
+ "values": [
2841
+ "low",
2842
+ "medium",
2843
+ "high"
2844
+ ]
2845
+ }
2846
+ ],
2847
+ "pricing": {
2848
+ "input": "2",
2849
+ "output": "8",
2850
+ "cache_read": "0.5",
2851
+ "cache_write": "0"
2852
+ }
2853
+ },
2854
+ {
2855
+ "provider": "openai",
2856
+ "id": "o3-mini",
2857
+ "name": "o3-mini",
2858
+ "source": "models_dev",
2859
+ "release_date": "2024-12-20",
2860
+ "last_updated": "2025-01-29",
2861
+ "context_window": 200000,
2862
+ "max_output_tokens": 100000,
2863
+ "input_modalities": [
2864
+ "text"
2865
+ ],
2866
+ "output_modalities": [
2867
+ "text"
2868
+ ],
2869
+ "capabilities": {
2870
+ "text_generation": true,
2871
+ "tool_calling": true,
2872
+ "structured_output": true,
2873
+ "reasoning": true
2874
+ },
2875
+ "reasoning_controls": [
2876
+ {
2877
+ "type": "effort",
2878
+ "values": [
2879
+ "low",
2880
+ "medium",
2881
+ "high"
2882
+ ]
2883
+ }
2884
+ ],
2885
+ "pricing": {
2886
+ "input": "1.1",
2887
+ "output": "4.4",
2888
+ "cache_read": "0.55",
2889
+ "cache_write": "0"
2890
+ }
2891
+ },
2892
+ {
2893
+ "provider": "openai",
2894
+ "id": "o3-pro",
2895
+ "name": "o3-pro",
2896
+ "source": "models_dev",
2897
+ "release_date": "2025-06-10",
2898
+ "last_updated": "2025-06-10",
2899
+ "context_window": 200000,
2900
+ "max_output_tokens": 100000,
2901
+ "input_modalities": [
2902
+ "text",
2903
+ "image"
2904
+ ],
2905
+ "output_modalities": [
2906
+ "text"
2907
+ ],
2908
+ "capabilities": {
2909
+ "text_generation": true,
2910
+ "tool_calling": true,
2911
+ "structured_output": true,
2912
+ "reasoning": true
2913
+ },
2914
+ "reasoning_controls": [
2915
+ {
2916
+ "type": "effort",
2917
+ "values": [
2918
+ "low",
2919
+ "medium",
2920
+ "high"
2921
+ ]
2922
+ }
2923
+ ],
2924
+ "pricing": {
2925
+ "input": "20",
2926
+ "output": "80",
2927
+ "cache_read": "0",
2928
+ "cache_write": "0"
2929
+ }
2930
+ },
2931
+ {
2932
+ "provider": "openai",
2933
+ "id": "o4-mini",
2934
+ "name": "o4-mini",
2935
+ "source": "models_dev",
2936
+ "release_date": "2025-04-16",
2937
+ "last_updated": "2025-04-16",
2938
+ "context_window": 200000,
2939
+ "max_output_tokens": 100000,
2940
+ "input_modalities": [
2941
+ "text",
2942
+ "image"
2943
+ ],
2944
+ "output_modalities": [
2945
+ "text"
2946
+ ],
2947
+ "capabilities": {
2948
+ "text_generation": true,
2949
+ "tool_calling": true,
2950
+ "structured_output": true,
2951
+ "reasoning": true
2952
+ },
2953
+ "reasoning_controls": [
2954
+ {
2955
+ "type": "effort",
2956
+ "values": [
2957
+ "low",
2958
+ "medium",
2959
+ "high"
2960
+ ]
2961
+ }
2962
+ ],
2963
+ "pricing": {
2964
+ "input": "1.1",
2965
+ "output": "4.4",
2966
+ "cache_read": "0.275",
2967
+ "cache_write": "0"
2968
+ }
2969
+ },
2970
+ {
2971
+ "provider": "openai",
2972
+ "id": "text-embedding-3-large",
2973
+ "name": "text-embedding-3-large",
2974
+ "source": "models_dev",
2975
+ "release_date": "2024-01-25",
2976
+ "last_updated": "2024-01-25",
2977
+ "context_window": 8191,
2978
+ "max_output_tokens": 3072,
2979
+ "input_modalities": [
2980
+ "text"
2981
+ ],
2982
+ "output_modalities": [
2983
+ "text"
2984
+ ],
2985
+ "capabilities": {
2986
+ "text_generation": false,
2987
+ "tool_calling": false,
2988
+ "structured_output": null,
2989
+ "reasoning": false
2990
+ },
2991
+ "pricing": {
2992
+ "input": "0.13",
2993
+ "output": "0",
2994
+ "cache_read": "0",
2995
+ "cache_write": "0"
2996
+ }
2997
+ },
2998
+ {
2999
+ "provider": "openai",
3000
+ "id": "text-embedding-3-small",
3001
+ "name": "text-embedding-3-small",
3002
+ "source": "models_dev",
3003
+ "release_date": "2024-01-25",
3004
+ "last_updated": "2024-01-25",
3005
+ "context_window": 8191,
3006
+ "max_output_tokens": 1536,
3007
+ "input_modalities": [
3008
+ "text"
3009
+ ],
3010
+ "output_modalities": [
3011
+ "text"
3012
+ ],
3013
+ "capabilities": {
3014
+ "text_generation": false,
3015
+ "tool_calling": false,
3016
+ "structured_output": null,
3017
+ "reasoning": false
3018
+ },
3019
+ "pricing": {
3020
+ "input": "0.02",
3021
+ "output": "0",
3022
+ "cache_read": "0",
3023
+ "cache_write": "0"
3024
+ }
3025
+ },
3026
+ {
3027
+ "provider": "openai",
3028
+ "id": "text-embedding-ada-002",
3029
+ "name": "text-embedding-ada-002",
3030
+ "source": "models_dev",
3031
+ "release_date": "2022-12-15",
3032
+ "last_updated": "2022-12-15",
3033
+ "context_window": 8192,
3034
+ "max_output_tokens": 1536,
3035
+ "input_modalities": [
3036
+ "text"
3037
+ ],
3038
+ "output_modalities": [
3039
+ "text"
3040
+ ],
3041
+ "capabilities": {
3042
+ "text_generation": false,
3043
+ "tool_calling": false,
3044
+ "structured_output": null,
3045
+ "reasoning": false
3046
+ },
3047
+ "pricing": {
3048
+ "input": "0.1",
3049
+ "output": "0",
3050
+ "cache_read": "0",
3051
+ "cache_write": "0"
3052
+ }
3053
+ }
3054
+ ]
3055
+ }