pi-neuralwatt-provider 1.2.0 → 1.2.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 CHANGED
@@ -31,13 +31,13 @@ _Kimi, GLM, Qwen, DeepSeek — with real-time ⚡ energy/cost per session for [p
31
31
 
32
32
  | Model | Context | Vision | Reasoning | Input $/M | Output $/M |
33
33
  |-------|---------|--------|-----------|-----------|------------|
34
- | GLM-5.1 | 1.0M | ❌ | ✅ | $1.10 | $3.60 |
35
- | GLM-5.1 (flex) | 1.0M | ❌ | ✅ | $1.10 | $3.60 |
36
- | GLM-5.1 Fast | 1.0M | ❌ | ❌ | $1.10 | $3.60 |
37
34
  | GLM-5.2 | 1.0M | ❌ | ✅ | $1.45 | $4.50 |
38
35
  | GLM-5.2 (fast) | 1.0M | ❌ | ❌ | $1.45 | $4.50 |
39
36
  | GLM-5.2 (flex) | 1.0M | ❌ | ✅ | $1.45 | $4.50 |
40
- | GLM-5.2 (test) | 1.0M | ❌ | ✅ | $1.10 | $3.60 |
37
+ | GLM-5.2 (short, fast, flex) | 1.0M | ❌ | ❌ | $1.45 | $4.50 |
38
+ | GLM-5.2 (short, fast) | 1.0M | ❌ | ❌ | $1.45 | $4.50 |
39
+ | GLM-5.2 (short, flex) | 1.0M | ❌ | ✅ | $1.45 | $4.50 |
40
+ | GLM-5.2 (short) | 1.0M | ❌ | ✅ | $1.45 | $4.50 |
41
41
  | Kimi K2.5 | 262K | ✅ | ✅ | $0.52 | $2.59 |
42
42
  | Kimi K2.5 Fast | 262K | ✅ | ❌ | $0.52 | $2.59 |
43
43
  | Kimi K2.6 | 262K | ✅ | ✅ | $0.69 | $3.22 |
@@ -46,6 +46,7 @@ _Kimi, GLM, Qwen, DeepSeek — with real-time ⚡ energy/cost per session for [p
46
46
  | Kimi K2.6 Long (Virtual Context) | 1.0M | ✅ | ✅ | $0.69 | $3.22 |
47
47
  | Kimi K2.7 Code | 262K | ✅ | ✅ | $0.95 | $4.00 |
48
48
  | Kimi K2.7 Code (flex) | 262K | ✅ | ✅ | $0.95 | $4.00 |
49
+ | Nemotron-3-Nano (MCR) | 66K | ❌ | ❌ | $0.00 | $0.00 |
49
50
  | Qwen3.5 397B | 262K | ❌ | ✅ | $0.69 | $4.14 |
50
51
  | Qwen3.5 397B Fast | 262K | ❌ | ❌ | $0.69 | $4.14 |
51
52
  | Qwen3.6 35B | 131K | ✅ | ✅ | $0.29 | $1.15 |
@@ -54,8 +55,6 @@ _Kimi, GLM, Qwen, DeepSeek — with real-time ⚡ energy/cost per session for [p
54
55
  | GLM-5.1 Fast Long (MCR 1M) | 1.0M | ❌ | ❌ | $1.10 | $3.60 |
55
56
  | Kimi K2.5 Long (MCR 1M) | 1.0M | ✅ | ✅ | $0.52 | $2.59 |
56
57
  | Claude Opus (Cached) | 1.0M | ❌ | ✅ | $0.00 | $0.00 |
57
- | GLM-5.2 (short) | 200K | ❌ | ✅ | $1.45 | $4.50 |
58
- | GLM-5.2 (short-fast) | 200K | ❌ | ❌ | $1.45 | $4.50 |
59
58
 
60
59
  ## Authentication
61
60
 
@@ -99,45 +99,5 @@
99
99
  "maxTokensField": "max_tokens",
100
100
  "requiresReasoningContentOnAssistantMessages": true
101
101
  }
102
- },
103
- {
104
- "id": "glm-5.2-short",
105
- "name": "GLM-5.2 (short)",
106
- "reasoning": true,
107
- "input": [
108
- "text"
109
- ],
110
- "cost": {
111
- "input": 1.45,
112
- "output": 4.5,
113
- "cacheRead": 0,
114
- "cacheWrite": 0
115
- },
116
- "contextWindow": 200000,
117
- "maxTokens": 200000,
118
- "compat": {
119
- "supportsDeveloperRole": false,
120
- "supportsReasoningEffort": true
121
- }
122
- },
123
- {
124
- "id": "glm-5.2-short-fast",
125
- "name": "GLM-5.2 (short-fast)",
126
- "reasoning": false,
127
- "input": [
128
- "text"
129
- ],
130
- "cost": {
131
- "input": 1.45,
132
- "output": 4.5,
133
- "cacheRead": 0,
134
- "cacheWrite": 0
135
- },
136
- "contextWindow": 200000,
137
- "maxTokens": 200000,
138
- "compat": {
139
- "supportsDeveloperRole": false,
140
- "supportsReasoningEffort": true
141
- }
142
102
  }
143
103
  ]
package/models.json CHANGED
@@ -1,15 +1,15 @@
1
1
  [
2
2
  {
3
- "id": "glm-5.1",
4
- "name": "GLM-5.1",
3
+ "id": "glm-5.2",
4
+ "name": "GLM-5.2",
5
5
  "reasoning": true,
6
6
  "input": [
7
7
  "text"
8
8
  ],
9
9
  "cost": {
10
- "input": 1.1,
11
- "output": 3.6,
12
- "cacheRead": 0,
10
+ "input": 1.45,
11
+ "output": 4.5,
12
+ "cacheRead": 0.3625,
13
13
  "cacheWrite": 0
14
14
  },
15
15
  "contextWindow": 1048560,
@@ -20,16 +20,16 @@
20
20
  }
21
21
  },
22
22
  {
23
- "id": "glm-5.1-flex",
24
- "name": "GLM-5.1 (flex)",
25
- "reasoning": true,
23
+ "id": "glm-5.2-fast",
24
+ "name": "GLM-5.2 (fast)",
25
+ "reasoning": false,
26
26
  "input": [
27
27
  "text"
28
28
  ],
29
29
  "cost": {
30
- "input": 1.1,
31
- "output": 3.6,
32
- "cacheRead": 0,
30
+ "input": 1.45,
31
+ "output": 4.5,
32
+ "cacheRead": 0.3625,
33
33
  "cacheWrite": 0
34
34
  },
35
35
  "contextWindow": 1048560,
@@ -40,16 +40,16 @@
40
40
  }
41
41
  },
42
42
  {
43
- "id": "glm-5.1-fast",
44
- "name": "GLM-5.1 Fast",
45
- "reasoning": false,
43
+ "id": "glm-5.2-flex",
44
+ "name": "GLM-5.2 (flex)",
45
+ "reasoning": true,
46
46
  "input": [
47
47
  "text"
48
48
  ],
49
49
  "cost": {
50
- "input": 1.1,
51
- "output": 3.6,
52
- "cacheRead": 0,
50
+ "input": 1.45,
51
+ "output": 4.5,
52
+ "cacheRead": 0.3625,
53
53
  "cacheWrite": 0
54
54
  },
55
55
  "contextWindow": 1048560,
@@ -60,16 +60,16 @@
60
60
  }
61
61
  },
62
62
  {
63
- "id": "glm-5.2",
64
- "name": "GLM-5.2",
65
- "reasoning": true,
63
+ "id": "glm-5.2-short-fast-flex",
64
+ "name": "GLM-5.2 (short, fast, flex)",
65
+ "reasoning": false,
66
66
  "input": [
67
67
  "text"
68
68
  ],
69
69
  "cost": {
70
70
  "input": 1.45,
71
71
  "output": 4.5,
72
- "cacheRead": 0,
72
+ "cacheRead": 0.3625,
73
73
  "cacheWrite": 0
74
74
  },
75
75
  "contextWindow": 1048560,
@@ -80,8 +80,8 @@
80
80
  }
81
81
  },
82
82
  {
83
- "id": "glm-5.2-fast",
84
- "name": "GLM-5.2 (fast)",
83
+ "id": "glm-5.2-short-fast",
84
+ "name": "GLM-5.2 (short, fast)",
85
85
  "reasoning": false,
86
86
  "input": [
87
87
  "text"
@@ -89,7 +89,7 @@
89
89
  "cost": {
90
90
  "input": 1.45,
91
91
  "output": 4.5,
92
- "cacheRead": 0,
92
+ "cacheRead": 0.3625,
93
93
  "cacheWrite": 0
94
94
  },
95
95
  "contextWindow": 1048560,
@@ -100,8 +100,8 @@
100
100
  }
101
101
  },
102
102
  {
103
- "id": "glm-5.2-flex",
104
- "name": "GLM-5.2 (flex)",
103
+ "id": "glm-5.2-short-flex",
104
+ "name": "GLM-5.2 (short, flex)",
105
105
  "reasoning": true,
106
106
  "input": [
107
107
  "text"
@@ -109,7 +109,7 @@
109
109
  "cost": {
110
110
  "input": 1.45,
111
111
  "output": 4.5,
112
- "cacheRead": 0,
112
+ "cacheRead": 0.3625,
113
113
  "cacheWrite": 0
114
114
  },
115
115
  "contextWindow": 1048560,
@@ -120,16 +120,16 @@
120
120
  }
121
121
  },
122
122
  {
123
- "id": "zai-org/GLM-5.1-FP8",
124
- "name": "GLM-5.2 (test)",
123
+ "id": "glm-5.2-short",
124
+ "name": "GLM-5.2 (short)",
125
125
  "reasoning": true,
126
126
  "input": [
127
127
  "text"
128
128
  ],
129
129
  "cost": {
130
- "input": 1.1,
131
- "output": 3.6,
132
- "cacheRead": 0,
130
+ "input": 1.45,
131
+ "output": 4.5,
132
+ "cacheRead": 0.3625,
133
133
  "cacheWrite": 0
134
134
  },
135
135
  "contextWindow": 1048560,
@@ -150,7 +150,7 @@
150
150
  "cost": {
151
151
  "input": 0.52,
152
152
  "output": 2.59,
153
- "cacheRead": 0,
153
+ "cacheRead": 0.13,
154
154
  "cacheWrite": 0
155
155
  },
156
156
  "contextWindow": 262128,
@@ -173,7 +173,7 @@
173
173
  "cost": {
174
174
  "input": 0.52,
175
175
  "output": 2.59,
176
- "cacheRead": 0,
176
+ "cacheRead": 0.13,
177
177
  "cacheWrite": 0
178
178
  },
179
179
  "contextWindow": 262128,
@@ -196,7 +196,7 @@
196
196
  "cost": {
197
197
  "input": 0.69,
198
198
  "output": 3.22,
199
- "cacheRead": 0,
199
+ "cacheRead": 0.1725,
200
200
  "cacheWrite": 0
201
201
  },
202
202
  "contextWindow": 262128,
@@ -219,7 +219,7 @@
219
219
  "cost": {
220
220
  "input": 0.69,
221
221
  "output": 3.22,
222
- "cacheRead": 0,
222
+ "cacheRead": 0.1725,
223
223
  "cacheWrite": 0
224
224
  },
225
225
  "contextWindow": 262128,
@@ -242,7 +242,7 @@
242
242
  "cost": {
243
243
  "input": 0.69,
244
244
  "output": 3.22,
245
- "cacheRead": 0,
245
+ "cacheRead": 0.1725,
246
246
  "cacheWrite": 0
247
247
  },
248
248
  "contextWindow": 262128,
@@ -265,7 +265,7 @@
265
265
  "cost": {
266
266
  "input": 0.69,
267
267
  "output": 3.22,
268
- "cacheRead": 0,
268
+ "cacheRead": 0.1725,
269
269
  "cacheWrite": 0
270
270
  },
271
271
  "contextWindow": 1048560,
@@ -288,7 +288,7 @@
288
288
  "cost": {
289
289
  "input": 0.95,
290
290
  "output": 4,
291
- "cacheRead": 0,
291
+ "cacheRead": 0.2375,
292
292
  "cacheWrite": 0
293
293
  },
294
294
  "contextWindow": 262128,
@@ -311,7 +311,7 @@
311
311
  "cost": {
312
312
  "input": 0.95,
313
313
  "output": 4,
314
- "cacheRead": 0,
314
+ "cacheRead": 0.2375,
315
315
  "cacheWrite": 0
316
316
  },
317
317
  "contextWindow": 262128,
@@ -323,6 +323,25 @@
323
323
  "maxImagesPerRequest": 20
324
324
  }
325
325
  },
326
+ {
327
+ "id": "nemotron-3-nano-mcr",
328
+ "name": "Nemotron-3-Nano (MCR)",
329
+ "reasoning": false,
330
+ "input": [
331
+ "text"
332
+ ],
333
+ "cost": {
334
+ "input": 0,
335
+ "output": 0,
336
+ "cacheRead": 0,
337
+ "cacheWrite": 0
338
+ },
339
+ "contextWindow": 65520,
340
+ "maxTokens": 65520,
341
+ "compat": {
342
+ "supportsDeveloperRole": false
343
+ }
344
+ },
326
345
  {
327
346
  "id": "qwen3.5-397b",
328
347
  "name": "Qwen3.5 397B",
@@ -333,7 +352,7 @@
333
352
  "cost": {
334
353
  "input": 0.69,
335
354
  "output": 4.14,
336
- "cacheRead": 0,
355
+ "cacheRead": 0.1725,
337
356
  "cacheWrite": 0
338
357
  },
339
358
  "contextWindow": 262128,
@@ -352,7 +371,7 @@
352
371
  "cost": {
353
372
  "input": 0.69,
354
373
  "output": 4.14,
355
- "cacheRead": 0,
374
+ "cacheRead": 0.1725,
356
375
  "cacheWrite": 0
357
376
  },
358
377
  "contextWindow": 262128,
@@ -372,7 +391,7 @@
372
391
  "cost": {
373
392
  "input": 0.29,
374
393
  "output": 1.15,
375
- "cacheRead": 0,
394
+ "cacheRead": 0.0725,
376
395
  "cacheWrite": 0
377
396
  },
378
397
  "contextWindow": 131056,
@@ -395,7 +414,7 @@
395
414
  "cost": {
396
415
  "input": 0.29,
397
416
  "output": 1.15,
398
- "cacheRead": 0,
417
+ "cacheRead": 0.0725,
399
418
  "cacheWrite": 0
400
419
  },
401
420
  "contextWindow": 131056,
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "pi-neuralwatt-provider",
3
- "version": "1.1.6",
3
+ "version": "1.2.2",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "pi-neuralwatt-provider",
9
- "version": "1.1.6",
9
+ "version": "1.2.2",
10
10
  "license": "MIT",
11
11
  "devDependencies": {
12
12
  "knip": "6.14.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-neuralwatt-provider",
3
- "version": "1.2.0",
3
+ "version": "1.2.2",
4
4
  "description": "Neuralwatt provider extension for pi - Access Kimi, GLM, Qwen, GPT-OSS, Devstral, and MiniMax models through the Neuralwatt API",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/patch.json CHANGED
@@ -1,9 +1,4 @@
1
1
  {
2
- "glm-5.1-fast": {
3
- "compat": {
4
- "maxTokensField": "max_tokens"
5
- }
6
- },
7
2
  "glm-5.2": {
8
3
  "thinkingLevelMap": {
9
4
  "off": "minimal",
@@ -39,15 +34,6 @@
39
34
  "xhigh": "max"
40
35
  }
41
36
  },
42
- "zai-org/GLM-5.1-FP8": {
43
- "thinkingLevelMap": {
44
- "minimal": "minimal",
45
- "low": "low",
46
- "medium": "medium",
47
- "high": "high",
48
- "xhigh": "max"
49
- }
50
- },
51
37
  "moonshotai/Kimi-K2.5": {
52
38
  "thinkingLevelMap": {
53
39
  "minimal": null,
@@ -63,15 +63,15 @@ describe("flex model definitions", () => {
63
63
  });
64
64
 
65
65
  describe("flex model cost parity with non-flex counterparts", () => {
66
- it("GLM-5.1 Flex has the same cost as GLM-5.1", () => {
67
- const flex = allModels.find((m) => m.id === "glm-5.1-flex")!;
68
- const base = allModels.find((m) => m.id === "zai-org/GLM-5.1-FP8")!;
66
+ it("GLM-5.2 Flex has the same cost as GLM-5.2", () => {
67
+ const flex = allModels.find((m) => m.id === "glm-5.2-flex")!;
68
+ const base = allModels.find((m) => m.id === "glm-5.2")!;
69
69
  expect(flex.cost).toEqual(base.cost);
70
70
  });
71
71
 
72
- it("GLM-5.1 Flex has the same contextWindow as GLM-5.1", () => {
73
- const flex = allModels.find((m) => m.id === "glm-5.1-flex")!;
74
- const base = allModels.find((m) => m.id === "zai-org/GLM-5.1-FP8")!;
72
+ it("GLM-5.2 Flex has the same contextWindow as GLM-5.2", () => {
73
+ const flex = allModels.find((m) => m.id === "glm-5.2-flex")!;
74
+ const base = allModels.find((m) => m.id === "glm-5.2")!;
75
75
  expect(flex.contextWindow).toBe(base.contextWindow);
76
76
  });
77
77
 
@@ -101,7 +101,7 @@ beforeAll(async () => {
101
101
  fs.mkdirSync(path.join(tmpHome, ".pi", "agent", "extensions"), {
102
102
  recursive: true,
103
103
  });
104
- const mod = await import("../neuralwatt-mcr.ts");
104
+ const mod = await import("../chad-mcr-upstream.ts");
105
105
  extDefault = mod.default as (pi: MockPi) => void;
106
106
  });
107
107
 
@@ -1 +0,0 @@
1
- 019e2ca5-c86b-7705-aa78-225c135a3144
@@ -1 +0,0 @@
1
- {"_meta":true,"v":1,"id":"memory","type":"named","createdAt":"2026-05-23T01:54:08.851Z","description":"Cross-session knowledge and insights"}
@@ -1 +0,0 @@
1
- 019edd25-097a-74b0-8020-160ad128cff4