@dreb/ai 2.43.0 → 2.43.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.
- package/README.md +1 -1
- package/dist/models.d.ts +1 -0
- package/dist/models.d.ts.map +1 -1
- package/dist/models.generated.d.ts +80 -0
- package/dist/models.generated.d.ts.map +1 -1
- package/dist/models.generated.js +77 -24
- package/dist/models.generated.js.map +1 -1
- package/dist/models.js +3 -0
- package/dist/models.js.map +1 -1
- package/dist/providers/openai-completions.d.ts.map +1 -1
- package/dist/providers/openai-completions.js +6 -6
- package/dist/providers/openai-completions.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/types.js.map +1 -1
- package/dist/utils/oauth/kimi-coding.d.ts +13 -3
- package/dist/utils/oauth/kimi-coding.d.ts.map +1 -1
- package/dist/utils/oauth/kimi-coding.js +347 -89
- package/dist/utils/oauth/kimi-coding.js.map +1 -1
- package/package.json +1 -1
package/dist/models.generated.js
CHANGED
|
@@ -3368,7 +3368,7 @@ export const MODELS = {
|
|
|
3368
3368
|
input: 1,
|
|
3369
3369
|
output: 6,
|
|
3370
3370
|
cacheRead: 0.1,
|
|
3371
|
-
cacheWrite:
|
|
3371
|
+
cacheWrite: 1.25,
|
|
3372
3372
|
},
|
|
3373
3373
|
contextWindow: 1050000,
|
|
3374
3374
|
maxTokens: 128000,
|
|
@@ -3386,7 +3386,7 @@ export const MODELS = {
|
|
|
3386
3386
|
input: 5,
|
|
3387
3387
|
output: 30,
|
|
3388
3388
|
cacheRead: 0.5,
|
|
3389
|
-
cacheWrite:
|
|
3389
|
+
cacheWrite: 6.25,
|
|
3390
3390
|
},
|
|
3391
3391
|
contextWindow: 1050000,
|
|
3392
3392
|
maxTokens: 128000,
|
|
@@ -3404,7 +3404,7 @@ export const MODELS = {
|
|
|
3404
3404
|
input: 2.5,
|
|
3405
3405
|
output: 15,
|
|
3406
3406
|
cacheRead: 0.25,
|
|
3407
|
-
cacheWrite:
|
|
3407
|
+
cacheWrite: 3.125,
|
|
3408
3408
|
},
|
|
3409
3409
|
contextWindow: 1050000,
|
|
3410
3410
|
maxTokens: 128000,
|
|
@@ -5280,13 +5280,49 @@ export const MODELS = {
|
|
|
5280
5280
|
},
|
|
5281
5281
|
},
|
|
5282
5282
|
"kimi-coding-oauth": {
|
|
5283
|
+
"k3": {
|
|
5284
|
+
id: "k3",
|
|
5285
|
+
name: "Kimi K3",
|
|
5286
|
+
api: "openai-completions",
|
|
5287
|
+
provider: "kimi-coding-oauth",
|
|
5288
|
+
baseUrl: "https://api.kimi.com/coding/v1",
|
|
5289
|
+
compat: { "thinkingFormat": "kimi", "supportsDeveloperRole": false, "reasoningEffortMap": { "minimal": "low", "low": "low", "medium": "high", "high": "high", "xhigh": "max" } },
|
|
5290
|
+
reasoning: true,
|
|
5291
|
+
input: ["text", "image"],
|
|
5292
|
+
cost: {
|
|
5293
|
+
input: 0,
|
|
5294
|
+
output: 0,
|
|
5295
|
+
cacheRead: 0,
|
|
5296
|
+
cacheWrite: 0,
|
|
5297
|
+
},
|
|
5298
|
+
contextWindow: 1048576,
|
|
5299
|
+
maxTokens: 32768,
|
|
5300
|
+
},
|
|
5283
5301
|
"kimi-for-coding": {
|
|
5284
5302
|
id: "kimi-for-coding",
|
|
5285
5303
|
name: "Kimi For Coding",
|
|
5286
5304
|
api: "openai-completions",
|
|
5287
5305
|
provider: "kimi-coding-oauth",
|
|
5288
5306
|
baseUrl: "https://api.kimi.com/coding/v1",
|
|
5289
|
-
compat: { "thinkingFormat": "kimi", "supportsDeveloperRole": false },
|
|
5307
|
+
compat: { "thinkingFormat": "kimi", "supportsDeveloperRole": false, "reasoningEffortMap": { "minimal": "auto", "low": "auto", "medium": "auto", "high": "auto", "xhigh": "auto" } },
|
|
5308
|
+
reasoning: true,
|
|
5309
|
+
input: ["text", "image"],
|
|
5310
|
+
cost: {
|
|
5311
|
+
input: 0,
|
|
5312
|
+
output: 0,
|
|
5313
|
+
cacheRead: 0,
|
|
5314
|
+
cacheWrite: 0,
|
|
5315
|
+
},
|
|
5316
|
+
contextWindow: 262144,
|
|
5317
|
+
maxTokens: 32768,
|
|
5318
|
+
},
|
|
5319
|
+
"kimi-for-coding-highspeed": {
|
|
5320
|
+
id: "kimi-for-coding-highspeed",
|
|
5321
|
+
name: "Kimi For Coding Highspeed",
|
|
5322
|
+
api: "openai-completions",
|
|
5323
|
+
provider: "kimi-coding-oauth",
|
|
5324
|
+
baseUrl: "https://api.kimi.com/coding/v1",
|
|
5325
|
+
compat: { "thinkingFormat": "kimi", "supportsDeveloperRole": false, "reasoningEffortMap": { "minimal": "auto", "low": "auto", "medium": "auto", "high": "auto", "xhigh": "auto" } },
|
|
5290
5326
|
reasoning: true,
|
|
5291
5327
|
input: ["text", "image"],
|
|
5292
5328
|
cost: {
|
|
@@ -7786,9 +7822,9 @@ export const MODELS = {
|
|
|
7786
7822
|
reasoning: true,
|
|
7787
7823
|
input: ["text"],
|
|
7788
7824
|
cost: {
|
|
7789
|
-
input: 0.
|
|
7790
|
-
output: 0.
|
|
7791
|
-
cacheRead: 0.
|
|
7825
|
+
input: 0.14,
|
|
7826
|
+
output: 0.28,
|
|
7827
|
+
cacheRead: 0.0028,
|
|
7792
7828
|
cacheWrite: 0,
|
|
7793
7829
|
},
|
|
7794
7830
|
contextWindow: 1000000,
|
|
@@ -7898,7 +7934,7 @@ export const MODELS = {
|
|
|
7898
7934
|
},
|
|
7899
7935
|
"kimi-k3": {
|
|
7900
7936
|
id: "kimi-k3",
|
|
7901
|
-
name: "Kimi K3",
|
|
7937
|
+
name: "Kimi K3 (2x usage)",
|
|
7902
7938
|
api: "openai-completions",
|
|
7903
7939
|
provider: "opencode-go",
|
|
7904
7940
|
baseUrl: "https://opencode.ai/zen/go/v1",
|
|
@@ -9779,11 +9815,11 @@ export const MODELS = {
|
|
|
9779
9815
|
cost: {
|
|
9780
9816
|
input: 0.6,
|
|
9781
9817
|
output: 2.5,
|
|
9782
|
-
cacheRead: 0,
|
|
9818
|
+
cacheRead: 0.15,
|
|
9783
9819
|
cacheWrite: 0,
|
|
9784
9820
|
},
|
|
9785
9821
|
contextWindow: 262144,
|
|
9786
|
-
maxTokens:
|
|
9822
|
+
maxTokens: 100352,
|
|
9787
9823
|
},
|
|
9788
9824
|
"moonshotai/kimi-k2.5": {
|
|
9789
9825
|
id: "moonshotai/kimi-k2.5",
|
|
@@ -9828,9 +9864,9 @@ export const MODELS = {
|
|
|
9828
9864
|
reasoning: true,
|
|
9829
9865
|
input: ["text", "image"],
|
|
9830
9866
|
cost: {
|
|
9831
|
-
input: 0.
|
|
9832
|
-
output: 3.
|
|
9833
|
-
cacheRead: 0.
|
|
9867
|
+
input: 0.85,
|
|
9868
|
+
output: 3.79,
|
|
9869
|
+
cacheRead: 0.17800000000000002,
|
|
9834
9870
|
cacheWrite: 0,
|
|
9835
9871
|
},
|
|
9836
9872
|
contextWindow: 262144,
|
|
@@ -11324,13 +11360,13 @@ export const MODELS = {
|
|
|
11324
11360
|
reasoning: true,
|
|
11325
11361
|
input: ["text"],
|
|
11326
11362
|
cost: {
|
|
11327
|
-
input: 0.
|
|
11328
|
-
output: 0.
|
|
11363
|
+
input: 0.13,
|
|
11364
|
+
output: 0.52,
|
|
11329
11365
|
cacheRead: 0,
|
|
11330
11366
|
cacheWrite: 0,
|
|
11331
11367
|
},
|
|
11332
11368
|
contextWindow: 131072,
|
|
11333
|
-
maxTokens:
|
|
11369
|
+
maxTokens: 8192,
|
|
11334
11370
|
},
|
|
11335
11371
|
"qwen/qwen3-30b-a3b-instruct-2507": {
|
|
11336
11372
|
id: "qwen/qwen3-30b-a3b-instruct-2507",
|
|
@@ -11732,13 +11768,13 @@ export const MODELS = {
|
|
|
11732
11768
|
reasoning: true,
|
|
11733
11769
|
input: ["text", "image"],
|
|
11734
11770
|
cost: {
|
|
11735
|
-
input: 0.
|
|
11736
|
-
output:
|
|
11771
|
+
input: 0.26,
|
|
11772
|
+
output: 2.6,
|
|
11737
11773
|
cacheRead: 0,
|
|
11738
11774
|
cacheWrite: 0,
|
|
11739
11775
|
},
|
|
11740
11776
|
contextWindow: 262144,
|
|
11741
|
-
maxTokens:
|
|
11777
|
+
maxTokens: 81920,
|
|
11742
11778
|
},
|
|
11743
11779
|
"qwen/qwen3.5-35b-a3b": {
|
|
11744
11780
|
id: "qwen/qwen3.5-35b-a3b",
|
|
@@ -12131,6 +12167,23 @@ export const MODELS = {
|
|
|
12131
12167
|
contextWindow: 32768,
|
|
12132
12168
|
maxTokens: 32768,
|
|
12133
12169
|
},
|
|
12170
|
+
"thinkingmachines/inkling": {
|
|
12171
|
+
id: "thinkingmachines/inkling",
|
|
12172
|
+
name: "Thinking Machines: Inkling",
|
|
12173
|
+
api: "openai-completions",
|
|
12174
|
+
provider: "openrouter",
|
|
12175
|
+
baseUrl: "https://openrouter.ai/api/v1",
|
|
12176
|
+
reasoning: true,
|
|
12177
|
+
input: ["text", "image"],
|
|
12178
|
+
cost: {
|
|
12179
|
+
input: 1,
|
|
12180
|
+
output: 4.05,
|
|
12181
|
+
cacheRead: 0.16999999999999998,
|
|
12182
|
+
cacheWrite: 0,
|
|
12183
|
+
},
|
|
12184
|
+
contextWindow: 1048576,
|
|
12185
|
+
maxTokens: 4096,
|
|
12186
|
+
},
|
|
12134
12187
|
"upstage/solar-pro-3": {
|
|
12135
12188
|
id: "upstage/solar-pro-3",
|
|
12136
12189
|
name: "Upstage: Solar Pro 3",
|
|
@@ -12193,7 +12246,7 @@ export const MODELS = {
|
|
|
12193
12246
|
cost: {
|
|
12194
12247
|
input: 2,
|
|
12195
12248
|
output: 6,
|
|
12196
|
-
cacheRead: 0.
|
|
12249
|
+
cacheRead: 0.3,
|
|
12197
12250
|
cacheWrite: 0,
|
|
12198
12251
|
},
|
|
12199
12252
|
contextWindow: 500000,
|
|
@@ -12429,9 +12482,9 @@ export const MODELS = {
|
|
|
12429
12482
|
reasoning: true,
|
|
12430
12483
|
input: ["text"],
|
|
12431
12484
|
cost: {
|
|
12432
|
-
input: 0.
|
|
12433
|
-
output:
|
|
12434
|
-
cacheRead: 0.
|
|
12485
|
+
input: 0.273,
|
|
12486
|
+
output: 0.858,
|
|
12487
|
+
cacheRead: 0.050699999999999995,
|
|
12435
12488
|
cacheWrite: 0,
|
|
12436
12489
|
},
|
|
12437
12490
|
contextWindow: 1048576,
|
|
@@ -12618,7 +12671,7 @@ export const MODELS = {
|
|
|
12618
12671
|
cost: {
|
|
12619
12672
|
input: 2,
|
|
12620
12673
|
output: 6,
|
|
12621
|
-
cacheRead: 0.
|
|
12674
|
+
cacheRead: 0.3,
|
|
12622
12675
|
cacheWrite: 0,
|
|
12623
12676
|
},
|
|
12624
12677
|
contextWindow: 500000,
|