pi-opencode-go-provider 1.0.22 → 1.0.24

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
@@ -69,9 +69,10 @@ pi
69
69
 
70
70
  | Model | API | Type | Context | Max Tokens | Input Cost | Output Cost |
71
71
  |-------|-----|------|---------|------------|------------|-------------|
72
- | DeepSeek V4 Flash | Completions | Text | 1.0M | 384K | $0.22 | $0.66 |
73
- | DeepSeek V4 Flash Vision Exp | Completions | Text + Image | 1.0M | 384K | $0.22 | $0.66 |
72
+ | DeepSeek V4 Flash | Completions | Text | 1.0M | 384K | $0.15 | $0.60 |
73
+ | DeepSeek V4 Flash Vision Exp | Completions | Text + Image | 1.0M | 384K | $0.15 | $0.60 |
74
74
  | DeepSeek V4 Pro (New) | Completions | Text | 1.0M | 384K | $0.66 | $1.98 |
75
+ | DeepSeek V4.1 Flash | Completions | Text + Image | 1.0M | 384K | $0.15 | $0.60 |
75
76
  | GLM-5.1 | Completions | Text | 203K | 33K | $1.40 | $4.40 |
76
77
  | GLM-5.2 | Completions | Text | 1.0M | 131K | $1.40 | $4.40 |
77
78
  | GLM-5.3 | Completions | Text | 1.0M | 131K | $1.40 | $4.40 |
@@ -90,7 +91,6 @@ pi
90
91
  | MiniMax-M3 | Anthropic | Text + Image | 1.0M | 131K | $0.30 | $1.20 |
91
92
  | Muse Spark 1.2 Contributor | Responses | Text + Image | 1.0M | 131K | $0.10 | $0.20 |
92
93
  | Muse Spark 1.3 Contributor | Responses | Text + Image | 1.0M | 131K | $0.10 | $0.20 |
93
- | Omen Alpha | Completions | Text + Image | 500K | 128K | $0.20 | $0.66 |
94
94
  | Qwen3.6 Plus | Completions | Text + Image | 1.0M | 66K | $0.50 | $3.00 |
95
95
  | Qwen3.7 Max | Completions | Text | 1.0M | 66K | $2.50 | $7.50 |
96
96
  | Qwen3.7 Plus | Completions | Text + Image | 1.0M | 66K | $0.40 | $1.60 |
@@ -1,7 +1,36 @@
1
1
  {
2
- "ox-alpha-free": {
3
- "id": "ox-alpha-free",
4
- "name": "Ox Alpha Free (Unlimited)",
2
+ "omen-alpha": {
3
+ "id": "omen-alpha",
4
+ "name": "Omen Alpha",
5
+ "api": "openai-completions",
6
+ "baseUrl": "https://opencode.ai/zen/go/v1",
7
+ "reasoning": true,
8
+ "thinkingLevelMap": {
9
+ "off": null,
10
+ "minimal": null,
11
+ "low": "low",
12
+ "medium": null,
13
+ "high": "high",
14
+ "xhigh": null,
15
+ "max": null
16
+ },
17
+ "input": [
18
+ "text",
19
+ "image"
20
+ ],
21
+ "cost": {
22
+ "input": 0.2,
23
+ "output": 0.66,
24
+ "cacheRead": 0.04,
25
+ "cacheWrite": 0
26
+ },
27
+ "contextWindow": 500000,
28
+ "maxTokens": 128000,
29
+ "deprecatedAt": "2026-09-10T06:11:15.915Z"
30
+ },
31
+ "deepseek-flash": {
32
+ "id": "deepseek-flash",
33
+ "name": "DeepSeek V4.1 Flash",
5
34
  "api": "openai-completions",
6
35
  "baseUrl": "https://opencode.ai/zen/go/v1",
7
36
  "reasoning": true,
@@ -19,13 +48,13 @@
19
48
  "image"
20
49
  ],
21
50
  "cost": {
22
- "input": 0,
23
- "output": 0,
24
- "cacheRead": 0,
51
+ "input": 0.15,
52
+ "output": 0.6,
53
+ "cacheRead": 0.003,
25
54
  "cacheWrite": 0
26
55
  },
27
56
  "contextWindow": 1000000,
28
- "maxTokens": 131072,
29
- "deprecatedAt": "2026-08-27T02:00:22.662Z"
57
+ "maxTokens": 384000,
58
+ "deprecatedAt": "2026-09-11T02:00:25.277Z"
30
59
  }
31
60
  }
package/models.json CHANGED
@@ -55,9 +55,9 @@
55
55
  "image"
56
56
  ],
57
57
  "cost": {
58
- "input": 0.22,
59
- "output": 0.66,
60
- "cacheRead": 0.007,
58
+ "input": 0.15,
59
+ "output": 0.6,
60
+ "cacheRead": 0.003,
61
61
  "cacheWrite": 0
62
62
  },
63
63
  "contextWindow": 1000000,
@@ -212,9 +212,9 @@
212
212
  "text"
213
213
  ],
214
214
  "cost": {
215
- "input": 0.22,
216
- "output": 0.66,
217
- "cacheRead": 0.007,
215
+ "input": 0.15,
216
+ "output": 0.6,
217
+ "cacheRead": 0.003,
218
218
  "cacheWrite": 0
219
219
  },
220
220
  "contextWindow": 1000000,
@@ -240,8 +240,8 @@
240
240
  "maxTokens": 262144
241
241
  },
242
242
  {
243
- "id": "hy3",
244
- "name": "Hy3",
243
+ "id": "deepseek-v4.1-flash",
244
+ "name": "DeepSeek V4.1 Flash",
245
245
  "api": "openai-completions",
246
246
  "baseUrl": "https://opencode.ai/zen/go/v1",
247
247
  "reasoning": true,
@@ -252,30 +252,31 @@
252
252
  "medium": null,
253
253
  "high": "high",
254
254
  "xhigh": null,
255
- "max": null
255
+ "max": "max"
256
256
  },
257
257
  "input": [
258
- "text"
258
+ "text",
259
+ "image"
259
260
  ],
260
261
  "cost": {
261
- "input": 0.14,
262
- "output": 0.58,
263
- "cacheRead": 0.035,
262
+ "input": 0.15,
263
+ "output": 0.6,
264
+ "cacheRead": 0.003,
264
265
  "cacheWrite": 0
265
266
  },
266
- "contextWindow": 256000,
267
- "maxTokens": 128000
267
+ "contextWindow": 1000000,
268
+ "maxTokens": 384000
268
269
  },
269
270
  {
270
- "id": "hy4-preview",
271
- "name": "Hy4 preview",
271
+ "id": "hy3",
272
+ "name": "Hy3",
272
273
  "api": "openai-completions",
273
274
  "baseUrl": "https://opencode.ai/zen/go/v1",
274
275
  "reasoning": true,
275
276
  "thinkingLevelMap": {
276
277
  "off": null,
277
278
  "minimal": null,
278
- "low": null,
279
+ "low": "low",
279
280
  "medium": null,
280
281
  "high": "high",
281
282
  "xhigh": null,
@@ -285,41 +286,40 @@
285
286
  "text"
286
287
  ],
287
288
  "cost": {
288
- "input": 0.834,
289
- "output": 2.501,
290
- "cacheRead": 0.042,
289
+ "input": 0.14,
290
+ "output": 0.58,
291
+ "cacheRead": 0.035,
291
292
  "cacheWrite": 0
292
293
  },
293
- "contextWindow": 1024000,
294
- "maxTokens": 64000
294
+ "contextWindow": 256000,
295
+ "maxTokens": 128000
295
296
  },
296
297
  {
297
- "id": "omen-alpha",
298
- "name": "Omen Alpha",
298
+ "id": "hy4-preview",
299
+ "name": "Hy4 preview",
299
300
  "api": "openai-completions",
300
301
  "baseUrl": "https://opencode.ai/zen/go/v1",
301
302
  "reasoning": true,
302
303
  "thinkingLevelMap": {
303
304
  "off": null,
304
305
  "minimal": null,
305
- "low": "low",
306
+ "low": null,
306
307
  "medium": null,
307
308
  "high": "high",
308
309
  "xhigh": null,
309
310
  "max": null
310
311
  },
311
312
  "input": [
312
- "text",
313
- "image"
313
+ "text"
314
314
  ],
315
315
  "cost": {
316
- "input": 0.2,
317
- "output": 0.66,
318
- "cacheRead": 0.04,
316
+ "input": 0.834,
317
+ "output": 2.501,
318
+ "cacheRead": 0.042,
319
319
  "cacheWrite": 0
320
320
  },
321
- "contextWindow": 500000,
322
- "maxTokens": 128000
321
+ "contextWindow": 1024000,
322
+ "maxTokens": 64000
323
323
  },
324
324
  {
325
325
  "id": "gpt-5.6-luna",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-opencode-go-provider",
3
- "version": "1.0.22",
3
+ "version": "1.0.24",
4
4
  "description": "Opencode Go provider extension for pi - Fast, efficient GLM, Kimi, and MiniMax models through the opencode.ai API",
5
5
  "type": "module",
6
6
  "main": "index.ts",
package/patch.json CHANGED
@@ -42,6 +42,23 @@
42
42
  "thinkingFormat": "deepseek"
43
43
  }
44
44
  },
45
+ "deepseek-flash": {
46
+ "name": "DeepSeek V4.1 Flash",
47
+ "thinkingLevelMap": {
48
+ "minimal": null,
49
+ "low": null,
50
+ "medium": null,
51
+ "high": "high",
52
+ "max": "max"
53
+ },
54
+ "compat": {
55
+ "supportsStore": false,
56
+ "supportsDeveloperRole": false,
57
+ "maxTokensField": "max_tokens",
58
+ "requiresReasoningContentOnAssistantMessages": true,
59
+ "thinkingFormat": "deepseek"
60
+ }
61
+ },
45
62
  "minimax-m2.7": {
46
63
  "api": "openai-completions",
47
64
  "baseUrl": "https://opencode.ai/zen/go/v1",