pi-opencode-go-provider 1.0.21 → 1.0.23

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,13 +69,14 @@ 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 |
78
- | GLM-5.3-Flash (2x usage) | Completions | Text + Image | 1.0M | 131K | $0.07 | $0.25 |
79
+ | GLM-5.3-Flash | Completions | Text + Image | 1.0M | 131K | $0.15 | $0.50 |
79
80
  | GPT-5.6 Luna | Responses | Text + Image | 1.1M | 128K | $0.20 | $1.20 |
80
81
  | Grok 4.6 | Completions | Text + Image | 500K | 500K | $2.00 | $6.00 |
81
82
  | Hy3 | Completions | Text | 256K | 128K | $0.14 | $0.58 |
@@ -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,7 @@
1
1
  {
2
- "grok-4.5": {
3
- "id": "grok-4.5",
4
- "name": "Grok 4.5",
2
+ "omen-alpha": {
3
+ "id": "omen-alpha",
4
+ "name": "Omen Alpha",
5
5
  "api": "openai-completions",
6
6
  "baseUrl": "https://opencode.ai/zen/go/v1",
7
7
  "reasoning": true,
@@ -9,7 +9,7 @@
9
9
  "off": null,
10
10
  "minimal": null,
11
11
  "low": "low",
12
- "medium": "medium",
12
+ "medium": null,
13
13
  "high": "high",
14
14
  "xhigh": null,
15
15
  "max": null
@@ -19,42 +19,13 @@
19
19
  "image"
20
20
  ],
21
21
  "cost": {
22
- "input": 2,
23
- "output": 6,
24
- "cacheRead": 0.5,
22
+ "input": 0.2,
23
+ "output": 0.66,
24
+ "cacheRead": 0.04,
25
25
  "cacheWrite": 0
26
26
  },
27
27
  "contextWindow": 500000,
28
- "maxTokens": 500000,
29
- "deprecatedAt": "2026-08-26T02:00:24.732Z"
30
- },
31
- "ox-alpha-free": {
32
- "id": "ox-alpha-free",
33
- "name": "Ox Alpha Free (Unlimited)",
34
- "api": "openai-completions",
35
- "baseUrl": "https://opencode.ai/zen/go/v1",
36
- "reasoning": true,
37
- "thinkingLevelMap": {
38
- "off": null,
39
- "minimal": null,
40
- "low": "low",
41
- "medium": null,
42
- "high": "high",
43
- "xhigh": null,
44
- "max": "max"
45
- },
46
- "input": [
47
- "text",
48
- "image"
49
- ],
50
- "cost": {
51
- "input": 0,
52
- "output": 0,
53
- "cacheRead": 0,
54
- "cacheWrite": 0
55
- },
56
- "contextWindow": 1000000,
57
- "maxTokens": 131072,
58
- "deprecatedAt": "2026-08-27T02:00:22.662Z"
28
+ "maxTokens": 128000,
29
+ "deprecatedAt": "2026-09-10T06:11:15.915Z"
59
30
  }
60
31
  }
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,
@@ -293,34 +293,6 @@
293
293
  "contextWindow": 1024000,
294
294
  "maxTokens": 64000
295
295
  },
296
- {
297
- "id": "omen-alpha",
298
- "name": "Omen Alpha",
299
- "api": "openai-completions",
300
- "baseUrl": "https://opencode.ai/zen/go/v1",
301
- "reasoning": true,
302
- "thinkingLevelMap": {
303
- "off": null,
304
- "minimal": null,
305
- "low": "low",
306
- "medium": null,
307
- "high": "high",
308
- "xhigh": null,
309
- "max": null
310
- },
311
- "input": [
312
- "text",
313
- "image"
314
- ],
315
- "cost": {
316
- "input": 0.2,
317
- "output": 0.66,
318
- "cacheRead": 0.04,
319
- "cacheWrite": 0
320
- },
321
- "contextWindow": 500000,
322
- "maxTokens": 128000
323
- },
324
296
  {
325
297
  "id": "gpt-5.6-luna",
326
298
  "name": "GPT-5.6 Luna",
@@ -379,7 +351,7 @@
379
351
  },
380
352
  {
381
353
  "id": "glm-5.3-flash",
382
- "name": "GLM-5.3-Flash (2x usage)",
354
+ "name": "GLM-5.3-Flash",
383
355
  "api": "openai-completions",
384
356
  "baseUrl": "https://opencode.ai/zen/go/v1",
385
357
  "reasoning": true,
@@ -397,9 +369,9 @@
397
369
  "image"
398
370
  ],
399
371
  "cost": {
400
- "input": 0.075,
401
- "output": 0.25,
402
- "cacheRead": 0.015,
372
+ "input": 0.15,
373
+ "output": 0.5,
374
+ "cacheRead": 0.03,
403
375
  "cacheWrite": 0
404
376
  },
405
377
  "contextWindow": 1000000,
@@ -608,6 +580,34 @@
608
580
  "contextWindow": 1000000,
609
581
  "maxTokens": 131072
610
582
  },
583
+ {
584
+ "id": "deepseek-flash",
585
+ "name": "DeepSeek V4.1 Flash",
586
+ "api": "openai-completions",
587
+ "baseUrl": "https://opencode.ai/zen/go/v1",
588
+ "reasoning": true,
589
+ "thinkingLevelMap": {
590
+ "off": null,
591
+ "minimal": null,
592
+ "low": "low",
593
+ "medium": null,
594
+ "high": "high",
595
+ "xhigh": null,
596
+ "max": "max"
597
+ },
598
+ "input": [
599
+ "text",
600
+ "image"
601
+ ],
602
+ "cost": {
603
+ "input": 0.15,
604
+ "output": 0.6,
605
+ "cacheRead": 0.003,
606
+ "cacheWrite": 0
607
+ },
608
+ "contextWindow": 1000000,
609
+ "maxTokens": 384000
610
+ },
611
611
  {
612
612
  "id": "mimo-v2.5",
613
613
  "name": "MiMo V2.5",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-opencode-go-provider",
3
- "version": "1.0.21",
3
+ "version": "1.0.23",
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",