pi-io-provider 1.0.4 → 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
@@ -16,35 +16,35 @@ A [pi](https://github.com/badlogic/pi-mono) extension that adds [IO Intelligence
16
16
 
17
17
  | Model | ID | Context | Max Output | Vision | Reasoning | Cache | Input $/M | Output $/M |
18
18
  |-------|----|---------|------------|--------|-----------|-------|-----------|------------|
19
- | DeepSeek R1 0528 | `deepseek-ai/DeepSeek-R1-0528` | 128K | 128K | ❌ | ✅ | ✅ | $0.52 | $2.21 |
19
+ | DeepSeek R1 0528 | `deepseek-ai/DeepSeek-R1-0528` | 128K | 128K | ❌ | ✅ | ✅ | $0.57 | $2.28 |
20
20
  | Kimi K2 Thinking | `moonshotai/Kimi-K2-Thinking` | 262K | 262K | ❌ | ✅ | ✅ | $0.60 | $2.50 |
21
21
  | Llama 3.2 90B Vision Instruct | `meta-llama/Llama-3.2-90B-Vision-Instruct` | 16K | 16K | ✅ | ❌ | ✅ | $0.34 | $0.34 |
22
- | Llama 4 Maverick 17B 128E Instruct FP8 | `meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8` | 430K | 430K | ✅ | ❌ | ✅ | $0.27 | $0.89 |
23
- | Kimi K2.5 | `moonshotai/Kimi-K2.5` | 262K | 262K | ✅ | ❌ | ✅ | $0.51 | $2.67 |
24
- | Kimi K2.6 | `moonshotai/Kimi-K2.6` | 262K | 262K | ✅ | ❌ | ✅ | $0.91 | $3.88 |
25
- | DeepSeek V3.2 | `deepseek-ai/DeepSeek-V3.2` | 164K | 164K | ❌ | ❌ | ✅ | $0.91 | $1.77 |
26
- | DeepSeek V4 Flash | `deepseek-ai/DeepSeek-V4-Flash` | 1.0M | 1.0M | ❌ | ❌ | ✅ | $0.13 | $0.26 |
27
- | DeepSeek V4 Pro | `deepseek-ai/DeepSeek-V4-Pro` | 1.0M | 600K | ❌ | ❌ | ✅ | $1.35 | $2.71 |
28
- | Gemma 4 26B A4B | `google/gemma-4-26b-a4b-it` | 262K | 262K | ❌ | ❌ | ✅ | $0.12 | $0.41 |
22
+ | Llama 4 Maverick 17B 128E Instruct FP8 | `meta-llama/Llama-4-Maverick-17B-128E-Instruct-FP8` | 430K | 430K | ✅ | ❌ | ✅ | $0.28 | $0.93 |
23
+ | Kimi K2.5 | `moonshotai/Kimi-K2.5` | 262K | 262K | ✅ | ❌ | ✅ | $0.53 | $2.79 |
24
+ | Kimi K2.6 | `moonshotai/Kimi-K2.6` | 262K | 262K | ✅ | ❌ | ✅ | $0.95 | $3.98 |
25
+ | DeepSeek V3.2 | `deepseek-ai/DeepSeek-V3.2` | 164K | 164K | ❌ | ❌ | ✅ | $0.89 | $1.63 |
26
+ | DeepSeek V4 Flash | `deepseek-ai/DeepSeek-V4-Flash` | 33K | 33K | ❌ | ❌ | ✅ | $0.20 | $0.37 |
27
+ | DeepSeek V4 Pro | `deepseek-ai/DeepSeek-V4-Pro` | 1.0M | 600K | ❌ | ❌ | ✅ | $1.65 | $3.30 |
28
+ | Gemma 4 26B A4B | `google/gemma-4-26b-a4b-it` | 262K | 262K | ❌ | ❌ | ✅ | $0.11 | $0.36 |
29
29
  | Qwen3 Coder 480B A35B Instruct INT4 Mixed AR | `Intel/Qwen3-Coder-480B-A35B-Instruct-int4-mixed-ar` | 106K | 106K | ❌ | ❌ | ✅ | $0.60 | $2.08 |
30
30
  | Llama 3.3 70B Instruct | `meta-llama/Llama-3.3-70B-Instruct` | 128K | 128K | ❌ | ❌ | ✅ | $0.61 | $1.04 |
31
- | MiniMax M2.5 | `MiniMaxAI/MiniMax-M2.5` | 197K | 197K | ❌ | ❌ | ✅ | $0.28 | $1.31 |
32
- | MiniMax M2.7 | `MiniMaxAI/MiniMax-M2.7` | 205K | 205K | ❌ | ❌ | ✅ | $0.84 | $2.62 |
31
+ | MiniMax M2.5 | `MiniMaxAI/MiniMax-M2.5` | 197K | 197K | ❌ | ❌ | ✅ | $0.28 | $1.13 |
32
+ | MiniMax M2.7 | `MiniMaxAI/MiniMax-M2.7` | 205K | 205K | ❌ | ❌ | ✅ | $0.35 | $1.33 |
33
33
  | Mistral Nemo Instruct 2407 | `mistralai/Mistral-Nemo-Instruct-2407` | 128K | 128K | ❌ | ❌ | ✅ | $0.06 | $0.10 |
34
34
  | Kimi K2 Instruct 0905 | `moonshotai/Kimi-K2-Instruct-0905` | 262K | 262K | ❌ | ❌ | ✅ | $0.57 | $2.30 |
35
- | Kimi K2.7 Code | `moonshotai/Kimi-K2.7-Code` | 262K | 262K | ❌ | ❌ | ✅ | $1.08 | $4.60 |
36
- | gpt-oss-120b | `openai/gpt-oss-120b` | 131K | 131K | ❌ | ❌ | ✅ | $0.18 | $0.68 |
37
- | gpt-oss-20b | `openai/gpt-oss-20b` | 64K | 64K | ❌ | ❌ | ✅ | $0.06 | $0.19 |
35
+ | Kimi K2.7 Code | `moonshotai/Kimi-K2.7-Code` | 262K | 262K | ❌ | ❌ | ✅ | $0.90 | $3.90 |
36
+ | gpt-oss-120b | `openai/gpt-oss-120b` | 131K | 131K | ❌ | ❌ | ✅ | $0.16 | $0.59 |
37
+ | gpt-oss-20b | `openai/gpt-oss-20b` | 64K | 64K | ❌ | ❌ | ✅ | $0.06 | $0.23 |
38
38
  | Qwen3 Next 80B A3B Instruct | `Qwen/Qwen3-Next-80B-A3B-Instruct` | 262K | 262K | ❌ | ❌ | ✅ | $0.12 | $1.14 |
39
- | Qwen3.6 27B | `Qwen/Qwen3.6-27B` | 262K | 262K | ❌ | ❌ | ✅ | $0.40 | $3.03 |
40
- | Qwen3.6 35B A3B | `Qwen/Qwen3.6-35B-A3B` | 262K | 262K | ❌ | ❌ | ✅ | $0.16 | $1.14 |
39
+ | Qwen3.6 27B | `Qwen/Qwen3.6-27B` | 33K | 33K | ❌ | ❌ | ✅ | $0.43 | $3.21 |
40
+ | Qwen3.6 35B A3B | `Qwen/Qwen3.6-35B-A3B` | 262K | 262K | ❌ | ❌ | ✅ | $0.19 | $1.12 |
41
41
  | GLM-4.5-Air | `zai-org/GLM-4.5-Air` | 131K | 131K | ❌ | ❌ | ✅ | $0.16 | $0.94 |
42
- | GLM 4.6 | `zai-org/GLM-4.6` | 131K | 131K | ❌ | ❌ | ✅ | $0.85 | $2.75 |
43
- | GLM 4.7 | `zai-org/GLM-4.7` | 203K | 203K | ❌ | ❌ | ✅ | $0.93 | $2.53 |
42
+ | GLM 4.6 | `zai-org/GLM-4.6` | 131K | 131K | ❌ | ❌ | ✅ | $0.54 | $2.07 |
43
+ | GLM 4.7 | `zai-org/GLM-4.7` | 203K | 203K | ❌ | ❌ | ✅ | $0.86 | $2.24 |
44
44
  | GLM 4.7 Flash | `zai-org/GLM-4.7-Flash` | 200K | 200K | ❌ | ❌ | ✅ | $0.08 | $0.42 |
45
- | GLM 5 | `zai-org/GLM-5` | 203K | 203K | ❌ | ❌ | ✅ | $0.91 | $2.84 |
46
- | GLM 5.1 | `zai-org/GLM-5.1` | 203K | 33K | ❌ | ❌ | ✅ | $1.30 | $4.01 |
47
- | GLM 5.2 | `zai-org/GLM-5.2` | 262K | 131K | ❌ | ❌ | ✅ | $1.82 | $5.95 |
45
+ | GLM 5 | `zai-org/GLM-5` | 203K | 203K | ❌ | ❌ | ✅ | $0.84 | $2.69 |
46
+ | GLM 5.1 | `zai-org/GLM-5.1` | 203K | 33K | ❌ | ❌ | ✅ | $1.37 | $4.47 |
47
+ | GLM 5.2 | `zai-org/GLM-5.2` | 262K | 66K | ❌ | ❌ | ✅ | $1.64 | $5.13 |
48
48
 
49
49
  *Costs are per million tokens. Cache read/write pricing available on most models.*
50
50
 
package/index.ts CHANGED
@@ -49,7 +49,7 @@ interface JsonModel {
49
49
  id: string;
50
50
  name: string;
51
51
  reasoning: boolean;
52
- input: string[];
52
+ input: ("text" | "image")[];
53
53
  cost: {
54
54
  input: number;
55
55
  output: number;
@@ -70,7 +70,7 @@ interface JsonModel {
70
70
  interface PatchEntry {
71
71
  name?: string;
72
72
  reasoning?: boolean;
73
- input?: string[];
73
+ input?: ("text" | "image")[];
74
74
  cost?: {
75
75
  input?: number;
76
76
  output?: number;
package/models.json CHANGED
@@ -7,13 +7,13 @@
7
7
  "text"
8
8
  ],
9
9
  "cost": {
10
- "input": 1.818,
11
- "output": 5.95,
12
- "cacheRead": 0.909,
10
+ "input": 1.638,
11
+ "output": 5.13,
12
+ "cacheRead": 0.819,
13
13
  "cacheWrite": 0
14
14
  },
15
15
  "contextWindow": 262144,
16
- "maxTokens": 131072
16
+ "maxTokens": 65536
17
17
  },
18
18
  {
19
19
  "id": "moonshotai/Kimi-K2.7-Code",
@@ -23,9 +23,9 @@
23
23
  "text"
24
24
  ],
25
25
  "cost": {
26
- "input": 1.08,
27
- "output": 4.6,
28
- "cacheRead": 0.54,
26
+ "input": 0.9,
27
+ "output": 3.9,
28
+ "cacheRead": 0.45,
29
29
  "cacheWrite": 0
30
30
  },
31
31
  "contextWindow": 262144,
@@ -39,9 +39,9 @@
39
39
  "text"
40
40
  ],
41
41
  "cost": {
42
- "input": 0.1628,
43
- "output": 1.141313,
44
- "cacheRead": 0.0814,
42
+ "input": 0.1932,
43
+ "output": 1.12275,
44
+ "cacheRead": 0.0966,
45
45
  "cacheWrite": 0
46
46
  },
47
47
  "contextWindow": 262140,
@@ -55,13 +55,13 @@
55
55
  "text"
56
56
  ],
57
57
  "cost": {
58
- "input": 0.3968,
59
- "output": 3.03,
60
- "cacheRead": 0.1984,
58
+ "input": 0.4266,
59
+ "output": 3.21,
60
+ "cacheRead": 0.2133,
61
61
  "cacheWrite": 0
62
62
  },
63
- "contextWindow": 262140,
64
- "maxTokens": 262140
63
+ "contextWindow": 32768,
64
+ "maxTokens": 32768
65
65
  },
66
66
  {
67
67
  "id": "MiniMaxAI/MiniMax-M2.7",
@@ -71,9 +71,9 @@
71
71
  "text"
72
72
  ],
73
73
  "cost": {
74
- "input": 0.836,
75
- "output": 2.624,
76
- "cacheRead": 0.418,
74
+ "input": 0.348,
75
+ "output": 1.332,
76
+ "cacheRead": 0.174,
77
77
  "cacheWrite": 0
78
78
  },
79
79
  "contextWindow": 204800,
@@ -87,13 +87,13 @@
87
87
  "text"
88
88
  ],
89
89
  "cost": {
90
- "input": 0.13166,
91
- "output": 0.26332,
92
- "cacheRead": 0.06583,
90
+ "input": 0.20346,
91
+ "output": 0.36692,
92
+ "cacheRead": 0.10173,
93
93
  "cacheWrite": 0
94
94
  },
95
- "contextWindow": 1048576,
96
- "maxTokens": 1048576
95
+ "contextWindow": 32768,
96
+ "maxTokens": 32768
97
97
  },
98
98
  {
99
99
  "id": "deepseek-ai/DeepSeek-V4-Pro",
@@ -103,9 +103,9 @@
103
103
  "text"
104
104
  ],
105
105
  "cost": {
106
- "input": 1.3527,
107
- "output": 2.7054,
108
- "cacheRead": 0.67635,
106
+ "input": 1.652,
107
+ "output": 3.304,
108
+ "cacheRead": 0.826,
109
109
  "cacheWrite": 0
110
110
  },
111
111
  "contextWindow": 1048576,
@@ -120,9 +120,9 @@
120
120
  "image"
121
121
  ],
122
122
  "cost": {
123
- "input": 0.9068,
124
- "output": 3.884,
125
- "cacheRead": 0.4534,
123
+ "input": 0.95,
124
+ "output": 3.98,
125
+ "cacheRead": 0.475,
126
126
  "cacheWrite": 0
127
127
  },
128
128
  "contextWindow": 262142,
@@ -136,9 +136,9 @@
136
136
  "text"
137
137
  ],
138
138
  "cost": {
139
- "input": 1.3,
140
- "output": 4.008,
141
- "cacheRead": 0.65,
139
+ "input": 1.368,
140
+ "output": 4.468,
141
+ "cacheRead": 0.684,
142
142
  "cacheWrite": 0
143
143
  },
144
144
  "contextWindow": 202750,
@@ -152,9 +152,9 @@
152
152
  "text"
153
153
  ],
154
154
  "cost": {
155
- "input": 0.285,
156
- "output": 1.31,
157
- "cacheRead": 0.1425,
155
+ "input": 0.281,
156
+ "output": 1.128,
157
+ "cacheRead": 0.1405,
158
158
  "cacheWrite": 0
159
159
  },
160
160
  "contextWindow": 196600,
@@ -169,9 +169,9 @@
169
169
  "image"
170
170
  ],
171
171
  "cost": {
172
- "input": 0.51,
173
- "output": 2.67,
174
- "cacheRead": 0.255,
172
+ "input": 0.528,
173
+ "output": 2.79,
174
+ "cacheRead": 0.264,
175
175
  "cacheWrite": 1.1
176
176
  },
177
177
  "contextWindow": 262144,
@@ -185,9 +185,9 @@
185
185
  "text"
186
186
  ],
187
187
  "cost": {
188
- "input": 0.91,
189
- "output": 2.836,
190
- "cacheRead": 0.455,
188
+ "input": 0.84,
189
+ "output": 2.688,
190
+ "cacheRead": 0.42,
191
191
  "cacheWrite": 0
192
192
  },
193
193
  "contextWindow": 202752,
@@ -201,9 +201,9 @@
201
201
  "text"
202
202
  ],
203
203
  "cost": {
204
- "input": 0.9111,
205
- "output": 1.7703,
206
- "cacheRead": 0.45555,
204
+ "input": 0.8934,
205
+ "output": 1.6336,
206
+ "cacheRead": 0.4467,
207
207
  "cacheWrite": 0.5
208
208
  },
209
209
  "contextWindow": 163840,
@@ -249,9 +249,9 @@
249
249
  "text"
250
250
  ],
251
251
  "cost": {
252
- "input": 0.116,
253
- "output": 0.408,
254
- "cacheRead": 0.058,
252
+ "input": 0.11,
253
+ "output": 0.358,
254
+ "cacheRead": 0.055,
255
255
  "cacheWrite": 0
256
256
  },
257
257
  "contextWindow": 262142,
@@ -281,9 +281,9 @@
281
281
  "text"
282
282
  ],
283
283
  "cost": {
284
- "input": 0.93,
285
- "output": 2.53,
286
- "cacheRead": 0.465,
284
+ "input": 0.864,
285
+ "output": 2.24,
286
+ "cacheRead": 0.432,
287
287
  "cacheWrite": 0.6
288
288
  },
289
289
  "contextWindow": 202752,
@@ -330,9 +330,9 @@
330
330
  "text"
331
331
  ],
332
332
  "cost": {
333
- "input": 0.178,
334
- "output": 0.68,
335
- "cacheRead": 0.089,
333
+ "input": 0.158,
334
+ "output": 0.592,
335
+ "cacheRead": 0.079,
336
336
  "cacheWrite": 0.04
337
337
  },
338
338
  "contextWindow": 131072,
@@ -346,9 +346,9 @@
346
346
  "text"
347
347
  ],
348
348
  "cost": {
349
- "input": 0.523667,
350
- "output": 2.205333,
351
- "cacheRead": 0.261834,
349
+ "input": 0.56775,
350
+ "output": 2.279,
351
+ "cacheRead": 0.283875,
352
352
  "cacheWrite": 0.8
353
353
  },
354
354
  "contextWindow": 128000,
@@ -362,9 +362,9 @@
362
362
  "text"
363
363
  ],
364
364
  "cost": {
365
- "input": 0.85,
366
- "output": 2.75,
367
- "cacheRead": 0.3,
365
+ "input": 0.536,
366
+ "output": 2.07,
367
+ "cacheRead": 0.268,
368
368
  "cacheWrite": 0.7
369
369
  },
370
370
  "contextWindow": 131072,
@@ -411,9 +411,9 @@
411
411
  "image"
412
412
  ],
413
413
  "cost": {
414
- "input": 0.274,
415
- "output": 0.894,
416
- "cacheRead": 0.137,
414
+ "input": 0.284,
415
+ "output": 0.934,
416
+ "cacheRead": 0.142,
417
417
  "cacheWrite": 0.3
418
418
  },
419
419
  "contextWindow": 430000,
@@ -427,9 +427,9 @@
427
427
  "text"
428
428
  ],
429
429
  "cost": {
430
- "input": 0.0575,
431
- "output": 0.0975,
432
- "cacheRead": 0.02875,
430
+ "input": 0.05675,
431
+ "output": 0.095,
432
+ "cacheRead": 0.028375,
433
433
  "cacheWrite": 0.04
434
434
  },
435
435
  "contextWindow": 128000,
@@ -443,9 +443,9 @@
443
443
  "text"
444
444
  ],
445
445
  "cost": {
446
- "input": 0.055,
447
- "output": 0.194,
448
- "cacheRead": 0.0275,
446
+ "input": 0.063,
447
+ "output": 0.226,
448
+ "cacheRead": 0.0315,
449
449
  "cacheWrite": 0.03
450
450
  },
451
451
  "contextWindow": 64000,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-io-provider",
3
- "version": "1.0.4",
3
+ "version": "1.1.1",
4
4
  "description": "IO Intelligence provider extension for pi - Access DeepSeek, Kimi, GLM, Llama, Qwen, Mistral, and more through the IO Intelligence API",
5
5
  "type": "module",
6
6
  "main": "index.ts",