@dreb/ai 2.25.2 → 2.25.4
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/README.md +27 -0
- package/dist/models.d.ts +5 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/models.generated.d.ts +1 -103
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +24 -126
- package/dist/models.generated.js.map +1 -1
- package/dist/models.js +8 -0
- package/dist/models.js.map +1 -1
- package/dist/providers/amazon-bedrock.d.ts +3 -1
- package/dist/providers/amazon-bedrock.d.ts.map +1 -1
- package/dist/providers/amazon-bedrock.js +18 -15
- package/dist/providers/amazon-bedrock.js.map +1 -1
- package/dist/providers/anthropic.d.ts +6 -0
- package/dist/providers/anthropic.d.ts.map +1 -1
- package/dist/providers/anthropic.js +12 -10
- package/dist/providers/anthropic.js.map +1 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +20 -5
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/types.d.ts +8 -0
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/oauth/kimi-coding.d.ts.map +1 -1
- package/dist/utils/oauth/kimi-coding.js +3 -0
- package/dist/utils/oauth/kimi-coding.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -4674,7 +4674,7 @@ export const MODELS = {
|
|
|
4674
4674
|
baseUrl: "https://api.kimi.com/coding/v1",
|
|
4675
4675
|
compat: { "thinkingFormat": "kimi", "supportsDeveloperRole": false },
|
|
4676
4676
|
reasoning: true,
|
|
4677
|
-
input: ["text"],
|
|
4677
|
+
input: ["text", "image"],
|
|
4678
4678
|
cost: {
|
|
4679
4679
|
input: 0,
|
|
4680
4680
|
output: 0,
|
|
@@ -6770,23 +6770,6 @@ export const MODELS = {
|
|
|
6770
6770
|
contextWindow: 204800,
|
|
6771
6771
|
maxTokens: 131072,
|
|
6772
6772
|
},
|
|
6773
|
-
"minimax-m3-free": {
|
|
6774
|
-
id: "minimax-m3-free",
|
|
6775
|
-
name: "MiniMax M3 Free",
|
|
6776
|
-
api: "anthropic-messages",
|
|
6777
|
-
provider: "opencode",
|
|
6778
|
-
baseUrl: "https://opencode.ai/zen",
|
|
6779
|
-
reasoning: true,
|
|
6780
|
-
input: ["text", "image"],
|
|
6781
|
-
cost: {
|
|
6782
|
-
input: 0,
|
|
6783
|
-
output: 0,
|
|
6784
|
-
cacheRead: 0,
|
|
6785
|
-
cacheWrite: 0,
|
|
6786
|
-
},
|
|
6787
|
-
contextWindow: 200000,
|
|
6788
|
-
maxTokens: 32000,
|
|
6789
|
-
},
|
|
6790
6773
|
"nemotron-3-ultra-free": {
|
|
6791
6774
|
id: "nemotron-3-ultra-free",
|
|
6792
6775
|
name: "Nemotron 3 Ultra Free",
|
|
@@ -7019,9 +7002,9 @@ export const MODELS = {
|
|
|
7019
7002
|
reasoning: true,
|
|
7020
7003
|
input: ["text", "image"],
|
|
7021
7004
|
cost: {
|
|
7022
|
-
input: 0.
|
|
7023
|
-
output: 2
|
|
7024
|
-
cacheRead: 0.
|
|
7005
|
+
input: 0.3,
|
|
7006
|
+
output: 1.2,
|
|
7007
|
+
cacheRead: 0.06,
|
|
7025
7008
|
cacheWrite: 0,
|
|
7026
7009
|
},
|
|
7027
7010
|
contextWindow: 512000,
|
|
@@ -7505,23 +7488,6 @@ export const MODELS = {
|
|
|
7505
7488
|
contextWindow: 2000000,
|
|
7506
7489
|
maxTokens: 30000,
|
|
7507
7490
|
},
|
|
7508
|
-
"baidu/ernie-4.5-vl-28b-a3b": {
|
|
7509
|
-
id: "baidu/ernie-4.5-vl-28b-a3b",
|
|
7510
|
-
name: "Baidu: ERNIE 4.5 VL 28B A3B",
|
|
7511
|
-
api: "openai-completions",
|
|
7512
|
-
provider: "openrouter",
|
|
7513
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
7514
|
-
reasoning: true,
|
|
7515
|
-
input: ["text", "image"],
|
|
7516
|
-
cost: {
|
|
7517
|
-
input: 0.14,
|
|
7518
|
-
output: 0.56,
|
|
7519
|
-
cacheRead: 0,
|
|
7520
|
-
cacheWrite: 0,
|
|
7521
|
-
},
|
|
7522
|
-
contextWindow: 131072,
|
|
7523
|
-
maxTokens: 8000,
|
|
7524
|
-
},
|
|
7525
7491
|
"bytedance-seed/seed-1.6": {
|
|
7526
7492
|
id: "bytedance-seed/seed-1.6",
|
|
7527
7493
|
name: "ByteDance Seed: Seed 1.6",
|
|
@@ -8024,8 +7990,8 @@ export const MODELS = {
|
|
|
8024
7990
|
reasoning: false,
|
|
8025
7991
|
input: ["text", "image"],
|
|
8026
7992
|
cost: {
|
|
8027
|
-
input: 0.
|
|
8028
|
-
output: 0.
|
|
7993
|
+
input: 0.049999999999999996,
|
|
7994
|
+
output: 0.15,
|
|
8029
7995
|
cacheRead: 0,
|
|
8030
7996
|
cacheWrite: 0,
|
|
8031
7997
|
},
|
|
@@ -8313,7 +8279,7 @@ export const MODELS = {
|
|
|
8313
8279
|
reasoning: false,
|
|
8314
8280
|
input: ["text", "image"],
|
|
8315
8281
|
cost: {
|
|
8316
|
-
input: 0.
|
|
8282
|
+
input: 0.09999999999999999,
|
|
8317
8283
|
output: 0.3,
|
|
8318
8284
|
cacheRead: 0,
|
|
8319
8285
|
cacheWrite: 0,
|
|
@@ -8789,13 +8755,13 @@ export const MODELS = {
|
|
|
8789
8755
|
reasoning: true,
|
|
8790
8756
|
input: ["text", "image"],
|
|
8791
8757
|
cost: {
|
|
8792
|
-
input: 0.
|
|
8793
|
-
output: 3.
|
|
8794
|
-
cacheRead: 0.
|
|
8758
|
+
input: 0.6799999999999999,
|
|
8759
|
+
output: 3.41,
|
|
8760
|
+
cacheRead: 0.33999999999999997,
|
|
8795
8761
|
cacheWrite: 0,
|
|
8796
8762
|
},
|
|
8797
8763
|
contextWindow: 262144,
|
|
8798
|
-
maxTokens:
|
|
8764
|
+
maxTokens: 262142,
|
|
8799
8765
|
},
|
|
8800
8766
|
"moonshotai/kimi-k2.6:free": {
|
|
8801
8767
|
id: "moonshotai/kimi-k2.6:free",
|
|
@@ -8814,23 +8780,6 @@ export const MODELS = {
|
|
|
8814
8780
|
contextWindow: 262144,
|
|
8815
8781
|
maxTokens: 4096,
|
|
8816
8782
|
},
|
|
8817
|
-
"nex-agi/deepseek-v3.1-nex-n1": {
|
|
8818
|
-
id: "nex-agi/deepseek-v3.1-nex-n1",
|
|
8819
|
-
name: "Nex AGI: DeepSeek V3.1 Nex N1",
|
|
8820
|
-
api: "openai-completions",
|
|
8821
|
-
provider: "openrouter",
|
|
8822
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
8823
|
-
reasoning: false,
|
|
8824
|
-
input: ["text"],
|
|
8825
|
-
cost: {
|
|
8826
|
-
input: 0.135,
|
|
8827
|
-
output: 0.5,
|
|
8828
|
-
cacheRead: 0,
|
|
8829
|
-
cacheWrite: 0,
|
|
8830
|
-
},
|
|
8831
|
-
contextWindow: 131072,
|
|
8832
|
-
maxTokens: 163840,
|
|
8833
|
-
},
|
|
8834
8783
|
"nvidia/llama-3.3-nemotron-super-49b-v1.5": {
|
|
8835
8784
|
id: "nvidia/llama-3.3-nemotron-super-49b-v1.5",
|
|
8836
8785
|
name: "NVIDIA: Llama 3.3 Nemotron Super 49B V1.5",
|
|
@@ -8840,7 +8789,7 @@ export const MODELS = {
|
|
|
8840
8789
|
reasoning: true,
|
|
8841
8790
|
input: ["text"],
|
|
8842
8791
|
cost: {
|
|
8843
|
-
input: 0.
|
|
8792
|
+
input: 0.39999999999999997,
|
|
8844
8793
|
output: 0.39999999999999997,
|
|
8845
8794
|
cacheRead: 0,
|
|
8846
8795
|
cacheWrite: 0,
|
|
@@ -9086,23 +9035,6 @@ export const MODELS = {
|
|
|
9086
9035
|
contextWindow: 8191,
|
|
9087
9036
|
maxTokens: 4096,
|
|
9088
9037
|
},
|
|
9089
|
-
"openai/gpt-4-1106-preview": {
|
|
9090
|
-
id: "openai/gpt-4-1106-preview",
|
|
9091
|
-
name: "OpenAI: GPT-4 Turbo (older v1106)",
|
|
9092
|
-
api: "openai-completions",
|
|
9093
|
-
provider: "openrouter",
|
|
9094
|
-
baseUrl: "https://openrouter.ai/api/v1",
|
|
9095
|
-
reasoning: false,
|
|
9096
|
-
input: ["text"],
|
|
9097
|
-
cost: {
|
|
9098
|
-
input: 10,
|
|
9099
|
-
output: 30,
|
|
9100
|
-
cacheRead: 0,
|
|
9101
|
-
cacheWrite: 0,
|
|
9102
|
-
},
|
|
9103
|
-
contextWindow: 128000,
|
|
9104
|
-
maxTokens: 4096,
|
|
9105
|
-
},
|
|
9106
9038
|
"openai/gpt-4-turbo": {
|
|
9107
9039
|
id: "openai/gpt-4-turbo",
|
|
9108
9040
|
name: "OpenAI: GPT-4 Turbo",
|
|
@@ -10166,7 +10098,7 @@ export const MODELS = {
|
|
|
10166
10098
|
reasoning: false,
|
|
10167
10099
|
input: ["text"],
|
|
10168
10100
|
cost: {
|
|
10169
|
-
input: 0.
|
|
10101
|
+
input: 0.09,
|
|
10170
10102
|
output: 0.09999999999999999,
|
|
10171
10103
|
cacheRead: 0,
|
|
10172
10104
|
cacheWrite: 0,
|
|
@@ -10200,8 +10132,8 @@ export const MODELS = {
|
|
|
10200
10132
|
reasoning: true,
|
|
10201
10133
|
input: ["text"],
|
|
10202
10134
|
cost: {
|
|
10203
|
-
input: 0.
|
|
10204
|
-
output: 0.
|
|
10135
|
+
input: 0.12,
|
|
10136
|
+
output: 0.5,
|
|
10205
10137
|
cacheRead: 0,
|
|
10206
10138
|
cacheWrite: 0,
|
|
10207
10139
|
},
|
|
@@ -10659,13 +10591,13 @@ export const MODELS = {
|
|
|
10659
10591
|
reasoning: true,
|
|
10660
10592
|
input: ["text", "image"],
|
|
10661
10593
|
cost: {
|
|
10662
|
-
input: 0.
|
|
10594
|
+
input: 0.09999999999999999,
|
|
10663
10595
|
output: 0.15,
|
|
10664
10596
|
cacheRead: 0,
|
|
10665
10597
|
cacheWrite: 0,
|
|
10666
10598
|
},
|
|
10667
10599
|
contextWindow: 262144,
|
|
10668
|
-
maxTokens:
|
|
10600
|
+
maxTokens: 262144,
|
|
10669
10601
|
},
|
|
10670
10602
|
"qwen/qwen3.5-flash-02-23": {
|
|
10671
10603
|
id: "qwen/qwen3.5-flash-02-23",
|
|
@@ -10727,13 +10659,13 @@ export const MODELS = {
|
|
|
10727
10659
|
reasoning: true,
|
|
10728
10660
|
input: ["text", "image"],
|
|
10729
10661
|
cost: {
|
|
10730
|
-
input: 0.
|
|
10731
|
-
output:
|
|
10662
|
+
input: 0.28900000000000003,
|
|
10663
|
+
output: 2.4,
|
|
10732
10664
|
cacheRead: 0,
|
|
10733
10665
|
cacheWrite: 0,
|
|
10734
10666
|
},
|
|
10735
10667
|
contextWindow: 262144,
|
|
10736
|
-
maxTokens:
|
|
10668
|
+
maxTokens: 131072,
|
|
10737
10669
|
},
|
|
10738
10670
|
"qwen/qwen3.6-35b-a3b": {
|
|
10739
10671
|
id: "qwen/qwen3.6-35b-a3b",
|
|
@@ -11407,13 +11339,13 @@ export const MODELS = {
|
|
|
11407
11339
|
reasoning: true,
|
|
11408
11340
|
input: ["text", "image"],
|
|
11409
11341
|
cost: {
|
|
11410
|
-
input: 0.
|
|
11411
|
-
output: 3.
|
|
11412
|
-
cacheRead: 0.
|
|
11342
|
+
input: 0.6799999999999999,
|
|
11343
|
+
output: 3.41,
|
|
11344
|
+
cacheRead: 0.33999999999999997,
|
|
11413
11345
|
cacheWrite: 0,
|
|
11414
11346
|
},
|
|
11415
11347
|
contextWindow: 262144,
|
|
11416
|
-
maxTokens:
|
|
11348
|
+
maxTokens: 262142,
|
|
11417
11349
|
},
|
|
11418
11350
|
"~openai/gpt-latest": {
|
|
11419
11351
|
id: "~openai/gpt-latest",
|
|
@@ -12233,40 +12165,6 @@ export const MODELS = {
|
|
|
12233
12165
|
contextWindow: 1000000,
|
|
12234
12166
|
maxTokens: 384000,
|
|
12235
12167
|
},
|
|
12236
|
-
"google/gemini-2.0-flash": {
|
|
12237
|
-
id: "google/gemini-2.0-flash",
|
|
12238
|
-
name: "Gemini 2.0 Flash",
|
|
12239
|
-
api: "anthropic-messages",
|
|
12240
|
-
provider: "vercel-ai-gateway",
|
|
12241
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
12242
|
-
reasoning: false,
|
|
12243
|
-
input: ["text", "image"],
|
|
12244
|
-
cost: {
|
|
12245
|
-
input: 0.15,
|
|
12246
|
-
output: 0.6,
|
|
12247
|
-
cacheRead: 0.024999999999999998,
|
|
12248
|
-
cacheWrite: 0,
|
|
12249
|
-
},
|
|
12250
|
-
contextWindow: 1048576,
|
|
12251
|
-
maxTokens: 8192,
|
|
12252
|
-
},
|
|
12253
|
-
"google/gemini-2.0-flash-lite": {
|
|
12254
|
-
id: "google/gemini-2.0-flash-lite",
|
|
12255
|
-
name: "Gemini 2.0 Flash Lite",
|
|
12256
|
-
api: "anthropic-messages",
|
|
12257
|
-
provider: "vercel-ai-gateway",
|
|
12258
|
-
baseUrl: "https://ai-gateway.vercel.sh",
|
|
12259
|
-
reasoning: false,
|
|
12260
|
-
input: ["text", "image"],
|
|
12261
|
-
cost: {
|
|
12262
|
-
input: 0.075,
|
|
12263
|
-
output: 0.3,
|
|
12264
|
-
cacheRead: 0.02,
|
|
12265
|
-
cacheWrite: 0,
|
|
12266
|
-
},
|
|
12267
|
-
contextWindow: 1048576,
|
|
12268
|
-
maxTokens: 8192,
|
|
12269
|
-
},
|
|
12270
12168
|
"google/gemini-2.5-flash": {
|
|
12271
12169
|
id: "google/gemini-2.5-flash",
|
|
12272
12170
|
name: "Gemini 2.5 Flash",
|