aimodels 0.3.6 → 0.3.7
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.
- package/dist/index.js +192 -65
- package/dist/index.mjs +192 -65
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -631,7 +631,7 @@ var anthropic_models_default = {
|
|
|
631
631
|
creator: "anthropic",
|
|
632
632
|
models: [
|
|
633
633
|
{
|
|
634
|
-
id: "claude-3-opus",
|
|
634
|
+
id: "claude-3-opus-20240229",
|
|
635
635
|
name: "Claude 3 Opus",
|
|
636
636
|
license: "proprietary",
|
|
637
637
|
providers: ["anthropic", "aws", "google"],
|
|
@@ -649,17 +649,10 @@ var anthropic_models_default = {
|
|
|
649
649
|
maxOutput: 4096,
|
|
650
650
|
outputIsFixed: 1
|
|
651
651
|
},
|
|
652
|
-
aliases: ["claude-3-opus-latest"]
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
id: "claude-3-opus-20240229",
|
|
656
|
-
extends: "claude-3-opus",
|
|
657
|
-
overrides: {
|
|
658
|
-
name: "Claude 3 Opus (2024-02-29)"
|
|
659
|
-
}
|
|
652
|
+
aliases: ["claude-3-opus-latest", "claude-3-opus"]
|
|
660
653
|
},
|
|
661
654
|
{
|
|
662
|
-
id: "claude-3-sonnet",
|
|
655
|
+
id: "claude-3-sonnet-20240229",
|
|
663
656
|
name: "Claude 3 Sonnet",
|
|
664
657
|
license: "proprietary",
|
|
665
658
|
providers: ["anthropic", "aws", "google"],
|
|
@@ -677,17 +670,10 @@ var anthropic_models_default = {
|
|
|
677
670
|
maxOutput: 4096,
|
|
678
671
|
outputIsFixed: 1
|
|
679
672
|
},
|
|
680
|
-
aliases: ["claude-3-sonnet-latest"]
|
|
681
|
-
},
|
|
682
|
-
{
|
|
683
|
-
id: "claude-3-sonnet-20240229",
|
|
684
|
-
extends: "claude-3-sonnet",
|
|
685
|
-
overrides: {
|
|
686
|
-
name: "Claude 3 Sonnet (2024-02-29)"
|
|
687
|
-
}
|
|
673
|
+
aliases: ["claude-3-sonnet-latest", "claude-3-sonnet"]
|
|
688
674
|
},
|
|
689
675
|
{
|
|
690
|
-
id: "claude-3-haiku",
|
|
676
|
+
id: "claude-3-haiku-20240307",
|
|
691
677
|
name: "Claude 3 Haiku",
|
|
692
678
|
license: "proprietary",
|
|
693
679
|
providers: ["anthropic", "aws", "google"],
|
|
@@ -704,17 +690,11 @@ var anthropic_models_default = {
|
|
|
704
690
|
total: 2e5,
|
|
705
691
|
maxOutput: 4096,
|
|
706
692
|
outputIsFixed: 1
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
{
|
|
710
|
-
id: "claude-3-haiku-20240307",
|
|
711
|
-
extends: "claude-3-haiku",
|
|
712
|
-
overrides: {
|
|
713
|
-
name: "Claude 3 Haiku (2024-03-07)"
|
|
714
|
-
}
|
|
693
|
+
},
|
|
694
|
+
aliases: ["claude-3-haiku"]
|
|
715
695
|
},
|
|
716
696
|
{
|
|
717
|
-
id: "claude-3-5-sonnet",
|
|
697
|
+
id: "claude-3-5-sonnet-20241022",
|
|
718
698
|
name: "Claude 3.5 Sonnet",
|
|
719
699
|
license: "proprietary",
|
|
720
700
|
providers: ["anthropic", "aws", "google"],
|
|
@@ -732,17 +712,30 @@ var anthropic_models_default = {
|
|
|
732
712
|
maxOutput: 8192,
|
|
733
713
|
outputIsFixed: 1
|
|
734
714
|
},
|
|
735
|
-
aliases: ["claude-3-5-sonnet-latest"]
|
|
715
|
+
aliases: ["claude-3-5-sonnet-latest", "claude-3-5-sonnet"]
|
|
736
716
|
},
|
|
737
717
|
{
|
|
738
|
-
id: "claude-3-5-sonnet-
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
718
|
+
id: "claude-3-5-sonnet-20240620",
|
|
719
|
+
name: "Claude 3.5 Sonnet (2024-06-20)",
|
|
720
|
+
license: "proprietary",
|
|
721
|
+
providers: ["anthropic", "aws", "google"],
|
|
722
|
+
can: [
|
|
723
|
+
"chat",
|
|
724
|
+
"text-in",
|
|
725
|
+
"text-out",
|
|
726
|
+
"img-in",
|
|
727
|
+
"json-out",
|
|
728
|
+
"function-out"
|
|
729
|
+
],
|
|
730
|
+
context: {
|
|
731
|
+
type: "token",
|
|
732
|
+
total: 2e5,
|
|
733
|
+
maxOutput: 8192,
|
|
734
|
+
outputIsFixed: 1
|
|
742
735
|
}
|
|
743
736
|
},
|
|
744
737
|
{
|
|
745
|
-
id: "claude-3-5-haiku",
|
|
738
|
+
id: "claude-3-5-haiku-20241022",
|
|
746
739
|
name: "Claude 3.5 Haiku",
|
|
747
740
|
license: "proprietary",
|
|
748
741
|
providers: ["anthropic", "aws", "google"],
|
|
@@ -759,14 +752,7 @@ var anthropic_models_default = {
|
|
|
759
752
|
maxOutput: 8192,
|
|
760
753
|
outputIsFixed: 1
|
|
761
754
|
},
|
|
762
|
-
aliases: ["claude-3-5-haiku-latest"]
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
id: "claude-3-5-haiku-20241022",
|
|
766
|
-
extends: "claude-3-5-haiku",
|
|
767
|
-
overrides: {
|
|
768
|
-
name: "Claude 3.5 Haiku (2024-10-22)"
|
|
769
|
-
}
|
|
755
|
+
aliases: ["claude-3-5-haiku-latest", "claude-3-5-haiku"]
|
|
770
756
|
}
|
|
771
757
|
]
|
|
772
758
|
};
|
|
@@ -1479,43 +1465,169 @@ var openai_provider_default = {
|
|
|
1479
1465
|
apiUrl: "https://api.openai.com/v1",
|
|
1480
1466
|
defaultModel: "gpt-4o",
|
|
1481
1467
|
models: {
|
|
1482
|
-
"
|
|
1468
|
+
"chatgpt-4o-latest": {
|
|
1483
1469
|
type: "token",
|
|
1484
|
-
input:
|
|
1485
|
-
output:
|
|
1470
|
+
input: 5,
|
|
1471
|
+
output: 15
|
|
1472
|
+
},
|
|
1473
|
+
"gpt-4": {
|
|
1474
|
+
type: "token",
|
|
1475
|
+
input: 30,
|
|
1476
|
+
output: 60
|
|
1477
|
+
},
|
|
1478
|
+
"gpt-4-0613": {
|
|
1479
|
+
type: "token",
|
|
1480
|
+
input: 30,
|
|
1481
|
+
output: 60
|
|
1482
|
+
},
|
|
1483
|
+
"gpt-4-32k": {
|
|
1484
|
+
type: "token",
|
|
1485
|
+
input: 60,
|
|
1486
|
+
output: 120
|
|
1487
|
+
},
|
|
1488
|
+
"gpt-4-turbo": {
|
|
1489
|
+
type: "token",
|
|
1490
|
+
input: 10,
|
|
1491
|
+
output: 30
|
|
1492
|
+
},
|
|
1493
|
+
"gpt-4-turbo-2024-04-09": {
|
|
1494
|
+
type: "token",
|
|
1495
|
+
input: 10,
|
|
1496
|
+
output: 30
|
|
1486
1497
|
},
|
|
1487
1498
|
"gpt-3.5-turbo": {
|
|
1499
|
+
type: "token",
|
|
1500
|
+
input: 0.5,
|
|
1501
|
+
output: 1.5
|
|
1502
|
+
},
|
|
1503
|
+
"gpt-3.5-turbo-0125": {
|
|
1504
|
+
type: "token",
|
|
1505
|
+
input: 0.5,
|
|
1506
|
+
output: 1.5
|
|
1507
|
+
},
|
|
1508
|
+
"gpt-3.5-turbo-instruct": {
|
|
1509
|
+
type: "token",
|
|
1510
|
+
input: 1.5,
|
|
1511
|
+
output: 2
|
|
1512
|
+
},
|
|
1513
|
+
"gpt-3.5-turbo-16k-0613": {
|
|
1514
|
+
type: "token",
|
|
1515
|
+
input: 3,
|
|
1516
|
+
output: 4
|
|
1517
|
+
},
|
|
1518
|
+
"davinci-002": {
|
|
1519
|
+
type: "token",
|
|
1520
|
+
input: 2,
|
|
1521
|
+
output: 2
|
|
1522
|
+
},
|
|
1523
|
+
"babbage-002": {
|
|
1524
|
+
type: "token",
|
|
1525
|
+
input: 0.4,
|
|
1526
|
+
output: 0.4
|
|
1527
|
+
},
|
|
1528
|
+
"gpt-4o": {
|
|
1529
|
+
type: "token",
|
|
1530
|
+
input: 2.5,
|
|
1531
|
+
input_cached: 1.25,
|
|
1532
|
+
output: 10
|
|
1533
|
+
},
|
|
1534
|
+
"gpt-4o-2024-08-06": {
|
|
1535
|
+
type: "token",
|
|
1536
|
+
input: 2.5,
|
|
1537
|
+
input_cached: 1.25,
|
|
1538
|
+
output: 10
|
|
1539
|
+
},
|
|
1540
|
+
"gpt-4o-audio-preview": {
|
|
1541
|
+
type: "token",
|
|
1542
|
+
input: 2.5,
|
|
1543
|
+
output: 10
|
|
1544
|
+
},
|
|
1545
|
+
"gpt-4o-audio-preview-2024-12-17": {
|
|
1546
|
+
type: "token",
|
|
1547
|
+
input: 2.5,
|
|
1548
|
+
output: 10
|
|
1549
|
+
},
|
|
1550
|
+
"gpt-4o-realtime-preview": {
|
|
1488
1551
|
type: "token",
|
|
1489
1552
|
input: 5,
|
|
1553
|
+
input_cached: 2.5,
|
|
1490
1554
|
output: 20
|
|
1491
1555
|
},
|
|
1492
|
-
"gpt-4o-
|
|
1556
|
+
"gpt-4o-realtime-preview-2024-12-17": {
|
|
1557
|
+
type: "token",
|
|
1558
|
+
input: 5,
|
|
1559
|
+
input_cached: 2.5,
|
|
1560
|
+
output: 20
|
|
1561
|
+
},
|
|
1562
|
+
"gpt-4o-mini": {
|
|
1563
|
+
type: "token",
|
|
1564
|
+
input: 0.15,
|
|
1565
|
+
input_cached: 0.075,
|
|
1566
|
+
output: 0.6
|
|
1567
|
+
},
|
|
1568
|
+
"gpt-4o-mini-2024-07-18": {
|
|
1569
|
+
type: "token",
|
|
1570
|
+
input: 0.15,
|
|
1571
|
+
input_cached: 0.075,
|
|
1572
|
+
output: 0.6
|
|
1573
|
+
},
|
|
1574
|
+
"gpt-4o-mini-audio-preview": {
|
|
1575
|
+
type: "token",
|
|
1576
|
+
input: 0.15,
|
|
1577
|
+
output: 0.6
|
|
1578
|
+
},
|
|
1579
|
+
"gpt-4o-mini-audio-preview-2024-12-17": {
|
|
1580
|
+
type: "token",
|
|
1581
|
+
input: 0.15,
|
|
1582
|
+
output: 0.6
|
|
1583
|
+
},
|
|
1584
|
+
"gpt-4o-mini-realtime-preview": {
|
|
1585
|
+
type: "token",
|
|
1586
|
+
input: 0.6,
|
|
1587
|
+
input_cached: 0.3,
|
|
1588
|
+
output: 2.4
|
|
1589
|
+
},
|
|
1590
|
+
"gpt-4o-mini-realtime-preview-2024-12-17": {
|
|
1591
|
+
type: "token",
|
|
1592
|
+
input: 0.6,
|
|
1593
|
+
input_cached: 0.3,
|
|
1594
|
+
output: 2.4
|
|
1595
|
+
},
|
|
1596
|
+
o1: {
|
|
1493
1597
|
type: "token",
|
|
1494
1598
|
input: 15,
|
|
1495
1599
|
input_cached: 7.5,
|
|
1496
1600
|
output: 60
|
|
1497
1601
|
},
|
|
1498
|
-
"o1-
|
|
1602
|
+
"o1-2024-12-17": {
|
|
1499
1603
|
type: "token",
|
|
1500
|
-
input:
|
|
1501
|
-
input_cached:
|
|
1502
|
-
output:
|
|
1604
|
+
input: 15,
|
|
1605
|
+
input_cached: 7.5,
|
|
1606
|
+
output: 60
|
|
1503
1607
|
},
|
|
1504
1608
|
"o3-mini": {
|
|
1505
1609
|
type: "token",
|
|
1506
|
-
input:
|
|
1507
|
-
input_cached:
|
|
1508
|
-
output:
|
|
1610
|
+
input: 1.1,
|
|
1611
|
+
input_cached: 0.55,
|
|
1612
|
+
output: 4.4
|
|
1509
1613
|
},
|
|
1510
|
-
"
|
|
1614
|
+
"o3-mini-2025-01-31": {
|
|
1615
|
+
type: "token",
|
|
1616
|
+
input: 1.1,
|
|
1617
|
+
input_cached: 0.55,
|
|
1618
|
+
output: 4.4
|
|
1619
|
+
},
|
|
1620
|
+
"o1-mini": {
|
|
1511
1621
|
type: "token",
|
|
1512
|
-
input:
|
|
1513
|
-
|
|
1622
|
+
input: 1.1,
|
|
1623
|
+
input_cached: 0.55,
|
|
1624
|
+
output: 4.4
|
|
1514
1625
|
},
|
|
1515
|
-
"
|
|
1626
|
+
"o1-mini-2024-09-12": {
|
|
1516
1627
|
type: "token",
|
|
1517
|
-
input:
|
|
1518
|
-
|
|
1628
|
+
input: 1.1,
|
|
1629
|
+
input_cached: 0.55,
|
|
1630
|
+
output: 4.4
|
|
1519
1631
|
},
|
|
1520
1632
|
"whisper-1": {
|
|
1521
1633
|
type: "minute",
|
|
@@ -1568,22 +1680,37 @@ var anthropic_provider_default = {
|
|
|
1568
1680
|
name: "Anthropic",
|
|
1569
1681
|
websiteUrl: "https://www.anthropic.com/",
|
|
1570
1682
|
apiUrl: "https://api.anthropic.com/v1",
|
|
1571
|
-
defaultModel: "claude-3-sonnet",
|
|
1683
|
+
defaultModel: "claude-3-5-sonnet-20241022",
|
|
1572
1684
|
models: {
|
|
1573
|
-
"claude-3-opus": {
|
|
1685
|
+
"claude-3-opus-20240229": {
|
|
1574
1686
|
type: "token",
|
|
1575
1687
|
input: 15,
|
|
1576
1688
|
output: 75
|
|
1577
1689
|
},
|
|
1578
|
-
"claude-3-sonnet": {
|
|
1690
|
+
"claude-3-sonnet-20240229": {
|
|
1579
1691
|
type: "token",
|
|
1580
1692
|
input: 3,
|
|
1581
1693
|
output: 15
|
|
1582
1694
|
},
|
|
1583
|
-
"claude-3-haiku": {
|
|
1695
|
+
"claude-3-haiku-20240307": {
|
|
1584
1696
|
type: "token",
|
|
1585
|
-
input:
|
|
1586
|
-
output:
|
|
1697
|
+
input: 0.25,
|
|
1698
|
+
output: 1.25
|
|
1699
|
+
},
|
|
1700
|
+
"claude-3-5-sonnet-20241022": {
|
|
1701
|
+
type: "token",
|
|
1702
|
+
input: 3,
|
|
1703
|
+
output: 15
|
|
1704
|
+
},
|
|
1705
|
+
"claude-3-5-sonnet-20240620": {
|
|
1706
|
+
type: "token",
|
|
1707
|
+
input: 3,
|
|
1708
|
+
output: 15
|
|
1709
|
+
},
|
|
1710
|
+
"claude-3-5-haiku-20241022": {
|
|
1711
|
+
type: "token",
|
|
1712
|
+
input: 0.8,
|
|
1713
|
+
output: 4
|
|
1587
1714
|
}
|
|
1588
1715
|
}
|
|
1589
1716
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -602,7 +602,7 @@ var anthropic_models_default = {
|
|
|
602
602
|
creator: "anthropic",
|
|
603
603
|
models: [
|
|
604
604
|
{
|
|
605
|
-
id: "claude-3-opus",
|
|
605
|
+
id: "claude-3-opus-20240229",
|
|
606
606
|
name: "Claude 3 Opus",
|
|
607
607
|
license: "proprietary",
|
|
608
608
|
providers: ["anthropic", "aws", "google"],
|
|
@@ -620,17 +620,10 @@ var anthropic_models_default = {
|
|
|
620
620
|
maxOutput: 4096,
|
|
621
621
|
outputIsFixed: 1
|
|
622
622
|
},
|
|
623
|
-
aliases: ["claude-3-opus-latest"]
|
|
624
|
-
},
|
|
625
|
-
{
|
|
626
|
-
id: "claude-3-opus-20240229",
|
|
627
|
-
extends: "claude-3-opus",
|
|
628
|
-
overrides: {
|
|
629
|
-
name: "Claude 3 Opus (2024-02-29)"
|
|
630
|
-
}
|
|
623
|
+
aliases: ["claude-3-opus-latest", "claude-3-opus"]
|
|
631
624
|
},
|
|
632
625
|
{
|
|
633
|
-
id: "claude-3-sonnet",
|
|
626
|
+
id: "claude-3-sonnet-20240229",
|
|
634
627
|
name: "Claude 3 Sonnet",
|
|
635
628
|
license: "proprietary",
|
|
636
629
|
providers: ["anthropic", "aws", "google"],
|
|
@@ -648,17 +641,10 @@ var anthropic_models_default = {
|
|
|
648
641
|
maxOutput: 4096,
|
|
649
642
|
outputIsFixed: 1
|
|
650
643
|
},
|
|
651
|
-
aliases: ["claude-3-sonnet-latest"]
|
|
652
|
-
},
|
|
653
|
-
{
|
|
654
|
-
id: "claude-3-sonnet-20240229",
|
|
655
|
-
extends: "claude-3-sonnet",
|
|
656
|
-
overrides: {
|
|
657
|
-
name: "Claude 3 Sonnet (2024-02-29)"
|
|
658
|
-
}
|
|
644
|
+
aliases: ["claude-3-sonnet-latest", "claude-3-sonnet"]
|
|
659
645
|
},
|
|
660
646
|
{
|
|
661
|
-
id: "claude-3-haiku",
|
|
647
|
+
id: "claude-3-haiku-20240307",
|
|
662
648
|
name: "Claude 3 Haiku",
|
|
663
649
|
license: "proprietary",
|
|
664
650
|
providers: ["anthropic", "aws", "google"],
|
|
@@ -675,17 +661,11 @@ var anthropic_models_default = {
|
|
|
675
661
|
total: 2e5,
|
|
676
662
|
maxOutput: 4096,
|
|
677
663
|
outputIsFixed: 1
|
|
678
|
-
}
|
|
679
|
-
|
|
680
|
-
{
|
|
681
|
-
id: "claude-3-haiku-20240307",
|
|
682
|
-
extends: "claude-3-haiku",
|
|
683
|
-
overrides: {
|
|
684
|
-
name: "Claude 3 Haiku (2024-03-07)"
|
|
685
|
-
}
|
|
664
|
+
},
|
|
665
|
+
aliases: ["claude-3-haiku"]
|
|
686
666
|
},
|
|
687
667
|
{
|
|
688
|
-
id: "claude-3-5-sonnet",
|
|
668
|
+
id: "claude-3-5-sonnet-20241022",
|
|
689
669
|
name: "Claude 3.5 Sonnet",
|
|
690
670
|
license: "proprietary",
|
|
691
671
|
providers: ["anthropic", "aws", "google"],
|
|
@@ -703,17 +683,30 @@ var anthropic_models_default = {
|
|
|
703
683
|
maxOutput: 8192,
|
|
704
684
|
outputIsFixed: 1
|
|
705
685
|
},
|
|
706
|
-
aliases: ["claude-3-5-sonnet-latest"]
|
|
686
|
+
aliases: ["claude-3-5-sonnet-latest", "claude-3-5-sonnet"]
|
|
707
687
|
},
|
|
708
688
|
{
|
|
709
|
-
id: "claude-3-5-sonnet-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
689
|
+
id: "claude-3-5-sonnet-20240620",
|
|
690
|
+
name: "Claude 3.5 Sonnet (2024-06-20)",
|
|
691
|
+
license: "proprietary",
|
|
692
|
+
providers: ["anthropic", "aws", "google"],
|
|
693
|
+
can: [
|
|
694
|
+
"chat",
|
|
695
|
+
"text-in",
|
|
696
|
+
"text-out",
|
|
697
|
+
"img-in",
|
|
698
|
+
"json-out",
|
|
699
|
+
"function-out"
|
|
700
|
+
],
|
|
701
|
+
context: {
|
|
702
|
+
type: "token",
|
|
703
|
+
total: 2e5,
|
|
704
|
+
maxOutput: 8192,
|
|
705
|
+
outputIsFixed: 1
|
|
713
706
|
}
|
|
714
707
|
},
|
|
715
708
|
{
|
|
716
|
-
id: "claude-3-5-haiku",
|
|
709
|
+
id: "claude-3-5-haiku-20241022",
|
|
717
710
|
name: "Claude 3.5 Haiku",
|
|
718
711
|
license: "proprietary",
|
|
719
712
|
providers: ["anthropic", "aws", "google"],
|
|
@@ -730,14 +723,7 @@ var anthropic_models_default = {
|
|
|
730
723
|
maxOutput: 8192,
|
|
731
724
|
outputIsFixed: 1
|
|
732
725
|
},
|
|
733
|
-
aliases: ["claude-3-5-haiku-latest"]
|
|
734
|
-
},
|
|
735
|
-
{
|
|
736
|
-
id: "claude-3-5-haiku-20241022",
|
|
737
|
-
extends: "claude-3-5-haiku",
|
|
738
|
-
overrides: {
|
|
739
|
-
name: "Claude 3.5 Haiku (2024-10-22)"
|
|
740
|
-
}
|
|
726
|
+
aliases: ["claude-3-5-haiku-latest", "claude-3-5-haiku"]
|
|
741
727
|
}
|
|
742
728
|
]
|
|
743
729
|
};
|
|
@@ -1450,43 +1436,169 @@ var openai_provider_default = {
|
|
|
1450
1436
|
apiUrl: "https://api.openai.com/v1",
|
|
1451
1437
|
defaultModel: "gpt-4o",
|
|
1452
1438
|
models: {
|
|
1453
|
-
"
|
|
1439
|
+
"chatgpt-4o-latest": {
|
|
1454
1440
|
type: "token",
|
|
1455
|
-
input:
|
|
1456
|
-
output:
|
|
1441
|
+
input: 5,
|
|
1442
|
+
output: 15
|
|
1443
|
+
},
|
|
1444
|
+
"gpt-4": {
|
|
1445
|
+
type: "token",
|
|
1446
|
+
input: 30,
|
|
1447
|
+
output: 60
|
|
1448
|
+
},
|
|
1449
|
+
"gpt-4-0613": {
|
|
1450
|
+
type: "token",
|
|
1451
|
+
input: 30,
|
|
1452
|
+
output: 60
|
|
1453
|
+
},
|
|
1454
|
+
"gpt-4-32k": {
|
|
1455
|
+
type: "token",
|
|
1456
|
+
input: 60,
|
|
1457
|
+
output: 120
|
|
1458
|
+
},
|
|
1459
|
+
"gpt-4-turbo": {
|
|
1460
|
+
type: "token",
|
|
1461
|
+
input: 10,
|
|
1462
|
+
output: 30
|
|
1463
|
+
},
|
|
1464
|
+
"gpt-4-turbo-2024-04-09": {
|
|
1465
|
+
type: "token",
|
|
1466
|
+
input: 10,
|
|
1467
|
+
output: 30
|
|
1457
1468
|
},
|
|
1458
1469
|
"gpt-3.5-turbo": {
|
|
1470
|
+
type: "token",
|
|
1471
|
+
input: 0.5,
|
|
1472
|
+
output: 1.5
|
|
1473
|
+
},
|
|
1474
|
+
"gpt-3.5-turbo-0125": {
|
|
1475
|
+
type: "token",
|
|
1476
|
+
input: 0.5,
|
|
1477
|
+
output: 1.5
|
|
1478
|
+
},
|
|
1479
|
+
"gpt-3.5-turbo-instruct": {
|
|
1480
|
+
type: "token",
|
|
1481
|
+
input: 1.5,
|
|
1482
|
+
output: 2
|
|
1483
|
+
},
|
|
1484
|
+
"gpt-3.5-turbo-16k-0613": {
|
|
1485
|
+
type: "token",
|
|
1486
|
+
input: 3,
|
|
1487
|
+
output: 4
|
|
1488
|
+
},
|
|
1489
|
+
"davinci-002": {
|
|
1490
|
+
type: "token",
|
|
1491
|
+
input: 2,
|
|
1492
|
+
output: 2
|
|
1493
|
+
},
|
|
1494
|
+
"babbage-002": {
|
|
1495
|
+
type: "token",
|
|
1496
|
+
input: 0.4,
|
|
1497
|
+
output: 0.4
|
|
1498
|
+
},
|
|
1499
|
+
"gpt-4o": {
|
|
1500
|
+
type: "token",
|
|
1501
|
+
input: 2.5,
|
|
1502
|
+
input_cached: 1.25,
|
|
1503
|
+
output: 10
|
|
1504
|
+
},
|
|
1505
|
+
"gpt-4o-2024-08-06": {
|
|
1506
|
+
type: "token",
|
|
1507
|
+
input: 2.5,
|
|
1508
|
+
input_cached: 1.25,
|
|
1509
|
+
output: 10
|
|
1510
|
+
},
|
|
1511
|
+
"gpt-4o-audio-preview": {
|
|
1512
|
+
type: "token",
|
|
1513
|
+
input: 2.5,
|
|
1514
|
+
output: 10
|
|
1515
|
+
},
|
|
1516
|
+
"gpt-4o-audio-preview-2024-12-17": {
|
|
1517
|
+
type: "token",
|
|
1518
|
+
input: 2.5,
|
|
1519
|
+
output: 10
|
|
1520
|
+
},
|
|
1521
|
+
"gpt-4o-realtime-preview": {
|
|
1459
1522
|
type: "token",
|
|
1460
1523
|
input: 5,
|
|
1524
|
+
input_cached: 2.5,
|
|
1461
1525
|
output: 20
|
|
1462
1526
|
},
|
|
1463
|
-
"gpt-4o-
|
|
1527
|
+
"gpt-4o-realtime-preview-2024-12-17": {
|
|
1528
|
+
type: "token",
|
|
1529
|
+
input: 5,
|
|
1530
|
+
input_cached: 2.5,
|
|
1531
|
+
output: 20
|
|
1532
|
+
},
|
|
1533
|
+
"gpt-4o-mini": {
|
|
1534
|
+
type: "token",
|
|
1535
|
+
input: 0.15,
|
|
1536
|
+
input_cached: 0.075,
|
|
1537
|
+
output: 0.6
|
|
1538
|
+
},
|
|
1539
|
+
"gpt-4o-mini-2024-07-18": {
|
|
1540
|
+
type: "token",
|
|
1541
|
+
input: 0.15,
|
|
1542
|
+
input_cached: 0.075,
|
|
1543
|
+
output: 0.6
|
|
1544
|
+
},
|
|
1545
|
+
"gpt-4o-mini-audio-preview": {
|
|
1546
|
+
type: "token",
|
|
1547
|
+
input: 0.15,
|
|
1548
|
+
output: 0.6
|
|
1549
|
+
},
|
|
1550
|
+
"gpt-4o-mini-audio-preview-2024-12-17": {
|
|
1551
|
+
type: "token",
|
|
1552
|
+
input: 0.15,
|
|
1553
|
+
output: 0.6
|
|
1554
|
+
},
|
|
1555
|
+
"gpt-4o-mini-realtime-preview": {
|
|
1556
|
+
type: "token",
|
|
1557
|
+
input: 0.6,
|
|
1558
|
+
input_cached: 0.3,
|
|
1559
|
+
output: 2.4
|
|
1560
|
+
},
|
|
1561
|
+
"gpt-4o-mini-realtime-preview-2024-12-17": {
|
|
1562
|
+
type: "token",
|
|
1563
|
+
input: 0.6,
|
|
1564
|
+
input_cached: 0.3,
|
|
1565
|
+
output: 2.4
|
|
1566
|
+
},
|
|
1567
|
+
o1: {
|
|
1464
1568
|
type: "token",
|
|
1465
1569
|
input: 15,
|
|
1466
1570
|
input_cached: 7.5,
|
|
1467
1571
|
output: 60
|
|
1468
1572
|
},
|
|
1469
|
-
"o1-
|
|
1573
|
+
"o1-2024-12-17": {
|
|
1470
1574
|
type: "token",
|
|
1471
|
-
input:
|
|
1472
|
-
input_cached:
|
|
1473
|
-
output:
|
|
1575
|
+
input: 15,
|
|
1576
|
+
input_cached: 7.5,
|
|
1577
|
+
output: 60
|
|
1474
1578
|
},
|
|
1475
1579
|
"o3-mini": {
|
|
1476
1580
|
type: "token",
|
|
1477
|
-
input:
|
|
1478
|
-
input_cached:
|
|
1479
|
-
output:
|
|
1581
|
+
input: 1.1,
|
|
1582
|
+
input_cached: 0.55,
|
|
1583
|
+
output: 4.4
|
|
1480
1584
|
},
|
|
1481
|
-
"
|
|
1585
|
+
"o3-mini-2025-01-31": {
|
|
1586
|
+
type: "token",
|
|
1587
|
+
input: 1.1,
|
|
1588
|
+
input_cached: 0.55,
|
|
1589
|
+
output: 4.4
|
|
1590
|
+
},
|
|
1591
|
+
"o1-mini": {
|
|
1482
1592
|
type: "token",
|
|
1483
|
-
input:
|
|
1484
|
-
|
|
1593
|
+
input: 1.1,
|
|
1594
|
+
input_cached: 0.55,
|
|
1595
|
+
output: 4.4
|
|
1485
1596
|
},
|
|
1486
|
-
"
|
|
1597
|
+
"o1-mini-2024-09-12": {
|
|
1487
1598
|
type: "token",
|
|
1488
|
-
input:
|
|
1489
|
-
|
|
1599
|
+
input: 1.1,
|
|
1600
|
+
input_cached: 0.55,
|
|
1601
|
+
output: 4.4
|
|
1490
1602
|
},
|
|
1491
1603
|
"whisper-1": {
|
|
1492
1604
|
type: "minute",
|
|
@@ -1539,22 +1651,37 @@ var anthropic_provider_default = {
|
|
|
1539
1651
|
name: "Anthropic",
|
|
1540
1652
|
websiteUrl: "https://www.anthropic.com/",
|
|
1541
1653
|
apiUrl: "https://api.anthropic.com/v1",
|
|
1542
|
-
defaultModel: "claude-3-sonnet",
|
|
1654
|
+
defaultModel: "claude-3-5-sonnet-20241022",
|
|
1543
1655
|
models: {
|
|
1544
|
-
"claude-3-opus": {
|
|
1656
|
+
"claude-3-opus-20240229": {
|
|
1545
1657
|
type: "token",
|
|
1546
1658
|
input: 15,
|
|
1547
1659
|
output: 75
|
|
1548
1660
|
},
|
|
1549
|
-
"claude-3-sonnet": {
|
|
1661
|
+
"claude-3-sonnet-20240229": {
|
|
1550
1662
|
type: "token",
|
|
1551
1663
|
input: 3,
|
|
1552
1664
|
output: 15
|
|
1553
1665
|
},
|
|
1554
|
-
"claude-3-haiku": {
|
|
1666
|
+
"claude-3-haiku-20240307": {
|
|
1555
1667
|
type: "token",
|
|
1556
|
-
input:
|
|
1557
|
-
output:
|
|
1668
|
+
input: 0.25,
|
|
1669
|
+
output: 1.25
|
|
1670
|
+
},
|
|
1671
|
+
"claude-3-5-sonnet-20241022": {
|
|
1672
|
+
type: "token",
|
|
1673
|
+
input: 3,
|
|
1674
|
+
output: 15
|
|
1675
|
+
},
|
|
1676
|
+
"claude-3-5-sonnet-20240620": {
|
|
1677
|
+
type: "token",
|
|
1678
|
+
input: 3,
|
|
1679
|
+
output: 15
|
|
1680
|
+
},
|
|
1681
|
+
"claude-3-5-haiku-20241022": {
|
|
1682
|
+
type: "token",
|
|
1683
|
+
input: 0.8,
|
|
1684
|
+
output: 4
|
|
1558
1685
|
}
|
|
1559
1686
|
}
|
|
1560
1687
|
};
|