@elyracode/ai 0.8.1 → 0.8.3
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/models.generated.d.ts +132 -30
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +154 -52
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +4 -7
- package/dist/providers/anthropic.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -157,6 +157,23 @@ export const MODELS = {
|
|
|
157
157
|
contextWindow: 1000000,
|
|
158
158
|
maxTokens: 128000,
|
|
159
159
|
},
|
|
160
|
+
"anthropic.claude-opus-4-8": {
|
|
161
|
+
id: "anthropic.claude-opus-4-8",
|
|
162
|
+
name: "Claude Opus 4.8",
|
|
163
|
+
api: "bedrock-converse-stream",
|
|
164
|
+
provider: "amazon-bedrock",
|
|
165
|
+
baseUrl: "https://bedrock-runtime.us-east-1.amazonaws.com",
|
|
166
|
+
reasoning: true,
|
|
167
|
+
input: ["text", "image"],
|
|
168
|
+
cost: {
|
|
169
|
+
input: 5,
|
|
170
|
+
output: 25,
|
|
171
|
+
cacheRead: 0.5,
|
|
172
|
+
cacheWrite: 6.25,
|
|
173
|
+
},
|
|
174
|
+
contextWindow: 1000000,
|
|
175
|
+
maxTokens: 128000,
|
|
176
|
+
},
|
|
160
177
|
"anthropic.claude-sonnet-4-5-20250929-v1:0": {
|
|
161
178
|
id: "anthropic.claude-sonnet-4-5-20250929-v1:0",
|
|
162
179
|
name: "Claude Sonnet 4.5",
|
|
@@ -1716,6 +1733,23 @@ export const MODELS = {
|
|
|
1716
1733
|
contextWindow: 1000000,
|
|
1717
1734
|
maxTokens: 128000,
|
|
1718
1735
|
},
|
|
1736
|
+
"claude-opus-4-8": {
|
|
1737
|
+
id: "claude-opus-4-8",
|
|
1738
|
+
name: "Claude Opus 4.8",
|
|
1739
|
+
api: "anthropic-messages",
|
|
1740
|
+
provider: "anthropic",
|
|
1741
|
+
baseUrl: "https://api.anthropic.com",
|
|
1742
|
+
reasoning: true,
|
|
1743
|
+
input: ["text", "image"],
|
|
1744
|
+
cost: {
|
|
1745
|
+
input: 5,
|
|
1746
|
+
output: 25,
|
|
1747
|
+
cacheRead: 0.5,
|
|
1748
|
+
cacheWrite: 6.25,
|
|
1749
|
+
},
|
|
1750
|
+
contextWindow: 1000000,
|
|
1751
|
+
maxTokens: 128000,
|
|
1752
|
+
},
|
|
1719
1753
|
"claude-sonnet-4-0": {
|
|
1720
1754
|
id: "claude-sonnet-4-0",
|
|
1721
1755
|
name: "Claude Sonnet 4 (latest)",
|
|
@@ -2509,23 +2543,6 @@ export const MODELS = {
|
|
|
2509
2543
|
contextWindow: 32000,
|
|
2510
2544
|
maxTokens: 8000,
|
|
2511
2545
|
},
|
|
2512
|
-
"qwen-3-235b-a22b-instruct-2507": {
|
|
2513
|
-
id: "qwen-3-235b-a22b-instruct-2507",
|
|
2514
|
-
name: "Qwen 3 235B Instruct",
|
|
2515
|
-
api: "openai-completions",
|
|
2516
|
-
provider: "cerebras",
|
|
2517
|
-
baseUrl: "https://api.cerebras.ai/v1",
|
|
2518
|
-
reasoning: false,
|
|
2519
|
-
input: ["text"],
|
|
2520
|
-
cost: {
|
|
2521
|
-
input: 0.6,
|
|
2522
|
-
output: 1.2,
|
|
2523
|
-
cacheRead: 0,
|
|
2524
|
-
cacheWrite: 0,
|
|
2525
|
-
},
|
|
2526
|
-
contextWindow: 131000,
|
|
2527
|
-
maxTokens: 32000,
|
|
2528
|
-
},
|
|
2529
2546
|
"zai-glm-4.7": {
|
|
2530
2547
|
id: "zai-glm-4.7",
|
|
2531
2548
|
name: "Z.AI GLM-4.7",
|
|
@@ -4673,7 +4690,7 @@ export const MODELS = {
|
|
|
4673
4690
|
cost: {
|
|
4674
4691
|
input: 1,
|
|
4675
4692
|
output: 3,
|
|
4676
|
-
cacheRead: 0,
|
|
4693
|
+
cacheRead: 0.5,
|
|
4677
4694
|
cacheWrite: 0,
|
|
4678
4695
|
},
|
|
4679
4696
|
contextWindow: 262144,
|
|
@@ -4690,7 +4707,7 @@ export const MODELS = {
|
|
|
4690
4707
|
cost: {
|
|
4691
4708
|
input: 0.15,
|
|
4692
4709
|
output: 0.6,
|
|
4693
|
-
cacheRead: 0,
|
|
4710
|
+
cacheRead: 0.075,
|
|
4694
4711
|
cacheWrite: 0,
|
|
4695
4712
|
},
|
|
4696
4713
|
contextWindow: 131072,
|
|
@@ -4707,7 +4724,7 @@ export const MODELS = {
|
|
|
4707
4724
|
cost: {
|
|
4708
4725
|
input: 0.075,
|
|
4709
4726
|
output: 0.3,
|
|
4710
|
-
cacheRead: 0,
|
|
4727
|
+
cacheRead: 0.0375,
|
|
4711
4728
|
cacheWrite: 0,
|
|
4712
4729
|
},
|
|
4713
4730
|
contextWindow: 131072,
|
|
@@ -6947,6 +6964,23 @@ export const MODELS = {
|
|
|
6947
6964
|
contextWindow: 1000000,
|
|
6948
6965
|
maxTokens: 128000,
|
|
6949
6966
|
},
|
|
6967
|
+
"claude-opus-4-8": {
|
|
6968
|
+
id: "claude-opus-4-8",
|
|
6969
|
+
name: "Claude Opus 4.8",
|
|
6970
|
+
api: "anthropic-messages",
|
|
6971
|
+
provider: "opencode",
|
|
6972
|
+
baseUrl: "https://opencode.ai/zen",
|
|
6973
|
+
reasoning: true,
|
|
6974
|
+
input: ["text", "image"],
|
|
6975
|
+
cost: {
|
|
6976
|
+
input: 5,
|
|
6977
|
+
output: 25,
|
|
6978
|
+
cacheRead: 0.5,
|
|
6979
|
+
cacheWrite: 6.25,
|
|
6980
|
+
},
|
|
6981
|
+
contextWindow: 1000000,
|
|
6982
|
+
maxTokens: 128000,
|
|
6983
|
+
},
|
|
6950
6984
|
"claude-sonnet-4": {
|
|
6951
6985
|
id: "claude-sonnet-4",
|
|
6952
6986
|
name: "Claude Sonnet 4",
|
|
@@ -7444,6 +7478,23 @@ export const MODELS = {
|
|
|
7444
7478
|
contextWindow: 262144,
|
|
7445
7479
|
maxTokens: 65536,
|
|
7446
7480
|
},
|
|
7481
|
+
"mimo-v2.5-free": {
|
|
7482
|
+
id: "mimo-v2.5-free",
|
|
7483
|
+
name: "MiMo V2.5 Free",
|
|
7484
|
+
api: "openai-completions",
|
|
7485
|
+
provider: "opencode",
|
|
7486
|
+
baseUrl: "https://opencode.ai/zen/v1",
|
|
7487
|
+
reasoning: true,
|
|
7488
|
+
input: ["text", "image"],
|
|
7489
|
+
cost: {
|
|
7490
|
+
input: 0,
|
|
7491
|
+
output: 0,
|
|
7492
|
+
cacheRead: 0,
|
|
7493
|
+
cacheWrite: 0,
|
|
7494
|
+
},
|
|
7495
|
+
contextWindow: 1000000,
|
|
7496
|
+
maxTokens: 128000,
|
|
7497
|
+
},
|
|
7447
7498
|
"minimax-m2.5": {
|
|
7448
7499
|
id: "minimax-m2.5",
|
|
7449
7500
|
name: "MiniMax M2.5",
|
|
@@ -7646,9 +7697,9 @@ export const MODELS = {
|
|
|
7646
7697
|
reasoning: true,
|
|
7647
7698
|
input: ["text", "image"],
|
|
7648
7699
|
cost: {
|
|
7649
|
-
input: 0.
|
|
7650
|
-
output:
|
|
7651
|
-
cacheRead: 0.
|
|
7700
|
+
input: 0.14,
|
|
7701
|
+
output: 0.28,
|
|
7702
|
+
cacheRead: 0.0028,
|
|
7652
7703
|
cacheWrite: 0,
|
|
7653
7704
|
},
|
|
7654
7705
|
contextWindow: 1000000,
|
|
@@ -7663,9 +7714,9 @@ export const MODELS = {
|
|
|
7663
7714
|
reasoning: true,
|
|
7664
7715
|
input: ["text"],
|
|
7665
7716
|
cost: {
|
|
7666
|
-
input: 1,
|
|
7667
|
-
output: 3,
|
|
7668
|
-
cacheRead: 0.
|
|
7717
|
+
input: 1.74,
|
|
7718
|
+
output: 3.48,
|
|
7719
|
+
cacheRead: 0.0145,
|
|
7669
7720
|
cacheWrite: 0,
|
|
7670
7721
|
},
|
|
7671
7722
|
contextWindow: 1048576,
|
|
@@ -8019,6 +8070,40 @@ export const MODELS = {
|
|
|
8019
8070
|
contextWindow: 1000000,
|
|
8020
8071
|
maxTokens: 128000,
|
|
8021
8072
|
},
|
|
8073
|
+
"anthropic/claude-opus-4.8": {
|
|
8074
|
+
id: "anthropic/claude-opus-4.8",
|
|
8075
|
+
name: "Anthropic: Claude Opus 4.8",
|
|
8076
|
+
api: "openai-completions",
|
|
8077
|
+
provider: "openrouter",
|
|
8078
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
8079
|
+
reasoning: true,
|
|
8080
|
+
input: ["text", "image"],
|
|
8081
|
+
cost: {
|
|
8082
|
+
input: 5,
|
|
8083
|
+
output: 25,
|
|
8084
|
+
cacheRead: 0.5,
|
|
8085
|
+
cacheWrite: 6.25,
|
|
8086
|
+
},
|
|
8087
|
+
contextWindow: 1000000,
|
|
8088
|
+
maxTokens: 128000,
|
|
8089
|
+
},
|
|
8090
|
+
"anthropic/claude-opus-4.8-fast": {
|
|
8091
|
+
id: "anthropic/claude-opus-4.8-fast",
|
|
8092
|
+
name: "Anthropic: Claude Opus 4.8 (Fast)",
|
|
8093
|
+
api: "openai-completions",
|
|
8094
|
+
provider: "openrouter",
|
|
8095
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
8096
|
+
reasoning: true,
|
|
8097
|
+
input: ["text", "image"],
|
|
8098
|
+
cost: {
|
|
8099
|
+
input: 10,
|
|
8100
|
+
output: 50,
|
|
8101
|
+
cacheRead: 1,
|
|
8102
|
+
cacheWrite: 12.5,
|
|
8103
|
+
},
|
|
8104
|
+
contextWindow: 1000000,
|
|
8105
|
+
maxTokens: 128000,
|
|
8106
|
+
},
|
|
8022
8107
|
"anthropic/claude-sonnet-4": {
|
|
8023
8108
|
id: "anthropic/claude-sonnet-4",
|
|
8024
8109
|
name: "Anthropic: Claude Sonnet 4",
|
|
@@ -8138,23 +8223,6 @@ export const MODELS = {
|
|
|
8138
8223
|
contextWindow: 2000000,
|
|
8139
8224
|
maxTokens: 30000,
|
|
8140
8225
|
},
|
|
8141
|
-
"baidu/cobuddy:free": {
|
|
8142
|
-
id: "baidu/cobuddy:free",
|
|
8143
|
-
name: "Baidu Qianfan: CoBuddy (free)",
|
|
8144
|
-
api: "openai-completions",
|
|
8145
|
-
provider: "openrouter",
|
|
8146
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
8147
|
-
reasoning: true,
|
|
8148
|
-
input: ["text"],
|
|
8149
|
-
cost: {
|
|
8150
|
-
input: 0,
|
|
8151
|
-
output: 0,
|
|
8152
|
-
cacheRead: 0,
|
|
8153
|
-
cacheWrite: 0,
|
|
8154
|
-
},
|
|
8155
|
-
contextWindow: 131072,
|
|
8156
|
-
maxTokens: 65536,
|
|
8157
|
-
},
|
|
8158
8226
|
"baidu/ernie-4.5-21b-a3b": {
|
|
8159
8227
|
id: "baidu/ernie-4.5-21b-a3b",
|
|
8160
8228
|
name: "Baidu: ERNIE 4.5 21B A3B",
|
|
@@ -9110,7 +9178,7 @@ export const MODELS = {
|
|
|
9110
9178
|
cacheRead: 0,
|
|
9111
9179
|
cacheWrite: 0,
|
|
9112
9180
|
},
|
|
9113
|
-
contextWindow:
|
|
9181
|
+
contextWindow: 262144,
|
|
9114
9182
|
maxTokens: 8192,
|
|
9115
9183
|
},
|
|
9116
9184
|
"minimax/minimax-m2.7": {
|
|
@@ -9572,6 +9640,23 @@ export const MODELS = {
|
|
|
9572
9640
|
contextWindow: 262144,
|
|
9573
9641
|
maxTokens: 262142,
|
|
9574
9642
|
},
|
|
9643
|
+
"moonshotai/kimi-k2.6:free": {
|
|
9644
|
+
id: "moonshotai/kimi-k2.6:free",
|
|
9645
|
+
name: "MoonshotAI: Kimi K2.6 (free)",
|
|
9646
|
+
api: "openai-completions",
|
|
9647
|
+
provider: "openrouter",
|
|
9648
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
9649
|
+
reasoning: true,
|
|
9650
|
+
input: ["text", "image"],
|
|
9651
|
+
cost: {
|
|
9652
|
+
input: 0,
|
|
9653
|
+
output: 0,
|
|
9654
|
+
cacheRead: 0,
|
|
9655
|
+
cacheWrite: 0,
|
|
9656
|
+
},
|
|
9657
|
+
contextWindow: 262144,
|
|
9658
|
+
maxTokens: 4096,
|
|
9659
|
+
},
|
|
9575
9660
|
"nex-agi/deepseek-v3.1-nex-n1": {
|
|
9576
9661
|
id: "nex-agi/deepseek-v3.1-nex-n1",
|
|
9577
9662
|
name: "Nex AGI: DeepSeek V3.1 Nex N1",
|
|
@@ -10059,11 +10144,11 @@ export const MODELS = {
|
|
|
10059
10144
|
cost: {
|
|
10060
10145
|
input: 1.25,
|
|
10061
10146
|
output: 10,
|
|
10062
|
-
cacheRead: 0.
|
|
10147
|
+
cacheRead: 0.13,
|
|
10063
10148
|
cacheWrite: 0,
|
|
10064
10149
|
},
|
|
10065
10150
|
contextWindow: 128000,
|
|
10066
|
-
maxTokens:
|
|
10151
|
+
maxTokens: 32000,
|
|
10067
10152
|
},
|
|
10068
10153
|
"openai/gpt-5.1-codex": {
|
|
10069
10154
|
id: "openai/gpt-5.1-codex",
|
|
@@ -10076,7 +10161,7 @@ export const MODELS = {
|
|
|
10076
10161
|
cost: {
|
|
10077
10162
|
input: 1.25,
|
|
10078
10163
|
output: 10,
|
|
10079
|
-
cacheRead: 0.
|
|
10164
|
+
cacheRead: 0.13,
|
|
10080
10165
|
cacheWrite: 0,
|
|
10081
10166
|
},
|
|
10082
10167
|
contextWindow: 400000,
|
|
@@ -10110,11 +10195,11 @@ export const MODELS = {
|
|
|
10110
10195
|
cost: {
|
|
10111
10196
|
input: 0.25,
|
|
10112
10197
|
output: 2,
|
|
10113
|
-
cacheRead: 0.
|
|
10198
|
+
cacheRead: 0.024999999999999998,
|
|
10114
10199
|
cacheWrite: 0,
|
|
10115
10200
|
},
|
|
10116
10201
|
contextWindow: 400000,
|
|
10117
|
-
maxTokens:
|
|
10202
|
+
maxTokens: 100000,
|
|
10118
10203
|
},
|
|
10119
10204
|
"openai/gpt-5.2": {
|
|
10120
10205
|
id: "openai/gpt-5.2",
|
|
@@ -10150,7 +10235,7 @@ export const MODELS = {
|
|
|
10150
10235
|
cacheWrite: 0,
|
|
10151
10236
|
},
|
|
10152
10237
|
contextWindow: 128000,
|
|
10153
|
-
maxTokens:
|
|
10238
|
+
maxTokens: 16384,
|
|
10154
10239
|
},
|
|
10155
10240
|
"openai/gpt-5.2-codex": {
|
|
10156
10241
|
id: "openai/gpt-5.2-codex",
|
|
@@ -11770,8 +11855,8 @@ export const MODELS = {
|
|
|
11770
11855
|
input: ["text"],
|
|
11771
11856
|
cost: {
|
|
11772
11857
|
input: 0.125,
|
|
11773
|
-
output: 0.
|
|
11774
|
-
cacheRead: 0,
|
|
11858
|
+
output: 0.85,
|
|
11859
|
+
cacheRead: 0.06,
|
|
11775
11860
|
cacheWrite: 0,
|
|
11776
11861
|
},
|
|
11777
11862
|
contextWindow: 131072,
|
|
@@ -12870,6 +12955,23 @@ export const MODELS = {
|
|
|
12870
12955
|
contextWindow: 1000000,
|
|
12871
12956
|
maxTokens: 128000,
|
|
12872
12957
|
},
|
|
12958
|
+
"anthropic/claude-opus-4.8": {
|
|
12959
|
+
id: "anthropic/claude-opus-4.8",
|
|
12960
|
+
name: "Claude Opus 4.8",
|
|
12961
|
+
api: "anthropic-messages",
|
|
12962
|
+
provider: "vercel-ai-gateway",
|
|
12963
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
12964
|
+
reasoning: true,
|
|
12965
|
+
input: ["text", "image"],
|
|
12966
|
+
cost: {
|
|
12967
|
+
input: 5,
|
|
12968
|
+
output: 25,
|
|
12969
|
+
cacheRead: 0.5,
|
|
12970
|
+
cacheWrite: 6.25,
|
|
12971
|
+
},
|
|
12972
|
+
contextWindow: 1000000,
|
|
12973
|
+
maxTokens: 128000,
|
|
12974
|
+
},
|
|
12873
12975
|
"anthropic/claude-sonnet-4": {
|
|
12874
12976
|
id: "anthropic/claude-sonnet-4",
|
|
12875
12977
|
name: "Claude Sonnet 4",
|