llm.rb 11.3.1 → 12.0.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 (57) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +242 -1
  3. data/LICENSE +92 -17
  4. data/README.md +204 -623
  5. data/data/anthropic.json +433 -249
  6. data/data/bedrock.json +2097 -1055
  7. data/data/deepinfra.json +993 -0
  8. data/data/deepseek.json +53 -28
  9. data/data/google.json +389 -771
  10. data/data/openai.json +1053 -771
  11. data/data/xai.json +133 -292
  12. data/data/zai.json +249 -141
  13. data/lib/llm/active_record/acts_as_agent.rb +3 -41
  14. data/lib/llm/active_record/acts_as_llm.rb +18 -0
  15. data/lib/llm/active_record.rb +3 -3
  16. data/lib/llm/context.rb +9 -5
  17. data/lib/llm/contract/completion.rb +2 -2
  18. data/lib/llm/provider.rb +2 -2
  19. data/lib/llm/providers/deepinfra/audio.rb +66 -0
  20. data/lib/llm/providers/deepinfra/images.rb +90 -0
  21. data/lib/llm/providers/deepinfra/response_adapter.rb +36 -0
  22. data/lib/llm/providers/deepinfra.rb +100 -0
  23. data/lib/llm/providers/deepseek/images.rb +109 -0
  24. data/lib/llm/providers/deepseek/request_adapter.rb +32 -0
  25. data/lib/llm/providers/deepseek/response_adapter/image.rb +9 -0
  26. data/lib/llm/providers/deepseek/response_adapter.rb +29 -0
  27. data/lib/llm/providers/deepseek.rb +4 -2
  28. data/lib/llm/providers/google/request_adapter.rb +22 -5
  29. data/lib/llm/providers/google.rb +4 -4
  30. data/lib/llm/providers/openai/audio.rb +6 -2
  31. data/lib/llm/providers/openai/images.rb +9 -50
  32. data/lib/llm/providers/openai/request_adapter/respond.rb +38 -4
  33. data/lib/llm/providers/openai/response_adapter/audio.rb +5 -1
  34. data/lib/llm/providers/openai/response_adapter/completion.rb +1 -1
  35. data/lib/llm/providers/openai/response_adapter/image.rb +0 -4
  36. data/lib/llm/providers/openai/responses.rb +1 -0
  37. data/lib/llm/providers/openai/stream_parser.rb +5 -6
  38. data/lib/llm/providers/openai.rb +2 -2
  39. data/lib/llm/providers/xai/images.rb +49 -26
  40. data/lib/llm/providers/xai.rb +2 -2
  41. data/lib/llm/response.rb +10 -0
  42. data/lib/llm/schema/leaf.rb +7 -1
  43. data/lib/llm/schema/renderer.rb +121 -0
  44. data/lib/llm/schema.rb +30 -0
  45. data/lib/llm/sequel/agent.rb +2 -43
  46. data/lib/llm/sequel/plugin.rb +25 -7
  47. data/lib/llm/tracer/telemetry.rb +4 -6
  48. data/lib/llm/tracer.rb +9 -21
  49. data/lib/llm/transport/execution.rb +16 -1
  50. data/lib/llm/transport/net_http_adapter.rb +1 -1
  51. data/lib/llm/uridata.rb +16 -0
  52. data/lib/llm/version.rb +1 -1
  53. data/lib/llm.rb +9 -0
  54. data/llm.gemspec +5 -18
  55. data/resources/deepdive.md +798 -264
  56. metadata +15 -18
  57. data/lib/llm/tracer/langsmith.rb +0 -144
data/data/openai.json CHANGED
@@ -7,6 +7,49 @@
7
7
  "name": "OpenAI",
8
8
  "doc": "https://platform.openai.com/docs/models",
9
9
  "models": {
10
+ "o3": {
11
+ "id": "o3",
12
+ "name": "o3",
13
+ "family": "o",
14
+ "attachment": true,
15
+ "reasoning": true,
16
+ "reasoning_options": [
17
+ {
18
+ "type": "effort",
19
+ "values": [
20
+ "low",
21
+ "medium",
22
+ "high"
23
+ ]
24
+ }
25
+ ],
26
+ "tool_call": true,
27
+ "structured_output": true,
28
+ "temperature": false,
29
+ "knowledge": "2024-05",
30
+ "release_date": "2025-04-16",
31
+ "last_updated": "2025-04-16",
32
+ "modalities": {
33
+ "input": [
34
+ "text",
35
+ "image",
36
+ "pdf"
37
+ ],
38
+ "output": [
39
+ "text"
40
+ ]
41
+ },
42
+ "open_weights": false,
43
+ "limit": {
44
+ "context": 200000,
45
+ "output": 100000
46
+ },
47
+ "cost": {
48
+ "input": 2,
49
+ "output": 8,
50
+ "cache_read": 0.5
51
+ }
52
+ },
10
53
  "text-embedding-3-large": {
11
54
  "id": "text-embedding-3-large",
12
55
  "name": "text-embedding-3-large",
@@ -36,23 +79,32 @@
36
79
  "output": 0
37
80
  }
38
81
  },
39
- "gpt-4o": {
40
- "id": "gpt-4o",
41
- "name": "GPT-4o",
42
- "family": "gpt",
82
+ "gpt-5.2-pro": {
83
+ "id": "gpt-5.2-pro",
84
+ "name": "GPT-5.2 Pro",
85
+ "family": "gpt-pro",
43
86
  "attachment": true,
44
- "reasoning": false,
87
+ "reasoning": true,
88
+ "reasoning_options": [
89
+ {
90
+ "type": "effort",
91
+ "values": [
92
+ "medium",
93
+ "high",
94
+ "xhigh"
95
+ ]
96
+ }
97
+ ],
45
98
  "tool_call": true,
46
- "structured_output": true,
47
- "temperature": true,
48
- "knowledge": "2023-09",
49
- "release_date": "2024-05-13",
50
- "last_updated": "2024-08-06",
99
+ "structured_output": false,
100
+ "temperature": false,
101
+ "knowledge": "2025-08-31",
102
+ "release_date": "2025-12-11",
103
+ "last_updated": "2025-12-11",
51
104
  "modalities": {
52
105
  "input": [
53
106
  "text",
54
- "image",
55
- "pdf"
107
+ "image"
56
108
  ],
57
109
  "output": [
58
110
  "text"
@@ -60,54 +112,38 @@
60
112
  },
61
113
  "open_weights": false,
62
114
  "limit": {
63
- "context": 128000,
64
- "output": 16384
115
+ "context": 400000,
116
+ "input": 272000,
117
+ "output": 128000
65
118
  },
66
119
  "cost": {
67
- "input": 2.5,
68
- "output": 10,
69
- "cache_read": 1.25
70
- }
71
- },
72
- "gpt-image-1-mini": {
73
- "id": "gpt-image-1-mini",
74
- "name": "gpt-image-1-mini",
75
- "family": "gpt-image",
76
- "attachment": true,
77
- "reasoning": false,
78
- "tool_call": false,
79
- "temperature": false,
80
- "release_date": "2025-09-26",
81
- "last_updated": "2025-09-26",
82
- "modalities": {
83
- "input": [
84
- "text",
85
- "image"
86
- ],
87
- "output": [
88
- "text",
89
- "image"
90
- ]
91
- },
92
- "open_weights": false,
93
- "limit": {
94
- "context": 0,
95
- "input": 0,
96
- "output": 0
120
+ "input": 21,
121
+ "output": 168
97
122
  }
98
123
  },
99
- "gpt-5.2": {
100
- "id": "gpt-5.2",
101
- "name": "GPT-5.2",
124
+ "gpt-5": {
125
+ "id": "gpt-5",
126
+ "name": "GPT-5",
102
127
  "family": "gpt",
103
128
  "attachment": true,
104
129
  "reasoning": true,
130
+ "reasoning_options": [
131
+ {
132
+ "type": "effort",
133
+ "values": [
134
+ "minimal",
135
+ "low",
136
+ "medium",
137
+ "high"
138
+ ]
139
+ }
140
+ ],
105
141
  "tool_call": true,
106
142
  "structured_output": true,
107
143
  "temperature": false,
108
- "knowledge": "2025-08-31",
109
- "release_date": "2025-12-11",
110
- "last_updated": "2025-12-11",
144
+ "knowledge": "2024-09-30",
145
+ "release_date": "2025-08-07",
146
+ "last_updated": "2025-08-07",
111
147
  "modalities": {
112
148
  "input": [
113
149
  "text",
@@ -124,9 +160,9 @@
124
160
  "output": 128000
125
161
  },
126
162
  "cost": {
127
- "input": 1.75,
128
- "output": 14,
129
- "cache_read": 0.175
163
+ "input": 1.25,
164
+ "output": 10,
165
+ "cache_read": 0.125
130
166
  }
131
167
  },
132
168
  "gpt-3.5-turbo": {
@@ -157,21 +193,29 @@
157
193
  "cost": {
158
194
  "input": 0.5,
159
195
  "output": 1.5,
160
- "cache_read": 1.25
196
+ "cache_read": 0
161
197
  }
162
198
  },
163
- "o3-pro": {
164
- "id": "o3-pro",
165
- "name": "o3-pro",
166
- "family": "o-pro",
199
+ "gpt-5-pro": {
200
+ "id": "gpt-5-pro",
201
+ "name": "GPT-5 Pro",
202
+ "family": "gpt-pro",
167
203
  "attachment": true,
168
204
  "reasoning": true,
205
+ "reasoning_options": [
206
+ {
207
+ "type": "effort",
208
+ "values": [
209
+ "high"
210
+ ]
211
+ }
212
+ ],
169
213
  "tool_call": true,
170
214
  "structured_output": true,
171
215
  "temperature": false,
172
- "knowledge": "2024-05",
173
- "release_date": "2025-06-10",
174
- "last_updated": "2025-06-10",
216
+ "knowledge": "2024-09-30",
217
+ "release_date": "2025-10-06",
218
+ "last_updated": "2025-10-06",
175
219
  "modalities": {
176
220
  "input": [
177
221
  "text",
@@ -183,28 +227,32 @@
183
227
  },
184
228
  "open_weights": false,
185
229
  "limit": {
186
- "context": 200000,
187
- "output": 100000
230
+ "context": 400000,
231
+ "input": 272000,
232
+ "output": 272000
188
233
  },
189
234
  "cost": {
190
- "input": 20,
191
- "output": 80
235
+ "input": 15,
236
+ "output": 120
192
237
  }
193
238
  },
194
- "o1-preview": {
195
- "id": "o1-preview",
196
- "name": "o1-preview",
197
- "family": "o",
198
- "attachment": false,
199
- "reasoning": true,
200
- "tool_call": false,
239
+ "gpt-4o": {
240
+ "id": "gpt-4o",
241
+ "name": "GPT-4o",
242
+ "family": "gpt",
243
+ "attachment": true,
244
+ "reasoning": false,
245
+ "tool_call": true,
246
+ "structured_output": true,
201
247
  "temperature": true,
202
248
  "knowledge": "2023-09",
203
- "release_date": "2024-09-12",
204
- "last_updated": "2024-09-12",
249
+ "release_date": "2024-05-13",
250
+ "last_updated": "2024-08-06",
205
251
  "modalities": {
206
252
  "input": [
207
- "text"
253
+ "text",
254
+ "image",
255
+ "pdf"
208
256
  ],
209
257
  "output": [
210
258
  "text"
@@ -213,30 +261,29 @@
213
261
  "open_weights": false,
214
262
  "limit": {
215
263
  "context": 128000,
216
- "output": 32768
264
+ "output": 16384
217
265
  },
218
266
  "cost": {
219
- "input": 15,
220
- "output": 60,
221
- "cache_read": 7.5
267
+ "input": 2.5,
268
+ "output": 10,
269
+ "cache_read": 1.25
222
270
  }
223
271
  },
224
- "gpt-5.4-nano": {
225
- "id": "gpt-5.4-nano",
226
- "name": "GPT-5.4 nano",
227
- "family": "gpt-nano",
272
+ "gpt-4": {
273
+ "id": "gpt-4",
274
+ "name": "GPT-4",
275
+ "family": "gpt",
228
276
  "attachment": true,
229
- "reasoning": true,
277
+ "reasoning": false,
230
278
  "tool_call": true,
231
- "structured_output": true,
232
- "temperature": false,
233
- "knowledge": "2025-08-31",
234
- "release_date": "2026-03-17",
235
- "last_updated": "2026-03-17",
279
+ "structured_output": false,
280
+ "temperature": true,
281
+ "knowledge": "2023-11",
282
+ "release_date": "2023-11-06",
283
+ "last_updated": "2024-04-09",
236
284
  "modalities": {
237
285
  "input": [
238
- "text",
239
- "image"
286
+ "text"
240
287
  ],
241
288
  "output": [
242
289
  "text"
@@ -244,28 +291,36 @@
244
291
  },
245
292
  "open_weights": false,
246
293
  "limit": {
247
- "context": 400000,
248
- "input": 272000,
249
- "output": 128000
294
+ "context": 8192,
295
+ "output": 8192
250
296
  },
251
297
  "cost": {
252
- "input": 0.2,
253
- "output": 1.25,
254
- "cache_read": 0.02
298
+ "input": 30,
299
+ "output": 60
255
300
  }
256
301
  },
257
- "gpt-5-chat-latest": {
258
- "id": "gpt-5-chat-latest",
259
- "name": "GPT-5 Chat (latest)",
260
- "family": "gpt-codex",
302
+ "o4-mini": {
303
+ "id": "o4-mini",
304
+ "name": "o4-mini",
305
+ "family": "o-mini",
261
306
  "attachment": true,
262
307
  "reasoning": true,
263
- "tool_call": false,
308
+ "reasoning_options": [
309
+ {
310
+ "type": "effort",
311
+ "values": [
312
+ "low",
313
+ "medium",
314
+ "high"
315
+ ]
316
+ }
317
+ ],
318
+ "tool_call": true,
264
319
  "structured_output": true,
265
- "temperature": true,
266
- "knowledge": "2024-09-30",
267
- "release_date": "2025-08-07",
268
- "last_updated": "2025-08-07",
320
+ "temperature": false,
321
+ "knowledge": "2024-05",
322
+ "release_date": "2025-04-16",
323
+ "last_updated": "2025-04-16",
269
324
  "modalities": {
270
325
  "input": [
271
326
  "text",
@@ -277,29 +332,41 @@
277
332
  },
278
333
  "open_weights": false,
279
334
  "limit": {
280
- "context": 400000,
281
- "input": 272000,
282
- "output": 128000
335
+ "context": 200000,
336
+ "output": 100000
283
337
  },
284
338
  "cost": {
285
- "input": 1.25,
286
- "output": 10
339
+ "input": 1.1,
340
+ "output": 4.4,
341
+ "cache_read": 0.275
287
342
  }
288
343
  },
289
- "text-embedding-ada-002": {
290
- "id": "text-embedding-ada-002",
291
- "name": "text-embedding-ada-002",
292
- "family": "text-embedding",
293
- "attachment": false,
294
- "reasoning": false,
295
- "tool_call": false,
344
+ "o3-pro": {
345
+ "id": "o3-pro",
346
+ "name": "o3-pro",
347
+ "family": "o-pro",
348
+ "attachment": true,
349
+ "reasoning": true,
350
+ "reasoning_options": [
351
+ {
352
+ "type": "effort",
353
+ "values": [
354
+ "low",
355
+ "medium",
356
+ "high"
357
+ ]
358
+ }
359
+ ],
360
+ "tool_call": true,
361
+ "structured_output": true,
296
362
  "temperature": false,
297
- "knowledge": "2022-12",
298
- "release_date": "2022-12-15",
299
- "last_updated": "2022-12-15",
363
+ "knowledge": "2024-05",
364
+ "release_date": "2025-06-10",
365
+ "last_updated": "2025-06-10",
300
366
  "modalities": {
301
367
  "input": [
302
- "text"
368
+ "text",
369
+ "image"
303
370
  ],
304
371
  "output": [
305
372
  "text"
@@ -307,73 +374,53 @@
307
374
  },
308
375
  "open_weights": false,
309
376
  "limit": {
310
- "context": 8192,
311
- "output": 1536
377
+ "context": 200000,
378
+ "output": 100000
312
379
  },
313
380
  "cost": {
314
- "input": 0.1,
315
- "output": 0
381
+ "input": 20,
382
+ "output": 80
316
383
  }
317
384
  },
318
- "gpt-5.5-pro": {
319
- "id": "gpt-5.5-pro",
320
- "name": "GPT-5.5 Pro",
321
- "family": "gpt-pro",
385
+ "chatgpt-image-latest": {
386
+ "id": "chatgpt-image-latest",
387
+ "name": "chatgpt-image-latest",
388
+ "family": "gpt-image",
322
389
  "attachment": true,
323
- "reasoning": true,
324
- "tool_call": true,
325
- "structured_output": true,
390
+ "reasoning": false,
391
+ "tool_call": false,
326
392
  "temperature": false,
327
- "knowledge": "2025-12-01",
328
- "release_date": "2026-04-23",
329
- "last_updated": "2026-04-23",
393
+ "release_date": "2025-12-16",
394
+ "last_updated": "2025-12-16",
330
395
  "modalities": {
331
396
  "input": [
332
397
  "text",
333
- "image",
334
- "pdf"
398
+ "image"
335
399
  ],
336
400
  "output": [
337
- "text"
401
+ "text",
402
+ "image"
338
403
  ]
339
404
  },
340
405
  "open_weights": false,
341
406
  "limit": {
342
- "context": 1050000,
343
- "input": 922000,
344
- "output": 128000
345
- },
346
- "cost": {
347
- "input": 30,
348
- "output": 180,
349
- "tiers": [
350
- {
351
- "input": 60,
352
- "output": 270,
353
- "tier": {
354
- "type": "context",
355
- "size": 272000
356
- }
357
- }
358
- ],
359
- "context_over_200k": {
360
- "input": 60,
361
- "output": 270
362
- }
407
+ "context": 0,
408
+ "input": 0,
409
+ "output": 0
363
410
  }
364
411
  },
365
- "gpt-5.1-codex-mini": {
366
- "id": "gpt-5.1-codex-mini",
367
- "name": "GPT-5.1 Codex mini",
368
- "family": "gpt-codex",
412
+ "gpt-4o-2024-05-13": {
413
+ "id": "gpt-4o-2024-05-13",
414
+ "name": "GPT-4o (2024-05-13)",
415
+ "family": "gpt",
369
416
  "attachment": true,
370
- "reasoning": true,
417
+ "reasoning": false,
371
418
  "tool_call": true,
372
419
  "structured_output": true,
373
- "temperature": false,
374
- "knowledge": "2024-09-30",
375
- "release_date": "2025-11-13",
376
- "last_updated": "2025-11-13",
420
+ "temperature": true,
421
+ "knowledge": "2023-09",
422
+ "release_date": "2024-05-13",
423
+ "last_updated": "2024-05-13",
377
424
  "modalities": {
378
425
  "input": [
379
426
  "text",
@@ -385,28 +432,38 @@
385
432
  },
386
433
  "open_weights": false,
387
434
  "limit": {
388
- "context": 400000,
389
- "input": 272000,
390
- "output": 128000
435
+ "context": 128000,
436
+ "output": 4096
391
437
  },
392
438
  "cost": {
393
- "input": 0.25,
394
- "output": 2,
395
- "cache_read": 0.025
439
+ "input": 5,
440
+ "output": 15
396
441
  }
397
442
  },
398
- "gpt-5.2-pro": {
399
- "id": "gpt-5.2-pro",
400
- "name": "GPT-5.2 Pro",
401
- "family": "gpt-pro",
443
+ "gpt-5.4-nano": {
444
+ "id": "gpt-5.4-nano",
445
+ "name": "GPT-5.4 nano",
446
+ "family": "gpt-nano",
402
447
  "attachment": true,
403
448
  "reasoning": true,
449
+ "reasoning_options": [
450
+ {
451
+ "type": "effort",
452
+ "values": [
453
+ "none",
454
+ "low",
455
+ "medium",
456
+ "high",
457
+ "xhigh"
458
+ ]
459
+ }
460
+ ],
404
461
  "tool_call": true,
405
- "structured_output": false,
462
+ "structured_output": true,
406
463
  "temperature": false,
407
464
  "knowledge": "2025-08-31",
408
- "release_date": "2025-12-11",
409
- "last_updated": "2025-12-11",
465
+ "release_date": "2026-03-17",
466
+ "last_updated": "2026-03-17",
410
467
  "modalities": {
411
468
  "input": [
412
469
  "text",
@@ -423,22 +480,24 @@
423
480
  "output": 128000
424
481
  },
425
482
  "cost": {
426
- "input": 21,
427
- "output": 168
483
+ "input": 0.2,
484
+ "output": 1.25,
485
+ "cache_read": 0.02
428
486
  }
429
487
  },
430
- "gpt-4o-2024-05-13": {
431
- "id": "gpt-4o-2024-05-13",
432
- "name": "GPT-4o (2024-05-13)",
433
- "family": "gpt",
488
+ "gpt-5-chat-latest": {
489
+ "id": "gpt-5-chat-latest",
490
+ "name": "GPT-5 Chat (latest)",
491
+ "family": "gpt-codex",
434
492
  "attachment": true,
435
- "reasoning": false,
436
- "tool_call": true,
493
+ "reasoning": true,
494
+ "reasoning_options": [],
495
+ "tool_call": false,
437
496
  "structured_output": true,
438
497
  "temperature": true,
439
- "knowledge": "2023-09",
440
- "release_date": "2024-05-13",
441
- "last_updated": "2024-05-13",
498
+ "knowledge": "2024-09-30",
499
+ "release_date": "2025-08-07",
500
+ "last_updated": "2025-08-07",
442
501
  "modalities": {
443
502
  "input": [
444
503
  "text",
@@ -450,39 +509,57 @@
450
509
  },
451
510
  "open_weights": false,
452
511
  "limit": {
453
- "context": 128000,
454
- "output": 4096
512
+ "context": 400000,
513
+ "input": 272000,
514
+ "output": 128000
455
515
  },
456
516
  "cost": {
457
- "input": 5,
458
- "output": 15
517
+ "input": 1.25,
518
+ "output": 10,
519
+ "cache_read": 0.125
459
520
  }
460
521
  },
461
- "chatgpt-image-latest": {
462
- "id": "chatgpt-image-latest",
463
- "name": "chatgpt-image-latest",
464
- "family": "gpt-image",
522
+ "gpt-5.1-codex": {
523
+ "id": "gpt-5.1-codex",
524
+ "name": "GPT-5.1 Codex",
525
+ "family": "gpt-codex",
465
526
  "attachment": true,
466
- "reasoning": false,
467
- "tool_call": false,
527
+ "reasoning": true,
528
+ "reasoning_options": [
529
+ {
530
+ "type": "effort",
531
+ "values": [
532
+ "low",
533
+ "medium",
534
+ "high"
535
+ ]
536
+ }
537
+ ],
538
+ "tool_call": true,
539
+ "structured_output": true,
468
540
  "temperature": false,
469
- "release_date": "2025-12-16",
470
- "last_updated": "2025-12-16",
541
+ "knowledge": "2024-09-30",
542
+ "release_date": "2025-11-13",
543
+ "last_updated": "2025-11-13",
471
544
  "modalities": {
472
545
  "input": [
473
546
  "text",
474
547
  "image"
475
548
  ],
476
549
  "output": [
477
- "text",
478
- "image"
550
+ "text"
479
551
  ]
480
552
  },
481
553
  "open_weights": false,
482
554
  "limit": {
483
- "context": 0,
484
- "input": 0,
485
- "output": 0
555
+ "context": 400000,
556
+ "input": 272000,
557
+ "output": 128000
558
+ },
559
+ "cost": {
560
+ "input": 1.25,
561
+ "output": 10,
562
+ "cache_read": 0.125
486
563
  }
487
564
  },
488
565
  "gpt-5.3-codex-spark": {
@@ -491,6 +568,18 @@
491
568
  "family": "gpt-codex-spark",
492
569
  "attachment": true,
493
570
  "reasoning": true,
571
+ "reasoning_options": [
572
+ {
573
+ "type": "effort",
574
+ "values": [
575
+ "none",
576
+ "low",
577
+ "medium",
578
+ "high",
579
+ "xhigh"
580
+ ]
581
+ }
582
+ ],
494
583
  "tool_call": true,
495
584
  "structured_output": true,
496
585
  "temperature": false,
@@ -519,18 +608,29 @@
519
608
  "cache_read": 0.175
520
609
  }
521
610
  },
522
- "gpt-5-codex": {
523
- "id": "gpt-5-codex",
524
- "name": "GPT-5-Codex",
611
+ "gpt-5.1-codex-max": {
612
+ "id": "gpt-5.1-codex-max",
613
+ "name": "GPT-5.1 Codex Max",
525
614
  "family": "gpt-codex",
526
- "attachment": false,
615
+ "attachment": true,
527
616
  "reasoning": true,
617
+ "reasoning_options": [
618
+ {
619
+ "type": "effort",
620
+ "values": [
621
+ "low",
622
+ "medium",
623
+ "high",
624
+ "xhigh"
625
+ ]
626
+ }
627
+ ],
528
628
  "tool_call": true,
529
629
  "structured_output": true,
530
630
  "temperature": false,
531
631
  "knowledge": "2024-09-30",
532
- "release_date": "2025-09-15",
533
- "last_updated": "2025-09-15",
632
+ "release_date": "2025-11-13",
633
+ "last_updated": "2025-11-13",
534
634
  "modalities": {
535
635
  "input": [
536
636
  "text",
@@ -552,18 +652,18 @@
552
652
  "cache_read": 0.125
553
653
  }
554
654
  },
555
- "gpt-5.1-chat-latest": {
556
- "id": "gpt-5.1-chat-latest",
557
- "name": "GPT-5.1 Chat",
558
- "family": "gpt-codex",
655
+ "gpt-5.3-chat-latest": {
656
+ "id": "gpt-5.3-chat-latest",
657
+ "name": "GPT-5.3 Chat (latest)",
658
+ "family": "gpt",
559
659
  "attachment": true,
560
- "reasoning": true,
660
+ "reasoning": false,
561
661
  "tool_call": true,
562
662
  "structured_output": true,
563
- "temperature": false,
564
- "knowledge": "2024-09-30",
565
- "release_date": "2025-11-13",
566
- "last_updated": "2025-11-13",
663
+ "temperature": true,
664
+ "knowledge": "2025-08-31",
665
+ "release_date": "2026-03-03",
666
+ "last_updated": "2026-03-03",
567
667
  "modalities": {
568
668
  "input": [
569
669
  "text",
@@ -579,55 +679,27 @@
579
679
  "output": 16384
580
680
  },
581
681
  "cost": {
582
- "input": 1.25,
583
- "output": 10,
584
- "cache_read": 0.125
585
- }
586
- },
587
- "gpt-image-1.5": {
588
- "id": "gpt-image-1.5",
589
- "name": "gpt-image-1.5",
590
- "family": "gpt-image",
591
- "attachment": true,
592
- "reasoning": false,
593
- "tool_call": false,
594
- "temperature": false,
595
- "release_date": "2025-11-25",
596
- "last_updated": "2025-11-25",
597
- "modalities": {
598
- "input": [
599
- "text",
600
- "image"
601
- ],
602
- "output": [
603
- "text",
604
- "image"
605
- ]
606
- },
607
- "open_weights": false,
608
- "limit": {
609
- "context": 0,
610
- "input": 0,
611
- "output": 0
682
+ "input": 1.75,
683
+ "output": 14,
684
+ "cache_read": 0.175
612
685
  }
613
686
  },
614
- "gpt-4.1": {
615
- "id": "gpt-4.1",
616
- "name": "GPT-4.1",
687
+ "gpt-4o-2024-08-06": {
688
+ "id": "gpt-4o-2024-08-06",
689
+ "name": "GPT-4o (2024-08-06)",
617
690
  "family": "gpt",
618
691
  "attachment": true,
619
692
  "reasoning": false,
620
693
  "tool_call": true,
621
694
  "structured_output": true,
622
695
  "temperature": true,
623
- "knowledge": "2024-04",
624
- "release_date": "2025-04-14",
625
- "last_updated": "2025-04-14",
696
+ "knowledge": "2023-09",
697
+ "release_date": "2024-08-06",
698
+ "last_updated": "2024-08-06",
626
699
  "modalities": {
627
700
  "input": [
628
701
  "text",
629
- "image",
630
- "pdf"
702
+ "image"
631
703
  ],
632
704
  "output": [
633
705
  "text"
@@ -635,26 +707,26 @@
635
707
  },
636
708
  "open_weights": false,
637
709
  "limit": {
638
- "context": 1047576,
639
- "output": 32768
710
+ "context": 128000,
711
+ "output": 16384
640
712
  },
641
713
  "cost": {
642
- "input": 2,
643
- "output": 8,
644
- "cache_read": 0.5
714
+ "input": 2.5,
715
+ "output": 10,
716
+ "cache_read": 1.25
645
717
  }
646
718
  },
647
- "text-embedding-3-small": {
648
- "id": "text-embedding-3-small",
649
- "name": "text-embedding-3-small",
719
+ "text-embedding-ada-002": {
720
+ "id": "text-embedding-ada-002",
721
+ "name": "text-embedding-ada-002",
650
722
  "family": "text-embedding",
651
723
  "attachment": false,
652
724
  "reasoning": false,
653
725
  "tool_call": false,
654
726
  "temperature": false,
655
- "knowledge": "2024-01",
656
- "release_date": "2024-01-25",
657
- "last_updated": "2024-01-25",
727
+ "knowledge": "2022-12",
728
+ "release_date": "2022-12-15",
729
+ "last_updated": "2022-12-15",
658
730
  "modalities": {
659
731
  "input": [
660
732
  "text"
@@ -665,30 +737,39 @@
665
737
  },
666
738
  "open_weights": false,
667
739
  "limit": {
668
- "context": 8191,
740
+ "context": 8192,
669
741
  "output": 1536
670
742
  },
671
743
  "cost": {
672
- "input": 0.02,
744
+ "input": 0.1,
673
745
  "output": 0
674
746
  }
675
747
  },
676
- "gpt-5-pro": {
677
- "id": "gpt-5-pro",
678
- "name": "GPT-5 Pro",
679
- "family": "gpt-pro",
680
- "attachment": true,
748
+ "o3-mini": {
749
+ "id": "o3-mini",
750
+ "name": "o3-mini",
751
+ "family": "o-mini",
752
+ "attachment": false,
681
753
  "reasoning": true,
754
+ "reasoning_options": [
755
+ {
756
+ "type": "effort",
757
+ "values": [
758
+ "low",
759
+ "medium",
760
+ "high"
761
+ ]
762
+ }
763
+ ],
682
764
  "tool_call": true,
683
765
  "structured_output": true,
684
766
  "temperature": false,
685
- "knowledge": "2024-09-30",
686
- "release_date": "2025-10-06",
687
- "last_updated": "2025-10-06",
767
+ "knowledge": "2024-05",
768
+ "release_date": "2024-12-20",
769
+ "last_updated": "2025-01-29",
688
770
  "modalities": {
689
771
  "input": [
690
- "text",
691
- "image"
772
+ "text"
692
773
  ],
693
774
  "output": [
694
775
  "text"
@@ -696,32 +777,43 @@
696
777
  },
697
778
  "open_weights": false,
698
779
  "limit": {
699
- "context": 400000,
700
- "input": 272000,
701
- "output": 272000
780
+ "context": 200000,
781
+ "output": 100000
702
782
  },
703
783
  "cost": {
704
- "input": 15,
705
- "output": 120
784
+ "input": 1.1,
785
+ "output": 4.4,
786
+ "cache_read": 0.55
706
787
  }
707
788
  },
708
- "gpt-4.1-mini": {
709
- "id": "gpt-4.1-mini",
710
- "name": "GPT-4.1 mini",
711
- "family": "gpt-mini",
789
+ "gpt-5.2": {
790
+ "id": "gpt-5.2",
791
+ "name": "GPT-5.2",
792
+ "family": "gpt",
712
793
  "attachment": true,
713
- "reasoning": false,
794
+ "reasoning": true,
795
+ "reasoning_options": [
796
+ {
797
+ "type": "effort",
798
+ "values": [
799
+ "none",
800
+ "low",
801
+ "medium",
802
+ "high",
803
+ "xhigh"
804
+ ]
805
+ }
806
+ ],
714
807
  "tool_call": true,
715
808
  "structured_output": true,
716
- "temperature": true,
717
- "knowledge": "2024-04",
718
- "release_date": "2025-04-14",
719
- "last_updated": "2025-04-14",
809
+ "temperature": false,
810
+ "knowledge": "2025-08-31",
811
+ "release_date": "2025-12-11",
812
+ "last_updated": "2025-12-11",
720
813
  "modalities": {
721
814
  "input": [
722
815
  "text",
723
- "image",
724
- "pdf"
816
+ "image"
725
817
  ],
726
818
  "output": [
727
819
  "text"
@@ -729,31 +821,45 @@
729
821
  },
730
822
  "open_weights": false,
731
823
  "limit": {
732
- "context": 1047576,
733
- "output": 32768
824
+ "context": 400000,
825
+ "input": 272000,
826
+ "output": 128000
734
827
  },
735
828
  "cost": {
736
- "input": 0.4,
737
- "output": 1.6,
738
- "cache_read": 0.1
829
+ "input": 1.75,
830
+ "output": 14,
831
+ "cache_read": 0.175
739
832
  }
740
833
  },
741
- "gpt-5.1": {
742
- "id": "gpt-5.1",
743
- "name": "GPT-5.1",
744
- "family": "gpt",
834
+ "gpt-5.3-codex": {
835
+ "id": "gpt-5.3-codex",
836
+ "name": "GPT-5.3 Codex",
837
+ "family": "gpt-codex",
745
838
  "attachment": true,
746
839
  "reasoning": true,
840
+ "reasoning_options": [
841
+ {
842
+ "type": "effort",
843
+ "values": [
844
+ "none",
845
+ "low",
846
+ "medium",
847
+ "high",
848
+ "xhigh"
849
+ ]
850
+ }
851
+ ],
747
852
  "tool_call": true,
748
853
  "structured_output": true,
749
854
  "temperature": false,
750
- "knowledge": "2024-09-30",
751
- "release_date": "2025-11-13",
752
- "last_updated": "2025-11-13",
855
+ "knowledge": "2025-08-31",
856
+ "release_date": "2026-02-05",
857
+ "last_updated": "2026-02-05",
753
858
  "modalities": {
754
859
  "input": [
755
860
  "text",
756
- "image"
861
+ "image",
862
+ "pdf"
757
863
  ],
758
864
  "output": [
759
865
  "text"
@@ -766,23 +872,62 @@
766
872
  "output": 128000
767
873
  },
768
874
  "cost": {
769
- "input": 1.25,
770
- "output": 10,
771
- "cache_read": 0.13
875
+ "input": 1.75,
876
+ "output": 14,
877
+ "cache_read": 0.175
772
878
  }
773
879
  },
774
- "gpt-5-nano": {
775
- "id": "gpt-5-nano",
776
- "name": "GPT-5 Nano",
777
- "family": "gpt-nano",
880
+ "text-embedding-3-small": {
881
+ "id": "text-embedding-3-small",
882
+ "name": "text-embedding-3-small",
883
+ "family": "text-embedding",
884
+ "attachment": false,
885
+ "reasoning": false,
886
+ "tool_call": false,
887
+ "temperature": false,
888
+ "knowledge": "2024-01",
889
+ "release_date": "2024-01-25",
890
+ "last_updated": "2024-01-25",
891
+ "modalities": {
892
+ "input": [
893
+ "text"
894
+ ],
895
+ "output": [
896
+ "text"
897
+ ]
898
+ },
899
+ "open_weights": false,
900
+ "limit": {
901
+ "context": 8191,
902
+ "output": 1536
903
+ },
904
+ "cost": {
905
+ "input": 0.02,
906
+ "output": 0
907
+ }
908
+ },
909
+ "gpt-5.1-codex-mini": {
910
+ "id": "gpt-5.1-codex-mini",
911
+ "name": "GPT-5.1 Codex mini",
912
+ "family": "gpt-codex",
778
913
  "attachment": true,
779
914
  "reasoning": true,
915
+ "reasoning_options": [
916
+ {
917
+ "type": "effort",
918
+ "values": [
919
+ "low",
920
+ "medium",
921
+ "high"
922
+ ]
923
+ }
924
+ ],
780
925
  "tool_call": true,
781
926
  "structured_output": true,
782
927
  "temperature": false,
783
- "knowledge": "2024-05-30",
784
- "release_date": "2025-08-07",
785
- "last_updated": "2025-08-07",
928
+ "knowledge": "2024-09-30",
929
+ "release_date": "2025-11-13",
930
+ "last_updated": "2025-11-13",
786
931
  "modalities": {
787
932
  "input": [
788
933
  "text",
@@ -799,28 +944,35 @@
799
944
  "output": 128000
800
945
  },
801
946
  "cost": {
802
- "input": 0.05,
803
- "output": 0.4,
804
- "cache_read": 0.005
947
+ "input": 0.25,
948
+ "output": 2,
949
+ "cache_read": 0.025
805
950
  }
806
951
  },
807
- "gpt-5.4": {
808
- "id": "gpt-5.4",
809
- "name": "GPT-5.4",
810
- "family": "gpt",
952
+ "gpt-5.1-chat-latest": {
953
+ "id": "gpt-5.1-chat-latest",
954
+ "name": "GPT-5.1 Chat",
955
+ "family": "gpt-codex",
811
956
  "attachment": true,
812
957
  "reasoning": true,
958
+ "reasoning_options": [
959
+ {
960
+ "type": "effort",
961
+ "values": [
962
+ "medium"
963
+ ]
964
+ }
965
+ ],
813
966
  "tool_call": true,
814
967
  "structured_output": true,
815
968
  "temperature": false,
816
- "knowledge": "2025-08-31",
817
- "release_date": "2026-03-05",
818
- "last_updated": "2026-03-05",
969
+ "knowledge": "2024-09-30",
970
+ "release_date": "2025-11-13",
971
+ "last_updated": "2025-11-13",
819
972
  "modalities": {
820
973
  "input": [
821
974
  "text",
822
- "image",
823
- "pdf"
975
+ "image"
824
976
  ],
825
977
  "output": [
826
978
  "text"
@@ -828,65 +980,39 @@
828
980
  },
829
981
  "open_weights": false,
830
982
  "limit": {
831
- "context": 1050000,
832
- "input": 922000,
833
- "output": 128000
834
- },
835
- "experimental": {
836
- "modes": {
837
- "fast": {
838
- "cost": {
839
- "input": 5,
840
- "output": 30,
841
- "cache_read": 0.5
842
- },
843
- "provider": {
844
- "body": {
845
- "service_tier": "priority"
846
- }
847
- }
848
- }
849
- }
983
+ "context": 128000,
984
+ "output": 16384
850
985
  },
851
986
  "cost": {
852
- "input": 2.5,
853
- "output": 15,
854
- "cache_read": 0.25,
855
- "tiers": [
856
- {
857
- "input": 5,
858
- "output": 22.5,
859
- "cache_read": 0.5,
860
- "tier": {
861
- "type": "context",
862
- "size": 272000
863
- }
864
- }
865
- ],
866
- "context_over_200k": {
867
- "input": 5,
868
- "output": 22.5,
869
- "cache_read": 0.5
870
- }
987
+ "input": 1.25,
988
+ "output": 10,
989
+ "cache_read": 0.125
871
990
  }
872
991
  },
873
- "gpt-4o-mini": {
874
- "id": "gpt-4o-mini",
875
- "name": "GPT-4o mini",
876
- "family": "gpt-mini",
992
+ "gpt-5.2-chat-latest": {
993
+ "id": "gpt-5.2-chat-latest",
994
+ "name": "GPT-5.2 Chat",
995
+ "family": "gpt-codex",
877
996
  "attachment": true,
878
- "reasoning": false,
997
+ "reasoning": true,
998
+ "reasoning_options": [
999
+ {
1000
+ "type": "effort",
1001
+ "values": [
1002
+ "medium"
1003
+ ]
1004
+ }
1005
+ ],
879
1006
  "tool_call": true,
880
1007
  "structured_output": true,
881
- "temperature": true,
882
- "knowledge": "2023-09",
883
- "release_date": "2024-07-18",
884
- "last_updated": "2024-07-18",
1008
+ "temperature": false,
1009
+ "knowledge": "2025-08-31",
1010
+ "release_date": "2025-12-11",
1011
+ "last_updated": "2025-12-11",
885
1012
  "modalities": {
886
1013
  "input": [
887
1014
  "text",
888
- "image",
889
- "pdf"
1015
+ "image"
890
1016
  ],
891
1017
  "output": [
892
1018
  "text"
@@ -898,23 +1024,30 @@
898
1024
  "output": 16384
899
1025
  },
900
1026
  "cost": {
901
- "input": 0.15,
902
- "output": 0.6,
903
- "cache_read": 0.08
1027
+ "input": 1.75,
1028
+ "output": 14,
1029
+ "cache_read": 0.175
904
1030
  }
905
1031
  },
906
- "o1-pro": {
907
- "id": "o1-pro",
908
- "name": "o1-pro",
909
- "family": "o-pro",
1032
+ "o4-mini-deep-research": {
1033
+ "id": "o4-mini-deep-research",
1034
+ "name": "o4-mini-deep-research",
1035
+ "family": "o-mini",
910
1036
  "attachment": true,
911
1037
  "reasoning": true,
1038
+ "reasoning_options": [
1039
+ {
1040
+ "type": "effort",
1041
+ "values": [
1042
+ "medium"
1043
+ ]
1044
+ }
1045
+ ],
912
1046
  "tool_call": true,
913
- "structured_output": true,
914
1047
  "temperature": false,
915
- "knowledge": "2023-09",
916
- "release_date": "2025-03-19",
917
- "last_updated": "2025-03-19",
1048
+ "knowledge": "2024-05",
1049
+ "release_date": "2024-06-26",
1050
+ "last_updated": "2024-06-26",
918
1051
  "modalities": {
919
1052
  "input": [
920
1053
  "text",
@@ -930,22 +1063,50 @@
930
1063
  "output": 100000
931
1064
  },
932
1065
  "cost": {
933
- "input": 150,
934
- "output": 600
1066
+ "input": 2,
1067
+ "output": 8,
1068
+ "cache_read": 0.5
935
1069
  }
936
1070
  },
937
- "gpt-4-turbo": {
938
- "id": "gpt-4-turbo",
939
- "name": "GPT-4 Turbo",
940
- "family": "gpt",
1071
+ "gpt-image-1.5": {
1072
+ "id": "gpt-image-1.5",
1073
+ "name": "gpt-image-1.5",
1074
+ "family": "gpt-image",
1075
+ "attachment": true,
1076
+ "reasoning": false,
1077
+ "tool_call": false,
1078
+ "temperature": false,
1079
+ "release_date": "2025-11-25",
1080
+ "last_updated": "2025-11-25",
1081
+ "modalities": {
1082
+ "input": [
1083
+ "text",
1084
+ "image"
1085
+ ],
1086
+ "output": [
1087
+ "text",
1088
+ "image"
1089
+ ]
1090
+ },
1091
+ "open_weights": false,
1092
+ "limit": {
1093
+ "context": 0,
1094
+ "input": 0,
1095
+ "output": 0
1096
+ }
1097
+ },
1098
+ "gpt-4.1-nano": {
1099
+ "id": "gpt-4.1-nano",
1100
+ "name": "GPT-4.1 nano",
1101
+ "family": "gpt-nano",
941
1102
  "attachment": true,
942
1103
  "reasoning": false,
943
1104
  "tool_call": true,
944
- "structured_output": false,
1105
+ "structured_output": true,
945
1106
  "temperature": true,
946
- "knowledge": "2023-12",
947
- "release_date": "2023-11-06",
948
- "last_updated": "2024-04-09",
1107
+ "knowledge": "2024-04",
1108
+ "release_date": "2025-04-14",
1109
+ "last_updated": "2025-04-14",
949
1110
  "modalities": {
950
1111
  "input": [
951
1112
  "text",
@@ -957,26 +1118,27 @@
957
1118
  },
958
1119
  "open_weights": false,
959
1120
  "limit": {
960
- "context": 128000,
961
- "output": 4096
1121
+ "context": 1047576,
1122
+ "output": 32768
962
1123
  },
963
1124
  "cost": {
964
- "input": 10,
965
- "output": 30
1125
+ "input": 0.1,
1126
+ "output": 0.4,
1127
+ "cache_read": 0.025
966
1128
  }
967
1129
  },
968
- "gpt-5.4-mini": {
969
- "id": "gpt-5.4-mini",
970
- "name": "GPT-5.4 mini",
971
- "family": "gpt-mini",
1130
+ "gpt-4o-2024-11-20": {
1131
+ "id": "gpt-4o-2024-11-20",
1132
+ "name": "GPT-4o (2024-11-20)",
1133
+ "family": "gpt",
972
1134
  "attachment": true,
973
- "reasoning": true,
1135
+ "reasoning": false,
974
1136
  "tool_call": true,
975
1137
  "structured_output": true,
976
- "temperature": false,
977
- "knowledge": "2025-08-31",
978
- "release_date": "2026-03-17",
979
- "last_updated": "2026-03-17",
1138
+ "temperature": true,
1139
+ "knowledge": "2023-09",
1140
+ "release_date": "2024-11-20",
1141
+ "last_updated": "2024-11-20",
980
1142
  "modalities": {
981
1143
  "input": [
982
1144
  "text",
@@ -988,30 +1150,13 @@
988
1150
  },
989
1151
  "open_weights": false,
990
1152
  "limit": {
991
- "context": 400000,
992
- "input": 272000,
993
- "output": 128000
994
- },
995
- "experimental": {
996
- "modes": {
997
- "fast": {
998
- "cost": {
999
- "input": 1.5,
1000
- "output": 9,
1001
- "cache_read": 0.15
1002
- },
1003
- "provider": {
1004
- "body": {
1005
- "service_tier": "priority"
1006
- }
1007
- }
1008
- }
1009
- }
1153
+ "context": 128000,
1154
+ "output": 16384
1010
1155
  },
1011
1156
  "cost": {
1012
- "input": 0.75,
1013
- "output": 4.5,
1014
- "cache_read": 0.075
1157
+ "input": 2.5,
1158
+ "output": 10,
1159
+ "cache_read": 1.25
1015
1160
  }
1016
1161
  },
1017
1162
  "o1": {
@@ -1020,6 +1165,16 @@
1020
1165
  "family": "o",
1021
1166
  "attachment": true,
1022
1167
  "reasoning": true,
1168
+ "reasoning_options": [
1169
+ {
1170
+ "type": "effort",
1171
+ "values": [
1172
+ "low",
1173
+ "medium",
1174
+ "high"
1175
+ ]
1176
+ }
1177
+ ],
1023
1178
  "tool_call": true,
1024
1179
  "structured_output": true,
1025
1180
  "temperature": false,
@@ -1047,18 +1202,28 @@
1047
1202
  "cache_read": 7.5
1048
1203
  }
1049
1204
  },
1050
- "gpt-5.1-codex-max": {
1051
- "id": "gpt-5.1-codex-max",
1052
- "name": "GPT-5.1 Codex Max",
1053
- "family": "gpt-codex",
1205
+ "o1-pro": {
1206
+ "id": "o1-pro",
1207
+ "name": "o1-pro",
1208
+ "family": "o-pro",
1054
1209
  "attachment": true,
1055
1210
  "reasoning": true,
1211
+ "reasoning_options": [
1212
+ {
1213
+ "type": "effort",
1214
+ "values": [
1215
+ "low",
1216
+ "medium",
1217
+ "high"
1218
+ ]
1219
+ }
1220
+ ],
1056
1221
  "tool_call": true,
1057
1222
  "structured_output": true,
1058
1223
  "temperature": false,
1059
- "knowledge": "2024-09-30",
1060
- "release_date": "2025-11-13",
1061
- "last_updated": "2025-11-13",
1224
+ "knowledge": "2023-09",
1225
+ "release_date": "2025-03-19",
1226
+ "last_updated": "2025-03-19",
1062
1227
  "modalities": {
1063
1228
  "input": [
1064
1229
  "text",
@@ -1070,28 +1235,38 @@
1070
1235
  },
1071
1236
  "open_weights": false,
1072
1237
  "limit": {
1073
- "context": 400000,
1074
- "input": 272000,
1075
- "output": 128000
1238
+ "context": 200000,
1239
+ "output": 100000
1076
1240
  },
1077
1241
  "cost": {
1078
- "input": 1.25,
1079
- "output": 10,
1080
- "cache_read": 0.125
1242
+ "input": 150,
1243
+ "output": 600
1081
1244
  }
1082
1245
  },
1083
- "gpt-5.5": {
1084
- "id": "gpt-5.5",
1085
- "name": "GPT-5.5",
1246
+ "gpt-5.4": {
1247
+ "id": "gpt-5.4",
1248
+ "name": "GPT-5.4",
1086
1249
  "family": "gpt",
1087
1250
  "attachment": true,
1088
1251
  "reasoning": true,
1252
+ "reasoning_options": [
1253
+ {
1254
+ "type": "effort",
1255
+ "values": [
1256
+ "none",
1257
+ "low",
1258
+ "medium",
1259
+ "high",
1260
+ "xhigh"
1261
+ ]
1262
+ }
1263
+ ],
1089
1264
  "tool_call": true,
1090
1265
  "structured_output": true,
1091
1266
  "temperature": false,
1092
- "knowledge": "2025-12-01",
1093
- "release_date": "2026-04-23",
1094
- "last_updated": "2026-04-23",
1267
+ "knowledge": "2025-08-31",
1268
+ "release_date": "2026-03-05",
1269
+ "last_updated": "2026-03-05",
1095
1270
  "modalities": {
1096
1271
  "input": [
1097
1272
  "text",
@@ -1112,9 +1287,9 @@
1112
1287
  "modes": {
1113
1288
  "fast": {
1114
1289
  "cost": {
1115
- "input": 12.5,
1116
- "output": 75,
1117
- "cache_read": 1.25
1290
+ "input": 5,
1291
+ "output": 30,
1292
+ "cache_read": 0.5
1118
1293
  },
1119
1294
  "provider": {
1120
1295
  "body": {
@@ -1125,116 +1300,51 @@
1125
1300
  }
1126
1301
  },
1127
1302
  "cost": {
1128
- "input": 5,
1129
- "output": 30,
1130
- "cache_read": 0.5,
1131
- "tiers": [
1132
- {
1133
- "input": 10,
1134
- "output": 45,
1135
- "cache_read": 1,
1136
- "tier": {
1137
- "type": "context",
1138
- "size": 272000
1139
- }
1140
- }
1141
- ],
1142
- "context_over_200k": {
1143
- "input": 10,
1144
- "output": 45,
1145
- "cache_read": 1
1146
- }
1147
- }
1148
- },
1149
- "gpt-5.4-pro": {
1150
- "id": "gpt-5.4-pro",
1151
- "name": "GPT-5.4 Pro",
1152
- "family": "gpt-pro",
1153
- "attachment": true,
1154
- "reasoning": true,
1155
- "tool_call": true,
1156
- "structured_output": false,
1157
- "temperature": false,
1158
- "knowledge": "2025-08-31",
1159
- "release_date": "2026-03-05",
1160
- "last_updated": "2026-03-05",
1161
- "modalities": {
1162
- "input": [
1163
- "text",
1164
- "image"
1165
- ],
1166
- "output": [
1167
- "text"
1168
- ]
1169
- },
1170
- "open_weights": false,
1171
- "limit": {
1172
- "context": 1050000,
1173
- "input": 922000,
1174
- "output": 128000
1175
- },
1176
- "cost": {
1177
- "input": 30,
1178
- "output": 180,
1179
- "tiers": [
1180
- {
1181
- "input": 60,
1182
- "output": 270,
1183
- "tier": {
1184
- "type": "context",
1185
- "size": 272000
1186
- }
1187
- }
1188
- ],
1189
- "context_over_200k": {
1190
- "input": 60,
1191
- "output": 270
1192
- }
1193
- }
1194
- },
1195
- "gpt-5.2-chat-latest": {
1196
- "id": "gpt-5.2-chat-latest",
1197
- "name": "GPT-5.2 Chat",
1198
- "family": "gpt-codex",
1199
- "attachment": true,
1200
- "reasoning": true,
1201
- "tool_call": true,
1202
- "structured_output": true,
1203
- "temperature": false,
1204
- "knowledge": "2025-08-31",
1205
- "release_date": "2025-12-11",
1206
- "last_updated": "2025-12-11",
1207
- "modalities": {
1208
- "input": [
1209
- "text",
1210
- "image"
1211
- ],
1212
- "output": [
1213
- "text"
1214
- ]
1215
- },
1216
- "open_weights": false,
1217
- "limit": {
1218
- "context": 128000,
1219
- "output": 16384
1220
- },
1221
- "cost": {
1222
- "input": 1.75,
1223
- "output": 14,
1224
- "cache_read": 0.175
1303
+ "input": 2.5,
1304
+ "output": 15,
1305
+ "cache_read": 0.25,
1306
+ "tiers": [
1307
+ {
1308
+ "input": 5,
1309
+ "output": 22.5,
1310
+ "cache_read": 0.5,
1311
+ "tier": {
1312
+ "type": "context",
1313
+ "size": 272000
1314
+ }
1315
+ }
1316
+ ],
1317
+ "context_over_200k": {
1318
+ "input": 5,
1319
+ "output": 22.5,
1320
+ "cache_read": 0.5
1321
+ }
1225
1322
  }
1226
1323
  },
1227
- "o4-mini-deep-research": {
1228
- "id": "o4-mini-deep-research",
1229
- "name": "o4-mini-deep-research",
1230
- "family": "o-mini",
1324
+ "gpt-5.4-mini": {
1325
+ "id": "gpt-5.4-mini",
1326
+ "name": "GPT-5.4 mini",
1327
+ "family": "gpt-mini",
1231
1328
  "attachment": true,
1232
1329
  "reasoning": true,
1330
+ "reasoning_options": [
1331
+ {
1332
+ "type": "effort",
1333
+ "values": [
1334
+ "none",
1335
+ "low",
1336
+ "medium",
1337
+ "high",
1338
+ "xhigh"
1339
+ ]
1340
+ }
1341
+ ],
1233
1342
  "tool_call": true,
1343
+ "structured_output": true,
1234
1344
  "temperature": false,
1235
- "knowledge": "2024-05",
1236
- "release_date": "2024-06-26",
1237
- "last_updated": "2024-06-26",
1345
+ "knowledge": "2025-08-31",
1346
+ "release_date": "2026-03-17",
1347
+ "last_updated": "2026-03-17",
1238
1348
  "modalities": {
1239
1349
  "input": [
1240
1350
  "text",
@@ -1246,19 +1356,36 @@
1246
1356
  },
1247
1357
  "open_weights": false,
1248
1358
  "limit": {
1249
- "context": 200000,
1250
- "output": 100000
1359
+ "context": 400000,
1360
+ "input": 272000,
1361
+ "output": 128000
1362
+ },
1363
+ "experimental": {
1364
+ "modes": {
1365
+ "fast": {
1366
+ "cost": {
1367
+ "input": 1.5,
1368
+ "output": 9,
1369
+ "cache_read": 0.15
1370
+ },
1371
+ "provider": {
1372
+ "body": {
1373
+ "service_tier": "priority"
1374
+ }
1375
+ }
1376
+ }
1377
+ }
1251
1378
  },
1252
1379
  "cost": {
1253
- "input": 2,
1254
- "output": 8,
1255
- "cache_read": 0.5
1380
+ "input": 0.75,
1381
+ "output": 4.5,
1382
+ "cache_read": 0.075
1256
1383
  }
1257
1384
  },
1258
- "gpt-4.1-nano": {
1259
- "id": "gpt-4.1-nano",
1260
- "name": "GPT-4.1 nano",
1261
- "family": "gpt-nano",
1385
+ "gpt-4.1": {
1386
+ "id": "gpt-4.1",
1387
+ "name": "GPT-4.1",
1388
+ "family": "gpt",
1262
1389
  "attachment": true,
1263
1390
  "reasoning": false,
1264
1391
  "tool_call": true,
@@ -1270,7 +1397,8 @@
1270
1397
  "modalities": {
1271
1398
  "input": [
1272
1399
  "text",
1273
- "image"
1400
+ "image",
1401
+ "pdf"
1274
1402
  ],
1275
1403
  "output": [
1276
1404
  "text"
@@ -1282,26 +1410,34 @@
1282
1410
  "output": 32768
1283
1411
  },
1284
1412
  "cost": {
1285
- "input": 0.1,
1286
- "output": 0.4,
1287
- "cache_read": 0.03
1413
+ "input": 2,
1414
+ "output": 8,
1415
+ "cache_read": 0.5
1288
1416
  }
1289
1417
  },
1290
- "gpt-4": {
1291
- "id": "gpt-4",
1292
- "name": "GPT-4",
1293
- "family": "gpt",
1418
+ "o3-deep-research": {
1419
+ "id": "o3-deep-research",
1420
+ "name": "o3-deep-research",
1421
+ "family": "o",
1294
1422
  "attachment": true,
1295
- "reasoning": false,
1423
+ "reasoning": true,
1424
+ "reasoning_options": [
1425
+ {
1426
+ "type": "effort",
1427
+ "values": [
1428
+ "medium"
1429
+ ]
1430
+ }
1431
+ ],
1296
1432
  "tool_call": true,
1297
- "structured_output": false,
1298
- "temperature": true,
1299
- "knowledge": "2023-11",
1300
- "release_date": "2023-11-06",
1301
- "last_updated": "2024-04-09",
1433
+ "temperature": false,
1434
+ "knowledge": "2024-05",
1435
+ "release_date": "2024-06-26",
1436
+ "last_updated": "2024-06-26",
1302
1437
  "modalities": {
1303
1438
  "input": [
1304
- "text"
1439
+ "text",
1440
+ "image"
1305
1441
  ],
1306
1442
  "output": [
1307
1443
  "text"
@@ -1309,26 +1445,38 @@
1309
1445
  },
1310
1446
  "open_weights": false,
1311
1447
  "limit": {
1312
- "context": 8192,
1313
- "output": 8192
1448
+ "context": 200000,
1449
+ "output": 100000
1314
1450
  },
1315
1451
  "cost": {
1316
- "input": 30,
1317
- "output": 60
1452
+ "input": 10,
1453
+ "output": 40,
1454
+ "cache_read": 2.5
1318
1455
  }
1319
1456
  },
1320
- "o4-mini": {
1321
- "id": "o4-mini",
1322
- "name": "o4-mini",
1323
- "family": "o-mini",
1457
+ "gpt-5-mini": {
1458
+ "id": "gpt-5-mini",
1459
+ "name": "GPT-5 Mini",
1460
+ "family": "gpt-mini",
1324
1461
  "attachment": true,
1325
1462
  "reasoning": true,
1463
+ "reasoning_options": [
1464
+ {
1465
+ "type": "effort",
1466
+ "values": [
1467
+ "minimal",
1468
+ "low",
1469
+ "medium",
1470
+ "high"
1471
+ ]
1472
+ }
1473
+ ],
1326
1474
  "tool_call": true,
1327
1475
  "structured_output": true,
1328
1476
  "temperature": false,
1329
- "knowledge": "2024-05",
1330
- "release_date": "2025-04-16",
1331
- "last_updated": "2025-04-16",
1477
+ "knowledge": "2024-05-30",
1478
+ "release_date": "2025-08-07",
1479
+ "last_updated": "2025-08-07",
1332
1480
  "modalities": {
1333
1481
  "input": [
1334
1482
  "text",
@@ -1340,64 +1488,59 @@
1340
1488
  },
1341
1489
  "open_weights": false,
1342
1490
  "limit": {
1343
- "context": 200000,
1344
- "output": 100000
1491
+ "context": 400000,
1492
+ "input": 272000,
1493
+ "output": 128000
1345
1494
  },
1346
1495
  "cost": {
1347
- "input": 1.1,
1348
- "output": 4.4,
1349
- "cache_read": 0.28
1496
+ "input": 0.25,
1497
+ "output": 2,
1498
+ "cache_read": 0.025
1350
1499
  }
1351
1500
  },
1352
- "gpt-5.1-codex": {
1353
- "id": "gpt-5.1-codex",
1354
- "name": "GPT-5.1 Codex",
1355
- "family": "gpt-codex",
1501
+ "gpt-image-1": {
1502
+ "id": "gpt-image-1",
1503
+ "name": "gpt-image-1",
1504
+ "family": "gpt-image",
1356
1505
  "attachment": true,
1357
- "reasoning": true,
1358
- "tool_call": true,
1359
- "structured_output": true,
1506
+ "reasoning": false,
1507
+ "tool_call": false,
1360
1508
  "temperature": false,
1361
- "knowledge": "2024-09-30",
1362
- "release_date": "2025-11-13",
1363
- "last_updated": "2025-11-13",
1509
+ "release_date": "2025-04-24",
1510
+ "last_updated": "2025-04-24",
1364
1511
  "modalities": {
1365
1512
  "input": [
1366
1513
  "text",
1367
1514
  "image"
1368
1515
  ],
1369
1516
  "output": [
1370
- "text"
1517
+ "image"
1371
1518
  ]
1372
1519
  },
1373
1520
  "open_weights": false,
1374
1521
  "limit": {
1375
- "context": 400000,
1376
- "input": 272000,
1377
- "output": 128000
1378
- },
1379
- "cost": {
1380
- "input": 1.25,
1381
- "output": 10,
1382
- "cache_read": 0.125
1522
+ "context": 0,
1523
+ "input": 0,
1524
+ "output": 0
1383
1525
  }
1384
1526
  },
1385
- "gpt-4o-2024-11-20": {
1386
- "id": "gpt-4o-2024-11-20",
1387
- "name": "GPT-4o (2024-11-20)",
1388
- "family": "gpt",
1527
+ "gpt-4.1-mini": {
1528
+ "id": "gpt-4.1-mini",
1529
+ "name": "GPT-4.1 mini",
1530
+ "family": "gpt-mini",
1389
1531
  "attachment": true,
1390
1532
  "reasoning": false,
1391
1533
  "tool_call": true,
1392
1534
  "structured_output": true,
1393
1535
  "temperature": true,
1394
- "knowledge": "2023-09",
1395
- "release_date": "2024-11-20",
1396
- "last_updated": "2024-11-20",
1536
+ "knowledge": "2024-04",
1537
+ "release_date": "2025-04-14",
1538
+ "last_updated": "2025-04-14",
1397
1539
  "modalities": {
1398
1540
  "input": [
1399
1541
  "text",
1400
- "image"
1542
+ "image",
1543
+ "pdf"
1401
1544
  ],
1402
1545
  "output": [
1403
1546
  "text"
@@ -1405,32 +1548,31 @@
1405
1548
  },
1406
1549
  "open_weights": false,
1407
1550
  "limit": {
1408
- "context": 128000,
1409
- "output": 16384
1551
+ "context": 1047576,
1552
+ "output": 32768
1410
1553
  },
1411
1554
  "cost": {
1412
- "input": 2.5,
1413
- "output": 10,
1414
- "cache_read": 1.25
1555
+ "input": 0.4,
1556
+ "output": 1.6,
1557
+ "cache_read": 0.1
1415
1558
  }
1416
1559
  },
1417
- "gpt-5.2-codex": {
1418
- "id": "gpt-5.2-codex",
1419
- "name": "GPT-5.2 Codex",
1420
- "family": "gpt-codex",
1560
+ "gpt-4-turbo": {
1561
+ "id": "gpt-4-turbo",
1562
+ "name": "GPT-4 Turbo",
1563
+ "family": "gpt",
1421
1564
  "attachment": true,
1422
- "reasoning": true,
1565
+ "reasoning": false,
1423
1566
  "tool_call": true,
1424
- "structured_output": true,
1425
- "temperature": false,
1426
- "knowledge": "2025-08-31",
1427
- "release_date": "2025-12-11",
1428
- "last_updated": "2025-12-11",
1567
+ "structured_output": false,
1568
+ "temperature": true,
1569
+ "knowledge": "2023-12",
1570
+ "release_date": "2023-11-06",
1571
+ "last_updated": "2024-04-09",
1429
1572
  "modalities": {
1430
1573
  "input": [
1431
1574
  "text",
1432
- "image",
1433
- "pdf"
1575
+ "image"
1434
1576
  ],
1435
1577
  "output": [
1436
1578
  "text"
@@ -1438,32 +1580,31 @@
1438
1580
  },
1439
1581
  "open_weights": false,
1440
1582
  "limit": {
1441
- "context": 400000,
1442
- "input": 272000,
1443
- "output": 128000
1583
+ "context": 128000,
1584
+ "output": 4096
1444
1585
  },
1445
1586
  "cost": {
1446
- "input": 1.75,
1447
- "output": 14,
1448
- "cache_read": 0.175
1587
+ "input": 10,
1588
+ "output": 30
1449
1589
  }
1450
1590
  },
1451
- "gpt-image-1": {
1452
- "id": "gpt-image-1",
1453
- "name": "gpt-image-1",
1591
+ "gpt-image-1-mini": {
1592
+ "id": "gpt-image-1-mini",
1593
+ "name": "gpt-image-1-mini",
1454
1594
  "family": "gpt-image",
1455
1595
  "attachment": true,
1456
1596
  "reasoning": false,
1457
1597
  "tool_call": false,
1458
1598
  "temperature": false,
1459
- "release_date": "2025-04-24",
1460
- "last_updated": "2025-04-24",
1599
+ "release_date": "2025-09-26",
1600
+ "last_updated": "2025-09-26",
1461
1601
  "modalities": {
1462
1602
  "input": [
1463
1603
  "text",
1464
1604
  "image"
1465
1605
  ],
1466
1606
  "output": [
1607
+ "text",
1467
1608
  "image"
1468
1609
  ]
1469
1610
  },
@@ -1474,12 +1615,23 @@
1474
1615
  "output": 0
1475
1616
  }
1476
1617
  },
1477
- "gpt-5-mini": {
1478
- "id": "gpt-5-mini",
1479
- "name": "GPT-5 Mini",
1480
- "family": "gpt-mini",
1618
+ "gpt-5-nano": {
1619
+ "id": "gpt-5-nano",
1620
+ "name": "GPT-5 Nano",
1621
+ "family": "gpt-nano",
1481
1622
  "attachment": true,
1482
1623
  "reasoning": true,
1624
+ "reasoning_options": [
1625
+ {
1626
+ "type": "effort",
1627
+ "values": [
1628
+ "minimal",
1629
+ "low",
1630
+ "medium",
1631
+ "high"
1632
+ ]
1633
+ }
1634
+ ],
1483
1635
  "tool_call": true,
1484
1636
  "structured_output": true,
1485
1637
  "temperature": false,
@@ -1502,26 +1654,37 @@
1502
1654
  "output": 128000
1503
1655
  },
1504
1656
  "cost": {
1505
- "input": 0.25,
1506
- "output": 2,
1507
- "cache_read": 0.025
1657
+ "input": 0.05,
1658
+ "output": 0.4,
1659
+ "cache_read": 0.005
1508
1660
  }
1509
1661
  },
1510
- "o3-mini": {
1511
- "id": "o3-mini",
1512
- "name": "o3-mini",
1513
- "family": "o-mini",
1514
- "attachment": false,
1662
+ "gpt-5.4-pro": {
1663
+ "id": "gpt-5.4-pro",
1664
+ "name": "GPT-5.4 Pro",
1665
+ "family": "gpt-pro",
1666
+ "attachment": true,
1515
1667
  "reasoning": true,
1668
+ "reasoning_options": [
1669
+ {
1670
+ "type": "effort",
1671
+ "values": [
1672
+ "medium",
1673
+ "high",
1674
+ "xhigh"
1675
+ ]
1676
+ }
1677
+ ],
1516
1678
  "tool_call": true,
1517
- "structured_output": true,
1679
+ "structured_output": false,
1518
1680
  "temperature": false,
1519
- "knowledge": "2024-05",
1520
- "release_date": "2024-12-20",
1521
- "last_updated": "2025-01-29",
1681
+ "knowledge": "2025-08-31",
1682
+ "release_date": "2026-03-05",
1683
+ "last_updated": "2026-03-05",
1522
1684
  "modalities": {
1523
1685
  "input": [
1524
- "text"
1686
+ "text",
1687
+ "image"
1525
1688
  ],
1526
1689
  "output": [
1527
1690
  "text"
@@ -1529,27 +1692,51 @@
1529
1692
  },
1530
1693
  "open_weights": false,
1531
1694
  "limit": {
1532
- "context": 200000,
1533
- "output": 100000
1695
+ "context": 1050000,
1696
+ "input": 922000,
1697
+ "output": 128000
1534
1698
  },
1535
1699
  "cost": {
1536
- "input": 1.1,
1537
- "output": 4.4,
1538
- "cache_read": 0.55
1700
+ "input": 30,
1701
+ "output": 180,
1702
+ "tiers": [
1703
+ {
1704
+ "input": 60,
1705
+ "output": 270,
1706
+ "tier": {
1707
+ "type": "context",
1708
+ "size": 272000
1709
+ }
1710
+ }
1711
+ ],
1712
+ "context_over_200k": {
1713
+ "input": 60,
1714
+ "output": 270
1715
+ }
1539
1716
  }
1540
1717
  },
1541
- "gpt-5.3-codex": {
1542
- "id": "gpt-5.3-codex",
1543
- "name": "GPT-5.3 Codex",
1544
- "family": "gpt-codex",
1718
+ "gpt-5.5-pro": {
1719
+ "id": "gpt-5.5-pro",
1720
+ "name": "GPT-5.5 Pro",
1721
+ "family": "gpt-pro",
1545
1722
  "attachment": true,
1546
1723
  "reasoning": true,
1724
+ "reasoning_options": [
1725
+ {
1726
+ "type": "effort",
1727
+ "values": [
1728
+ "medium",
1729
+ "high",
1730
+ "xhigh"
1731
+ ]
1732
+ }
1733
+ ],
1547
1734
  "tool_call": true,
1548
1735
  "structured_output": true,
1549
1736
  "temperature": false,
1550
- "knowledge": "2025-08-31",
1551
- "release_date": "2026-02-05",
1552
- "last_updated": "2026-02-05",
1737
+ "knowledge": "2025-12-01",
1738
+ "release_date": "2026-04-23",
1739
+ "last_updated": "2026-04-23",
1553
1740
  "modalities": {
1554
1741
  "input": [
1555
1742
  "text",
@@ -1562,32 +1749,46 @@
1562
1749
  },
1563
1750
  "open_weights": false,
1564
1751
  "limit": {
1565
- "context": 400000,
1566
- "input": 272000,
1752
+ "context": 1050000,
1753
+ "input": 922000,
1567
1754
  "output": 128000
1568
1755
  },
1569
1756
  "cost": {
1570
- "input": 1.75,
1571
- "output": 14,
1572
- "cache_read": 0.175
1757
+ "input": 30,
1758
+ "output": 180,
1759
+ "tiers": [
1760
+ {
1761
+ "input": 60,
1762
+ "output": 270,
1763
+ "tier": {
1764
+ "type": "context",
1765
+ "size": 272000
1766
+ }
1767
+ }
1768
+ ],
1769
+ "context_over_200k": {
1770
+ "input": 60,
1771
+ "output": 270
1772
+ }
1573
1773
  }
1574
1774
  },
1575
- "gpt-4o-2024-08-06": {
1576
- "id": "gpt-4o-2024-08-06",
1577
- "name": "GPT-4o (2024-08-06)",
1578
- "family": "gpt",
1775
+ "gpt-4o-mini": {
1776
+ "id": "gpt-4o-mini",
1777
+ "name": "GPT-4o mini",
1778
+ "family": "gpt-mini",
1579
1779
  "attachment": true,
1580
1780
  "reasoning": false,
1581
1781
  "tool_call": true,
1582
1782
  "structured_output": true,
1583
1783
  "temperature": true,
1584
1784
  "knowledge": "2023-09",
1585
- "release_date": "2024-08-06",
1586
- "last_updated": "2024-08-06",
1785
+ "release_date": "2024-07-18",
1786
+ "last_updated": "2024-07-18",
1587
1787
  "modalities": {
1588
1788
  "input": [
1589
1789
  "text",
1590
- "image"
1790
+ "image",
1791
+ "pdf"
1591
1792
  ],
1592
1793
  "output": [
1593
1794
  "text"
@@ -1599,28 +1800,37 @@
1599
1800
  "output": 16384
1600
1801
  },
1601
1802
  "cost": {
1602
- "input": 2.5,
1603
- "output": 10,
1604
- "cache_read": 1.25
1803
+ "input": 0.15,
1804
+ "output": 0.6,
1805
+ "cache_read": 0.075
1605
1806
  }
1606
1807
  },
1607
- "o3": {
1608
- "id": "o3",
1609
- "name": "o3",
1610
- "family": "o",
1611
- "attachment": true,
1808
+ "gpt-5-codex": {
1809
+ "id": "gpt-5-codex",
1810
+ "name": "GPT-5-Codex",
1811
+ "family": "gpt-codex",
1812
+ "attachment": false,
1612
1813
  "reasoning": true,
1814
+ "reasoning_options": [
1815
+ {
1816
+ "type": "effort",
1817
+ "values": [
1818
+ "low",
1819
+ "medium",
1820
+ "high"
1821
+ ]
1822
+ }
1823
+ ],
1613
1824
  "tool_call": true,
1614
1825
  "structured_output": true,
1615
1826
  "temperature": false,
1616
- "knowledge": "2024-05",
1617
- "release_date": "2025-04-16",
1618
- "last_updated": "2025-04-16",
1827
+ "knowledge": "2024-09-30",
1828
+ "release_date": "2025-09-15",
1829
+ "last_updated": "2025-09-15",
1619
1830
  "modalities": {
1620
1831
  "input": [
1621
1832
  "text",
1622
- "image",
1623
- "pdf"
1833
+ "image"
1624
1834
  ],
1625
1835
  "output": [
1626
1836
  "text"
@@ -1628,30 +1838,44 @@
1628
1838
  },
1629
1839
  "open_weights": false,
1630
1840
  "limit": {
1631
- "context": 200000,
1632
- "output": 100000
1841
+ "context": 400000,
1842
+ "input": 272000,
1843
+ "output": 128000
1633
1844
  },
1634
1845
  "cost": {
1635
- "input": 2,
1636
- "output": 8,
1637
- "cache_read": 0.5
1846
+ "input": 1.25,
1847
+ "output": 10,
1848
+ "cache_read": 0.125
1638
1849
  }
1639
1850
  },
1640
- "o1-mini": {
1641
- "id": "o1-mini",
1642
- "name": "o1-mini",
1643
- "family": "o-mini",
1644
- "attachment": false,
1851
+ "gpt-5.2-codex": {
1852
+ "id": "gpt-5.2-codex",
1853
+ "name": "GPT-5.2 Codex",
1854
+ "family": "gpt-codex",
1855
+ "attachment": true,
1645
1856
  "reasoning": true,
1646
- "tool_call": false,
1857
+ "reasoning_options": [
1858
+ {
1859
+ "type": "effort",
1860
+ "values": [
1861
+ "low",
1862
+ "medium",
1863
+ "high",
1864
+ "xhigh"
1865
+ ]
1866
+ }
1867
+ ],
1868
+ "tool_call": true,
1647
1869
  "structured_output": true,
1648
1870
  "temperature": false,
1649
- "knowledge": "2023-09",
1650
- "release_date": "2024-09-12",
1651
- "last_updated": "2024-09-12",
1871
+ "knowledge": "2025-08-31",
1872
+ "release_date": "2025-12-11",
1873
+ "last_updated": "2025-12-11",
1652
1874
  "modalities": {
1653
1875
  "input": [
1654
- "text"
1876
+ "text",
1877
+ "image",
1878
+ "pdf"
1655
1879
  ],
1656
1880
  "output": [
1657
1881
  "text"
@@ -1659,58 +1883,70 @@
1659
1883
  },
1660
1884
  "open_weights": false,
1661
1885
  "limit": {
1662
- "context": 128000,
1663
- "output": 65536
1886
+ "context": 400000,
1887
+ "input": 272000,
1888
+ "output": 128000
1664
1889
  },
1665
1890
  "cost": {
1666
- "input": 1.1,
1667
- "output": 4.4,
1668
- "cache_read": 0.55
1891
+ "input": 1.75,
1892
+ "output": 14,
1893
+ "cache_read": 0.175
1669
1894
  }
1670
1895
  },
1671
- "o3-deep-research": {
1672
- "id": "o3-deep-research",
1673
- "name": "o3-deep-research",
1674
- "family": "o",
1896
+ "gpt-image-2": {
1897
+ "id": "gpt-image-2",
1898
+ "name": "gpt-image-2",
1899
+ "family": "gpt-image",
1675
1900
  "attachment": true,
1676
- "reasoning": true,
1677
- "tool_call": true,
1901
+ "reasoning": false,
1902
+ "tool_call": false,
1678
1903
  "temperature": false,
1679
- "knowledge": "2024-05",
1680
- "release_date": "2024-06-26",
1681
- "last_updated": "2024-06-26",
1904
+ "release_date": "2026-04-21",
1905
+ "last_updated": "2026-04-21",
1682
1906
  "modalities": {
1683
1907
  "input": [
1684
1908
  "text",
1685
1909
  "image"
1686
1910
  ],
1687
1911
  "output": [
1688
- "text"
1912
+ "image"
1689
1913
  ]
1690
1914
  },
1691
1915
  "open_weights": false,
1692
1916
  "limit": {
1693
- "context": 200000,
1694
- "output": 100000
1917
+ "context": 0,
1918
+ "input": 0,
1919
+ "output": 0
1695
1920
  },
1696
1921
  "cost": {
1697
- "input": 10,
1698
- "output": 40,
1699
- "cache_read": 2.5
1922
+ "input": 5,
1923
+ "output": 30,
1924
+ "cache_read": 1.25
1700
1925
  }
1701
1926
  },
1702
- "gpt-5": {
1703
- "id": "gpt-5",
1704
- "name": "GPT-5",
1927
+ "gpt-5.1": {
1928
+ "id": "gpt-5.1",
1929
+ "name": "GPT-5.1",
1705
1930
  "family": "gpt",
1706
1931
  "attachment": true,
1707
1932
  "reasoning": true,
1933
+ "reasoning_options": [
1934
+ {
1935
+ "type": "effort",
1936
+ "values": [
1937
+ "none",
1938
+ "low",
1939
+ "medium",
1940
+ "high"
1941
+ ]
1942
+ }
1943
+ ],
1708
1944
  "tool_call": true,
1709
1945
  "structured_output": true,
1710
1946
  "temperature": false,
1711
1947
  "knowledge": "2024-09-30",
1712
- "release_date": "2025-08-07",
1713
- "last_updated": "2025-08-07",
1948
+ "release_date": "2025-11-13",
1949
+ "last_updated": "2025-11-13",
1714
1950
  "modalities": {
1715
1951
  "input": [
1716
1952
  "text",
@@ -1732,22 +1968,35 @@
1732
1968
  "cache_read": 0.125
1733
1969
  }
1734
1970
  },
1735
- "gpt-5.3-chat-latest": {
1736
- "id": "gpt-5.3-chat-latest",
1737
- "name": "GPT-5.3 Chat (latest)",
1971
+ "gpt-5.5": {
1972
+ "id": "gpt-5.5",
1973
+ "name": "GPT-5.5",
1738
1974
  "family": "gpt",
1739
1975
  "attachment": true,
1740
- "reasoning": false,
1976
+ "reasoning": true,
1977
+ "reasoning_options": [
1978
+ {
1979
+ "type": "effort",
1980
+ "values": [
1981
+ "none",
1982
+ "low",
1983
+ "medium",
1984
+ "high",
1985
+ "xhigh"
1986
+ ]
1987
+ }
1988
+ ],
1741
1989
  "tool_call": true,
1742
1990
  "structured_output": true,
1743
- "temperature": true,
1744
- "knowledge": "2025-08-31",
1745
- "release_date": "2026-03-03",
1746
- "last_updated": "2026-03-03",
1991
+ "temperature": false,
1992
+ "knowledge": "2025-12-01",
1993
+ "release_date": "2026-04-23",
1994
+ "last_updated": "2026-04-23",
1747
1995
  "modalities": {
1748
1996
  "input": [
1749
1997
  "text",
1750
- "image"
1998
+ "image",
1999
+ "pdf"
1751
2000
  ],
1752
2001
  "output": [
1753
2002
  "text"
@@ -1755,13 +2004,46 @@
1755
2004
  },
1756
2005
  "open_weights": false,
1757
2006
  "limit": {
1758
- "context": 128000,
1759
- "output": 16384
2007
+ "context": 1050000,
2008
+ "input": 922000,
2009
+ "output": 128000
2010
+ },
2011
+ "experimental": {
2012
+ "modes": {
2013
+ "fast": {
2014
+ "cost": {
2015
+ "input": 12.5,
2016
+ "output": 75,
2017
+ "cache_read": 1.25
2018
+ },
2019
+ "provider": {
2020
+ "body": {
2021
+ "service_tier": "priority"
2022
+ }
2023
+ }
2024
+ }
2025
+ }
1760
2026
  },
1761
2027
  "cost": {
1762
- "input": 1.75,
1763
- "output": 14,
1764
- "cache_read": 0.175
2028
+ "input": 5,
2029
+ "output": 30,
2030
+ "cache_read": 0.5,
2031
+ "tiers": [
2032
+ {
2033
+ "input": 10,
2034
+ "output": 45,
2035
+ "cache_read": 1,
2036
+ "tier": {
2037
+ "type": "context",
2038
+ "size": 272000
2039
+ }
2040
+ }
2041
+ ],
2042
+ "context_over_200k": {
2043
+ "input": 10,
2044
+ "output": 45,
2045
+ "cache_read": 1
2046
+ }
1765
2047
  }
1766
2048
  }
1767
2049
  }