@aliou/pi-neuralwatt 0.19.2 → 0.19.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/CHANGELOG.md +6 -0
- package/dist/provider/index.js +4 -49
- package/package.json +1 -1
- package/src/models/public-models.ts +6 -46
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @aliou/pi-extension-template
|
|
2
2
|
|
|
3
|
+
## 0.19.3
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1f5106f: Sync the offline fallback model table with the live Neuralwatt API: remove the retired Kimi K3 models (`kimi-k3`, `kimi-k3-fast`, `kimi-k3-flex`) and update the `nw-large` tracking alias to its new target, Kimi K3.1 Pro (lower pricing and the K3.1 Pro effort contract including `medium`).
|
|
8
|
+
|
|
3
9
|
## 0.19.2
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/provider/index.js
CHANGED
|
@@ -462,51 +462,6 @@ const NEURALWATT_MODELS = [
|
|
|
462
462
|
reasoning: true,
|
|
463
463
|
costMultiplier: .65
|
|
464
464
|
}]],
|
|
465
|
-
[{
|
|
466
|
-
cost: {
|
|
467
|
-
input: 3,
|
|
468
|
-
output: 15,
|
|
469
|
-
cacheRead: .3
|
|
470
|
-
},
|
|
471
|
-
vision: true,
|
|
472
|
-
reasoningMetadata: {
|
|
473
|
-
supported_efforts: [
|
|
474
|
-
"max",
|
|
475
|
-
"high",
|
|
476
|
-
"low",
|
|
477
|
-
"none"
|
|
478
|
-
],
|
|
479
|
-
mandatory: false,
|
|
480
|
-
effort_aliases: {
|
|
481
|
-
xhigh: "max",
|
|
482
|
-
medium: "high",
|
|
483
|
-
minimal: "low"
|
|
484
|
-
}
|
|
485
|
-
}
|
|
486
|
-
}, [
|
|
487
|
-
{
|
|
488
|
-
id: "kimi-k3",
|
|
489
|
-
name: "Kimi K3",
|
|
490
|
-
contextWindow: 1048560,
|
|
491
|
-
maxOutputTokens: null,
|
|
492
|
-
reasoning: true
|
|
493
|
-
},
|
|
494
|
-
{
|
|
495
|
-
id: "kimi-k3-fast",
|
|
496
|
-
name: "Kimi K3 Fast",
|
|
497
|
-
contextWindow: 1048560,
|
|
498
|
-
maxOutputTokens: null,
|
|
499
|
-
reasoning: false
|
|
500
|
-
},
|
|
501
|
-
{
|
|
502
|
-
id: "kimi-k3-flex",
|
|
503
|
-
name: "Kimi K3 (flex)",
|
|
504
|
-
contextWindow: 1048560,
|
|
505
|
-
maxOutputTokens: null,
|
|
506
|
-
reasoning: true,
|
|
507
|
-
costMultiplier: .65
|
|
508
|
-
}
|
|
509
|
-
]],
|
|
510
465
|
[{
|
|
511
466
|
cost: {
|
|
512
467
|
input: 2,
|
|
@@ -576,22 +531,22 @@ const NEURALWATT_MODELS = [
|
|
|
576
531
|
}]],
|
|
577
532
|
[{
|
|
578
533
|
cost: {
|
|
579
|
-
input:
|
|
580
|
-
output:
|
|
581
|
-
cacheRead: .
|
|
534
|
+
input: 2,
|
|
535
|
+
output: 10,
|
|
536
|
+
cacheRead: .2
|
|
582
537
|
},
|
|
583
538
|
vision: true,
|
|
584
539
|
reasoningMetadata: {
|
|
585
540
|
supported_efforts: [
|
|
586
541
|
"max",
|
|
587
542
|
"high",
|
|
543
|
+
"medium",
|
|
588
544
|
"low",
|
|
589
545
|
"none"
|
|
590
546
|
],
|
|
591
547
|
mandatory: false,
|
|
592
548
|
effort_aliases: {
|
|
593
549
|
xhigh: "max",
|
|
594
|
-
medium: "high",
|
|
595
550
|
minimal: "low"
|
|
596
551
|
}
|
|
597
552
|
}
|
package/package.json
CHANGED
|
@@ -75,19 +75,6 @@ const GLM_5_3_FLASH: NeuralwattModelFamily = {
|
|
|
75
75
|
},
|
|
76
76
|
};
|
|
77
77
|
|
|
78
|
-
// MoonshotAI. K3 supports reasoning efforts low/high/max (default max) and
|
|
79
|
-
// can be turned off (`mandatory: false`). The `-fast` endpoint is a shorthand
|
|
80
|
-
// to set thinking to off.
|
|
81
|
-
const KIMI_K3: NeuralwattModelFamily = {
|
|
82
|
-
cost: { input: 3, output: 15, cacheRead: 0.3 },
|
|
83
|
-
vision: true,
|
|
84
|
-
reasoningMetadata: {
|
|
85
|
-
supported_efforts: ["max", "high", "low", "none"],
|
|
86
|
-
mandatory: false,
|
|
87
|
-
effort_aliases: { xhigh: "max", medium: "high", minimal: "low" },
|
|
88
|
-
},
|
|
89
|
-
};
|
|
90
|
-
|
|
91
78
|
// MoonshotAI. K3.1 Pro is a separate flagship from K3: cheaper, multimodal
|
|
92
79
|
// with a broader effort contract (max/high/medium/low/none, default max),
|
|
93
80
|
// aliasing `xhigh` to `max` and `minimal` to `low`.
|
|
@@ -120,16 +107,16 @@ const MIMO_V2_6_PRO: NeuralwattModelFamily = {
|
|
|
120
107
|
},
|
|
121
108
|
};
|
|
122
109
|
|
|
123
|
-
// Neuralwatt tracking alias: the current large model, today Kimi K3. The
|
|
124
|
-
// alias moves to newer models over time, so it snapshots K3's contract
|
|
125
|
-
// instead of sharing the
|
|
110
|
+
// Neuralwatt tracking alias: the current large model, today Kimi K3.1 Pro. The
|
|
111
|
+
// alias moves to newer models over time, so it snapshots K3.1 Pro's contract
|
|
112
|
+
// instead of sharing the KIMI_K3_1_PRO family.
|
|
126
113
|
const NW_LARGE: NeuralwattModelFamily = {
|
|
127
|
-
cost: { input:
|
|
114
|
+
cost: { input: 2, output: 10, cacheRead: 0.2 },
|
|
128
115
|
vision: true,
|
|
129
116
|
reasoningMetadata: {
|
|
130
|
-
supported_efforts: ["max", "high", "low", "none"],
|
|
117
|
+
supported_efforts: ["max", "high", "medium", "low", "none"],
|
|
131
118
|
mandatory: false,
|
|
132
|
-
effort_aliases: { xhigh: "max",
|
|
119
|
+
effort_aliases: { xhigh: "max", minimal: "low" },
|
|
133
120
|
},
|
|
134
121
|
};
|
|
135
122
|
|
|
@@ -267,33 +254,6 @@ const FAMILIES: [NeuralwattModelFamily, NeuralwattVariantSpec[]][] = [
|
|
|
267
254
|
},
|
|
268
255
|
],
|
|
269
256
|
],
|
|
270
|
-
[
|
|
271
|
-
KIMI_K3,
|
|
272
|
-
[
|
|
273
|
-
{
|
|
274
|
-
id: "kimi-k3",
|
|
275
|
-
name: "Kimi K3",
|
|
276
|
-
contextWindow: 1048560,
|
|
277
|
-
maxOutputTokens: null,
|
|
278
|
-
reasoning: true,
|
|
279
|
-
},
|
|
280
|
-
{
|
|
281
|
-
id: "kimi-k3-fast",
|
|
282
|
-
name: "Kimi K3 Fast",
|
|
283
|
-
contextWindow: 1048560,
|
|
284
|
-
maxOutputTokens: null,
|
|
285
|
-
reasoning: false,
|
|
286
|
-
},
|
|
287
|
-
{
|
|
288
|
-
id: "kimi-k3-flex",
|
|
289
|
-
name: "Kimi K3 (flex)",
|
|
290
|
-
contextWindow: 1048560,
|
|
291
|
-
maxOutputTokens: null,
|
|
292
|
-
reasoning: true,
|
|
293
|
-
costMultiplier: 0.65,
|
|
294
|
-
},
|
|
295
|
-
],
|
|
296
|
-
],
|
|
297
257
|
[
|
|
298
258
|
KIMI_K3_1_PRO,
|
|
299
259
|
[
|