pi-wafer-provider 1.0.2 → 1.1.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.
package/README.md CHANGED
@@ -76,16 +76,12 @@ pi
76
76
 
77
77
  | Model | Type | Context | Max Output | Input Cost | Output Cost | Cached Input |
78
78
  |-------|------|---------|------------|------------|-------------|--------------|
79
- | Deepseek V4 Flash | Text | 1M | 16K | Free | Free | Free |
80
- | Deepseek V4 Pro | Text | 1M | 384K | Free | Free | Free |
81
79
  | GLM 5.1 | Text | 203K | 33K | $1.50 | $4.50 | $0.15 |
82
80
  | GLM 5.2 | Text | 1M | 16K | Free | Free | Free |
81
+ | Glm5.2 Fast | Text | 1M | 16K | Free | Free | Free |
83
82
  | Kimi K2.6 | Text | 262K | 33K | $1.10 | $4.80 | $0.11 |
84
- | Kimi K2.7 Code | Text | 262K | 16K | Free | Free | Free |
85
83
  | MiniMax M3 | Text | 1M | 16K | Free | Free | Free |
86
84
  | Qwen 3.5 397B (A17B) | Text + Image | 262K | 33K | $0.60 | $3.60 | $0.06 |
87
- | Qwen3.6 35B A3B | Text | 256K | 16K | Free | Free | Free |
88
- | Qwen3.7 Max | Text | 256K | 16K | $5.00 | $15.00 | $0.50 |
89
85
 
90
86
  *Costs are per million tokens. Prices based on official provider pricing.*
91
87
 
package/models.json CHANGED
@@ -1,29 +1,28 @@
1
1
  [
2
2
  {
3
- "id": "deepseek-v4-flash",
4
- "name": "Deepseek V4 Flash",
3
+ "id": "GLM-5.1",
4
+ "name": "GLM 5.1",
5
5
  "reasoning": false,
6
6
  "input": [
7
7
  "text"
8
8
  ],
9
9
  "cost": {
10
- "input": 0,
11
- "output": 0,
12
- "cacheRead": 0,
10
+ "input": 1.5,
11
+ "output": 4.5,
12
+ "cacheRead": 0.15,
13
13
  "cacheWrite": 0
14
14
  },
15
- "contextWindow": 1000000,
16
- "maxTokens": 16384,
15
+ "contextWindow": 202752,
16
+ "maxTokens": 32768,
17
17
  "compat": {
18
18
  "maxTokensField": "max_completion_tokens",
19
19
  "supportsDeveloperRole": false,
20
- "supportsStore": false,
21
20
  "supportsZdr": true
22
21
  }
23
22
  },
24
23
  {
25
- "id": "deepseek-v4-pro",
26
- "name": "Deepseek V4 Pro",
24
+ "id": "GLM-5.2",
25
+ "name": "GLM 5.2",
27
26
  "reasoning": false,
28
27
  "input": [
29
28
  "text"
@@ -34,7 +33,7 @@
34
33
  "cacheRead": 0,
35
34
  "cacheWrite": 0
36
35
  },
37
- "contextWindow": 1000000,
36
+ "contextWindow": 1048576,
38
37
  "maxTokens": 16384,
39
38
  "compat": {
40
39
  "maxTokensField": "max_completion_tokens",
@@ -44,29 +43,8 @@
44
43
  }
45
44
  },
46
45
  {
47
- "id": "GLM-5.1",
48
- "name": "GLM 5.1",
49
- "reasoning": false,
50
- "input": [
51
- "text"
52
- ],
53
- "cost": {
54
- "input": 1.5,
55
- "output": 4.5,
56
- "cacheRead": 0.15,
57
- "cacheWrite": 0
58
- },
59
- "contextWindow": 202752,
60
- "maxTokens": 32768,
61
- "compat": {
62
- "maxTokensField": "max_completion_tokens",
63
- "supportsDeveloperRole": false,
64
- "supportsZdr": true
65
- }
66
- },
67
- {
68
- "id": "GLM-5.2",
69
- "name": "GLM 5.2",
46
+ "id": "glm5.2-fast",
47
+ "name": "Glm5.2 Fast",
70
48
  "reasoning": false,
71
49
  "input": [
72
50
  "text"
@@ -107,28 +85,6 @@
107
85
  "supportsZdr": false
108
86
  }
109
87
  },
110
- {
111
- "id": "Kimi-K2.7-Code",
112
- "name": "Kimi K2.7 Code",
113
- "reasoning": false,
114
- "input": [
115
- "text"
116
- ],
117
- "cost": {
118
- "input": 0,
119
- "output": 0,
120
- "cacheRead": 0,
121
- "cacheWrite": 0
122
- },
123
- "contextWindow": 262144,
124
- "maxTokens": 16384,
125
- "compat": {
126
- "maxTokensField": "max_completion_tokens",
127
- "supportsDeveloperRole": false,
128
- "supportsStore": false,
129
- "supportsZdr": false
130
- }
131
- },
132
88
  {
133
89
  "id": "MiniMax-M3",
134
90
  "name": "MiniMax M3",
@@ -172,49 +128,5 @@
172
128
  "supportsDeveloperRole": false,
173
129
  "supportsZdr": false
174
130
  }
175
- },
176
- {
177
- "id": "Qwen3.6-35B-A3B",
178
- "name": "Qwen3.6 35B A3B",
179
- "reasoning": false,
180
- "input": [
181
- "text"
182
- ],
183
- "cost": {
184
- "input": 0,
185
- "output": 0,
186
- "cacheRead": 0,
187
- "cacheWrite": 0
188
- },
189
- "contextWindow": 256000,
190
- "maxTokens": 16384,
191
- "compat": {
192
- "maxTokensField": "max_completion_tokens",
193
- "supportsDeveloperRole": false,
194
- "supportsStore": false,
195
- "supportsZdr": false
196
- }
197
- },
198
- {
199
- "id": "qwen3.7-max",
200
- "name": "Qwen3.7 Max",
201
- "reasoning": false,
202
- "input": [
203
- "text"
204
- ],
205
- "cost": {
206
- "input": 0,
207
- "output": 0,
208
- "cacheRead": 0,
209
- "cacheWrite": 0
210
- },
211
- "contextWindow": 256000,
212
- "maxTokens": 16384,
213
- "compat": {
214
- "maxTokensField": "max_completion_tokens",
215
- "supportsDeveloperRole": false,
216
- "supportsStore": false,
217
- "supportsZdr": false
218
- }
219
131
  }
220
132
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-wafer-provider",
3
- "version": "1.0.2",
3
+ "version": "1.1.1",
4
4
  "description": "Wafer Serverless provider extension for pi - Access Qwen3.5-397B-A17B, GLM-5.1, Kimi K2.6, and DeepSeek-V4 through the Wafer Serverless API",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/patch.json CHANGED
@@ -58,7 +58,7 @@
58
58
  "low": null,
59
59
  "medium": null,
60
60
  "high": "high",
61
- "xhigh": "max"
61
+ "max": "max"
62
62
  },
63
63
  "compat": {
64
64
  "thinkingFormat": "deepseek",