@monotykamary/pi-opencode-provider 1.0.8 → 1.0.9

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
@@ -15,7 +15,7 @@ _GPT, Claude, Gemini, GLM, MiniMax, Kimi, DeepSeek — unified API for [pi](http
15
15
 
16
16
  ## Features
17
17
 
18
- - **62+ AI Models** including GPT-5.x Codex, Claude Opus/Sonnet/Haiku, Gemini 3.x, GLM, MiniMax, Kimi K2.5, and more
18
+ - **64+ AI Models** including GPT-5.x Codex, Claude Opus/Sonnet/Haiku, Gemini 3.x, GLM, MiniMax, Kimi K2.5, and more
19
19
  - **Multi-API Support** — uses the correct API protocol per model (Anthropic, OpenAI Responses, OpenAI Completions, Gemini)
20
20
  - **Cost Tracking** with per-model pricing for budget management
21
21
  - **Reasoning Models** with thinking level maps for proper effort control
@@ -95,6 +95,7 @@ pi
95
95
  | Gemini 3.5 Flash | Gemini | Text + Image | 1.0M | 66K | $1.50 | $9.00 |
96
96
  | Gemini 3.5 Flash Lite | Gemini | Text + Image | 1.0M | 66K | $0.30 | $2.50 |
97
97
  | Gemini 3.6 Flash | Gemini | Text + Image | 1.0M | 66K | $1.50 | $7.50 |
98
+ | Gemini 3.7 Flash | Gemini | Text + Image | 1.0M | 66K | $1.50 | $7.50 |
98
99
  | GLM-5 | Completions | Text | 205K | 131K | $1.00 | $3.20 |
99
100
  | GLM-5.1 | Completions | Text | 205K | 131K | $1.40 | $4.40 |
100
101
  | GLM-5.2 | Completions | Text | 1.0M | 131K | $1.40 | $4.40 |
@@ -119,6 +120,7 @@ pi
119
120
  | GPT-5.6 Sol | Responses | Text + Image | 1.1M | 128K | $5.00 | $30.00 |
120
121
  | GPT-5.6 Terra | Responses | Text + Image | 1.1M | 128K | $2.50 | $15.00 |
121
122
  | Grok 4.5 | Responses | Text + Image | 500K | 500K | $2.00 | $6.00 |
123
+ | Grok 4.6 | Responses | Text + Image | 500K | 500K | $2.00 | $6.00 |
122
124
  | Grok Build 0.1 | Completions | Text + Image | 256K | 256K | $1.00 | $2.00 |
123
125
  | Grok Code | Completions | Text + Image | 256K | 256K | $1.00 | $2.00 |
124
126
  | Hy3 Free | Completions | Text | 190K | 64K | Free | Free |
@@ -127,11 +129,11 @@ pi
127
129
  | Kimi K2.7 Code | Completions | Text + Image | 262K | 262K | $0.95 | $4.00 |
128
130
  | Kimi K3 | Completions | Text + Image | 1.0M | 131K | $3.00 | $15.00 |
129
131
  | Laguna S 2.1 Free | Completions | Text | 256K | 32K | Free | Free |
130
- | Ling-3.0-tiny Free | Completions | Text | 262K | 33K | Free | Free |
131
132
  | MiMo V2.5 Free | Completions | Text + Image | 200K | 32K | Free | Free |
132
133
  | MiniMax-M2.5 | Completions | Text | 205K | 131K | $0.30 | $1.20 |
133
134
  | MiniMax-M2.7 | Completions | Text | 205K | 131K | $0.30 | $1.20 |
134
135
  | MiniMax-M3 | Completions | Text + Image | 512K | 128K | $0.30 | $1.20 |
136
+ | Muse Spark 1.2 | Responses | Text + Image | 1.0M | 131K | $1.25 | $4.25 |
135
137
  | Nemotron 3 Ultra Free | Completions | Text | 1.0M | 128K | Free | Free |
136
138
  | Nemotron 3.5 Lightning Free | Completions | Text | 262K | 262K | Free | Free |
137
139
  | Qwen3.5 Plus | Anthropic | Text + Image | 262K | 66K | $0.20 | $1.20 |
@@ -75,5 +75,24 @@
75
75
  "contextWindow": 1000000,
76
76
  "maxTokens": 131072,
77
77
  "deprecatedAt": "2026-08-12T06:38:24.559Z"
78
+ },
79
+ "ling-3.0-tiny-free": {
80
+ "id": "ling-3.0-tiny-free",
81
+ "name": "Ling-3.0-tiny Free",
82
+ "api": "openai-completions",
83
+ "baseUrl": "https://opencode.ai/zen/v1",
84
+ "reasoning": true,
85
+ "input": [
86
+ "text"
87
+ ],
88
+ "cost": {
89
+ "input": 0,
90
+ "output": 0,
91
+ "cacheRead": 0,
92
+ "cacheWrite": 0
93
+ },
94
+ "contextWindow": 262144,
95
+ "maxTokens": 32768,
96
+ "deprecatedAt": "2026-08-14T02:00:20.260Z"
78
97
  }
79
98
  }
package/models.json CHANGED
@@ -224,6 +224,25 @@
224
224
  "contextWindow": 1048576,
225
225
  "maxTokens": 65536
226
226
  },
227
+ {
228
+ "id": "gemini-3.7-flash",
229
+ "name": "Gemini 3.7 Flash",
230
+ "api": "google-generative-ai",
231
+ "baseUrl": "https://opencode.ai/zen/v1",
232
+ "reasoning": true,
233
+ "input": [
234
+ "text",
235
+ "image"
236
+ ],
237
+ "cost": {
238
+ "input": 1.5,
239
+ "output": 7.5,
240
+ "cacheRead": 0.15,
241
+ "cacheWrite": 0
242
+ },
243
+ "contextWindow": 1048576,
244
+ "maxTokens": 65536
245
+ },
227
246
  {
228
247
  "id": "claude-opus-4-6",
229
248
  "name": "Claude Opus 4.6",
@@ -560,24 +579,6 @@
560
579
  "contextWindow": 1000000,
561
580
  "maxTokens": 384000
562
581
  },
563
- {
564
- "id": "ling-3.0-tiny-free",
565
- "name": "Ling-3.0-tiny Free",
566
- "api": "openai-completions",
567
- "baseUrl": "https://opencode.ai/zen/v1",
568
- "reasoning": true,
569
- "input": [
570
- "text"
571
- ],
572
- "cost": {
573
- "input": 0,
574
- "output": 0,
575
- "cacheRead": 0,
576
- "cacheWrite": 0
577
- },
578
- "contextWindow": 262144,
579
- "maxTokens": 32768
580
- },
581
582
  {
582
583
  "id": "gpt-5.4",
583
584
  "name": "GPT-5.4",
@@ -672,6 +673,25 @@
672
673
  "contextWindow": 190000,
673
674
  "maxTokens": 64000
674
675
  },
676
+ {
677
+ "id": "muse-spark-1.2",
678
+ "name": "Muse Spark 1.2",
679
+ "api": "openai-responses",
680
+ "baseUrl": "https://opencode.ai/zen/v1",
681
+ "reasoning": true,
682
+ "input": [
683
+ "text",
684
+ "image"
685
+ ],
686
+ "cost": {
687
+ "input": 1.25,
688
+ "output": 4.25,
689
+ "cacheRead": 0.15,
690
+ "cacheWrite": 0
691
+ },
692
+ "contextWindow": 1048576,
693
+ "maxTokens": 131072
694
+ },
675
695
  {
676
696
  "id": "claude-sonnet-4",
677
697
  "name": "Claude Sonnet 4",
@@ -842,6 +862,25 @@
842
862
  "contextWindow": 262144,
843
863
  "maxTokens": 262144
844
864
  },
865
+ {
866
+ "id": "grok-4.6",
867
+ "name": "Grok 4.6",
868
+ "api": "openai-responses",
869
+ "baseUrl": "https://opencode.ai/zen/v1",
870
+ "reasoning": true,
871
+ "input": [
872
+ "text",
873
+ "image"
874
+ ],
875
+ "cost": {
876
+ "input": 2,
877
+ "output": 6,
878
+ "cacheRead": 0.5,
879
+ "cacheWrite": 0
880
+ },
881
+ "contextWindow": 500000,
882
+ "maxTokens": 500000
883
+ },
845
884
  {
846
885
  "id": "gpt-5.1",
847
886
  "name": "GPT-5.1",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monotykamary/pi-opencode-provider",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Opencode provider extension for pi - Access GPT, Claude, Gemini, GLM, MiniMax, Kimi and more through the opencode.ai API",
5
5
  "type": "module",
6
6
  "main": "index.ts",