pi-io-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/.github/FUNDING.yml +4 -0
- package/AGENTS.md +56 -0
- package/LICENSE +21 -0
- package/README.md +147 -0
- package/custom-models.json +1 -0
- package/index.ts +331 -0
- package/models.json +470 -0
- package/npm-shrinkwrap.json +13 -0
- package/package.json +35 -0
- package/patch.json +16 -0
- package/scripts/update-models.js +393 -0
package/models.json
ADDED
|
@@ -0,0 +1,470 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"id": "zai-org/GLM-5.2",
|
|
4
|
+
"name": "GLM 5.2",
|
|
5
|
+
"reasoning": false,
|
|
6
|
+
"input": [
|
|
7
|
+
"text"
|
|
8
|
+
],
|
|
9
|
+
"cost": {
|
|
10
|
+
"input": 1.818,
|
|
11
|
+
"output": 5.95,
|
|
12
|
+
"cacheRead": 0.909,
|
|
13
|
+
"cacheWrite": 0
|
|
14
|
+
},
|
|
15
|
+
"contextWindow": 262144,
|
|
16
|
+
"maxTokens": 131072
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"id": "moonshotai/Kimi-K2.7-Code",
|
|
20
|
+
"name": "Kimi K2.7 Code",
|
|
21
|
+
"reasoning": false,
|
|
22
|
+
"input": [
|
|
23
|
+
"text"
|
|
24
|
+
],
|
|
25
|
+
"cost": {
|
|
26
|
+
"input": 1.08,
|
|
27
|
+
"output": 4.6,
|
|
28
|
+
"cacheRead": 0.54,
|
|
29
|
+
"cacheWrite": 0
|
|
30
|
+
},
|
|
31
|
+
"contextWindow": 262144,
|
|
32
|
+
"maxTokens": 262144
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
"id": "Qwen/Qwen3.6-35B-A3B",
|
|
36
|
+
"name": "Qwen3.6 35B A3B",
|
|
37
|
+
"reasoning": false,
|
|
38
|
+
"input": [
|
|
39
|
+
"text"
|
|
40
|
+
],
|
|
41
|
+
"cost": {
|
|
42
|
+
"input": 0.1628,
|
|
43
|
+
"output": 1.141313,
|
|
44
|
+
"cacheRead": 0.0814,
|
|
45
|
+
"cacheWrite": 0
|
|
46
|
+
},
|
|
47
|
+
"contextWindow": 262140,
|
|
48
|
+
"maxTokens": 262140
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"id": "Qwen/Qwen3.6-27B",
|
|
52
|
+
"name": "Qwen3.6 27B",
|
|
53
|
+
"reasoning": false,
|
|
54
|
+
"input": [
|
|
55
|
+
"text"
|
|
56
|
+
],
|
|
57
|
+
"cost": {
|
|
58
|
+
"input": 0.3968,
|
|
59
|
+
"output": 3.03,
|
|
60
|
+
"cacheRead": 0.1984,
|
|
61
|
+
"cacheWrite": 0
|
|
62
|
+
},
|
|
63
|
+
"contextWindow": 262140,
|
|
64
|
+
"maxTokens": 262140
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"id": "MiniMaxAI/MiniMax-M2.7",
|
|
68
|
+
"name": "MiniMax M2.7",
|
|
69
|
+
"reasoning": false,
|
|
70
|
+
"input": [
|
|
71
|
+
"text"
|
|
72
|
+
],
|
|
73
|
+
"cost": {
|
|
74
|
+
"input": 0.836,
|
|
75
|
+
"output": 2.624,
|
|
76
|
+
"cacheRead": 0.418,
|
|
77
|
+
"cacheWrite": 0
|
|
78
|
+
},
|
|
79
|
+
"contextWindow": 204800,
|
|
80
|
+
"maxTokens": 204800
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"id": "deepseek-ai/DeepSeek-V4-Flash",
|
|
84
|
+
"name": "DeepSeek V4 Flash",
|
|
85
|
+
"reasoning": false,
|
|
86
|
+
"input": [
|
|
87
|
+
"text"
|
|
88
|
+
],
|
|
89
|
+
"cost": {
|
|
90
|
+
"input": 0.13166,
|
|
91
|
+
"output": 0.26332,
|
|
92
|
+
"cacheRead": 0.06583,
|
|
93
|
+
"cacheWrite": 0
|
|
94
|
+
},
|
|
95
|
+
"contextWindow": 1048576,
|
|
96
|
+
"maxTokens": 1048576
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"id": "deepseek-ai/DeepSeek-V4-Pro",
|
|
100
|
+
"name": "DeepSeek V4 Pro",
|
|
101
|
+
"reasoning": false,
|
|
102
|
+
"input": [
|
|
103
|
+
"text"
|
|
104
|
+
],
|
|
105
|
+
"cost": {
|
|
106
|
+
"input": 1.3527,
|
|
107
|
+
"output": 2.7054,
|
|
108
|
+
"cacheRead": 0.67635,
|
|
109
|
+
"cacheWrite": 0
|
|
110
|
+
},
|
|
111
|
+
"contextWindow": 1048576,
|
|
112
|
+
"maxTokens": 600000
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"id": "moonshotai/Kimi-K2.6",
|
|
116
|
+
"name": "Kimi K2.6",
|
|
117
|
+
"reasoning": false,
|
|
118
|
+
"input": [
|
|
119
|
+
"text",
|
|
120
|
+
"image"
|
|
121
|
+
],
|
|
122
|
+
"cost": {
|
|
123
|
+
"input": 0.9068,
|
|
124
|
+
"output": 3.884,
|
|
125
|
+
"cacheRead": 0.4534,
|
|
126
|
+
"cacheWrite": 0
|
|
127
|
+
},
|
|
128
|
+
"contextWindow": 262142,
|
|
129
|
+
"maxTokens": 262142
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"id": "zai-org/GLM-5.1",
|
|
133
|
+
"name": "GLM 5.1",
|
|
134
|
+
"reasoning": false,
|
|
135
|
+
"input": [
|
|
136
|
+
"text"
|
|
137
|
+
],
|
|
138
|
+
"cost": {
|
|
139
|
+
"input": 1.3,
|
|
140
|
+
"output": 4.008,
|
|
141
|
+
"cacheRead": 0.65,
|
|
142
|
+
"cacheWrite": 0
|
|
143
|
+
},
|
|
144
|
+
"contextWindow": 202750,
|
|
145
|
+
"maxTokens": 32768
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"id": "MiniMaxAI/MiniMax-M2.5",
|
|
149
|
+
"name": "MiniMax M2.5",
|
|
150
|
+
"reasoning": false,
|
|
151
|
+
"input": [
|
|
152
|
+
"text"
|
|
153
|
+
],
|
|
154
|
+
"cost": {
|
|
155
|
+
"input": 0.285,
|
|
156
|
+
"output": 1.31,
|
|
157
|
+
"cacheRead": 0.1425,
|
|
158
|
+
"cacheWrite": 0
|
|
159
|
+
},
|
|
160
|
+
"contextWindow": 196600,
|
|
161
|
+
"maxTokens": 196600
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"id": "moonshotai/Kimi-K2.5",
|
|
165
|
+
"name": "Kimi K2.5",
|
|
166
|
+
"reasoning": false,
|
|
167
|
+
"input": [
|
|
168
|
+
"text",
|
|
169
|
+
"image"
|
|
170
|
+
],
|
|
171
|
+
"cost": {
|
|
172
|
+
"input": 0.51,
|
|
173
|
+
"output": 2.67,
|
|
174
|
+
"cacheRead": 0.255,
|
|
175
|
+
"cacheWrite": 1.1
|
|
176
|
+
},
|
|
177
|
+
"contextWindow": 262144,
|
|
178
|
+
"maxTokens": 262144
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"id": "zai-org/GLM-5",
|
|
182
|
+
"name": "GLM 5",
|
|
183
|
+
"reasoning": false,
|
|
184
|
+
"input": [
|
|
185
|
+
"text"
|
|
186
|
+
],
|
|
187
|
+
"cost": {
|
|
188
|
+
"input": 0.91,
|
|
189
|
+
"output": 2.836,
|
|
190
|
+
"cacheRead": 0.455,
|
|
191
|
+
"cacheWrite": 0
|
|
192
|
+
},
|
|
193
|
+
"contextWindow": 202752,
|
|
194
|
+
"maxTokens": 202752
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"id": "deepseek-ai/DeepSeek-V3.2",
|
|
198
|
+
"name": "DeepSeek V3.2",
|
|
199
|
+
"reasoning": false,
|
|
200
|
+
"input": [
|
|
201
|
+
"text"
|
|
202
|
+
],
|
|
203
|
+
"cost": {
|
|
204
|
+
"input": 0.9111,
|
|
205
|
+
"output": 1.7703,
|
|
206
|
+
"cacheRead": 0.45555,
|
|
207
|
+
"cacheWrite": 0.5
|
|
208
|
+
},
|
|
209
|
+
"contextWindow": 163840,
|
|
210
|
+
"maxTokens": 163840
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
"id": "moonshotai/Kimi-K2-Thinking",
|
|
214
|
+
"name": "Kimi K2 Thinking",
|
|
215
|
+
"reasoning": true,
|
|
216
|
+
"input": [
|
|
217
|
+
"text"
|
|
218
|
+
],
|
|
219
|
+
"cost": {
|
|
220
|
+
"input": 0.6,
|
|
221
|
+
"output": 2.5,
|
|
222
|
+
"cacheRead": 0.3,
|
|
223
|
+
"cacheWrite": 0.64
|
|
224
|
+
},
|
|
225
|
+
"contextWindow": 262144,
|
|
226
|
+
"maxTokens": 262144
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
"id": "zai-org/GLM-4.5-Air",
|
|
230
|
+
"name": "GLM-4.5-Air",
|
|
231
|
+
"reasoning": false,
|
|
232
|
+
"input": [
|
|
233
|
+
"text"
|
|
234
|
+
],
|
|
235
|
+
"cost": {
|
|
236
|
+
"input": 0.156667,
|
|
237
|
+
"output": 0.936667,
|
|
238
|
+
"cacheRead": 0.078334,
|
|
239
|
+
"cacheWrite": 0
|
|
240
|
+
},
|
|
241
|
+
"contextWindow": 131070,
|
|
242
|
+
"maxTokens": 131070
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"id": "google/gemma-4-26b-a4b-it",
|
|
246
|
+
"name": "Gemma 4 26B A4B",
|
|
247
|
+
"reasoning": false,
|
|
248
|
+
"input": [
|
|
249
|
+
"text"
|
|
250
|
+
],
|
|
251
|
+
"cost": {
|
|
252
|
+
"input": 0.116,
|
|
253
|
+
"output": 0.408,
|
|
254
|
+
"cacheRead": 0.058,
|
|
255
|
+
"cacheWrite": 0
|
|
256
|
+
},
|
|
257
|
+
"contextWindow": 262142,
|
|
258
|
+
"maxTokens": 262142
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"id": "zai-org/GLM-4.7-Flash",
|
|
262
|
+
"name": "GLM 4.7 Flash",
|
|
263
|
+
"reasoning": false,
|
|
264
|
+
"input": [
|
|
265
|
+
"text"
|
|
266
|
+
],
|
|
267
|
+
"cost": {
|
|
268
|
+
"input": 0.078875,
|
|
269
|
+
"output": 0.425,
|
|
270
|
+
"cacheRead": 0.039438,
|
|
271
|
+
"cacheWrite": 0.14
|
|
272
|
+
},
|
|
273
|
+
"contextWindow": 200000,
|
|
274
|
+
"maxTokens": 200000
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"id": "zai-org/GLM-4.7",
|
|
278
|
+
"name": "GLM 4.7",
|
|
279
|
+
"reasoning": false,
|
|
280
|
+
"input": [
|
|
281
|
+
"text"
|
|
282
|
+
],
|
|
283
|
+
"cost": {
|
|
284
|
+
"input": 0.93,
|
|
285
|
+
"output": 2.53,
|
|
286
|
+
"cacheRead": 0.465,
|
|
287
|
+
"cacheWrite": 0.6
|
|
288
|
+
},
|
|
289
|
+
"contextWindow": 202752,
|
|
290
|
+
"maxTokens": 202752
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"id": "moonshotai/Kimi-K2-Instruct-0905",
|
|
294
|
+
"name": "Kimi K2 Instruct 0905",
|
|
295
|
+
"reasoning": false,
|
|
296
|
+
"input": [
|
|
297
|
+
"text"
|
|
298
|
+
],
|
|
299
|
+
"cost": {
|
|
300
|
+
"input": 0.57,
|
|
301
|
+
"output": 2.3,
|
|
302
|
+
"cacheRead": 0.285,
|
|
303
|
+
"cacheWrite": 0.78
|
|
304
|
+
},
|
|
305
|
+
"contextWindow": 262144,
|
|
306
|
+
"maxTokens": 262144
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"id": "meta-llama/Llama-3.2-90B-Vision-Instruct",
|
|
310
|
+
"name": "Llama 3.2 90B Vision Instruct",
|
|
311
|
+
"reasoning": false,
|
|
312
|
+
"input": [
|
|
313
|
+
"text",
|
|
314
|
+
"image"
|
|
315
|
+
],
|
|
316
|
+
"cost": {
|
|
317
|
+
"input": 0.345,
|
|
318
|
+
"output": 0.345,
|
|
319
|
+
"cacheRead": 0.1725,
|
|
320
|
+
"cacheWrite": 0.7
|
|
321
|
+
},
|
|
322
|
+
"contextWindow": 16000,
|
|
323
|
+
"maxTokens": 16000
|
|
324
|
+
},
|
|
325
|
+
{
|
|
326
|
+
"id": "openai/gpt-oss-120b",
|
|
327
|
+
"name": "gpt-oss-120b",
|
|
328
|
+
"reasoning": false,
|
|
329
|
+
"input": [
|
|
330
|
+
"text"
|
|
331
|
+
],
|
|
332
|
+
"cost": {
|
|
333
|
+
"input": 0.178,
|
|
334
|
+
"output": 0.68,
|
|
335
|
+
"cacheRead": 0.089,
|
|
336
|
+
"cacheWrite": 0.04
|
|
337
|
+
},
|
|
338
|
+
"contextWindow": 131072,
|
|
339
|
+
"maxTokens": 131072
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"id": "deepseek-ai/DeepSeek-R1-0528",
|
|
343
|
+
"name": "DeepSeek R1 0528",
|
|
344
|
+
"reasoning": true,
|
|
345
|
+
"input": [
|
|
346
|
+
"text"
|
|
347
|
+
],
|
|
348
|
+
"cost": {
|
|
349
|
+
"input": 0.523667,
|
|
350
|
+
"output": 2.205333,
|
|
351
|
+
"cacheRead": 0.261834,
|
|
352
|
+
"cacheWrite": 0.8
|
|
353
|
+
},
|
|
354
|
+
"contextWindow": 128000,
|
|
355
|
+
"maxTokens": 128000
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"id": "zai-org/GLM-4.6",
|
|
359
|
+
"name": "GLM 4.6",
|
|
360
|
+
"reasoning": false,
|
|
361
|
+
"input": [
|
|
362
|
+
"text"
|
|
363
|
+
],
|
|
364
|
+
"cost": {
|
|
365
|
+
"input": 0.85,
|
|
366
|
+
"output": 2.75,
|
|
367
|
+
"cacheRead": 0.3,
|
|
368
|
+
"cacheWrite": 0.7
|
|
369
|
+
},
|
|
370
|
+
"contextWindow": 131072,
|
|
371
|
+
"maxTokens": 131072
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"id": "Qwen/Qwen3-Next-80B-A3B-Instruct",
|
|
375
|
+
"name": "Qwen3 Next 80B A3B Instruct",
|
|
376
|
+
"reasoning": false,
|
|
377
|
+
"input": [
|
|
378
|
+
"text"
|
|
379
|
+
],
|
|
380
|
+
"cost": {
|
|
381
|
+
"input": 0.1175,
|
|
382
|
+
"output": 1.136,
|
|
383
|
+
"cacheRead": 0.05875,
|
|
384
|
+
"cacheWrite": 0.12
|
|
385
|
+
},
|
|
386
|
+
"contextWindow": 262144,
|
|
387
|
+
"maxTokens": 262144
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"id": "Intel/Qwen3-Coder-480B-A35B-Instruct-int4-mixed-ar",
|
|
391
|
+
"name": "Qwen3 Coder 480B A35B Instruct INT4 Mixed AR",
|
|
392
|
+
"reasoning": false,
|
|
393
|
+
"input": [
|
|
394
|
+
"text"
|
|
395
|
+
],
|
|
396
|
+
"cost": {
|
|
397
|
+
"input": 0.601,
|
|
398
|
+
"output": 2.085,
|
|
399
|
+
"cacheRead": 0.3005,
|
|
400
|
+
"cacheWrite": 0.44
|
|
401
|
+
},
|
|
402
|
+
"contextWindow": 106000,
|
|
403
|
+
"maxTokens": 106000
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
"id": "meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8",
|
|
407
|
+
"name": "Llama 4 Maverick 17B 128E Instruct FP8",
|
|
408
|
+
"reasoning": false,
|
|
409
|
+
"input": [
|
|
410
|
+
"text",
|
|
411
|
+
"image"
|
|
412
|
+
],
|
|
413
|
+
"cost": {
|
|
414
|
+
"input": 0.274,
|
|
415
|
+
"output": 0.894,
|
|
416
|
+
"cacheRead": 0.137,
|
|
417
|
+
"cacheWrite": 0.3
|
|
418
|
+
},
|
|
419
|
+
"contextWindow": 430000,
|
|
420
|
+
"maxTokens": 430000
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
"id": "mistralai/Mistral-Nemo-Instruct-2407",
|
|
424
|
+
"name": "Mistral Nemo Instruct 2407",
|
|
425
|
+
"reasoning": false,
|
|
426
|
+
"input": [
|
|
427
|
+
"text"
|
|
428
|
+
],
|
|
429
|
+
"cost": {
|
|
430
|
+
"input": 0.0575,
|
|
431
|
+
"output": 0.0975,
|
|
432
|
+
"cacheRead": 0.02875,
|
|
433
|
+
"cacheWrite": 0.04
|
|
434
|
+
},
|
|
435
|
+
"contextWindow": 128000,
|
|
436
|
+
"maxTokens": 128000
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
"id": "openai/gpt-oss-20b",
|
|
440
|
+
"name": "gpt-oss-20b",
|
|
441
|
+
"reasoning": false,
|
|
442
|
+
"input": [
|
|
443
|
+
"text"
|
|
444
|
+
],
|
|
445
|
+
"cost": {
|
|
446
|
+
"input": 0.055,
|
|
447
|
+
"output": 0.194,
|
|
448
|
+
"cacheRead": 0.0275,
|
|
449
|
+
"cacheWrite": 0.03
|
|
450
|
+
},
|
|
451
|
+
"contextWindow": 64000,
|
|
452
|
+
"maxTokens": 64000
|
|
453
|
+
},
|
|
454
|
+
{
|
|
455
|
+
"id": "meta-llama/Llama-3.3-70B-Instruct",
|
|
456
|
+
"name": "Llama 3.3 70B Instruct",
|
|
457
|
+
"reasoning": false,
|
|
458
|
+
"input": [
|
|
459
|
+
"text"
|
|
460
|
+
],
|
|
461
|
+
"cost": {
|
|
462
|
+
"input": 0.6066,
|
|
463
|
+
"output": 1.0386,
|
|
464
|
+
"cacheRead": 0.3033,
|
|
465
|
+
"cacheWrite": 0.2
|
|
466
|
+
},
|
|
467
|
+
"contextWindow": 128000,
|
|
468
|
+
"maxTokens": 128000
|
|
469
|
+
}
|
|
470
|
+
]
|
package/package.json
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "pi-io-provider",
|
|
3
|
+
"version": "1.0.3",
|
|
4
|
+
"description": "IO Intelligence provider extension for pi - Access DeepSeek, Kimi, GLM, Llama, Qwen, Mistral, and more through the IO Intelligence API",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "index.ts",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"pi",
|
|
9
|
+
"extension",
|
|
10
|
+
"provider",
|
|
11
|
+
"io-intelligence",
|
|
12
|
+
"io.net",
|
|
13
|
+
"ai",
|
|
14
|
+
"llm",
|
|
15
|
+
"deepseek",
|
|
16
|
+
"kimi",
|
|
17
|
+
"glm",
|
|
18
|
+
"llama",
|
|
19
|
+
"qwen",
|
|
20
|
+
"mistral"
|
|
21
|
+
],
|
|
22
|
+
"author": "",
|
|
23
|
+
"license": "MIT",
|
|
24
|
+
"pi": {
|
|
25
|
+
"extensions": [
|
|
26
|
+
"./index.ts"
|
|
27
|
+
]
|
|
28
|
+
},
|
|
29
|
+
"scripts": {
|
|
30
|
+
"clean": "echo 'nothing to clean'",
|
|
31
|
+
"build": "echo 'nothing to build'",
|
|
32
|
+
"check": "echo 'nothing to check'",
|
|
33
|
+
"update-models": "node scripts/update-models.js"
|
|
34
|
+
}
|
|
35
|
+
}
|
package/patch.json
ADDED
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"moonshotai/Kimi-K2-Thinking": {
|
|
3
|
+
"reasoning": true,
|
|
4
|
+
"name": "Kimi K2 Thinking",
|
|
5
|
+
"compat": {
|
|
6
|
+
"supportsReasoningEffort": true
|
|
7
|
+
}
|
|
8
|
+
},
|
|
9
|
+
"deepseek-ai/DeepSeek-R1-0528": {
|
|
10
|
+
"reasoning": true,
|
|
11
|
+
"name": "DeepSeek R1 0528",
|
|
12
|
+
"compat": {
|
|
13
|
+
"supportsReasoningEffort": true
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
}
|