@dreb/ai 2.23.0 → 2.25.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.
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/models.generated.d.ts +103 -18
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +120 -35
- package/dist/models.generated.js.map +1 -1
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +37 -3
- package/dist/providers/anthropic.js.map +1 -1
- package/dist/providers/simple-options.d.ts +8 -0
- package/dist/providers/simple-options.d.ts.map +1 -1
- package/dist/providers/simple-options.js +9 -1
- package/dist/providers/simple-options.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -5002,11 +5002,11 @@ export const MODELS = {
|
|
|
5002
5002
|
api: "mistral-conversations",
|
|
5003
5003
|
provider: "mistral",
|
|
5004
5004
|
baseUrl: "https://api.mistral.ai",
|
|
5005
|
-
reasoning:
|
|
5005
|
+
reasoning: false,
|
|
5006
5006
|
input: ["text", "image"],
|
|
5007
5007
|
cost: {
|
|
5008
|
-
input:
|
|
5009
|
-
output:
|
|
5008
|
+
input: 0.4,
|
|
5009
|
+
output: 2,
|
|
5010
5010
|
cacheRead: 0,
|
|
5011
5011
|
cacheWrite: 0,
|
|
5012
5012
|
},
|
|
@@ -5098,6 +5098,23 @@ export const MODELS = {
|
|
|
5098
5098
|
contextWindow: 8000,
|
|
5099
5099
|
maxTokens: 8000,
|
|
5100
5100
|
},
|
|
5101
|
+
"open-mistral-nemo": {
|
|
5102
|
+
id: "open-mistral-nemo",
|
|
5103
|
+
name: "Open Mistral Nemo",
|
|
5104
|
+
api: "mistral-conversations",
|
|
5105
|
+
provider: "mistral",
|
|
5106
|
+
baseUrl: "https://api.mistral.ai",
|
|
5107
|
+
reasoning: false,
|
|
5108
|
+
input: ["text"],
|
|
5109
|
+
cost: {
|
|
5110
|
+
input: 0.15,
|
|
5111
|
+
output: 0.15,
|
|
5112
|
+
cacheRead: 0,
|
|
5113
|
+
cacheWrite: 0,
|
|
5114
|
+
},
|
|
5115
|
+
contextWindow: 128000,
|
|
5116
|
+
maxTokens: 128000,
|
|
5117
|
+
},
|
|
5101
5118
|
"open-mixtral-8x22b": {
|
|
5102
5119
|
id: "open-mixtral-8x22b",
|
|
5103
5120
|
name: "Mixtral 8x22B",
|
|
@@ -6702,9 +6719,9 @@ export const MODELS = {
|
|
|
6702
6719
|
contextWindow: 200000,
|
|
6703
6720
|
maxTokens: 32000,
|
|
6704
6721
|
},
|
|
6705
|
-
"nemotron-3-
|
|
6706
|
-
id: "nemotron-3-
|
|
6707
|
-
name: "Nemotron 3
|
|
6722
|
+
"nemotron-3-ultra-free": {
|
|
6723
|
+
id: "nemotron-3-ultra-free",
|
|
6724
|
+
name: "Nemotron 3 Ultra Free",
|
|
6708
6725
|
api: "openai-completions",
|
|
6709
6726
|
provider: "opencode",
|
|
6710
6727
|
baseUrl: "https://opencode.ai/zen/v1",
|
|
@@ -6716,7 +6733,7 @@ export const MODELS = {
|
|
|
6716
6733
|
cacheRead: 0,
|
|
6717
6734
|
cacheWrite: 0,
|
|
6718
6735
|
},
|
|
6719
|
-
contextWindow:
|
|
6736
|
+
contextWindow: 1000000,
|
|
6720
6737
|
maxTokens: 128000,
|
|
6721
6738
|
},
|
|
6722
6739
|
"qwen3.5-plus": {
|
|
@@ -6976,6 +6993,23 @@ export const MODELS = {
|
|
|
6976
6993
|
contextWindow: 1000000,
|
|
6977
6994
|
maxTokens: 65536,
|
|
6978
6995
|
},
|
|
6996
|
+
"qwen3.7-plus": {
|
|
6997
|
+
id: "qwen3.7-plus",
|
|
6998
|
+
name: "Qwen3.7 Plus",
|
|
6999
|
+
api: "anthropic-messages",
|
|
7000
|
+
provider: "opencode-go",
|
|
7001
|
+
baseUrl: "https://opencode.ai/zen/go",
|
|
7002
|
+
reasoning: true,
|
|
7003
|
+
input: ["text", "image"],
|
|
7004
|
+
cost: {
|
|
7005
|
+
input: 0.4,
|
|
7006
|
+
output: 1.6,
|
|
7007
|
+
cacheRead: 0.04,
|
|
7008
|
+
cacheWrite: 0.5,
|
|
7009
|
+
},
|
|
7010
|
+
contextWindow: 262144,
|
|
7011
|
+
maxTokens: 65536,
|
|
7012
|
+
},
|
|
6979
7013
|
},
|
|
6980
7014
|
"openrouter": {
|
|
6981
7015
|
"ai21/jamba-large-1.7": {
|
|
@@ -8831,6 +8865,40 @@ export const MODELS = {
|
|
|
8831
8865
|
contextWindow: 1000000,
|
|
8832
8866
|
maxTokens: 262144,
|
|
8833
8867
|
},
|
|
8868
|
+
"nvidia/nemotron-3-ultra-550b-a55b": {
|
|
8869
|
+
id: "nvidia/nemotron-3-ultra-550b-a55b",
|
|
8870
|
+
name: "NVIDIA: Nemotron 3 Ultra",
|
|
8871
|
+
api: "openai-completions",
|
|
8872
|
+
provider: "openrouter",
|
|
8873
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
8874
|
+
reasoning: true,
|
|
8875
|
+
input: ["text"],
|
|
8876
|
+
cost: {
|
|
8877
|
+
input: 0.5,
|
|
8878
|
+
output: 2.5,
|
|
8879
|
+
cacheRead: 0.15,
|
|
8880
|
+
cacheWrite: 0,
|
|
8881
|
+
},
|
|
8882
|
+
contextWindow: 1000000,
|
|
8883
|
+
maxTokens: 16384,
|
|
8884
|
+
},
|
|
8885
|
+
"nvidia/nemotron-3-ultra-550b-a55b:free": {
|
|
8886
|
+
id: "nvidia/nemotron-3-ultra-550b-a55b:free",
|
|
8887
|
+
name: "NVIDIA: Nemotron 3 Ultra (free)",
|
|
8888
|
+
api: "openai-completions",
|
|
8889
|
+
provider: "openrouter",
|
|
8890
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
8891
|
+
reasoning: true,
|
|
8892
|
+
input: ["text"],
|
|
8893
|
+
cost: {
|
|
8894
|
+
input: 0,
|
|
8895
|
+
output: 0,
|
|
8896
|
+
cacheRead: 0,
|
|
8897
|
+
cacheWrite: 0,
|
|
8898
|
+
},
|
|
8899
|
+
contextWindow: 1000000,
|
|
8900
|
+
maxTokens: 65536,
|
|
8901
|
+
},
|
|
8834
8902
|
"nvidia/nemotron-nano-12b-v2-vl:free": {
|
|
8835
8903
|
id: "nvidia/nemotron-nano-12b-v2-vl:free",
|
|
8836
8904
|
name: "NVIDIA: Nemotron Nano 12B 2 VL (free)",
|
|
@@ -8950,23 +9018,6 @@ export const MODELS = {
|
|
|
8950
9018
|
contextWindow: 8191,
|
|
8951
9019
|
maxTokens: 4096,
|
|
8952
9020
|
},
|
|
8953
|
-
"openai/gpt-4-0314": {
|
|
8954
|
-
id: "openai/gpt-4-0314",
|
|
8955
|
-
name: "OpenAI: GPT-4 (older v0314)",
|
|
8956
|
-
api: "openai-completions",
|
|
8957
|
-
provider: "openrouter",
|
|
8958
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
8959
|
-
reasoning: false,
|
|
8960
|
-
input: ["text"],
|
|
8961
|
-
cost: {
|
|
8962
|
-
input: 30,
|
|
8963
|
-
output: 60,
|
|
8964
|
-
cacheRead: 0,
|
|
8965
|
-
cacheWrite: 0,
|
|
8966
|
-
},
|
|
8967
|
-
contextWindow: 8191,
|
|
8968
|
-
maxTokens: 4096,
|
|
8969
|
-
},
|
|
8970
9021
|
"openai/gpt-4-1106-preview": {
|
|
8971
9022
|
id: "openai/gpt-4-1106-preview",
|
|
8972
9023
|
name: "OpenAI: GPT-4 Turbo (older v1106)",
|
|
@@ -10098,8 +10149,8 @@ export const MODELS = {
|
|
|
10098
10149
|
reasoning: false,
|
|
10099
10150
|
input: ["text"],
|
|
10100
10151
|
cost: {
|
|
10101
|
-
input: 0.
|
|
10102
|
-
output: 0.
|
|
10152
|
+
input: 0.04815,
|
|
10153
|
+
output: 0.19305,
|
|
10103
10154
|
cacheRead: 0,
|
|
10104
10155
|
cacheWrite: 0,
|
|
10105
10156
|
},
|
|
@@ -10701,6 +10752,23 @@ export const MODELS = {
|
|
|
10701
10752
|
contextWindow: 1000000,
|
|
10702
10753
|
maxTokens: 65536,
|
|
10703
10754
|
},
|
|
10755
|
+
"qwen/qwen3.7-plus": {
|
|
10756
|
+
id: "qwen/qwen3.7-plus",
|
|
10757
|
+
name: "Qwen: Qwen3.7 Plus",
|
|
10758
|
+
api: "openai-completions",
|
|
10759
|
+
provider: "openrouter",
|
|
10760
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
10761
|
+
reasoning: true,
|
|
10762
|
+
input: ["text", "image"],
|
|
10763
|
+
cost: {
|
|
10764
|
+
input: 0.39999999999999997,
|
|
10765
|
+
output: 1.5999999999999999,
|
|
10766
|
+
cacheRead: 0.08,
|
|
10767
|
+
cacheWrite: 0.5,
|
|
10768
|
+
},
|
|
10769
|
+
contextWindow: 1000000,
|
|
10770
|
+
maxTokens: 65536,
|
|
10771
|
+
},
|
|
10704
10772
|
"rekaai/reka-edge": {
|
|
10705
10773
|
id: "rekaai/reka-edge",
|
|
10706
10774
|
name: "Reka Edge",
|
|
@@ -11136,12 +11204,12 @@ export const MODELS = {
|
|
|
11136
11204
|
input: ["text"],
|
|
11137
11205
|
cost: {
|
|
11138
11206
|
input: 0.6,
|
|
11139
|
-
output:
|
|
11207
|
+
output: 1.92,
|
|
11140
11208
|
cacheRead: 0.12,
|
|
11141
11209
|
cacheWrite: 0,
|
|
11142
11210
|
},
|
|
11143
11211
|
contextWindow: 202752,
|
|
11144
|
-
maxTokens:
|
|
11212
|
+
maxTokens: 4096,
|
|
11145
11213
|
},
|
|
11146
11214
|
"z-ai/glm-5-turbo": {
|
|
11147
11215
|
id: "z-ai/glm-5-turbo",
|
|
@@ -11175,7 +11243,7 @@ export const MODELS = {
|
|
|
11175
11243
|
cacheWrite: 0,
|
|
11176
11244
|
},
|
|
11177
11245
|
contextWindow: 202752,
|
|
11178
|
-
maxTokens:
|
|
11246
|
+
maxTokens: 4096,
|
|
11179
11247
|
},
|
|
11180
11248
|
"z-ai/glm-5v-turbo": {
|
|
11181
11249
|
id: "z-ai/glm-5v-turbo",
|
|
@@ -11407,7 +11475,7 @@ export const MODELS = {
|
|
|
11407
11475
|
provider: "vercel-ai-gateway",
|
|
11408
11476
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
11409
11477
|
reasoning: true,
|
|
11410
|
-
input: ["text"
|
|
11478
|
+
input: ["text"],
|
|
11411
11479
|
cost: {
|
|
11412
11480
|
input: 1.3,
|
|
11413
11481
|
output: 7.8,
|
|
@@ -11679,7 +11747,7 @@ export const MODELS = {
|
|
|
11679
11747
|
provider: "vercel-ai-gateway",
|
|
11680
11748
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
11681
11749
|
reasoning: true,
|
|
11682
|
-
input: ["text"
|
|
11750
|
+
input: ["text"],
|
|
11683
11751
|
cost: {
|
|
11684
11752
|
input: 1.25,
|
|
11685
11753
|
output: 3.75,
|
|
@@ -12104,7 +12172,7 @@ export const MODELS = {
|
|
|
12104
12172
|
provider: "vercel-ai-gateway",
|
|
12105
12173
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
12106
12174
|
reasoning: true,
|
|
12107
|
-
input: ["text"
|
|
12175
|
+
input: ["text"],
|
|
12108
12176
|
cost: {
|
|
12109
12177
|
input: 0.435,
|
|
12110
12178
|
output: 0.87,
|
|
@@ -12597,7 +12665,7 @@ export const MODELS = {
|
|
|
12597
12665
|
provider: "vercel-ai-gateway",
|
|
12598
12666
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
12599
12667
|
reasoning: true,
|
|
12600
|
-
input: ["text"
|
|
12668
|
+
input: ["text"],
|
|
12601
12669
|
cost: {
|
|
12602
12670
|
input: 0.6,
|
|
12603
12671
|
output: 2.4,
|
|
@@ -12614,7 +12682,7 @@ export const MODELS = {
|
|
|
12614
12682
|
provider: "vercel-ai-gateway",
|
|
12615
12683
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
12616
12684
|
reasoning: true,
|
|
12617
|
-
input: ["text"
|
|
12685
|
+
input: ["text"],
|
|
12618
12686
|
cost: {
|
|
12619
12687
|
input: 0.3,
|
|
12620
12688
|
output: 1.2,
|
|
@@ -12631,7 +12699,7 @@ export const MODELS = {
|
|
|
12631
12699
|
provider: "vercel-ai-gateway",
|
|
12632
12700
|
baseUrl: "https://ai-gateway.vercel.sh",
|
|
12633
12701
|
reasoning: true,
|
|
12634
|
-
input: ["text"
|
|
12702
|
+
input: ["text"],
|
|
12635
12703
|
cost: {
|
|
12636
12704
|
input: 0.6,
|
|
12637
12705
|
output: 2.4,
|
|
@@ -12981,6 +13049,23 @@ export const MODELS = {
|
|
|
12981
13049
|
contextWindow: 256000,
|
|
12982
13050
|
maxTokens: 32000,
|
|
12983
13051
|
},
|
|
13052
|
+
"nvidia/nemotron-3-ultra-550b-a55b": {
|
|
13053
|
+
id: "nvidia/nemotron-3-ultra-550b-a55b",
|
|
13054
|
+
name: "Nemotron 3 Ultra",
|
|
13055
|
+
api: "anthropic-messages",
|
|
13056
|
+
provider: "vercel-ai-gateway",
|
|
13057
|
+
baseUrl: "https://ai-gateway.vercel.sh",
|
|
13058
|
+
reasoning: true,
|
|
13059
|
+
input: ["text"],
|
|
13060
|
+
cost: {
|
|
13061
|
+
input: 0.5,
|
|
13062
|
+
output: 2.5,
|
|
13063
|
+
cacheRead: 0.15,
|
|
13064
|
+
cacheWrite: 0,
|
|
13065
|
+
},
|
|
13066
|
+
contextWindow: 262144,
|
|
13067
|
+
maxTokens: 65000,
|
|
13068
|
+
},
|
|
12984
13069
|
"nvidia/nemotron-nano-12b-v2-vl": {
|
|
12985
13070
|
id: "nvidia/nemotron-nano-12b-v2-vl",
|
|
12986
13071
|
name: "Nvidia Nemotron Nano 12B V2 VL",
|