pi-hypercharm-provider 1.0.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/models.json ADDED
@@ -0,0 +1,360 @@
1
+ [
2
+ {
3
+ "id": "deepseek-v4-flash",
4
+ "name": "DeepSeek V4 Flash",
5
+ "reasoning": true,
6
+ "input": [
7
+ "text"
8
+ ],
9
+ "cost": {
10
+ "input": 0.14,
11
+ "output": 0.28,
12
+ "cacheRead": 0.0028,
13
+ "cacheWrite": 0
14
+ },
15
+ "contextWindow": 1000000,
16
+ "maxTokens": 384000,
17
+ "thinkingLevelMap": {
18
+ "minimal": null,
19
+ "low": null,
20
+ "medium": null,
21
+ "high": "high",
22
+ "xhigh": "max"
23
+ },
24
+ "compat": {
25
+ "thinkingFormat": "deepseek",
26
+ "maxTokensField": "max_tokens",
27
+ "supportsDeveloperRole": true,
28
+ "supportsStore": false,
29
+ "supportsReasoningEffort": true,
30
+ "requiresReasoningContentOnAssistantMessages": true
31
+ }
32
+ },
33
+ {
34
+ "id": "deepseek-v4-pro",
35
+ "name": "DeepSeek V4 Pro",
36
+ "reasoning": true,
37
+ "input": [
38
+ "text"
39
+ ],
40
+ "cost": {
41
+ "input": 0.435,
42
+ "output": 0.87,
43
+ "cacheRead": 0.0036,
44
+ "cacheWrite": 0
45
+ },
46
+ "contextWindow": 1000000,
47
+ "maxTokens": 384000,
48
+ "thinkingLevelMap": {
49
+ "minimal": null,
50
+ "low": null,
51
+ "medium": null,
52
+ "high": "high",
53
+ "xhigh": "max"
54
+ },
55
+ "compat": {
56
+ "thinkingFormat": "deepseek",
57
+ "maxTokensField": "max_tokens",
58
+ "supportsDeveloperRole": true,
59
+ "supportsStore": false,
60
+ "supportsReasoningEffort": true,
61
+ "requiresReasoningContentOnAssistantMessages": true
62
+ }
63
+ },
64
+ {
65
+ "id": "gemma-4-26b-a4b-it",
66
+ "name": "Gemma 4 26B A4B",
67
+ "reasoning": true,
68
+ "input": [
69
+ "text",
70
+ "image"
71
+ ],
72
+ "cost": {
73
+ "input": 0.128,
74
+ "output": 0.42,
75
+ "cacheRead": 0.064,
76
+ "cacheWrite": 0
77
+ },
78
+ "contextWindow": 256000,
79
+ "maxTokens": 25600
80
+ },
81
+ {
82
+ "id": "glm-5.1",
83
+ "name": "GLM 5.1",
84
+ "reasoning": true,
85
+ "input": [
86
+ "text",
87
+ "image"
88
+ ],
89
+ "cost": {
90
+ "input": 1.3,
91
+ "output": 4.3,
92
+ "cacheRead": 0.26,
93
+ "cacheWrite": 0
94
+ },
95
+ "contextWindow": 202000,
96
+ "maxTokens": 202000
97
+ },
98
+ {
99
+ "id": "glm-5",
100
+ "name": "GLM-5",
101
+ "reasoning": true,
102
+ "input": [
103
+ "text"
104
+ ],
105
+ "cost": {
106
+ "input": 0.81,
107
+ "output": 2.624,
108
+ "cacheRead": 0.405,
109
+ "cacheWrite": 0
110
+ },
111
+ "contextWindow": 202752,
112
+ "maxTokens": 20275
113
+ },
114
+ {
115
+ "id": "glm-5.2",
116
+ "name": "GLM-5.2",
117
+ "reasoning": true,
118
+ "input": [
119
+ "text"
120
+ ],
121
+ "cost": {
122
+ "input": 1.4,
123
+ "output": 4.4,
124
+ "cacheRead": 0.26,
125
+ "cacheWrite": 0
126
+ },
127
+ "contextWindow": 1048576,
128
+ "maxTokens": 131072
129
+ },
130
+ {
131
+ "id": "gpt-oss-120b",
132
+ "name": "GPT-OSS 120B",
133
+ "reasoning": true,
134
+ "input": [
135
+ "text"
136
+ ],
137
+ "cost": {
138
+ "input": 0.168,
139
+ "output": 0.562,
140
+ "cacheRead": 0.084,
141
+ "cacheWrite": 0
142
+ },
143
+ "contextWindow": 131072,
144
+ "maxTokens": 13107
145
+ },
146
+ {
147
+ "id": "kimi-k2.5",
148
+ "name": "Kimi K2.5",
149
+ "reasoning": true,
150
+ "input": [
151
+ "text",
152
+ "image"
153
+ ],
154
+ "cost": {
155
+ "input": 0.495,
156
+ "output": 2.625,
157
+ "cacheRead": 0.2475,
158
+ "cacheWrite": 0
159
+ },
160
+ "contextWindow": 262144,
161
+ "maxTokens": 26214
162
+ },
163
+ {
164
+ "id": "kimi-k2.6",
165
+ "name": "Kimi K2.6",
166
+ "reasoning": true,
167
+ "input": [
168
+ "text",
169
+ "image"
170
+ ],
171
+ "cost": {
172
+ "input": 0.95,
173
+ "output": 4,
174
+ "cacheRead": 0.16,
175
+ "cacheWrite": 0
176
+ },
177
+ "contextWindow": 262000,
178
+ "maxTokens": 262000
179
+ },
180
+ {
181
+ "id": "kimi-k2.7-code",
182
+ "name": "Kimi K2.7 Code",
183
+ "reasoning": true,
184
+ "input": [
185
+ "text"
186
+ ],
187
+ "cost": {
188
+ "input": 0.95,
189
+ "output": 4,
190
+ "cacheRead": 0.19,
191
+ "cacheWrite": 0
192
+ },
193
+ "contextWindow": 256000,
194
+ "maxTokens": 32768
195
+ },
196
+ {
197
+ "id": "llama-3.3-70b-instruct",
198
+ "name": "Llama 3.3 70B Instruct",
199
+ "reasoning": false,
200
+ "input": [
201
+ "text"
202
+ ],
203
+ "cost": {
204
+ "input": 0.5526,
205
+ "output": 1.0746,
206
+ "cacheRead": 0.2763,
207
+ "cacheWrite": 0
208
+ },
209
+ "contextWindow": 128000,
210
+ "maxTokens": 12800
211
+ },
212
+ {
213
+ "id": "llama-4-maverick-17b-128e-instruct-fp8",
214
+ "name": "Llama 4 Maverick 17B 128E FP8",
215
+ "reasoning": false,
216
+ "input": [
217
+ "text"
218
+ ],
219
+ "cost": {
220
+ "input": 0.274,
221
+ "output": 0.894,
222
+ "cacheRead": 0.137,
223
+ "cacheWrite": 0
224
+ },
225
+ "contextWindow": 430000,
226
+ "maxTokens": 43000
227
+ },
228
+ {
229
+ "id": "minimax-m2.7",
230
+ "name": "MiniMax M2.7",
231
+ "reasoning": true,
232
+ "input": [
233
+ "text"
234
+ ],
235
+ "cost": {
236
+ "input": 0.3,
237
+ "output": 1.2,
238
+ "cacheRead": 0.06,
239
+ "cacheWrite": 0.375
240
+ },
241
+ "contextWindow": 204800,
242
+ "maxTokens": 131000
243
+ },
244
+ {
245
+ "id": "qwen3-coder-480b-a35b-instruct-int4-mixed-ar",
246
+ "name": "Qwen3 Coder 480B A35B INT4",
247
+ "reasoning": true,
248
+ "input": [
249
+ "text"
250
+ ],
251
+ "cost": {
252
+ "input": 0.557,
253
+ "output": 2.545,
254
+ "cacheRead": 0.2785,
255
+ "cacheWrite": 0
256
+ },
257
+ "contextWindow": 106000,
258
+ "maxTokens": 10600
259
+ },
260
+ {
261
+ "id": "qwen3-next-80b-a3b-instruct",
262
+ "name": "Qwen3 Next 80B A3B",
263
+ "reasoning": true,
264
+ "input": [
265
+ "text"
266
+ ],
267
+ "cost": {
268
+ "input": 0.128,
269
+ "output": 1.28,
270
+ "cacheRead": 0.064,
271
+ "cacheWrite": 0
272
+ },
273
+ "contextWindow": 262144,
274
+ "maxTokens": 26214
275
+ },
276
+ {
277
+ "id": "qwen3.6-flash",
278
+ "name": "Qwen3.6-Flash",
279
+ "reasoning": true,
280
+ "input": [
281
+ "text",
282
+ "image"
283
+ ],
284
+ "cost": {
285
+ "input": 1,
286
+ "output": 4,
287
+ "cacheRead": 1.25,
288
+ "cacheWrite": 0.1
289
+ },
290
+ "contextWindow": 1000000,
291
+ "maxTokens": 64000
292
+ },
293
+ {
294
+ "id": "qwen3.6-max",
295
+ "name": "Qwen3.6-Max",
296
+ "reasoning": true,
297
+ "input": [
298
+ "text",
299
+ "image"
300
+ ],
301
+ "cost": {
302
+ "input": 2,
303
+ "output": 12,
304
+ "cacheRead": 2.5,
305
+ "cacheWrite": 0.2
306
+ },
307
+ "contextWindow": 256000,
308
+ "maxTokens": 64000
309
+ },
310
+ {
311
+ "id": "qwen3.6-plus",
312
+ "name": "Qwen3.6-Plus",
313
+ "reasoning": true,
314
+ "input": [
315
+ "text",
316
+ "image"
317
+ ],
318
+ "cost": {
319
+ "input": 2,
320
+ "output": 6,
321
+ "cacheRead": 2.5,
322
+ "cacheWrite": 0.2
323
+ },
324
+ "contextWindow": 1000000,
325
+ "maxTokens": 64000
326
+ },
327
+ {
328
+ "id": "qwen3.7-max",
329
+ "name": "Qwen3.7-Max",
330
+ "reasoning": true,
331
+ "input": [
332
+ "text",
333
+ "image"
334
+ ],
335
+ "cost": {
336
+ "input": 2.5,
337
+ "output": 7.5,
338
+ "cacheRead": 3.125,
339
+ "cacheWrite": 0.25
340
+ },
341
+ "contextWindow": 1000000,
342
+ "maxTokens": 64000
343
+ },
344
+ {
345
+ "id": "qwen3.7-plus",
346
+ "name": "Qwen3.7-Plus",
347
+ "reasoning": true,
348
+ "input": [
349
+ "text"
350
+ ],
351
+ "cost": {
352
+ "input": 1.2,
353
+ "output": 4.8,
354
+ "cacheRead": 1.5,
355
+ "cacheWrite": 0.12
356
+ },
357
+ "contextWindow": 1000000,
358
+ "maxTokens": 64000
359
+ }
360
+ ]
package/package.json ADDED
@@ -0,0 +1,37 @@
1
+ {
2
+ "name": "pi-hypercharm-provider",
3
+ "version": "1.0.3",
4
+ "description": "HyperCharm provider extension for pi - Access DeepSeek, GLM, Kimi, Qwen, MiniMax, Gemma, and GPT-OSS models through the Charm Hyper API",
5
+ "type": "module",
6
+ "main": "index.ts",
7
+ "keywords": [
8
+ "pi",
9
+ "extension",
10
+ "provider",
11
+ "hypercharm",
12
+ "charm",
13
+ "hyper",
14
+ "ai",
15
+ "llm",
16
+ "kimi",
17
+ "deepseek",
18
+ "glm",
19
+ "qwen",
20
+ "minimax",
21
+ "gemma",
22
+ "gpt-oss"
23
+ ],
24
+ "author": "",
25
+ "license": "MIT",
26
+ "pi": {
27
+ "extensions": [
28
+ "./index.ts"
29
+ ]
30
+ },
31
+ "scripts": {
32
+ "clean": "echo 'nothing to clean'",
33
+ "build": "echo 'nothing to build'",
34
+ "check": "echo 'nothing to check'",
35
+ "update-models": "node scripts/update-models.js"
36
+ }
37
+ }
package/patch.json ADDED
@@ -0,0 +1,155 @@
1
+ {
2
+ "deepseek-v4-flash": {
3
+ "maxTokens": 384000,
4
+ "thinkingLevelMap": {
5
+ "minimal": null,
6
+ "low": null,
7
+ "medium": null,
8
+ "high": "high",
9
+ "xhigh": "max"
10
+ },
11
+ "compat": {
12
+ "thinkingFormat": "deepseek",
13
+ "maxTokensField": "max_tokens",
14
+ "supportsDeveloperRole": true,
15
+ "supportsStore": false,
16
+ "supportsReasoningEffort": true,
17
+ "requiresReasoningContentOnAssistantMessages": true
18
+ }
19
+ },
20
+ "deepseek-v4-pro": {
21
+ "maxTokens": 384000,
22
+ "thinkingLevelMap": {
23
+ "minimal": null,
24
+ "low": null,
25
+ "medium": null,
26
+ "high": "high",
27
+ "xhigh": "max"
28
+ },
29
+ "compat": {
30
+ "thinkingFormat": "deepseek",
31
+ "maxTokensField": "max_tokens",
32
+ "supportsDeveloperRole": true,
33
+ "supportsStore": false,
34
+ "supportsReasoningEffort": true,
35
+ "requiresReasoningContentOnAssistantMessages": true
36
+ }
37
+ },
38
+ "gemma-4-26b-a4b-it": {
39
+ "compat": {
40
+ "thinkingFormat": "openai",
41
+ "maxTokensField": "max_tokens",
42
+ "supportsDeveloperRole": true,
43
+ "supportsStore": false,
44
+ "supportsReasoningEffort": true
45
+ }
46
+ },
47
+ "glm-5": {
48
+ "compat": {
49
+ "thinkingFormat": "openai",
50
+ "maxTokensField": "max_tokens",
51
+ "supportsDeveloperRole": true,
52
+ "supportsStore": false,
53
+ "supportsReasoningEffort": true
54
+ }
55
+ },
56
+ "glm-5.1": {
57
+ "compat": {
58
+ "thinkingFormat": "openai",
59
+ "maxTokensField": "max_tokens",
60
+ "supportsDeveloperRole": true,
61
+ "supportsStore": false,
62
+ "supportsReasoningEffort": true
63
+ }
64
+ },
65
+ "gpt-oss-120b": {
66
+ "compat": {
67
+ "thinkingFormat": "openai",
68
+ "maxTokensField": "max_tokens",
69
+ "supportsDeveloperRole": true,
70
+ "supportsStore": false,
71
+ "supportsReasoningEffort": true
72
+ }
73
+ },
74
+ "kimi-k2.5": {
75
+ "compat": {
76
+ "thinkingFormat": "openai",
77
+ "maxTokensField": "max_tokens",
78
+ "supportsDeveloperRole": true,
79
+ "supportsStore": false,
80
+ "supportsReasoningEffort": true
81
+ }
82
+ },
83
+ "kimi-k2.6": {
84
+ "compat": {
85
+ "thinkingFormat": "openai",
86
+ "maxTokensField": "max_tokens",
87
+ "supportsDeveloperRole": true,
88
+ "supportsStore": false,
89
+ "supportsReasoningEffort": true
90
+ }
91
+ },
92
+ "minimax-m2.7": {
93
+ "compat": {
94
+ "thinkingFormat": "openai",
95
+ "maxTokensField": "max_tokens",
96
+ "supportsDeveloperRole": true,
97
+ "supportsStore": false,
98
+ "supportsReasoningEffort": true
99
+ }
100
+ },
101
+ "qwen3.6-flash": {
102
+ "compat": {
103
+ "thinkingFormat": "openai",
104
+ "maxTokensField": "max_tokens",
105
+ "supportsDeveloperRole": true,
106
+ "supportsStore": false,
107
+ "supportsReasoningEffort": true
108
+ }
109
+ },
110
+ "qwen3.6-max": {
111
+ "compat": {
112
+ "thinkingFormat": "openai",
113
+ "maxTokensField": "max_tokens",
114
+ "supportsDeveloperRole": true,
115
+ "supportsStore": false,
116
+ "supportsReasoningEffort": true
117
+ }
118
+ },
119
+ "qwen3.6-plus": {
120
+ "compat": {
121
+ "thinkingFormat": "openai",
122
+ "maxTokensField": "max_tokens",
123
+ "supportsDeveloperRole": true,
124
+ "supportsStore": false,
125
+ "supportsReasoningEffort": true
126
+ }
127
+ },
128
+ "qwen3.7-max": {
129
+ "compat": {
130
+ "thinkingFormat": "openai",
131
+ "maxTokensField": "max_tokens",
132
+ "supportsDeveloperRole": true,
133
+ "supportsStore": false,
134
+ "supportsReasoningEffort": true
135
+ }
136
+ },
137
+ "qwen3-coder-480b-a35b-instruct-int4-mixed-ar": {
138
+ "compat": {
139
+ "thinkingFormat": "openai",
140
+ "maxTokensField": "max_tokens",
141
+ "supportsDeveloperRole": true,
142
+ "supportsStore": false,
143
+ "supportsReasoningEffort": true
144
+ }
145
+ },
146
+ "qwen3-next-80b-a3b-instruct": {
147
+ "compat": {
148
+ "thinkingFormat": "openai",
149
+ "maxTokensField": "max_tokens",
150
+ "supportsDeveloperRole": true,
151
+ "supportsStore": false,
152
+ "supportsReasoningEffort": true
153
+ }
154
+ }
155
+ }