llm.rb 16.0.0.pre.1 → 16.0.0.pre.2

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.
data/data/deepinfra.json CHANGED
@@ -38,7 +38,8 @@
38
38
  "input": 0.13,
39
39
  "output": 0.53,
40
40
  "cache_read": 0.033
41
- }
41
+ },
42
+ "canonical_model_id": "tencent/hy3"
42
43
  },
43
44
  "tencent/Hy4-preview": {
44
45
  "id": "tencent/Hy4-preview",
@@ -78,7 +79,8 @@
78
79
  "input": 0.834,
79
80
  "output": 2.501,
80
81
  "cache_read": 0.042
81
- }
82
+ },
83
+ "canonical_model_id": "tencent/hy4-preview"
82
84
  },
83
85
  "meta-llama/Llama-3.3-70B-Instruct-Turbo": {
84
86
  "id": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
@@ -206,7 +208,8 @@
206
208
  "input": 0.43,
207
209
  "output": 0.87,
208
210
  "cache_read": 0.0036
209
- }
211
+ },
212
+ "canonical_model_id": "xiaomi/mimo-v2.6-pro"
210
213
  },
211
214
  "XiaomiMiMo/MiMo-V2.5-Pro": {
212
215
  "id": "XiaomiMiMo/MiMo-V2.5-Pro",
@@ -247,7 +250,8 @@
247
250
  "input": 1,
248
251
  "output": 3,
249
252
  "cache_read": 0.2
250
- }
253
+ },
254
+ "canonical_model_id": "xiaomi/mimo-v2.5-pro"
251
255
  },
252
256
  "XiaomiMiMo/MiMo-V2.6-Flash": {
253
257
  "id": "XiaomiMiMo/MiMo-V2.6-Flash",
@@ -285,8 +289,9 @@
285
289
  "cost": {
286
290
  "input": 0.14,
287
291
  "output": 0.28,
288
- "cache_read": 0.0027
289
- }
292
+ "cache_read": 0.0028
293
+ },
294
+ "canonical_model_id": "xiaomi/mimo-v2.6-flash"
290
295
  },
291
296
  "XiaomiMiMo/MiMo-V2.5": {
292
297
  "id": "XiaomiMiMo/MiMo-V2.5",
@@ -329,7 +334,8 @@
329
334
  "input": 0.14,
330
335
  "output": 0.28,
331
336
  "cache_read": 0.0028
332
- }
337
+ },
338
+ "canonical_model_id": "xiaomi/mimo-v2.5"
333
339
  },
334
340
  "thinkingmachines/Inkling-Small": {
335
341
  "id": "thinkingmachines/Inkling-Small",
@@ -363,7 +369,8 @@
363
369
  "input": 0.45,
364
370
  "output": 1.2,
365
371
  "cache_read": 0.1
366
- }
372
+ },
373
+ "canonical_model_id": "thinkingmachines/inkling-small"
367
374
  },
368
375
  "thinkingmachines/Inkling": {
369
376
  "id": "thinkingmachines/Inkling",
@@ -397,7 +404,8 @@
397
404
  "input": 0.95,
398
405
  "output": 4.05,
399
406
  "cache_read": 0.16
400
- }
407
+ },
408
+ "canonical_model_id": "thinkingmachines/inkling"
401
409
  },
402
410
  "google/gemma-3-27b-it": {
403
411
  "id": "google/gemma-3-27b-it",
@@ -429,7 +437,8 @@
429
437
  "cost": {
430
438
  "input": 0.08,
431
439
  "output": 0.16
432
- }
440
+ },
441
+ "canonical_model_id": "google/gemma-3-27b-it"
433
442
  },
434
443
  "google/gemma-3-12b-it": {
435
444
  "id": "google/gemma-3-12b-it",
@@ -461,7 +470,8 @@
461
470
  "cost": {
462
471
  "input": 0.05,
463
472
  "output": 0.15
464
- }
473
+ },
474
+ "canonical_model_id": "google/gemma-3-12b-it"
465
475
  },
466
476
  "google/gemma-3-4b-it": {
467
477
  "id": "google/gemma-3-4b-it",
@@ -493,7 +503,8 @@
493
503
  "cost": {
494
504
  "input": 0.05,
495
505
  "output": 0.1
496
- }
506
+ },
507
+ "canonical_model_id": "google/gemma-3-4b-it"
497
508
  },
498
509
  "google/gemma-4-31B-it": {
499
510
  "id": "google/gemma-4-31B-it",
@@ -530,7 +541,8 @@
530
541
  "cost": {
531
542
  "input": 0.13,
532
543
  "output": 0.38
533
- }
544
+ },
545
+ "canonical_model_id": "google/gemma-4-31b-it"
534
546
  },
535
547
  "google/gemma-4-26B-A4B-it": {
536
548
  "id": "google/gemma-4-26B-A4B-it",
@@ -566,7 +578,8 @@
566
578
  "cost": {
567
579
  "input": 0.07,
568
580
  "output": 0.34
569
- }
581
+ },
582
+ "canonical_model_id": "google/gemma-4-26b-a4b-it"
570
583
  },
571
584
  "google/gemma-4-E4B-it": {
572
585
  "id": "google/gemma-4-E4B-it",
@@ -603,7 +616,8 @@
603
616
  "cost": {
604
617
  "input": 0.02,
605
618
  "output": 0.1
606
- }
619
+ },
620
+ "canonical_model_id": "google/gemma-4-E4B-it"
607
621
  },
608
622
  "Qwen/Qwen3-VL-235B-A22B-Instruct": {
609
623
  "id": "Qwen/Qwen3-VL-235B-A22B-Instruct",
@@ -636,7 +650,8 @@
636
650
  "input": 0.2,
637
651
  "output": 0.88,
638
652
  "cache_read": 0.11
639
- }
653
+ },
654
+ "canonical_model_id": "alibaba/qwen3-vl-235b-a22b-instruct"
640
655
  },
641
656
  "Qwen/Qwen3.8-27B": {
642
657
  "id": "Qwen/Qwen3.8-27B",
@@ -682,7 +697,8 @@
682
697
  "input": 0.2,
683
698
  "output": 2.5,
684
699
  "cache_read": 0.05
685
- }
700
+ },
701
+ "canonical_model_id": "alibaba/qwen3.8-27b"
686
702
  },
687
703
  "Qwen/Qwen3-Next-80B-A3B-Instruct": {
688
704
  "id": "Qwen/Qwen3-Next-80B-A3B-Instruct",
@@ -713,7 +729,8 @@
713
729
  "cost": {
714
730
  "input": 0.09,
715
731
  "output": 1.1
716
- }
732
+ },
733
+ "canonical_model_id": "alibaba/qwen3-next-80b-a3b-instruct"
717
734
  },
718
735
  "Qwen/Qwen3.7-Max": {
719
736
  "id": "Qwen/Qwen3.7-Max",
@@ -764,7 +781,8 @@
764
781
  }
765
782
  }
766
783
  ]
767
- }
784
+ },
785
+ "canonical_model_id": "alibaba/qwen3.7-max"
768
786
  },
769
787
  "Qwen/Qwen3.8-Max": {
770
788
  "id": "Qwen/Qwen3.8-Max",
@@ -798,7 +816,8 @@
798
816
  "input": 1.65,
799
817
  "output": 4.951,
800
818
  "cache_read": 0.206
801
- }
819
+ },
820
+ "canonical_model_id": "alibaba/qwen3.8-max"
802
821
  },
803
822
  "Qwen/Qwen3.5-27B": {
804
823
  "id": "Qwen/Qwen3.5-27B",
@@ -832,7 +851,8 @@
832
851
  "cost": {
833
852
  "input": 0.26,
834
853
  "output": 2.6
835
- }
854
+ },
855
+ "canonical_model_id": "alibaba/qwen3.5-27b"
836
856
  },
837
857
  "Qwen/Qwen3.6-35B-A3B": {
838
858
  "id": "Qwen/Qwen3.6-35B-A3B",
@@ -949,7 +969,8 @@
949
969
  }
950
970
  }
951
971
  ]
952
- }
972
+ },
973
+ "canonical_model_id": "alibaba/qwen3-max"
953
974
  },
954
975
  "Qwen/Qwen3-235B-A22B-Instruct-2507": {
955
976
  "id": "Qwen/Qwen3-235B-A22B-Instruct-2507",
@@ -979,7 +1000,8 @@
979
1000
  "cost": {
980
1001
  "input": 0.09,
981
1002
  "output": 0.55
982
- }
1003
+ },
1004
+ "canonical_model_id": "alibaba/qwen3-235b-a22b-instruct-2507"
983
1005
  },
984
1006
  "Qwen/Qwen3.8-Flash": {
985
1007
  "id": "Qwen/Qwen3.8-Flash",
@@ -1011,7 +1033,8 @@
1011
1033
  "input": 0.113,
1012
1034
  "output": 0.382,
1013
1035
  "cache_read": 0.0141
1014
- }
1036
+ },
1037
+ "canonical_model_id": "alibaba/qwen3.8-flash"
1015
1038
  },
1016
1039
  "Qwen/Qwen3-32B": {
1017
1040
  "id": "Qwen/Qwen3-32B",
@@ -1043,7 +1066,8 @@
1043
1066
  "cost": {
1044
1067
  "input": 0.08,
1045
1068
  "output": 0.28
1046
- }
1069
+ },
1070
+ "canonical_model_id": "alibaba/qwen3-32b"
1047
1071
  },
1048
1072
  "Qwen/Qwen3.5-35B-A3B": {
1049
1073
  "id": "Qwen/Qwen3.5-35B-A3B",
@@ -1112,7 +1136,8 @@
1112
1136
  "cost": {
1113
1137
  "input": 0.29,
1114
1138
  "output": 2.4
1115
- }
1139
+ },
1140
+ "canonical_model_id": "alibaba/qwen3.5-122b-a10b"
1116
1141
  },
1117
1142
  "Qwen/Qwen3.5-9B": {
1118
1143
  "id": "Qwen/Qwen3.5-9B",
@@ -1145,7 +1170,8 @@
1145
1170
  "cost": {
1146
1171
  "input": 0.1,
1147
1172
  "output": 0.15
1148
- }
1173
+ },
1174
+ "canonical_model_id": "alibaba/qwen3.5-9b"
1149
1175
  },
1150
1176
  "Qwen/Qwen3.5-397B-A17B": {
1151
1177
  "id": "Qwen/Qwen3.5-397B-A17B",
@@ -1221,7 +1247,8 @@
1221
1247
  "input": 2,
1222
1248
  "output": 6,
1223
1249
  "cache_read": 0.2
1224
- }
1250
+ },
1251
+ "canonical_model_id": "alibaba/qwen3.8-2.4t-a95b"
1225
1252
  },
1226
1253
  "Qwen/Qwen3-30B-A3B": {
1227
1254
  "id": "Qwen/Qwen3-30B-A3B",
@@ -1252,7 +1279,8 @@
1252
1279
  "cost": {
1253
1280
  "input": 0.12,
1254
1281
  "output": 0.5
1255
- }
1282
+ },
1283
+ "canonical_model_id": "alibaba/qwen3-30b-a3b"
1256
1284
  },
1257
1285
  "Qwen/Qwen3.6-27B": {
1258
1286
  "id": "Qwen/Qwen3.6-27B",
@@ -1286,7 +1314,8 @@
1286
1314
  "cost": {
1287
1315
  "input": 0.32,
1288
1316
  "output": 3.2
1289
- }
1317
+ },
1318
+ "canonical_model_id": "alibaba/qwen3.6-27b"
1290
1319
  },
1291
1320
  "deepseek-ai/DeepSeek-V3.1": {
1292
1321
  "id": "deepseek-ai/DeepSeek-V3.1",
@@ -1322,7 +1351,8 @@
1322
1351
  "input": 0.25,
1323
1352
  "output": 0.95,
1324
1353
  "cache_read": 0.13
1325
- }
1354
+ },
1355
+ "canonical_model_id": "deepseek/deepseek-v3.1"
1326
1356
  },
1327
1357
  "deepseek-ai/DeepSeek-V4-Flash-0731": {
1328
1358
  "id": "deepseek-ai/DeepSeek-V4-Flash-0731",
@@ -1359,7 +1389,8 @@
1359
1389
  "input": 0.06,
1360
1390
  "output": 0.18,
1361
1391
  "cache_read": 0.015
1362
- }
1392
+ },
1393
+ "canonical_model_id": "deepseek/deepseek-v4-flash-0731"
1363
1394
  },
1364
1395
  "deepseek-ai/DeepSeek-V4-Pro-0813": {
1365
1396
  "id": "deepseek-ai/DeepSeek-V4-Pro-0813",
@@ -1402,7 +1433,8 @@
1402
1433
  "input": 1.3,
1403
1434
  "output": 2.6,
1404
1435
  "cache_read": 0.1
1405
- }
1436
+ },
1437
+ "canonical_model_id": "deepseek/deepseek-v4-pro-0813"
1406
1438
  },
1407
1439
  "deepseek-ai/DeepSeek-V4.1-Flash": {
1408
1440
  "id": "deepseek-ai/DeepSeek-V4.1-Flash",
@@ -1447,7 +1479,8 @@
1447
1479
  "input": 0.2,
1448
1480
  "output": 0.6,
1449
1481
  "cache_read": 0.006
1450
- }
1482
+ },
1483
+ "canonical_model_id": "deepseek/deepseek-v4.1-flash"
1451
1484
  },
1452
1485
  "deepseek-ai/DeepSeek-V4-Flash": {
1453
1486
  "id": "deepseek-ai/DeepSeek-V4-Flash",
@@ -1496,7 +1529,8 @@
1496
1529
  "input": 0.09,
1497
1530
  "output": 0.18,
1498
1531
  "cache_read": 0.018
1499
- }
1532
+ },
1533
+ "canonical_model_id": "deepseek/deepseek-v4-flash"
1500
1534
  },
1501
1535
  "deepseek-ai/DeepSeek-V4-Pro": {
1502
1536
  "id": "deepseek-ai/DeepSeek-V4-Pro",
@@ -1545,7 +1579,8 @@
1545
1579
  "input": 1.3,
1546
1580
  "output": 2.6,
1547
1581
  "cache_read": 0.1
1548
- }
1582
+ },
1583
+ "canonical_model_id": "deepseek/deepseek-v4-pro"
1549
1584
  },
1550
1585
  "deepseek-ai/DeepSeek-V3.2": {
1551
1586
  "id": "deepseek-ai/DeepSeek-V3.2",
@@ -1649,7 +1684,8 @@
1649
1684
  "cost": {
1650
1685
  "input": 0.32,
1651
1686
  "output": 0.89
1652
- }
1687
+ },
1688
+ "canonical_model_id": "deepseek/deepseek-v3"
1653
1689
  },
1654
1690
  "deepseek-ai/DeepSeek-V3-0324": {
1655
1691
  "id": "deepseek-ai/DeepSeek-V3-0324",
@@ -1680,7 +1716,8 @@
1680
1716
  "input": 0.24,
1681
1717
  "output": 0.9,
1682
1718
  "cache_read": 0.135
1683
- }
1719
+ },
1720
+ "canonical_model_id": "deepseek/deepseek-v3-0324"
1684
1721
  },
1685
1722
  "deepseek-ai/DeepSeek-V4-Flash-Vision-Exp": {
1686
1723
  "id": "deepseek-ai/DeepSeek-V4-Flash-Vision-Exp",
@@ -1723,7 +1760,8 @@
1723
1760
  "input": 0.44,
1724
1761
  "output": 1.32,
1725
1762
  "cache_read": 0.014
1726
- }
1763
+ },
1764
+ "canonical_model_id": "deepseek/deepseek-v4-flash-vision-exp"
1727
1765
  },
1728
1766
  "stepfun-ai/Step-3.7-Flash": {
1729
1767
  "id": "stepfun-ai/Step-3.7-Flash",
@@ -1756,7 +1794,8 @@
1756
1794
  "input": 0.2,
1757
1795
  "output": 1.15,
1758
1796
  "cache_read": 0.04
1759
- }
1797
+ },
1798
+ "canonical_model_id": "stepfun/step-3.7-flash"
1760
1799
  },
1761
1800
  "MiniMaxAI/MiniMax-M3": {
1762
1801
  "id": "MiniMaxAI/MiniMax-M3",
@@ -1790,7 +1829,8 @@
1790
1829
  "input": 0.28,
1791
1830
  "output": 1.1,
1792
1831
  "cache_read": 0.056
1793
- }
1832
+ },
1833
+ "canonical_model_id": "minimax/MiniMax-M3"
1794
1834
  },
1795
1835
  "MiniMaxAI/MiniMax-M2.5": {
1796
1836
  "id": "MiniMaxAI/MiniMax-M2.5",
@@ -1858,7 +1898,8 @@
1858
1898
  "input": 0.25,
1859
1899
  "output": 1,
1860
1900
  "cache_read": 0.05
1861
- }
1901
+ },
1902
+ "canonical_model_id": "minimax/MiniMax-M2.7"
1862
1903
  },
1863
1904
  "moonshotai/Kimi-K2.6": {
1864
1905
  "id": "moonshotai/Kimi-K2.6",
@@ -1942,7 +1983,8 @@
1942
1983
  "input": 2.85,
1943
1984
  "output": 14.25,
1944
1985
  "cache_read": 0.285
1945
- }
1986
+ },
1987
+ "canonical_model_id": "moonshotai/kimi-k3"
1946
1988
  },
1947
1989
  "moonshotai/Kimi-K2.7-Code": {
1948
1990
  "id": "moonshotai/Kimi-K2.7-Code",
@@ -1984,7 +2026,8 @@
1984
2026
  "input": 0.68,
1985
2027
  "output": 3.4,
1986
2028
  "cache_read": 0.136
1987
- }
2029
+ },
2030
+ "canonical_model_id": "moonshotai/kimi-k2.7-code"
1988
2031
  },
1989
2032
  "moonshotai/Kimi-K2.5": {
1990
2033
  "id": "moonshotai/Kimi-K2.5",
@@ -2115,7 +2158,8 @@
2115
2158
  "input": 0.75,
2116
2159
  "output": 2.4,
2117
2160
  "cache_read": 0.14
2118
- }
2161
+ },
2162
+ "canonical_model_id": "zhipuai/glm-5.2"
2119
2163
  },
2120
2164
  "zai-org/GLM-4.7": {
2121
2165
  "id": "zai-org/GLM-4.7",
@@ -2240,7 +2284,8 @@
2240
2284
  "input": 0.15,
2241
2285
  "output": 0.5,
2242
2286
  "cache_read": 0.03
2243
- }
2287
+ },
2288
+ "canonical_model_id": "zhipuai/glm-5.3-flash"
2244
2289
  },
2245
2290
  "zai-org/GLM-4.6": {
2246
2291
  "id": "zai-org/GLM-4.6",
@@ -2358,7 +2403,8 @@
2358
2403
  "input": 0.9,
2359
2404
  "output": 4,
2360
2405
  "cache_read": 0.2
2361
- }
2406
+ },
2407
+ "canonical_model_id": "zhipuai/glm-5.3"
2362
2408
  },
2363
2409
  "nvidia/Nemotron-3-Nano-30B-A3B": {
2364
2410
  "id": "nvidia/Nemotron-3-Nano-30B-A3B",
@@ -2393,7 +2439,8 @@
2393
2439
  "input": 0.05,
2394
2440
  "output": 0.2,
2395
2441
  "cache_read": 0.025
2396
- }
2442
+ },
2443
+ "canonical_model_id": "nvidia/nemotron-3-nano-30b-a3b"
2397
2444
  },
2398
2445
  "nvidia/Llama-3.3-Nemotron-Super-49B-v1.5": {
2399
2446
  "id": "nvidia/Llama-3.3-Nemotron-Super-49B-v1.5",
@@ -2425,7 +2472,8 @@
2425
2472
  "cost": {
2426
2473
  "input": 0.4,
2427
2474
  "output": 0.4
2428
- }
2475
+ },
2476
+ "canonical_model_id": "nvidia/llama-3.3-nemotron-super-49b-v1.5"
2429
2477
  },
2430
2478
  "nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning": {
2431
2479
  "id": "nvidia/Nemotron-3-Nano-Omni-30B-A3B-Reasoning",
@@ -2460,7 +2508,8 @@
2460
2508
  "cost": {
2461
2509
  "input": 0.2,
2462
2510
  "output": 0.8
2463
- }
2511
+ },
2512
+ "canonical_model_id": "nvidia/nemotron-3-nano-omni-30b-a3b-reasoning"
2464
2513
  },
2465
2514
  "ByteDance/Seed-2.0-code": {
2466
2515
  "id": "ByteDance/Seed-2.0-code",
@@ -2514,7 +2563,8 @@
2514
2563
  }
2515
2564
  }
2516
2565
  ]
2517
- }
2566
+ },
2567
+ "canonical_model_id": "bytedance-seed/seed-2.0-code"
2518
2568
  },
2519
2569
  "ByteDance/Seed-2.0-pro": {
2520
2570
  "id": "ByteDance/Seed-2.0-pro",
@@ -2558,7 +2608,8 @@
2558
2608
  }
2559
2609
  }
2560
2610
  ]
2561
- }
2611
+ },
2612
+ "canonical_model_id": "bytedance-seed/seed-2.0-pro"
2562
2613
  },
2563
2614
  "ByteDance/Seed-2.0-mini": {
2564
2615
  "id": "ByteDance/Seed-2.0-mini",
@@ -2602,7 +2653,8 @@
2602
2653
  }
2603
2654
  }
2604
2655
  ]
2605
- }
2656
+ },
2657
+ "canonical_model_id": "bytedance-seed/seed-2.0-mini"
2606
2658
  },
2607
2659
  "openai/gpt-oss-20b": {
2608
2660
  "id": "openai/gpt-oss-20b",
data/data/deepseek.json CHANGED
@@ -57,7 +57,8 @@
57
57
  "output": 0.6,
58
58
  "reasoning": 0.6,
59
59
  "cache_read": 0.003
60
- }
60
+ },
61
+ "canonical_model_id": "deepseek/deepseek-v4.1-flash"
61
62
  },
62
63
  "deepseek-flash": {
63
64
  "id": "deepseek-flash",
@@ -107,7 +108,8 @@
107
108
  "output": 0.6,
108
109
  "reasoning": 0.6,
109
110
  "cache_read": 0.003
110
- }
111
+ },
112
+ "canonical_model_id": "deepseek/deepseek-v4.1-flash"
111
113
  },
112
114
  "deepseek-v4-pro": {
113
115
  "id": "deepseek-v4-pro",
@@ -155,7 +157,8 @@
155
157
  "output": 0.87,
156
158
  "reasoning": 0.87,
157
159
  "cache_read": 0.003625
158
- }
160
+ },
161
+ "canonical_model_id": "deepseek/deepseek-v4-pro-0813"
159
162
  },
160
163
  "deepseek-v4-flash": {
161
164
  "id": "deepseek-v4-flash",
@@ -206,7 +209,8 @@
206
209
  "output": 0.6,
207
210
  "reasoning": 0.6,
208
211
  "cache_read": 0.003
209
- }
212
+ },
213
+ "canonical_model_id": "deepseek/deepseek-v4.1-flash"
210
214
  }
211
215
  }
212
216
  }