@layer-ai/sdk 0.2.0 → 0.3.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.
@@ -1,146 +1,1058 @@
1
1
  // Centralized model registry - single source of truth
2
+ // Only includes models from supported providers (openai, anthropic, google)
3
+ //
2
4
  // Data sources:
3
- // - Artificial Analysis API: pricing, benchmarks, performance metrics
4
- // - OpenRouter API: context window, input/output modalities
5
+ // - AIMLAPI: model discovery, categorization, context lengths (all model types)
6
+ // - Artificial Analysis API: pricing, benchmarks, performance metrics (chat models only)
5
7
  //
6
- // To update: Run `pnpm run sync:models` (requires ARTIFICIAL_ANALYSIS_API_KEY in .env)
8
+ // To update: Run `pnpm run sync:models` (requires AIMLAPI_API_KEY and ARTIFICIAL_ANALYSIS_API_KEY in .env)
7
9
  // APIs:
10
+ // - https://api.aimlapi.com/models
8
11
  // - https://artificialanalysis.ai/api/v2/data/llms/models
9
- // - https://openrouter.ai/api/v1/models
10
- // Data attribution: https://artificialanalysis.ai/
12
+ // Data attribution: https://aimlapi.com, https://artificialanalysis.ai/
13
+ // Providers we support with adapters
14
+ export const SUPPORTED_PROVIDERS = ['openai', 'anthropic', 'google'];
11
15
  export const MODEL_REGISTRY = {
12
16
  // Openai models
13
- 'gpt-4o': {
17
+ 'openai/gpt-4o': {
18
+ type: 'chat',
19
+ provider: 'openai',
20
+ displayName: 'GPT 4o',
21
+ pricing: { input: 0.0025, output: 0.01 },
22
+ benchmarks: {
23
+ intelligence: 27,
24
+ coding: 24,
25
+ math: 6,
26
+ mmluPro: 0.748,
27
+ gpqa: 0.543,
28
+ },
29
+ performance: {
30
+ outputTokenPerSecond: 123.858,
31
+ timeTofirstToken: 0.537,
32
+ intelligenceScore: 27,
33
+ },
34
+ lastUpdated: '2025-12-20',
35
+ },
36
+ 'gpt-4o-2024-08-06': {
37
+ type: 'chat',
38
+ provider: 'openai',
39
+ displayName: 'GPT 4o 2024-08-06',
40
+ pricing: { input: 0.0025, output: 0.01 },
41
+ benchmarks: {
42
+ intelligence: 29,
43
+ gpqa: 0.521,
44
+ },
45
+ performance: {
46
+ outputTokenPerSecond: 89.124,
47
+ timeTofirstToken: 0.568,
48
+ intelligenceScore: 29,
49
+ },
50
+ lastUpdated: '2025-12-20',
51
+ },
52
+ 'gpt-4o-2024-05-13': {
53
+ type: 'chat',
54
+ provider: 'openai',
55
+ displayName: 'GPT 4o 2024-05-13',
56
+ pricing: { input: 0.005, output: 0.015 },
57
+ benchmarks: {
58
+ intelligence: 26.3,
59
+ coding: 24.2,
60
+ mmluPro: 0.74,
61
+ gpqa: 0.526,
62
+ },
63
+ performance: {
64
+ outputTokenPerSecond: 66.624,
65
+ timeTofirstToken: 0.887,
66
+ intelligenceScore: 26.3,
67
+ },
68
+ lastUpdated: '2025-12-20',
69
+ },
70
+ 'gpt-4o-mini': {
71
+ type: 'chat',
72
+ provider: 'openai',
73
+ displayName: 'GPT 4o mini',
74
+ pricing: { input: 0.00015, output: 0.0006 },
75
+ benchmarks: {
76
+ intelligence: 21.2,
77
+ math: 14.7,
78
+ mmluPro: 0.648,
79
+ gpqa: 0.426,
80
+ },
81
+ performance: {
82
+ outputTokenPerSecond: 52.297,
83
+ timeTofirstToken: 0.576,
84
+ intelligenceScore: 21.2,
85
+ },
86
+ lastUpdated: '2025-12-20',
87
+ },
88
+ 'gpt-4o-mini-2024-07-18': {
89
+ type: 'chat',
90
+ provider: 'openai',
91
+ displayName: 'GPT 4o mini 2024-07-18',
92
+ pricing: { input: 0.00015, output: 0.0006 },
93
+ benchmarks: {
94
+ intelligence: 21.2,
95
+ math: 14.7,
96
+ mmluPro: 0.648,
97
+ gpqa: 0.426,
98
+ },
99
+ performance: {
100
+ outputTokenPerSecond: 52.297,
101
+ timeTofirstToken: 0.576,
102
+ intelligenceScore: 21.2,
103
+ },
104
+ lastUpdated: '2025-12-20',
105
+ },
106
+ 'chatgpt-4o-latest': {
107
+ type: 'chat',
108
+ provider: 'openai',
109
+ displayName: 'ChatGPT 4o latest',
110
+ pricing: { input: 0.005, output: 0.015 },
111
+ benchmarks: {
112
+ intelligence: 25.3,
113
+ mmluPro: 0.773,
114
+ gpqa: 0.511,
115
+ },
116
+ performance: {
117
+ outputTokenPerSecond: 165.971,
118
+ timeTofirstToken: 0.461,
119
+ intelligenceScore: 25.3,
120
+ },
121
+ lastUpdated: '2025-12-20',
122
+ },
123
+ 'gpt-4-turbo': {
124
+ type: 'chat',
125
+ provider: 'openai',
126
+ displayName: 'GPT 4 turbo',
127
+ pricing: { input: 0.01, output: 0.03 },
128
+ benchmarks: {
129
+ intelligence: 24.2,
130
+ coding: 21.5,
131
+ mmluPro: 0.694,
132
+ },
133
+ performance: {
134
+ outputTokenPerSecond: 27.301,
135
+ timeTofirstToken: 0.945,
136
+ intelligenceScore: 24.2,
137
+ },
138
+ lastUpdated: '2025-12-20',
139
+ },
140
+ 'gpt-4-turbo-2024-04-09': {
141
+ type: 'chat',
142
+ provider: 'openai',
143
+ displayName: 'GPT 4 turbo 2024-04-09',
144
+ pricing: { input: 0.01, output: 0.03 },
145
+ benchmarks: {
146
+ intelligence: 24.2,
147
+ coding: 21.5,
148
+ mmluPro: 0.694,
149
+ },
150
+ performance: {
151
+ outputTokenPerSecond: 27.301,
152
+ timeTofirstToken: 0.945,
153
+ intelligenceScore: 24.2,
154
+ },
155
+ lastUpdated: '2025-12-20',
156
+ },
157
+ 'gpt-4': {
158
+ type: 'chat',
159
+ provider: 'openai',
160
+ displayName: 'GPT 4',
161
+ pricing: { input: 0.03, output: 0.06 },
162
+ benchmarks: {
163
+ intelligence: 21.5,
164
+ coding: 13.1,
165
+ },
166
+ performance: {
167
+ outputTokenPerSecond: 23.9,
168
+ timeTofirstToken: 0.993,
169
+ intelligenceScore: 21.5,
170
+ },
171
+ lastUpdated: '2025-12-20',
172
+ },
173
+ 'gpt-4-0125-preview': {
174
+ type: 'chat',
175
+ provider: 'openai',
176
+ displayName: 'GPT 4 0125 preview',
177
+ pricing: { input: 0.03, output: 0.06 },
178
+ benchmarks: {
179
+ intelligence: 21.5,
180
+ coding: 13.1,
181
+ },
182
+ performance: {
183
+ outputTokenPerSecond: 23.9,
184
+ timeTofirstToken: 0.993,
185
+ intelligenceScore: 21.5,
186
+ },
187
+ lastUpdated: '2025-12-20',
188
+ },
189
+ 'gpt-4-1106-preview': {
190
+ type: 'chat',
191
+ provider: 'openai',
192
+ displayName: 'GPT 4 1106 preview',
193
+ pricing: { input: 0.03, output: 0.06 },
194
+ benchmarks: {
195
+ intelligence: 21.5,
196
+ coding: 13.1,
197
+ },
198
+ performance: {
199
+ outputTokenPerSecond: 23.9,
200
+ timeTofirstToken: 0.993,
201
+ intelligenceScore: 21.5,
202
+ },
203
+ lastUpdated: '2025-12-20',
204
+ },
205
+ 'gpt-3.5-turbo': {
206
+ type: 'chat',
207
+ provider: 'openai',
208
+ displayName: 'GPT 3.5 turbo',
209
+ pricing: { input: 0.0005, output: 0.0015 },
210
+ benchmarks: {
211
+ intelligence: 8.3,
212
+ coding: 10.7,
213
+ mmluPro: 0.462,
214
+ gpqa: 0.297,
215
+ },
216
+ performance: {
217
+ outputTokenPerSecond: 142.68,
218
+ timeTofirstToken: 0.43,
219
+ intelligenceScore: 8.3,
220
+ },
221
+ lastUpdated: '2025-12-20',
222
+ },
223
+ 'gpt-3.5-turbo-0125': {
224
+ type: 'chat',
225
+ provider: 'openai',
226
+ displayName: 'GPT 3.5 turbo 0125',
227
+ pricing: { input: 0.0005, output: 0.0015 },
228
+ benchmarks: {
229
+ intelligence: 8.3,
230
+ coding: 10.7,
231
+ mmluPro: 0.462,
232
+ gpqa: 0.297,
233
+ },
234
+ performance: {
235
+ outputTokenPerSecond: 142.68,
236
+ timeTofirstToken: 0.43,
237
+ intelligenceScore: 8.3,
238
+ },
239
+ lastUpdated: '2025-12-20',
240
+ },
241
+ 'gpt-3.5-turbo-1106': {
242
+ type: 'chat',
243
+ provider: 'openai',
244
+ displayName: 'GPT 3.5 turbo 1106',
245
+ pricing: { input: 0.0005, output: 0.0015 },
246
+ benchmarks: {
247
+ intelligence: 8.3,
248
+ coding: 10.7,
249
+ mmluPro: 0.462,
250
+ gpqa: 0.297,
251
+ },
252
+ performance: {
253
+ outputTokenPerSecond: 142.68,
254
+ timeTofirstToken: 0.43,
255
+ intelligenceScore: 8.3,
256
+ },
257
+ lastUpdated: '2025-12-20',
258
+ },
259
+ 'o3-mini': {
260
+ type: 'chat',
261
+ provider: 'openai',
262
+ displayName: 'o3 mini',
263
+ pricing: { input: 0.0011, output: 0.0044 },
264
+ benchmarks: {
265
+ intelligence: 48.1,
266
+ coding: 39.4,
267
+ mmluPro: 0.791,
268
+ gpqa: 0.748,
269
+ },
270
+ performance: {
271
+ outputTokenPerSecond: 142.395,
272
+ timeTofirstToken: 18.179,
273
+ intelligenceScore: 48.1,
274
+ },
275
+ lastUpdated: '2025-12-20',
276
+ },
277
+ 'gpt-4o-audio-preview': {
278
+ type: 'chat',
279
+ provider: 'openai',
280
+ displayName: 'Chat GPT 4o audio preview',
281
+ pricing: { input: 0.0025, output: 0.01 },
282
+ benchmarks: {
283
+ intelligence: 27,
284
+ coding: 24,
285
+ math: 6,
286
+ mmluPro: 0.748,
287
+ gpqa: 0.543,
288
+ },
289
+ performance: {
290
+ outputTokenPerSecond: 123.858,
291
+ timeTofirstToken: 0.537,
292
+ intelligenceScore: 27,
293
+ },
294
+ lastUpdated: '2025-12-20',
295
+ },
296
+ 'gpt-4o-mini-audio-preview': {
297
+ type: 'chat',
298
+ provider: 'openai',
299
+ displayName: 'Chat GPT 4o mini audio preview',
300
+ pricing: { input: 0.00015, output: 0.0006 },
301
+ benchmarks: {
302
+ intelligence: 21.2,
303
+ math: 14.7,
304
+ mmluPro: 0.648,
305
+ gpqa: 0.426,
306
+ },
307
+ performance: {
308
+ outputTokenPerSecond: 52.297,
309
+ timeTofirstToken: 0.576,
310
+ intelligenceScore: 21.2,
311
+ },
312
+ lastUpdated: '2025-12-20',
313
+ },
314
+ 'openai/gpt-audio': {
315
+ type: 'chat',
316
+ provider: 'openai',
317
+ displayName: 'Chat GPT audio',
318
+ pricing: { input: 0.0025, output: 0.01 },
319
+ benchmarks: {
320
+ intelligence: 27,
321
+ coding: 24,
322
+ math: 6,
323
+ mmluPro: 0.748,
324
+ gpqa: 0.543,
325
+ },
326
+ performance: {
327
+ outputTokenPerSecond: 123.858,
328
+ timeTofirstToken: 0.537,
329
+ intelligenceScore: 27,
330
+ },
331
+ lastUpdated: '2025-12-20',
332
+ },
333
+ 'openai/gpt-audio-mini': {
334
+ type: 'chat',
335
+ provider: 'openai',
336
+ displayName: 'Chat GPT mini audio',
337
+ pricing: { input: 0.00015, output: 0.0006 },
338
+ benchmarks: {
339
+ intelligence: 21.2,
340
+ math: 14.7,
341
+ mmluPro: 0.648,
342
+ gpqa: 0.426,
343
+ },
344
+ performance: {
345
+ outputTokenPerSecond: 52.297,
346
+ timeTofirstToken: 0.576,
347
+ intelligenceScore: 21.2,
348
+ },
349
+ lastUpdated: '2025-12-20',
350
+ },
351
+ 'gpt-4o-search-preview': {
352
+ type: 'chat',
353
+ provider: 'openai',
354
+ displayName: 'Chat GPT 4o search preview',
355
+ pricing: { input: 0.0025, output: 0.01 },
356
+ benchmarks: {
357
+ intelligence: 27,
358
+ coding: 24,
359
+ math: 6,
360
+ mmluPro: 0.748,
361
+ gpqa: 0.543,
362
+ },
363
+ performance: {
364
+ outputTokenPerSecond: 123.858,
365
+ timeTofirstToken: 0.537,
366
+ intelligenceScore: 27,
367
+ },
368
+ lastUpdated: '2025-12-20',
369
+ },
370
+ 'gpt-4o-mini-search-preview': {
371
+ type: 'chat',
372
+ provider: 'openai',
373
+ displayName: 'Chat GPT 4o mini search preview',
374
+ pricing: { input: 0.00015, output: 0.0006 },
375
+ benchmarks: {
376
+ intelligence: 21.2,
377
+ math: 14.7,
378
+ mmluPro: 0.648,
379
+ gpqa: 0.426,
380
+ },
381
+ performance: {
382
+ outputTokenPerSecond: 52.297,
383
+ timeTofirstToken: 0.576,
384
+ intelligenceScore: 21.2,
385
+ },
386
+ lastUpdated: '2025-12-20',
387
+ },
388
+ 'openai/gpt-4.1-2025-04-14': {
389
+ type: 'chat',
390
+ provider: 'openai',
391
+ displayName: 'Chat GPT 4.1',
392
+ pricing: { input: 0.002, output: 0.008 },
393
+ benchmarks: {
394
+ intelligence: 43.4,
395
+ coding: 32.2,
396
+ math: 34.7,
397
+ mmluPro: 0.806,
398
+ gpqa: 0.666,
399
+ },
400
+ performance: {
401
+ outputTokenPerSecond: 79.153,
402
+ timeTofirstToken: 0.506,
403
+ intelligenceScore: 43.4,
404
+ },
405
+ lastUpdated: '2025-12-20',
406
+ },
407
+ 'openai/gpt-4.1-mini-2025-04-14': {
408
+ type: 'chat',
409
+ provider: 'openai',
410
+ displayName: 'Chat GPT 4.1 mini',
411
+ pricing: { input: 0.0004, output: 0.0016 },
412
+ benchmarks: {
413
+ intelligence: 42.5,
414
+ coding: 31.9,
415
+ math: 46.3,
416
+ mmluPro: 0.781,
417
+ gpqa: 0.664,
418
+ },
419
+ performance: {
420
+ outputTokenPerSecond: 61.523,
421
+ timeTofirstToken: 0.534,
422
+ intelligenceScore: 42.5,
423
+ },
424
+ lastUpdated: '2025-12-20',
425
+ },
426
+ 'openai/gpt-4.1-nano-2025-04-14': {
427
+ type: 'chat',
428
+ provider: 'openai',
429
+ displayName: 'Chat GPT 4.1 nano',
430
+ pricing: { input: 0.0001, output: 0.0004 },
431
+ benchmarks: {
432
+ intelligence: 27.3,
433
+ coding: 20.7,
434
+ math: 24,
435
+ mmluPro: 0.657,
436
+ gpqa: 0.512,
437
+ },
438
+ performance: {
439
+ outputTokenPerSecond: 122.151,
440
+ timeTofirstToken: 0.389,
441
+ intelligenceScore: 27.3,
442
+ },
443
+ lastUpdated: '2025-12-20',
444
+ },
445
+ 'openai/o4-mini-2025-04-16': {
446
+ type: 'chat',
447
+ provider: 'openai',
448
+ displayName: 'o4-mini',
449
+ pricing: { input: 0.0011, output: 0.0044 },
450
+ benchmarks: {
451
+ intelligence: 59.6,
452
+ coding: 48.9,
453
+ math: 90.7,
454
+ mmluPro: 0.832,
455
+ gpqa: 0.784,
456
+ },
457
+ performance: {
458
+ outputTokenPerSecond: 131.538,
459
+ timeTofirstToken: 56.891,
460
+ intelligenceScore: 59.6,
461
+ },
462
+ lastUpdated: '2025-12-20',
463
+ },
464
+ 'openai/o3-2025-04-16': {
465
+ type: 'chat',
466
+ provider: 'openai',
467
+ displayName: 'o3',
468
+ pricing: { input: 0.002, output: 0.008 },
469
+ benchmarks: {
470
+ intelligence: 65.5,
471
+ coding: 52.2,
472
+ math: 88.3,
473
+ mmluPro: 0.853,
474
+ gpqa: 0.827,
475
+ },
476
+ performance: {
477
+ outputTokenPerSecond: 229.799,
478
+ timeTofirstToken: 13.441,
479
+ intelligenceScore: 65.5,
480
+ },
481
+ lastUpdated: '2025-12-20',
482
+ },
483
+ 'o1': {
484
+ type: 'chat',
485
+ provider: 'openai',
486
+ displayName: 'o1',
487
+ pricing: { input: 0.015, output: 0.06 },
488
+ benchmarks: {
489
+ intelligence: 47.2,
490
+ coding: 38.6,
491
+ mmluPro: 0.841,
492
+ gpqa: 0.747,
493
+ },
494
+ performance: {
495
+ outputTokenPerSecond: 162.648,
496
+ timeTofirstToken: 20.052,
497
+ intelligenceScore: 47.2,
498
+ },
499
+ lastUpdated: '2025-12-20',
500
+ },
501
+ 'openai/gpt-5-2025-08-07': {
502
+ type: 'chat',
503
+ provider: 'openai',
504
+ displayName: 'GPT-5',
505
+ pricing: { input: 0.00125, output: 0.01 },
506
+ benchmarks: {
507
+ intelligence: 68.5,
508
+ coding: 52.7,
509
+ math: 94.3,
510
+ mmluPro: 0.871,
511
+ gpqa: 0.854,
512
+ },
513
+ performance: {
514
+ outputTokenPerSecond: 126.231,
515
+ timeTofirstToken: 98.105,
516
+ intelligenceScore: 68.5,
517
+ },
518
+ lastUpdated: '2025-12-20',
519
+ },
520
+ 'openai/gpt-5-mini-2025-08-07': {
521
+ type: 'chat',
522
+ provider: 'openai',
523
+ displayName: 'GPT-5 mini',
524
+ pricing: { input: 0.00025, output: 0.002 },
525
+ benchmarks: {
526
+ intelligence: 64.3,
527
+ coding: 51.4,
528
+ math: 90.7,
529
+ mmluPro: 0.837,
530
+ gpqa: 0.828,
531
+ },
532
+ performance: {
533
+ outputTokenPerSecond: 67.754,
534
+ timeTofirstToken: 121.609,
535
+ intelligenceScore: 64.3,
536
+ },
537
+ lastUpdated: '2025-12-20',
538
+ },
539
+ 'openai/gpt-5-nano-2025-08-07': {
540
+ type: 'chat',
541
+ provider: 'openai',
542
+ displayName: 'GPT-5 nano',
543
+ pricing: { input: 0.00005, output: 0.0004 },
544
+ benchmarks: {
545
+ intelligence: 51,
546
+ coding: 42.3,
547
+ math: 83.7,
548
+ mmluPro: 0.78,
549
+ gpqa: 0.676,
550
+ },
551
+ performance: {
552
+ outputTokenPerSecond: 119.182,
553
+ timeTofirstToken: 137.803,
554
+ intelligenceScore: 51,
555
+ },
556
+ lastUpdated: '2025-12-20',
557
+ },
558
+ 'openai/gpt-5-chat-latest': {
559
+ type: 'chat',
560
+ provider: 'openai',
561
+ displayName: 'GPT-5 Chat',
562
+ pricing: { input: 0.00125, output: 0.01 },
563
+ benchmarks: {
564
+ intelligence: 41.8,
565
+ coding: 34.7,
566
+ math: 48.3,
567
+ mmluPro: 0.82,
568
+ gpqa: 0.686,
569
+ },
570
+ performance: {
571
+ outputTokenPerSecond: 127.814,
572
+ timeTofirstToken: 0.727,
573
+ intelligenceScore: 41.8,
574
+ },
575
+ lastUpdated: '2025-12-20',
576
+ },
577
+ 'openai/gpt-5-1': {
578
+ type: 'chat',
579
+ provider: 'openai',
580
+ displayName: 'GPT-5.1',
581
+ pricing: { input: 0.00125, output: 0.01 },
582
+ benchmarks: {
583
+ intelligence: 69.7,
584
+ coding: 57.5,
585
+ math: 94,
586
+ mmluPro: 0.87,
587
+ gpqa: 0.873,
588
+ },
589
+ performance: {
590
+ outputTokenPerSecond: 98.935,
591
+ timeTofirstToken: 41.605,
592
+ intelligenceScore: 69.7,
593
+ },
594
+ lastUpdated: '2025-12-20',
595
+ },
596
+ 'openai/gpt-5-1-chat-latest': {
597
+ type: 'chat',
598
+ provider: 'openai',
599
+ displayName: 'GPT-5.1 Chat Latest',
600
+ pricing: { input: 0.00125, output: 0.01 },
601
+ benchmarks: {
602
+ intelligence: 41.8,
603
+ coding: 34.7,
604
+ math: 48.3,
605
+ mmluPro: 0.82,
606
+ gpqa: 0.686,
607
+ },
608
+ performance: {
609
+ outputTokenPerSecond: 127.814,
610
+ timeTofirstToken: 0.727,
611
+ intelligenceScore: 41.8,
612
+ },
613
+ lastUpdated: '2025-12-20',
614
+ },
615
+ 'openai/gpt-5-2': {
616
+ type: 'chat',
617
+ provider: 'openai',
618
+ displayName: 'GPT-5.2',
619
+ pricing: { input: 0.00175, output: 0.014 },
620
+ benchmarks: {
621
+ intelligence: 72.6,
622
+ coding: 61.8,
623
+ math: 98.7,
624
+ mmluPro: 0.874,
625
+ gpqa: 0.903,
626
+ },
627
+ performance: {
628
+ outputTokenPerSecond: 150.843,
629
+ timeTofirstToken: 43.787,
630
+ intelligenceScore: 72.6,
631
+ },
632
+ lastUpdated: '2025-12-20',
633
+ },
634
+ 'openai/gpt-5-2-chat-latest': {
635
+ type: 'chat',
636
+ provider: 'openai',
637
+ displayName: 'GPT-5.2 Chat Latest',
638
+ pricing: { input: 0.00125, output: 0.01 },
639
+ benchmarks: {
640
+ intelligence: 41.8,
641
+ coding: 34.7,
642
+ math: 48.3,
643
+ mmluPro: 0.82,
644
+ gpqa: 0.686,
645
+ },
646
+ performance: {
647
+ outputTokenPerSecond: 127.814,
648
+ timeTofirstToken: 0.727,
649
+ intelligenceScore: 41.8,
650
+ },
651
+ lastUpdated: '2025-12-20',
652
+ },
653
+ 'openai/o3-pro': {
654
+ type: 'responses',
655
+ provider: 'openai',
656
+ displayName: 'o3-pro',
657
+ pricing: { input: 0.02, output: 0.08 },
658
+ benchmarks: {
659
+ intelligence: 65.3,
660
+ gpqa: 0.845,
661
+ },
662
+ performance: {
663
+ outputTokenPerSecond: 38.886,
664
+ timeTofirstToken: 71.827,
665
+ intelligenceScore: 65.3,
666
+ },
667
+ lastUpdated: '2025-12-20',
668
+ },
669
+ 'openai/gpt-5-pro': {
670
+ type: 'responses',
671
+ provider: 'openai',
672
+ displayName: 'GPT 5 Pro',
673
+ pricing: { input: 0.00125, output: 0.01 },
674
+ benchmarks: {
675
+ intelligence: 68.5,
676
+ coding: 52.7,
677
+ math: 94.3,
678
+ mmluPro: 0.871,
679
+ gpqa: 0.854,
680
+ },
681
+ performance: {
682
+ outputTokenPerSecond: 126.231,
683
+ timeTofirstToken: 98.105,
684
+ intelligenceScore: 68.5,
685
+ },
686
+ lastUpdated: '2025-12-20',
687
+ },
688
+ 'openai/gpt-5-1-codex': {
689
+ type: 'responses',
690
+ provider: 'openai',
691
+ displayName: 'GPT-5.1 Codex',
692
+ pricing: { input: 0.00125, output: 0.01 },
693
+ benchmarks: {
694
+ intelligence: 66.9,
695
+ coding: 52.5,
696
+ math: 95.7,
697
+ mmluPro: 0.86,
698
+ gpqa: 0.86,
699
+ },
700
+ performance: {
701
+ outputTokenPerSecond: 171.555,
702
+ timeTofirstToken: 15.164,
703
+ intelligenceScore: 66.9,
704
+ },
705
+ lastUpdated: '2025-12-20',
706
+ },
707
+ 'openai/gpt-5-1-codex-mini': {
708
+ type: 'responses',
709
+ provider: 'openai',
710
+ displayName: 'GPT-5.1 Codex Mini',
711
+ pricing: { input: 0.00025, output: 0.002 },
712
+ benchmarks: {
713
+ intelligence: 62.3,
714
+ coding: 52.5,
715
+ math: 91.7,
716
+ mmluPro: 0.82,
717
+ gpqa: 0.813,
718
+ },
719
+ performance: {
720
+ outputTokenPerSecond: 140.588,
721
+ timeTofirstToken: 10.806,
722
+ intelligenceScore: 62.3,
723
+ },
724
+ lastUpdated: '2025-12-20',
725
+ },
726
+ 'openai/gpt-5-2-pro': {
727
+ type: 'responses',
728
+ provider: 'openai',
729
+ displayName: 'GPT-5.2 Pro',
730
+ pricing: { input: 0.00175, output: 0.014 },
731
+ benchmarks: {
732
+ intelligence: 72.6,
733
+ coding: 61.8,
734
+ math: 98.7,
735
+ mmluPro: 0.874,
736
+ gpqa: 0.903,
737
+ },
738
+ performance: {
739
+ outputTokenPerSecond: 150.843,
740
+ timeTofirstToken: 43.787,
741
+ intelligenceScore: 72.6,
742
+ },
743
+ lastUpdated: '2025-12-20',
744
+ },
745
+ 'openai/gpt-oss-120b': {
746
+ type: 'chat',
747
+ provider: 'openai',
748
+ displayName: 'GPT OSS 120B',
749
+ pricing: { input: 0.00015, output: 0.0006 },
750
+ benchmarks: {
751
+ intelligence: 60.5,
752
+ coding: 49.6,
753
+ math: 93.4,
754
+ mmluPro: 0.808,
755
+ gpqa: 0.782,
756
+ },
757
+ performance: {
758
+ outputTokenPerSecond: 334.569,
759
+ timeTofirstToken: 0.439,
760
+ intelligenceScore: 60.5,
761
+ },
762
+ lastUpdated: '2025-12-20',
763
+ },
764
+ 'openai/gpt-oss-20b': {
765
+ type: 'chat',
766
+ provider: 'openai',
767
+ displayName: 'GPT OSS 20B',
768
+ pricing: { input: 0.00007000000000000001, output: 0.0002 },
769
+ benchmarks: {
770
+ intelligence: 52.1,
771
+ coding: 40.7,
772
+ math: 89.3,
773
+ mmluPro: 0.748,
774
+ gpqa: 0.688,
775
+ },
776
+ performance: {
777
+ outputTokenPerSecond: 233.012,
778
+ timeTofirstToken: 0.529,
779
+ intelligenceScore: 52.1,
780
+ },
781
+ lastUpdated: '2025-12-20',
782
+ },
783
+ 'dall-e-3': {
784
+ type: 'image',
785
+ provider: 'openai',
786
+ displayName: 'DALL-E 3',
787
+ lastUpdated: '2025-12-20',
788
+ },
789
+ 'dall-e-2': {
790
+ type: 'image',
791
+ provider: 'openai',
792
+ displayName: 'DALL-E 2',
793
+ lastUpdated: '2025-12-20',
794
+ },
795
+ 'openai/gpt-image-1': {
796
+ type: 'image',
797
+ provider: 'openai',
798
+ displayName: 'GPT Image 1',
799
+ lastUpdated: '2025-12-20',
800
+ },
801
+ 'openai/gpt-image-1-mini': {
802
+ type: 'image',
803
+ provider: 'openai',
804
+ displayName: 'GPT Image 1 Mini',
805
+ lastUpdated: '2025-12-20',
806
+ },
807
+ 'openai/gpt-image-1-5': {
808
+ type: 'image',
809
+ provider: 'openai',
810
+ displayName: 'GPT-Image-1.5',
811
+ lastUpdated: '2025-12-20',
812
+ },
813
+ 'text-embedding-3-small': {
814
+ type: 'embeddings',
815
+ provider: 'openai',
816
+ displayName: 'Text embedding 3 small',
817
+ contextLength: 8000,
818
+ lastUpdated: '2025-12-20',
819
+ },
820
+ 'text-embedding-3-large': {
821
+ type: 'embeddings',
822
+ provider: 'openai',
823
+ displayName: 'Text embedding 3 large',
824
+ contextLength: 8000,
825
+ lastUpdated: '2025-12-20',
826
+ },
827
+ 'text-embedding-ada-002': {
828
+ type: 'embeddings',
829
+ provider: 'openai',
830
+ displayName: 'Text embedding ada 002',
831
+ contextLength: 8000,
832
+ lastUpdated: '2025-12-20',
833
+ },
834
+ 'openai/gpt-4o-transcribe': {
835
+ type: 'stt',
836
+ provider: 'openai',
837
+ displayName: 'GPT-4o Transcribe',
838
+ lastUpdated: '2025-12-20',
839
+ },
840
+ 'openai/gpt-4o-mini-transcribe': {
841
+ type: 'stt',
842
+ provider: 'openai',
843
+ displayName: 'GPT-4o Mini Transcribe',
844
+ lastUpdated: '2025-12-20',
845
+ },
846
+ 'openai/gpt-4o-mini-tts': {
847
+ type: 'tts',
14
848
  provider: 'openai',
15
- displayName: 'GPT-4o (Nov \'24)',
16
- pricing: { input: 0.0025, output: 0.01 },
849
+ displayName: 'GPT-4o mini TTS',
850
+ lastUpdated: '2025-12-20',
851
+ },
852
+ 'openai/tts-1': {
853
+ type: 'tts',
854
+ provider: 'openai',
855
+ displayName: 'TTS-1',
856
+ lastUpdated: '2025-12-20',
857
+ },
858
+ 'openai/tts-1-hd': {
859
+ type: 'tts',
860
+ provider: 'openai',
861
+ displayName: 'TTS-1 HD',
862
+ lastUpdated: '2025-12-20',
863
+ },
864
+ 'gpt-3.5-turbo-instruct': {
865
+ type: 'language-completion',
866
+ provider: 'openai',
867
+ displayName: 'Gpt 3.5 turbo instruct',
868
+ pricing: { input: 0.0005, output: 0.0015 },
17
869
  benchmarks: {
18
- intelligence: 27,
19
- coding: 24,
20
- math: 6,
21
- mmluPro: 0.748,
22
- gpqa: 0.543,
870
+ intelligence: 8.3,
871
+ coding: 10.7,
872
+ mmluPro: 0.462,
873
+ gpqa: 0.297,
23
874
  },
24
875
  performance: {
25
- outputTokenPerSecond: 137.258,
26
- timeTofirstToken: 0.531,
27
- intelligenceScore: 27,
876
+ outputTokenPerSecond: 142.68,
877
+ timeTofirstToken: 0.43,
878
+ intelligenceScore: 8.3,
28
879
  },
29
- context: {
30
- window: 128000,
31
- input: {
32
- text: true,
33
- image: true,
34
- audio: false,
35
- video: false,
36
- },
37
- output: {
38
- text: true,
39
- image: false,
40
- audio: false,
41
- video: false,
42
- },
43
- },
44
- lastUpdated: '2025-11-27',
880
+ lastUpdated: '2025-12-20',
45
881
  },
46
- 'gpt-4o-mini': {
882
+ 'openai/sora-2-t2v': {
883
+ type: 'video',
47
884
  provider: 'openai',
48
- displayName: 'GPT-4o mini',
49
- pricing: { input: 0.00015, output: 0.0006 },
885
+ displayName: 'Sora 2 Text to Video',
886
+ lastUpdated: '2025-12-20',
887
+ },
888
+ 'openai/sora-2-i2v': {
889
+ type: 'video',
890
+ provider: 'openai',
891
+ displayName: 'Sora 2 Image to Video',
892
+ lastUpdated: '2025-12-20',
893
+ },
894
+ 'openai/sora-2-pro-i2v': {
895
+ type: 'video',
896
+ provider: 'openai',
897
+ displayName: 'Sora 2 Pro Image to Video',
898
+ lastUpdated: '2025-12-20',
899
+ },
900
+ 'openai/sora-2-pro-t2v': {
901
+ type: 'video',
902
+ provider: 'openai',
903
+ displayName: 'Sora 2 Pro Text to Video',
904
+ lastUpdated: '2025-12-20',
905
+ },
906
+ 'fallback-openai/sora-2-t2v': {
907
+ type: 'video',
908
+ provider: 'openai',
909
+ displayName: 'Sora 2 Text to Video',
910
+ lastUpdated: '2025-12-20',
911
+ },
912
+ 'fallback-openai/sora-2-i2v': {
913
+ type: 'video',
914
+ provider: 'openai',
915
+ displayName: 'Sora 2 Image to Video',
916
+ lastUpdated: '2025-12-20',
917
+ },
918
+ 'fallback-openai/sora-2-pro-i2v': {
919
+ type: 'video',
920
+ provider: 'openai',
921
+ displayName: 'Sora 2 Pro Image to Video',
922
+ lastUpdated: '2025-12-20',
923
+ },
924
+ 'fallback-openai/sora-2-pro-t2v': {
925
+ type: 'video',
926
+ provider: 'openai',
927
+ displayName: 'Sora 2 Pro Text to Video',
928
+ lastUpdated: '2025-12-20',
929
+ },
930
+ // Anthropic models
931
+ 'claude-3-opus-20240229': {
932
+ type: 'chat',
933
+ provider: 'anthropic',
934
+ displayName: 'Claude 3 Opus 2024-02-29',
935
+ pricing: { input: 0.015, output: 0.075 },
50
936
  benchmarks: {
51
- intelligence: 21.2,
52
- math: 14.7,
53
- mmluPro: 0.648,
54
- gpqa: 0.426,
937
+ intelligence: 20.6,
938
+ coding: 19.5,
939
+ mmluPro: 0.696,
940
+ gpqa: 0.489,
55
941
  },
56
942
  performance: {
57
- outputTokenPerSecond: 49.306,
58
- timeTofirstToken: 0.503,
59
- intelligenceScore: 21.2,
943
+ outputTokenPerSecond: 0,
944
+ timeTofirstToken: 0,
945
+ intelligenceScore: 20.6,
60
946
  },
61
- context: {
62
- window: 128000,
63
- input: {
64
- text: true,
65
- image: true,
66
- audio: false,
67
- video: false,
68
- },
69
- output: {
70
- text: true,
71
- image: false,
72
- audio: false,
73
- video: false,
74
- },
75
- },
76
- lastUpdated: '2025-11-27',
947
+ lastUpdated: '2025-12-20',
77
948
  },
78
- // Anthropic models
79
- 'claude-haiku-4-5-20251001': {
949
+ 'claude-3-haiku-20240307': {
950
+ type: 'chat',
80
951
  provider: 'anthropic',
81
- displayName: 'Claude 4.5 Haiku (Non-reasoning)',
82
- pricing: { input: 0.001, output: 0.005 },
952
+ displayName: 'Claude 3 Haiku 2024-03-07',
953
+ pricing: { input: 0.00025, output: 0.00125 },
83
954
  benchmarks: {
84
- intelligence: 41.7,
85
- coding: 37,
86
- math: 39,
87
- mmluPro: 0.8,
88
- gpqa: 0.646,
955
+ intelligence: 9.6,
89
956
  },
90
957
  performance: {
91
- outputTokenPerSecond: 100.11,
92
- timeTofirstToken: 1.035,
93
- intelligenceScore: 41.7,
958
+ outputTokenPerSecond: 107.855,
959
+ timeTofirstToken: 0.518,
960
+ intelligenceScore: 9.6,
961
+ },
962
+ lastUpdated: '2025-12-20',
963
+ },
964
+ 'claude-3-5-haiku-20241022': {
965
+ type: 'chat',
966
+ provider: 'anthropic',
967
+ displayName: 'Claude 3.5 Haiku 2024-10-22',
968
+ pricing: { input: 0.0008, output: 0.004 },
969
+ benchmarks: {
970
+ intelligence: 20.2,
971
+ mmluPro: 0.634,
972
+ gpqa: 0.408,
973
+ },
974
+ performance: {
975
+ outputTokenPerSecond: 47.469,
976
+ timeTofirstToken: 0.727,
977
+ intelligenceScore: 20.2,
978
+ },
979
+ lastUpdated: '2025-12-20',
980
+ },
981
+ 'claude-3-7-sonnet-20250219': {
982
+ type: 'chat',
983
+ provider: 'anthropic',
984
+ displayName: 'Claude 3.7 Sonnet',
985
+ pricing: { input: 0.003, output: 0.015 },
986
+ benchmarks: {
987
+ intelligence: 41.1,
988
+ coding: 32.3,
989
+ math: 21,
990
+ mmluPro: 0.803,
991
+ gpqa: 0.656,
992
+ },
993
+ performance: {
994
+ outputTokenPerSecond: 0,
995
+ timeTofirstToken: 0,
996
+ intelligenceScore: 41.1,
997
+ },
998
+ lastUpdated: '2025-12-20',
999
+ },
1000
+ 'claude-sonnet-4-20250514': {
1001
+ type: 'chat',
1002
+ provider: 'anthropic',
1003
+ displayName: 'Claude 4 Sonnet',
1004
+ pricing: { input: 0.003, output: 0.015 },
1005
+ benchmarks: {
1006
+ intelligence: 44.4,
1007
+ coding: 35.9,
1008
+ math: 38,
1009
+ mmluPro: 0.837,
1010
+ gpqa: 0.683,
1011
+ },
1012
+ performance: {
1013
+ outputTokenPerSecond: 64.597,
1014
+ timeTofirstToken: 2.109,
1015
+ intelligenceScore: 44.4,
1016
+ },
1017
+ lastUpdated: '2025-12-20',
1018
+ },
1019
+ 'claude-opus-4-20250514': {
1020
+ type: 'chat',
1021
+ provider: 'anthropic',
1022
+ displayName: 'Claude 4 Opus',
1023
+ pricing: { input: 0.015, output: 0.075 },
1024
+ benchmarks: {
1025
+ intelligence: 42.3,
1026
+ math: 36.3,
1027
+ mmluPro: 0.86,
1028
+ gpqa: 0.701,
1029
+ },
1030
+ performance: {
1031
+ outputTokenPerSecond: 39.264,
1032
+ timeTofirstToken: 1.618,
1033
+ intelligenceScore: 42.3,
94
1034
  },
95
- context: {
96
- window: 200000,
97
- input: {
98
- text: true,
99
- image: true,
100
- audio: false,
101
- video: false,
102
- },
103
- output: {
104
- text: true,
105
- image: false,
106
- audio: false,
107
- video: false,
108
- },
109
- },
110
- lastUpdated: '2025-11-27',
1035
+ lastUpdated: '2025-12-20',
111
1036
  },
112
1037
  'claude-opus-4-1-20250805': {
1038
+ type: 'chat',
113
1039
  provider: 'anthropic',
114
- displayName: 'Claude 4.1 Opus (Non-reasoning)',
1040
+ displayName: 'Claude 4.1 Opus',
115
1041
  pricing: { input: 0.015, output: 0.075 },
116
1042
  benchmarks: {
117
1043
  intelligence: 44.6,
118
1044
  },
119
1045
  performance: {
120
- outputTokenPerSecond: 39.947,
121
- timeTofirstToken: 1.445,
1046
+ outputTokenPerSecond: 36.026,
1047
+ timeTofirstToken: 1.414,
122
1048
  intelligenceScore: 44.6,
123
1049
  },
124
- context: {
125
- window: 200000,
126
- input: {
127
- text: true,
128
- image: true,
129
- audio: false,
130
- video: false,
131
- },
132
- output: {
133
- text: true,
134
- image: false,
135
- audio: false,
136
- video: false,
137
- },
138
- },
139
- lastUpdated: '2025-11-27',
1050
+ lastUpdated: '2025-12-20',
140
1051
  },
141
1052
  'claude-sonnet-4-5-20250929': {
1053
+ type: 'chat',
142
1054
  provider: 'anthropic',
143
- displayName: 'Claude 4.5 Sonnet (Non-reasoning)',
1055
+ displayName: 'Claude 4.5 Sonnet',
144
1056
  pricing: { input: 0.003, output: 0.015 },
145
1057
  benchmarks: {
146
1058
  intelligence: 49.6,
@@ -150,128 +1062,107 @@ export const MODEL_REGISTRY = {
150
1062
  gpqa: 0.727,
151
1063
  },
152
1064
  performance: {
153
- outputTokenPerSecond: 70.948,
154
- timeTofirstToken: 2.006,
1065
+ outputTokenPerSecond: 71.941,
1066
+ timeTofirstToken: 1.929,
155
1067
  intelligenceScore: 49.6,
156
1068
  },
157
- context: {
158
- window: 1000000,
159
- input: {
160
- text: true,
161
- image: true,
162
- audio: false,
163
- video: false,
164
- },
165
- output: {
166
- text: true,
167
- image: false,
168
- audio: false,
169
- video: false,
170
- },
171
- },
172
- lastUpdated: '2025-11-27',
1069
+ lastUpdated: '2025-12-20',
173
1070
  },
174
- 'claude-3-5-haiku-20241022': {
1071
+ 'claude-haiku-4-5-20251001': {
1072
+ type: 'chat',
175
1073
  provider: 'anthropic',
176
- displayName: 'Claude 3.5 Haiku',
177
- pricing: { input: 0.0008, output: 0.004 },
1074
+ displayName: 'Claude 4.5 Haiku',
1075
+ pricing: { input: 0.001, output: 0.005 },
178
1076
  benchmarks: {
179
- intelligence: 20.2,
180
- mmluPro: 0.634,
181
- gpqa: 0.408,
1077
+ intelligence: 41.7,
1078
+ coding: 37,
1079
+ math: 39,
1080
+ mmluPro: 0.8,
1081
+ gpqa: 0.646,
182
1082
  },
183
1083
  performance: {
184
- outputTokenPerSecond: 47.501,
185
- timeTofirstToken: 0.713,
186
- intelligenceScore: 20.2,
1084
+ outputTokenPerSecond: 88.782,
1085
+ timeTofirstToken: 1.146,
1086
+ intelligenceScore: 41.7,
187
1087
  },
188
- context: {
189
- window: 200000,
190
- input: {
191
- text: true,
192
- image: true,
193
- audio: false,
194
- video: false,
195
- },
196
- output: {
197
- text: true,
198
- image: false,
199
- audio: false,
200
- video: false,
201
- },
202
- },
203
- lastUpdated: '2025-11-27',
1088
+ lastUpdated: '2025-12-20',
204
1089
  },
205
- 'claude-3-7-sonnet-20250219': {
1090
+ 'claude-opus-4-5-20251101': {
1091
+ type: 'chat',
206
1092
  provider: 'anthropic',
207
- displayName: 'Claude 3.7 Sonnet (Non-reasoning)',
208
- pricing: { input: 0.003, output: 0.015 },
209
- benchmarks: {
210
- intelligence: 41.1,
211
- coding: 32.3,
212
- math: 21,
213
- mmluPro: 0.803,
214
- gpqa: 0.656,
215
- },
216
- performance: {
217
- outputTokenPerSecond: 56.392,
218
- timeTofirstToken: 0.551,
219
- intelligenceScore: 41.1,
220
- },
221
- context: {
222
- window: 200000,
223
- input: {
224
- text: true,
225
- image: true,
226
- audio: false,
227
- video: false,
228
- },
229
- output: {
230
- text: true,
231
- image: false,
232
- audio: false,
233
- video: false,
234
- },
235
- },
236
- lastUpdated: '2025-11-27',
1093
+ displayName: 'Claude 4.5 Opus',
1094
+ lastUpdated: '2025-12-20',
1095
+ },
1096
+ 'voyage-large-2-instruct': {
1097
+ type: 'embeddings',
1098
+ provider: 'anthropic',
1099
+ displayName: 'Voyage large 2 instruct',
1100
+ contextLength: 16000,
1101
+ lastUpdated: '2025-12-20',
1102
+ },
1103
+ 'voyage-finance-2': {
1104
+ type: 'embeddings',
1105
+ provider: 'anthropic',
1106
+ displayName: 'Voyage finance 2',
1107
+ contextLength: 32000,
1108
+ lastUpdated: '2025-12-20',
1109
+ },
1110
+ 'voyage-multilingual-2': {
1111
+ type: 'embeddings',
1112
+ provider: 'anthropic',
1113
+ displayName: 'Voyage multilingual 2',
1114
+ contextLength: 32000,
1115
+ lastUpdated: '2025-12-20',
1116
+ },
1117
+ 'voyage-law-2': {
1118
+ type: 'embeddings',
1119
+ provider: 'anthropic',
1120
+ displayName: 'Voyage law 2',
1121
+ contextLength: 16000,
1122
+ lastUpdated: '2025-12-20',
1123
+ },
1124
+ 'voyage-code-2': {
1125
+ type: 'embeddings',
1126
+ provider: 'anthropic',
1127
+ displayName: 'Voyage code 2',
1128
+ contextLength: 16000,
1129
+ lastUpdated: '2025-12-20',
1130
+ },
1131
+ 'voyage-large-2': {
1132
+ type: 'embeddings',
1133
+ provider: 'anthropic',
1134
+ displayName: 'Voyage large 2',
1135
+ contextLength: 16000,
1136
+ lastUpdated: '2025-12-20',
1137
+ },
1138
+ 'voyage-2': {
1139
+ type: 'embeddings',
1140
+ provider: 'anthropic',
1141
+ displayName: 'Voyage 2',
1142
+ contextLength: 4000,
1143
+ lastUpdated: '2025-12-20',
237
1144
  },
238
1145
  // Google models
239
- 'gemini-2.5-pro': {
1146
+ 'google/gemini-2.0-flash-exp': {
1147
+ type: 'chat',
240
1148
  provider: 'google',
241
- displayName: 'Gemini 2.5 Pro',
242
- pricing: { input: 0.00125, output: 0.01 },
1149
+ displayName: 'Gemini 2.0 Flash Experimental',
243
1150
  benchmarks: {
244
- intelligence: 59.6,
245
- coding: 49.3,
246
- math: 87.7,
247
- mmluPro: 0.862,
248
- gpqa: 0.844,
1151
+ intelligence: 31.8,
1152
+ mmluPro: 0.782,
1153
+ gpqa: 0.636,
249
1154
  },
250
1155
  performance: {
251
- outputTokenPerSecond: 42.557,
252
- timeTofirstToken: 15.534,
253
- intelligenceScore: 59.6,
1156
+ outputTokenPerSecond: 137.693,
1157
+ timeTofirstToken: 0.309,
1158
+ intelligenceScore: 31.8,
254
1159
  },
255
- context: {
256
- window: 1048576,
257
- input: {
258
- text: true,
259
- image: true,
260
- audio: false,
261
- video: false,
262
- },
263
- output: {
264
- text: true,
265
- image: false,
266
- audio: false,
267
- video: false,
268
- },
269
- },
270
- lastUpdated: '2025-11-27',
271
- },
272
- 'gemini-2.0-flash': {
273
- provider: 'google',
274
- displayName: 'Gemini 2.0 Flash (Feb \'25)',
1160
+ lastUpdated: '2025-12-20',
1161
+ },
1162
+ 'google/gemini-2.0-flash': {
1163
+ type: 'chat',
1164
+ provider: 'google',
1165
+ displayName: 'Gemini 2.0 Flash',
275
1166
  pricing: { input: 0.0001, output: 0.0004 },
276
1167
  benchmarks: {
277
1168
  intelligence: 33.6,
@@ -281,30 +1172,35 @@ export const MODEL_REGISTRY = {
281
1172
  gpqa: 0.623,
282
1173
  },
283
1174
  performance: {
284
- outputTokenPerSecond: 161.857,
285
- timeTofirstToken: 0.375,
1175
+ outputTokenPerSecond: 182.888,
1176
+ timeTofirstToken: 0.394,
286
1177
  intelligenceScore: 33.6,
287
1178
  },
288
- context: {
289
- window: 1048576,
290
- input: {
291
- text: true,
292
- image: true,
293
- audio: false,
294
- video: false,
295
- },
296
- output: {
297
- text: true,
298
- image: false,
299
- audio: false,
300
- video: false,
301
- },
302
- },
303
- lastUpdated: '2025-11-27',
304
- },
305
- 'gemini-2.5-flash': {
306
- provider: 'google',
307
- displayName: 'Gemini 2.5 Flash (Non-reasoning)',
1179
+ lastUpdated: '2025-12-20',
1180
+ },
1181
+ 'google/gemini-2.5-pro': {
1182
+ type: 'chat',
1183
+ provider: 'google',
1184
+ displayName: 'Gemini 2.5 Pro',
1185
+ pricing: { input: 0.00125, output: 0.01 },
1186
+ benchmarks: {
1187
+ intelligence: 59.6,
1188
+ coding: 49.3,
1189
+ math: 87.7,
1190
+ mmluPro: 0.862,
1191
+ gpqa: 0.844,
1192
+ },
1193
+ performance: {
1194
+ outputTokenPerSecond: 154.828,
1195
+ timeTofirstToken: 34.591,
1196
+ intelligenceScore: 59.6,
1197
+ },
1198
+ lastUpdated: '2025-12-20',
1199
+ },
1200
+ 'google/gemini-2.5-flash': {
1201
+ type: 'chat',
1202
+ provider: 'google',
1203
+ displayName: 'Gemini 2.5 Flash',
308
1204
  pricing: { input: 0.0003, output: 0.0025 },
309
1205
  benchmarks: {
310
1206
  intelligence: 40.4,
@@ -314,25 +1210,316 @@ export const MODEL_REGISTRY = {
314
1210
  gpqa: 0.683,
315
1211
  },
316
1212
  performance: {
317
- outputTokenPerSecond: 230.517,
318
- timeTofirstToken: 0.401,
1213
+ outputTokenPerSecond: 224.585,
1214
+ timeTofirstToken: 0.357,
319
1215
  intelligenceScore: 40.4,
320
1216
  },
321
- context: {
322
- window: 1048576,
323
- input: {
324
- text: true,
325
- image: true,
326
- audio: false,
327
- video: false,
328
- },
329
- output: {
330
- text: true,
331
- image: false,
332
- audio: false,
333
- video: false,
334
- },
335
- },
336
- lastUpdated: '2025-11-27',
1217
+ lastUpdated: '2025-12-20',
1218
+ },
1219
+ 'google/gemma-3-4b-it': {
1220
+ type: 'chat',
1221
+ provider: 'google',
1222
+ displayName: 'Gemma 3 4B',
1223
+ benchmarks: {
1224
+ intelligence: 14.7,
1225
+ coding: 6.4,
1226
+ math: 12.7,
1227
+ mmluPro: 0.417,
1228
+ gpqa: 0.291,
1229
+ },
1230
+ performance: {
1231
+ outputTokenPerSecond: 48.964,
1232
+ timeTofirstToken: 1.039,
1233
+ intelligenceScore: 14.7,
1234
+ },
1235
+ lastUpdated: '2025-12-20',
1236
+ },
1237
+ 'google/gemma-3-12b-it': {
1238
+ type: 'chat',
1239
+ provider: 'google',
1240
+ displayName: 'Gemma 3 12B',
1241
+ benchmarks: {
1242
+ intelligence: 20.4,
1243
+ coding: 10.6,
1244
+ math: 18.3,
1245
+ mmluPro: 0.595,
1246
+ gpqa: 0.349,
1247
+ },
1248
+ performance: {
1249
+ outputTokenPerSecond: 50.865,
1250
+ timeTofirstToken: 3.035,
1251
+ intelligenceScore: 20.4,
1252
+ },
1253
+ lastUpdated: '2025-12-20',
1254
+ },
1255
+ 'google/gemma-3-27b-it': {
1256
+ type: 'chat',
1257
+ provider: 'google',
1258
+ displayName: 'Gemma 3 27B',
1259
+ benchmarks: {
1260
+ intelligence: 22.1,
1261
+ coding: 12.8,
1262
+ math: 20.7,
1263
+ mmluPro: 0.669,
1264
+ gpqa: 0.428,
1265
+ },
1266
+ performance: {
1267
+ outputTokenPerSecond: 49.065,
1268
+ timeTofirstToken: 0.829,
1269
+ intelligenceScore: 22.1,
1270
+ },
1271
+ lastUpdated: '2025-12-20',
1272
+ },
1273
+ 'google/gemini-2.5-flash-lite-preview': {
1274
+ type: 'chat',
1275
+ provider: 'google',
1276
+ displayName: 'Gemini 2.5 Flash Lite Preview',
1277
+ pricing: { input: 0.0001, output: 0.0004 },
1278
+ benchmarks: {
1279
+ intelligence: 41.6,
1280
+ coding: 33.2,
1281
+ math: 46.7,
1282
+ mmluPro: 0.796,
1283
+ gpqa: 0.651,
1284
+ },
1285
+ performance: {
1286
+ outputTokenPerSecond: 498.543,
1287
+ timeTofirstToken: 0.252,
1288
+ intelligenceScore: 41.6,
1289
+ },
1290
+ lastUpdated: '2025-12-20',
1291
+ },
1292
+ 'google/gemma-3n-e4b-it': {
1293
+ type: 'chat',
1294
+ provider: 'google',
1295
+ displayName: 'Gemma 3n 4B',
1296
+ pricing: { input: 0.00002, output: 0.00004 },
1297
+ benchmarks: {
1298
+ intelligence: 15.5,
1299
+ coding: 8.3,
1300
+ math: 14.3,
1301
+ mmluPro: 0.488,
1302
+ gpqa: 0.296,
1303
+ },
1304
+ performance: {
1305
+ outputTokenPerSecond: 55.692,
1306
+ timeTofirstToken: 0.315,
1307
+ intelligenceScore: 15.5,
1308
+ },
1309
+ lastUpdated: '2025-12-20',
1310
+ },
1311
+ 'google/gemini-3-pro-preview': {
1312
+ type: 'chat',
1313
+ provider: 'google',
1314
+ displayName: 'Gemini 3 Pro Preview',
1315
+ pricing: { input: 0.002, output: 0.012 },
1316
+ benchmarks: {
1317
+ intelligence: 72.8,
1318
+ coding: 62.3,
1319
+ math: 95.7,
1320
+ mmluPro: 0.898,
1321
+ gpqa: 0.908,
1322
+ },
1323
+ performance: {
1324
+ outputTokenPerSecond: 134.065,
1325
+ timeTofirstToken: 31.172,
1326
+ intelligenceScore: 72.8,
1327
+ },
1328
+ lastUpdated: '2025-12-20',
1329
+ },
1330
+ 'google/gemini-3-flash-preview': {
1331
+ type: 'chat',
1332
+ provider: 'google',
1333
+ displayName: 'Gemini 3 Flash Preview',
1334
+ pricing: { input: 0.0005, output: 0.003 },
1335
+ benchmarks: {
1336
+ intelligence: 54.5,
1337
+ coding: 53.1,
1338
+ math: 55.7,
1339
+ mmluPro: 0.882,
1340
+ gpqa: 0.812,
1341
+ },
1342
+ performance: {
1343
+ outputTokenPerSecond: 187.211,
1344
+ timeTofirstToken: 0.729,
1345
+ intelligenceScore: 54.5,
1346
+ },
1347
+ lastUpdated: '2025-12-20',
1348
+ },
1349
+ 'google/gc-document-ai': {
1350
+ type: 'document',
1351
+ provider: 'google',
1352
+ displayName: 'GC document AI',
1353
+ lastUpdated: '2025-12-20',
1354
+ },
1355
+ 'imagen-3.0-generate-002': {
1356
+ type: 'image',
1357
+ provider: 'google',
1358
+ displayName: 'Imagen 3.0',
1359
+ lastUpdated: '2025-12-20',
1360
+ },
1361
+ 'imagen-4.0-ultra-generate-preview-06-06': {
1362
+ type: 'image',
1363
+ provider: 'google',
1364
+ displayName: 'Imagen 4.0 Ultra',
1365
+ lastUpdated: '2025-12-20',
1366
+ },
1367
+ 'google/imagen-4.0-generate-001': {
1368
+ type: 'image',
1369
+ provider: 'google',
1370
+ displayName: 'Imagen 4.0 Generate',
1371
+ lastUpdated: '2025-12-20',
1372
+ },
1373
+ 'google/imagen-4.0-fast-generate-001': {
1374
+ type: 'image',
1375
+ provider: 'google',
1376
+ displayName: 'Imagen 4.0 Fast Generate',
1377
+ lastUpdated: '2025-12-20',
1378
+ },
1379
+ 'google/imagen-4.0-ultra-generate-001': {
1380
+ type: 'image',
1381
+ provider: 'google',
1382
+ displayName: 'Imagen 4.0 Ultra Generate',
1383
+ lastUpdated: '2025-12-20',
1384
+ },
1385
+ 'google/imagen4/preview': {
1386
+ type: 'image',
1387
+ provider: 'google',
1388
+ displayName: 'Imagen 4.0 Generate Preview',
1389
+ lastUpdated: '2025-12-20',
1390
+ },
1391
+ 'google/gemini-2.5-flash-image': {
1392
+ type: 'image',
1393
+ provider: 'google',
1394
+ displayName: 'Gemini 2.5 Flash Image',
1395
+ lastUpdated: '2025-12-20',
1396
+ },
1397
+ 'google/gemini-2.5-flash-image-edit': {
1398
+ type: 'image',
1399
+ provider: 'google',
1400
+ displayName: 'Gemini 2.5 Flash Image Edit',
1401
+ lastUpdated: '2025-12-20',
1402
+ },
1403
+ 'google/gemini-3-pro-image-preview': {
1404
+ type: 'image',
1405
+ provider: 'google',
1406
+ displayName: 'Gemini 3 Pro Image',
1407
+ lastUpdated: '2025-12-20',
1408
+ },
1409
+ 'google/nano-banana-pro': {
1410
+ type: 'image',
1411
+ provider: 'google',
1412
+ displayName: 'Nano Banana Pro',
1413
+ lastUpdated: '2025-12-20',
1414
+ },
1415
+ 'google/gemini-3-pro-image-preview-edit': {
1416
+ type: 'image',
1417
+ provider: 'google',
1418
+ displayName: 'Gemini 3 Pro Image Edit',
1419
+ lastUpdated: '2025-12-20',
1420
+ },
1421
+ 'google/nano-banana-pro-edit': {
1422
+ type: 'image',
1423
+ provider: 'google',
1424
+ displayName: 'Nano Banana Pro Edit',
1425
+ lastUpdated: '2025-12-20',
1426
+ },
1427
+ 'text-embedding-004': {
1428
+ type: 'embeddings',
1429
+ provider: 'google',
1430
+ displayName: 'Text embedding 004',
1431
+ contextLength: 2000,
1432
+ lastUpdated: '2025-12-20',
1433
+ },
1434
+ 'text-multilingual-embedding-002': {
1435
+ type: 'embeddings',
1436
+ provider: 'google',
1437
+ displayName: 'Text multilingual embedding 002',
1438
+ contextLength: 2000,
1439
+ lastUpdated: '2025-12-20',
1440
+ },
1441
+ 'google/veo-3.1-t2v': {
1442
+ type: 'video',
1443
+ provider: 'google',
1444
+ displayName: 'Veo3.1 Text-To-Video',
1445
+ lastUpdated: '2025-12-20',
1446
+ },
1447
+ 'google/veo-3.1-i2v': {
1448
+ type: 'video',
1449
+ provider: 'google',
1450
+ displayName: 'Veo3.1 Image-To-Video',
1451
+ lastUpdated: '2025-12-20',
1452
+ },
1453
+ 'google/veo-3.1-first-last-image-to-video': {
1454
+ type: 'video',
1455
+ provider: 'google',
1456
+ displayName: 'Veo3.1 First-Last-Frame-Image-To-Video',
1457
+ lastUpdated: '2025-12-20',
1458
+ },
1459
+ 'google/veo-3.1-reference-to-video': {
1460
+ type: 'video',
1461
+ provider: 'google',
1462
+ displayName: 'Veo3.1 Reference-To-Video',
1463
+ lastUpdated: '2025-12-20',
1464
+ },
1465
+ 'google/veo-3.1-t2v-fast': {
1466
+ type: 'video',
1467
+ provider: 'google',
1468
+ displayName: 'Veo3.1 Text-To-Video Fast',
1469
+ lastUpdated: '2025-12-20',
1470
+ },
1471
+ 'google/veo-3.1-i2v-fast': {
1472
+ type: 'video',
1473
+ provider: 'google',
1474
+ displayName: 'Veo3.1 Image-To-Video Fast',
1475
+ lastUpdated: '2025-12-20',
1476
+ },
1477
+ 'google/veo-3.1-first-last-image-to-video-fast': {
1478
+ type: 'video',
1479
+ provider: 'google',
1480
+ displayName: 'Veo3.1 First-Last-Frame-Image-To-Video Fast',
1481
+ lastUpdated: '2025-12-20',
1482
+ },
1483
+ 'veo2/image-to-video': {
1484
+ type: 'video',
1485
+ provider: 'google',
1486
+ displayName: 'Veo2 Image-to-Video',
1487
+ lastUpdated: '2025-12-20',
1488
+ },
1489
+ 'veo2': {
1490
+ type: 'video',
1491
+ provider: 'google',
1492
+ displayName: 'Veo2 Text-to-Video',
1493
+ lastUpdated: '2025-12-20',
1494
+ },
1495
+ 'google/veo3': {
1496
+ type: 'video',
1497
+ provider: 'google',
1498
+ displayName: 'Veo3 Text-to-Video',
1499
+ lastUpdated: '2025-12-20',
1500
+ },
1501
+ 'google/veo-3.0-i2v': {
1502
+ type: 'video',
1503
+ provider: 'google',
1504
+ displayName: 'Veo3 Image-to-Video',
1505
+ lastUpdated: '2025-12-20',
1506
+ },
1507
+ 'google/veo-3.0-fast': {
1508
+ type: 'video',
1509
+ provider: 'google',
1510
+ displayName: 'Veo3 Text-To-Video Fast',
1511
+ lastUpdated: '2025-12-20',
1512
+ },
1513
+ 'google/veo-3.0-i2v-fast': {
1514
+ type: 'video',
1515
+ provider: 'google',
1516
+ displayName: 'Veo3 Image-to-Video Fast',
1517
+ lastUpdated: '2025-12-20',
1518
+ },
1519
+ 'google/lyria2': {
1520
+ type: 'audio',
1521
+ provider: 'google',
1522
+ displayName: 'Lyria 2',
1523
+ lastUpdated: '2025-12-20',
337
1524
  },
338
1525
  };