@aliou/pi-neuralwatt 0.12.0 → 0.12.1
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.
|
@@ -56,10 +56,26 @@ const DEEPSEEK_V4_FLASH: NeuralwattModelFamily = {
|
|
|
56
56
|
},
|
|
57
57
|
};
|
|
58
58
|
|
|
59
|
-
// Google, served from NVIDIA's NVFP4 checkpoint.
|
|
59
|
+
// Google, served from NVIDIA's NVFP4 checkpoint. Gemma 4's chat template
|
|
60
|
+
// takes a boolean rather than an effort level, so it has a single reasoning
|
|
61
|
+
// depth (`max`) plus thinking-off; every non-`none` value resolves to `max`.
|
|
62
|
+
// It does not reason by default (`default_enabled: false`), but the model
|
|
63
|
+
// can produce reasoning traces when asked. See
|
|
64
|
+
// https://portal.neuralwatt.com/docs/api/chat-completions#reasoning-effort
|
|
65
|
+
const GEMMA_4_THINKING: ThinkingLevelMap = {
|
|
66
|
+
off: "none",
|
|
67
|
+
minimal: null,
|
|
68
|
+
low: null,
|
|
69
|
+
medium: null,
|
|
70
|
+
high: null,
|
|
71
|
+
xhigh: null,
|
|
72
|
+
max: "max",
|
|
73
|
+
};
|
|
74
|
+
|
|
60
75
|
const GEMMA_4: NeuralwattModelFamily = {
|
|
61
76
|
cost: { input: 0.144, output: 0.42, cacheRead: 0.0144 },
|
|
62
77
|
vision: true,
|
|
78
|
+
thinkingLevelMap: GEMMA_4_THINKING,
|
|
63
79
|
};
|
|
64
80
|
|
|
65
81
|
// ZhipuAI.
|
|
@@ -132,7 +148,7 @@ const FAMILIES: [NeuralwattModelFamily, NeuralwattVariantSpec[]][] = [
|
|
|
132
148
|
name: "Gemma 4 31B",
|
|
133
149
|
contextWindow: 262128,
|
|
134
150
|
maxOutputTokens: 16384,
|
|
135
|
-
reasoning:
|
|
151
|
+
reasoning: true,
|
|
136
152
|
},
|
|
137
153
|
],
|
|
138
154
|
],
|
|
@@ -147,11 +163,14 @@ const FAMILIES: [NeuralwattModelFamily, NeuralwattVariantSpec[]][] = [
|
|
|
147
163
|
reasoning: true,
|
|
148
164
|
},
|
|
149
165
|
{
|
|
166
|
+
// GLM-5.2 Fast pins thinking off by default, but keeps the parent's
|
|
167
|
+
// full reasoning contract (`high`/`max`/`none`): sending
|
|
168
|
+
// `reasoning_effort` re-enables thinking for that request.
|
|
150
169
|
id: "glm-5.2-fast",
|
|
151
|
-
name: "GLM-5.2
|
|
170
|
+
name: "GLM-5.2 (fast)",
|
|
152
171
|
contextWindow: 1048560,
|
|
153
172
|
maxOutputTokens: null,
|
|
154
|
-
reasoning:
|
|
173
|
+
reasoning: true,
|
|
155
174
|
},
|
|
156
175
|
{
|
|
157
176
|
id: "glm-5.2-flex",
|
|
@@ -169,11 +188,13 @@ const FAMILIES: [NeuralwattModelFamily, NeuralwattVariantSpec[]][] = [
|
|
|
169
188
|
reasoning: true,
|
|
170
189
|
},
|
|
171
190
|
{
|
|
191
|
+
// Short/fast: pins thinking off but keeps the parent reasoning
|
|
192
|
+
// contract, like glm-5.2-fast.
|
|
172
193
|
id: "glm-5.2-short-fast",
|
|
173
|
-
name: "GLM-5.2
|
|
194
|
+
name: "GLM-5.2 (short, fast)",
|
|
174
195
|
contextWindow: 199984,
|
|
175
196
|
maxOutputTokens: 32000,
|
|
176
|
-
reasoning:
|
|
197
|
+
reasoning: true,
|
|
177
198
|
},
|
|
178
199
|
{
|
|
179
200
|
id: "glm-5.2-short-flex",
|
|
@@ -184,11 +205,13 @@ const FAMILIES: [NeuralwattModelFamily, NeuralwattVariantSpec[]][] = [
|
|
|
184
205
|
costMultiplier: FLEX_COST_MULTIPLIER,
|
|
185
206
|
},
|
|
186
207
|
{
|
|
208
|
+
// Short/fast/flex: pins thinking off but keeps the parent reasoning
|
|
209
|
+
// contract, like glm-5.2-fast.
|
|
187
210
|
id: "glm-5.2-short-fast-flex",
|
|
188
211
|
name: "GLM-5.2 (short, fast, flex)",
|
|
189
212
|
contextWindow: 199984,
|
|
190
213
|
maxOutputTokens: 32000,
|
|
191
|
-
reasoning:
|
|
214
|
+
reasoning: true,
|
|
192
215
|
costMultiplier: FLEX_COST_MULTIPLIER,
|
|
193
216
|
},
|
|
194
217
|
],
|
|
@@ -210,6 +233,14 @@ const FAMILIES: [NeuralwattModelFamily, NeuralwattVariantSpec[]][] = [
|
|
|
210
233
|
maxOutputTokens: null,
|
|
211
234
|
reasoning: false,
|
|
212
235
|
},
|
|
236
|
+
{
|
|
237
|
+
id: "kimi-k3-flex",
|
|
238
|
+
name: "Kimi K3 (flex)",
|
|
239
|
+
contextWindow: 1048560,
|
|
240
|
+
maxOutputTokens: null,
|
|
241
|
+
reasoning: true,
|
|
242
|
+
costMultiplier: FLEX_COST_MULTIPLIER,
|
|
243
|
+
},
|
|
213
244
|
],
|
|
214
245
|
],
|
|
215
246
|
[
|