pi-opencode-go-provider 1.1.58 → 1.1.59

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.
Files changed (3) hide show
  1. package/README.md +1 -0
  2. package/models.json +320 -292
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -107,6 +107,7 @@ pi
107
107
  | Qwen3.7 Plus | Anthropic | Text + Image | 1.0M | 66K | $0.40 | $1.60 |
108
108
  | Qwen3.8 Flash | Anthropic | Text + Image | 1.0M | 131K | $0.15 | $0.47 |
109
109
  | Qwen3.8 Max | Anthropic | Text + Image | 1.0M | 131K | $2.00 | $6.00 |
110
+ | Qwen4 Max | Anthropic | Text + Image | 1.0M | 262K | $1.50 | $4.50 |
110
111
  | Step 5 Preview | Completions | Text + Image | 1.0M | 66K | $1.00 | $2.70 |
111
112
  *Costs are per million tokens. Prices subject to change - check [opencode.ai](https://opencode.ai) for current pricing.*
112
113
 
package/models.json CHANGED
@@ -1,63 +1,35 @@
1
1
  [
2
2
  {
3
- "id": "muse-spark-1.3-contributor",
4
- "name": "Muse Spark 1.3 Contributor",
5
- "api": "openai-completions",
6
- "baseUrl": "https://opencode.ai/zen/go/v1",
7
- "reasoning": true,
8
- "thinkingLevelMap": {
9
- "off": null,
10
- "minimal": "minimal",
11
- "low": "low",
12
- "medium": "medium",
13
- "high": "high",
14
- "xhigh": "xhigh",
15
- "max": null
16
- },
17
- "input": [
18
- "text",
19
- "image"
20
- ],
21
- "cost": {
22
- "input": 0.1,
23
- "output": 0.2,
24
- "cacheRead": 0.002,
25
- "cacheWrite": 0
26
- },
27
- "contextWindow": 1048576,
28
- "maxTokens": 131072
29
- },
30
- {
31
- "id": "deepseek-v4.1-flash",
32
- "name": "DeepSeek V4.1 Flash 1017",
3
+ "id": "hy4",
4
+ "name": "Hy4",
33
5
  "api": "openai-completions",
34
6
  "baseUrl": "https://opencode.ai/zen/go/v1",
35
7
  "reasoning": true,
36
8
  "thinkingLevelMap": {
37
9
  "off": null,
38
10
  "minimal": null,
39
- "low": "low",
11
+ "low": null,
40
12
  "medium": null,
41
13
  "high": "high",
42
14
  "xhigh": null,
43
- "max": "max"
15
+ "max": null
44
16
  },
45
17
  "input": [
46
18
  "text",
47
19
  "image"
48
20
  ],
49
21
  "cost": {
50
- "input": 0.15,
51
- "output": 0.6,
52
- "cacheRead": 0.003,
22
+ "input": 0.834,
23
+ "output": 2.501,
24
+ "cacheRead": 0.042,
53
25
  "cacheWrite": 0
54
26
  },
55
- "contextWindow": 1000000,
56
- "maxTokens": 384000
27
+ "contextWindow": 1048576,
28
+ "maxTokens": 65536
57
29
  },
58
30
  {
59
- "id": "gpt-6-luna",
60
- "name": "GPT-6 Luna",
31
+ "id": "beam-free",
32
+ "name": "Beam Free",
61
33
  "api": "openai-completions",
62
34
  "baseUrl": "https://opencode.ai/zen/go/v1",
63
35
  "reasoning": true,
@@ -71,17 +43,16 @@
71
43
  "max": "max"
72
44
  },
73
45
  "input": [
74
- "text",
75
- "image"
46
+ "text"
76
47
  ],
77
48
  "cost": {
78
- "input": 0.1,
79
- "output": 0.5,
80
- "cacheRead": 0.01,
81
- "cacheWrite": 0.125
49
+ "input": 0,
50
+ "output": 0,
51
+ "cacheRead": 0,
52
+ "cacheWrite": 0
82
53
  },
83
- "contextWindow": 1050000,
84
- "maxTokens": 128000
54
+ "contextWindow": 1048576,
55
+ "maxTokens": 131072
85
56
  },
86
57
  {
87
58
  "id": "step-5-preview",
@@ -112,36 +83,17 @@
112
83
  "maxTokens": 65536
113
84
  },
114
85
  {
115
- "id": "qwen3.7-plus",
116
- "name": "Qwen3.7 Plus",
117
- "api": "anthropic-messages",
118
- "baseUrl": "https://opencode.ai/zen/go",
119
- "reasoning": true,
120
- "input": [
121
- "text",
122
- "image"
123
- ],
124
- "cost": {
125
- "input": 0.4,
126
- "output": 1.6,
127
- "cacheRead": 0.04,
128
- "cacheWrite": 0.5
129
- },
130
- "contextWindow": 1000000,
131
- "maxTokens": 65536
132
- },
133
- {
134
- "id": "kimi-k3.1-pro",
135
- "name": "Kimi K3.1 Pro",
86
+ "id": "kimi-k3",
87
+ "name": "Kimi K3",
136
88
  "api": "openai-completions",
137
89
  "baseUrl": "https://opencode.ai/zen/go/v1",
138
90
  "reasoning": true,
139
91
  "thinkingLevelMap": {
140
92
  "off": null,
141
93
  "minimal": null,
142
- "low": "low",
94
+ "low": null,
143
95
  "medium": null,
144
- "high": "high",
96
+ "high": null,
145
97
  "xhigh": null,
146
98
  "max": "max"
147
99
  },
@@ -150,73 +102,82 @@
150
102
  "image"
151
103
  ],
152
104
  "cost": {
153
- "input": 2,
154
- "output": 10,
155
- "cacheRead": 0.2,
156
- "cacheWrite": 2
105
+ "input": 3,
106
+ "output": 15,
107
+ "cacheRead": 0.3,
108
+ "cacheWrite": 3
157
109
  },
158
110
  "contextWindow": 1048576,
159
111
  "maxTokens": 1048576
160
112
  },
161
113
  {
162
- "id": "hy4",
163
- "name": "Hy4",
114
+ "id": "kimi-k2.7-code",
115
+ "name": "Kimi K2.7 Code",
164
116
  "api": "openai-completions",
165
117
  "baseUrl": "https://opencode.ai/zen/go/v1",
166
118
  "reasoning": true,
167
- "thinkingLevelMap": {
168
- "off": null,
169
- "minimal": null,
170
- "low": null,
171
- "medium": null,
172
- "high": "high",
173
- "xhigh": null,
174
- "max": null
119
+ "input": [
120
+ "text",
121
+ "image"
122
+ ],
123
+ "cost": {
124
+ "input": 0.95,
125
+ "output": 4,
126
+ "cacheRead": 0.19,
127
+ "cacheWrite": 0
175
128
  },
129
+ "contextWindow": 262144,
130
+ "maxTokens": 262144
131
+ },
132
+ {
133
+ "id": "mimo-v2.5",
134
+ "name": "MiMo V2.5",
135
+ "api": "openai-completions",
136
+ "baseUrl": "https://opencode.ai/zen/go/v1",
137
+ "reasoning": true,
176
138
  "input": [
177
139
  "text",
178
140
  "image"
179
141
  ],
180
142
  "cost": {
181
- "input": 0.834,
182
- "output": 2.501,
183
- "cacheRead": 0.042,
143
+ "input": 0.14,
144
+ "output": 0.28,
145
+ "cacheRead": 0.0028,
184
146
  "cacheWrite": 0
185
147
  },
186
- "contextWindow": 1048576,
187
- "maxTokens": 65536
148
+ "contextWindow": 1000000,
149
+ "maxTokens": 128000
188
150
  },
189
151
  {
190
- "id": "minimax-m3.1-flash",
191
- "name": "MiniMax M3.1 Flash",
152
+ "id": "glm-5.2",
153
+ "name": "GLM-5.2",
192
154
  "api": "openai-completions",
193
155
  "baseUrl": "https://opencode.ai/zen/go/v1",
194
156
  "reasoning": true,
195
157
  "thinkingLevelMap": {
196
158
  "off": null,
197
159
  "minimal": null,
198
- "low": "low",
199
- "medium": "medium",
160
+ "low": null,
161
+ "medium": null,
200
162
  "high": "high",
201
- "xhigh": "xhigh",
163
+ "xhigh": null,
202
164
  "max": "max"
203
165
  },
204
166
  "input": [
205
- "text",
206
- "image"
167
+ "text"
207
168
  ],
208
169
  "cost": {
209
- "input": 0.15,
210
- "output": 0.6,
211
- "cacheRead": 0.015,
170
+ "input": 1.4,
171
+ "output": 4.4,
172
+ "cacheRead": 0.26,
212
173
  "cacheWrite": 0
213
174
  },
214
175
  "contextWindow": 1000000,
215
- "maxTokens": 512000
176
+ "maxTokens": 131072
216
177
  },
217
178
  {
218
- "id": "iceman-contributor-free",
219
- "name": "Iceman Contributor Free",
179
+ "id": "mimo-v2.5-pro",
180
+ "name": "MiMo V2.5 Pro",
220
181
  "api": "openai-completions",
221
182
  "baseUrl": "https://opencode.ai/zen/go/v1",
222
183
  "reasoning": true,
@@ -224,17 +185,17 @@
224
185
  "text"
225
186
  ],
226
187
  "cost": {
227
- "input": 0,
228
- "output": 0,
229
- "cacheRead": 0,
188
+ "input": 0.435,
189
+ "output": 0.87,
190
+ "cacheRead": 0.003625,
230
191
  "cacheWrite": 0
231
192
  },
232
- "contextWindow": 262144,
233
- "maxTokens": 131072
193
+ "contextWindow": 1048576,
194
+ "maxTokens": 128000
234
195
  },
235
196
  {
236
- "id": "qwen3.8-flash",
237
- "name": "Qwen3.8 Flash",
197
+ "id": "qwen3.8-max",
198
+ "name": "Qwen3.8 Max",
238
199
  "api": "anthropic-messages",
239
200
  "baseUrl": "https://opencode.ai/zen/go",
240
201
  "reasoning": true,
@@ -252,10 +213,10 @@
252
213
  "image"
253
214
  ],
254
215
  "cost": {
255
- "input": 0.15,
256
- "output": 0.47,
257
- "cacheRead": 0.016,
258
- "cacheWrite": 0.2
216
+ "input": 2,
217
+ "output": 6,
218
+ "cacheRead": 0.25,
219
+ "cacheWrite": 2.5
259
220
  },
260
221
  "contextWindow": 1000000,
261
222
  "maxTokens": 131072
@@ -289,53 +250,74 @@
289
250
  "maxTokens": 131072
290
251
  },
291
252
  {
292
- "id": "longcat-2.0",
293
- "name": "LongCat-2.0",
253
+ "id": "mimo-v2.6-pro",
254
+ "name": "MiMo-V2.6-Pro",
294
255
  "api": "openai-completions",
295
256
  "baseUrl": "https://opencode.ai/zen/go/v1",
296
257
  "reasoning": true,
297
258
  "input": [
298
- "text"
259
+ "text",
260
+ "image"
261
+ ],
262
+ "cost": {
263
+ "input": 0.435,
264
+ "output": 0.87,
265
+ "cacheRead": 0.003625,
266
+ "cacheWrite": 0
267
+ },
268
+ "contextWindow": 1048576,
269
+ "maxTokens": 131072
270
+ },
271
+ {
272
+ "id": "minimax-m3",
273
+ "name": "MiniMax-M3",
274
+ "api": "anthropic-messages",
275
+ "baseUrl": "https://opencode.ai/zen/go",
276
+ "reasoning": true,
277
+ "input": [
278
+ "text",
279
+ "image"
299
280
  ],
300
281
  "cost": {
301
282
  "input": 0.3,
302
283
  "output": 1.2,
303
- "cacheRead": 0.006,
284
+ "cacheRead": 0.06,
304
285
  "cacheWrite": 0
305
286
  },
306
287
  "contextWindow": 1000000,
307
288
  "maxTokens": 131072
308
289
  },
309
290
  {
310
- "id": "deepseek-v4-pro",
311
- "name": "DeepSeek V4 Pro",
291
+ "id": "deepseek-v4.1-flash",
292
+ "name": "DeepSeek V4.1 Flash 1017",
312
293
  "api": "openai-completions",
313
294
  "baseUrl": "https://opencode.ai/zen/go/v1",
314
295
  "reasoning": true,
315
296
  "thinkingLevelMap": {
316
297
  "off": null,
317
298
  "minimal": null,
318
- "low": null,
299
+ "low": "low",
319
300
  "medium": null,
320
301
  "high": "high",
321
302
  "xhigh": null,
322
303
  "max": "max"
323
304
  },
324
305
  "input": [
325
- "text"
306
+ "text",
307
+ "image"
326
308
  ],
327
309
  "cost": {
328
- "input": 0.66,
329
- "output": 1.98,
330
- "cacheRead": 0.022,
310
+ "input": 0.15,
311
+ "output": 0.6,
312
+ "cacheRead": 0.003,
331
313
  "cacheWrite": 0
332
314
  },
333
315
  "contextWindow": 1000000,
334
316
  "maxTokens": 384000
335
317
  },
336
318
  {
337
- "id": "longcat-2.5-free",
338
- "name": "LongCat 2.5 Free",
319
+ "id": "mimo-v2.6-flash",
320
+ "name": "MiMo-V2.6-Flash",
339
321
  "api": "openai-completions",
340
322
  "baseUrl": "https://opencode.ai/zen/go/v1",
341
323
  "reasoning": true,
@@ -344,19 +326,19 @@
344
326
  "image"
345
327
  ],
346
328
  "cost": {
347
- "input": 0,
348
- "output": 0,
349
- "cacheRead": 0,
329
+ "input": 0.14,
330
+ "output": 0.28,
331
+ "cacheRead": 0.0028,
350
332
  "cacheWrite": 0
351
333
  },
352
- "contextWindow": 1000000,
353
- "maxTokens": 262144
334
+ "contextWindow": 1048576,
335
+ "maxTokens": 131072
354
336
  },
355
337
  {
356
- "id": "grok-4.7",
357
- "name": "Grok 4.7",
358
- "api": "openai-completions",
359
- "baseUrl": "https://opencode.ai/zen/go/v1",
338
+ "id": "claude-haiku-5-5",
339
+ "name": "Claude Haiku 5.5",
340
+ "api": "anthropic-messages",
341
+ "baseUrl": "https://opencode.ai/zen/go",
360
342
  "reasoning": true,
361
343
  "thinkingLevelMap": {
362
344
  "off": null,
@@ -365,66 +347,76 @@
365
347
  "medium": "medium",
366
348
  "high": "high",
367
349
  "xhigh": "xhigh",
368
- "max": null
350
+ "max": "max"
369
351
  },
370
352
  "input": [
371
353
  "text",
372
354
  "image"
373
355
  ],
374
356
  "cost": {
375
- "input": 2,
376
- "output": 6,
377
- "cacheRead": 0.5,
378
- "cacheWrite": 0
357
+ "input": 0.1,
358
+ "output": 0.5,
359
+ "cacheRead": 0.01,
360
+ "cacheWrite": 0.125
379
361
  },
380
- "contextWindow": 500000,
381
- "maxTokens": 500000
362
+ "contextWindow": 1000000,
363
+ "maxTokens": 128000
382
364
  },
383
365
  {
384
- "id": "minimax-m3",
385
- "name": "MiniMax-M3",
386
- "api": "anthropic-messages",
387
- "baseUrl": "https://opencode.ai/zen/go",
366
+ "id": "minimax-m3.1-flash",
367
+ "name": "MiniMax M3.1 Flash",
368
+ "api": "openai-completions",
369
+ "baseUrl": "https://opencode.ai/zen/go/v1",
388
370
  "reasoning": true,
371
+ "thinkingLevelMap": {
372
+ "off": null,
373
+ "minimal": null,
374
+ "low": "low",
375
+ "medium": "medium",
376
+ "high": "high",
377
+ "xhigh": "xhigh",
378
+ "max": "max"
379
+ },
389
380
  "input": [
390
381
  "text",
391
382
  "image"
392
383
  ],
393
384
  "cost": {
394
- "input": 0.3,
395
- "output": 1.2,
396
- "cacheRead": 0.06,
385
+ "input": 0.15,
386
+ "output": 0.6,
387
+ "cacheRead": 0.015,
397
388
  "cacheWrite": 0
398
389
  },
399
390
  "contextWindow": 1000000,
400
- "maxTokens": 131072
391
+ "maxTokens": 512000
401
392
  },
402
393
  {
403
- "id": "hy4-preview",
404
- "name": "Hy4 preview",
405
- "api": "openai-completions",
406
- "baseUrl": "https://opencode.ai/zen/go/v1",
394
+ "id": "qwen3.8-flash",
395
+ "name": "Qwen3.8 Flash",
396
+ "api": "anthropic-messages",
397
+ "baseUrl": "https://opencode.ai/zen/go",
407
398
  "reasoning": true,
408
399
  "thinkingLevelMap": {
409
400
  "off": null,
410
401
  "minimal": null,
411
- "low": null,
412
- "medium": null,
413
- "high": "high",
414
- "xhigh": null,
402
+ "low": "low",
403
+ "medium": "medium",
404
+ "high": null,
405
+ "xhigh": "xhigh",
415
406
  "max": null
416
407
  },
417
408
  "input": [
418
- "text"
409
+ "text",
410
+ "image"
419
411
  ],
420
412
  "cost": {
421
- "input": 0.834,
422
- "output": 2.501,
423
- "cacheRead": 0.042,
424
- "cacheWrite": 0
413
+ "input": 0.15,
414
+ "output": 0.47,
415
+ "cacheRead": 0.016,
416
+ "cacheWrite": 0.2
425
417
  },
426
- "contextWindow": 1024000,
427
- "maxTokens": 64000
418
+ "contextWindow": 1000000,
419
+ "maxTokens": 131072
428
420
  },
429
421
  {
430
422
  "id": "glm-5.3",
@@ -454,42 +446,31 @@
454
446
  "maxTokens": 131072
455
447
  },
456
448
  {
457
- "id": "mimo-v2.6-flash",
458
- "name": "MiMo-V2.6-Flash",
449
+ "id": "hy4-preview",
450
+ "name": "Hy4 preview",
459
451
  "api": "openai-completions",
460
452
  "baseUrl": "https://opencode.ai/zen/go/v1",
461
453
  "reasoning": true,
462
- "input": [
463
- "text",
464
- "image"
465
- ],
466
- "cost": {
467
- "input": 0.14,
468
- "output": 0.28,
469
- "cacheRead": 0.0028,
470
- "cacheWrite": 0
454
+ "thinkingLevelMap": {
455
+ "off": null,
456
+ "minimal": null,
457
+ "low": null,
458
+ "medium": null,
459
+ "high": "high",
460
+ "xhigh": null,
461
+ "max": null
471
462
  },
472
- "contextWindow": 1048576,
473
- "maxTokens": 131072
474
- },
475
- {
476
- "id": "mimo-v2.6-pro",
477
- "name": "MiMo-V2.6-Pro",
478
- "api": "openai-completions",
479
- "baseUrl": "https://opencode.ai/zen/go/v1",
480
- "reasoning": true,
481
463
  "input": [
482
- "text",
483
- "image"
464
+ "text"
484
465
  ],
485
466
  "cost": {
486
- "input": 0.435,
487
- "output": 0.87,
488
- "cacheRead": 0.003625,
467
+ "input": 0.834,
468
+ "output": 2.501,
469
+ "cacheRead": 0.042,
489
470
  "cacheWrite": 0
490
471
  },
491
- "contextWindow": 1048576,
492
- "maxTokens": 131072
472
+ "contextWindow": 1024000,
473
+ "maxTokens": 64000
493
474
  },
494
475
  {
495
476
  "id": "gemini-4-argon",
@@ -520,11 +501,30 @@
520
501
  "maxTokens": 65536
521
502
  },
522
503
  {
523
- "id": "claude-haiku-5-5",
524
- "name": "Claude Haiku 5.5",
504
+ "id": "qwen3.7-plus",
505
+ "name": "Qwen3.7 Plus",
525
506
  "api": "anthropic-messages",
526
507
  "baseUrl": "https://opencode.ai/zen/go",
527
508
  "reasoning": true,
509
+ "input": [
510
+ "text",
511
+ "image"
512
+ ],
513
+ "cost": {
514
+ "input": 0.4,
515
+ "output": 1.6,
516
+ "cacheRead": 0.04,
517
+ "cacheWrite": 0.5
518
+ },
519
+ "contextWindow": 1000000,
520
+ "maxTokens": 65536
521
+ },
522
+ {
523
+ "id": "gpt-5.6-luna",
524
+ "name": "GPT-5.6 Luna",
525
+ "api": "openai-completions",
526
+ "baseUrl": "https://opencode.ai/zen/go/v1",
527
+ "reasoning": true,
528
528
  "thinkingLevelMap": {
529
529
  "off": null,
530
530
  "minimal": null,
@@ -539,48 +539,76 @@
539
539
  "image"
540
540
  ],
541
541
  "cost": {
542
- "input": 0.1,
543
- "output": 0.5,
544
- "cacheRead": 0.01,
545
- "cacheWrite": 0.125
542
+ "input": 0.2,
543
+ "output": 1.2,
544
+ "cacheRead": 0.02,
545
+ "cacheWrite": 0.25
546
546
  },
547
- "contextWindow": 1000000,
547
+ "contextWindow": 1050000,
548
548
  "maxTokens": 128000
549
549
  },
550
550
  {
551
- "id": "kimi-k2.7-code",
552
- "name": "Kimi K2.7 Code",
551
+ "id": "kimi-k3.1-pro",
552
+ "name": "Kimi K3.1 Pro",
553
553
  "api": "openai-completions",
554
554
  "baseUrl": "https://opencode.ai/zen/go/v1",
555
555
  "reasoning": true,
556
+ "thinkingLevelMap": {
557
+ "off": null,
558
+ "minimal": null,
559
+ "low": "low",
560
+ "medium": null,
561
+ "high": "high",
562
+ "xhigh": null,
563
+ "max": "max"
564
+ },
556
565
  "input": [
557
566
  "text",
558
567
  "image"
559
568
  ],
560
569
  "cost": {
561
- "input": 0.95,
562
- "output": 4,
563
- "cacheRead": 0.19,
564
- "cacheWrite": 0
570
+ "input": 2,
571
+ "output": 10,
572
+ "cacheRead": 0.2,
573
+ "cacheWrite": 2
565
574
  },
566
- "contextWindow": 262144,
567
- "maxTokens": 262144
575
+ "contextWindow": 1048576,
576
+ "maxTokens": 1048576
568
577
  },
569
578
  {
570
- "id": "beam-free",
571
- "name": "Beam Free",
579
+ "id": "muse-spark-1.2-contributor",
580
+ "name": "Muse Spark 1.2 Contributor",
572
581
  "api": "openai-completions",
573
582
  "baseUrl": "https://opencode.ai/zen/go/v1",
574
583
  "reasoning": true,
575
584
  "thinkingLevelMap": {
576
585
  "off": null,
577
- "minimal": null,
586
+ "minimal": "minimal",
578
587
  "low": "low",
579
588
  "medium": "medium",
580
589
  "high": "high",
581
590
  "xhigh": "xhigh",
582
- "max": "max"
591
+ "max": null
583
592
  },
593
+ "input": [
594
+ "text",
595
+ "image"
596
+ ],
597
+ "cost": {
598
+ "input": 0.1,
599
+ "output": 0.2,
600
+ "cacheRead": 0.002,
601
+ "cacheWrite": 0
602
+ },
603
+ "contextWindow": 1048576,
604
+ "maxTokens": 131072
605
+ },
606
+ {
607
+ "id": "iceman-contributor-free",
608
+ "name": "Iceman Contributor Free",
609
+ "api": "openai-completions",
610
+ "baseUrl": "https://opencode.ai/zen/go/v1",
611
+ "reasoning": true,
584
612
  "input": [
585
613
  "text"
586
614
  ],
@@ -590,39 +618,31 @@
590
618
  "cacheRead": 0,
591
619
  "cacheWrite": 0
592
620
  },
593
- "contextWindow": 1048576,
621
+ "contextWindow": 262144,
594
622
  "maxTokens": 131072
595
623
  },
596
624
  {
597
- "id": "glm-5.2",
598
- "name": "GLM-5.2",
625
+ "id": "longcat-2.5-free",
626
+ "name": "LongCat 2.5 Free",
599
627
  "api": "openai-completions",
600
628
  "baseUrl": "https://opencode.ai/zen/go/v1",
601
629
  "reasoning": true,
602
- "thinkingLevelMap": {
603
- "off": null,
604
- "minimal": null,
605
- "low": null,
606
- "medium": null,
607
- "high": "high",
608
- "xhigh": null,
609
- "max": "max"
610
- },
611
630
  "input": [
612
- "text"
631
+ "text",
632
+ "image"
613
633
  ],
614
634
  "cost": {
615
- "input": 1.4,
616
- "output": 4.4,
617
- "cacheRead": 0.26,
635
+ "input": 0,
636
+ "output": 0,
637
+ "cacheRead": 0,
618
638
  "cacheWrite": 0
619
639
  },
620
640
  "contextWindow": 1000000,
621
- "maxTokens": 131072
641
+ "maxTokens": 262144
622
642
  },
623
643
  {
624
- "id": "qwen3.8-max",
625
- "name": "Qwen3.8 Max",
644
+ "id": "qwen4-max",
645
+ "name": "Qwen4 Max",
626
646
  "api": "anthropic-messages",
627
647
  "baseUrl": "https://opencode.ai/zen/go",
628
648
  "reasoning": true,
@@ -630,8 +650,8 @@
630
650
  "off": null,
631
651
  "minimal": null,
632
652
  "low": "low",
633
- "medium": "medium",
634
- "high": null,
653
+ "medium": null,
654
+ "high": "high",
635
655
  "xhigh": "xhigh",
636
656
  "max": null
637
657
  },
@@ -640,28 +660,28 @@
640
660
  "image"
641
661
  ],
642
662
  "cost": {
643
- "input": 2,
644
- "output": 6,
645
- "cacheRead": 0.25,
646
- "cacheWrite": 2.5
663
+ "input": 1.5,
664
+ "output": 4.5,
665
+ "cacheRead": 0.075,
666
+ "cacheWrite": 1.875
647
667
  },
648
668
  "contextWindow": 1000000,
649
- "maxTokens": 131072
669
+ "maxTokens": 262144
650
670
  },
651
671
  {
652
- "id": "muse-spark-1.2-contributor",
653
- "name": "Muse Spark 1.2 Contributor",
672
+ "id": "gpt-6-luna",
673
+ "name": "GPT-6 Luna",
654
674
  "api": "openai-completions",
655
675
  "baseUrl": "https://opencode.ai/zen/go/v1",
656
676
  "reasoning": true,
657
677
  "thinkingLevelMap": {
658
678
  "off": null,
659
- "minimal": "minimal",
679
+ "minimal": null,
660
680
  "low": "low",
661
681
  "medium": "medium",
662
682
  "high": "high",
663
683
  "xhigh": "xhigh",
664
- "max": null
684
+ "max": "max"
665
685
  },
666
686
  "input": [
667
687
  "text",
@@ -669,12 +689,12 @@
669
689
  ],
670
690
  "cost": {
671
691
  "input": 0.1,
672
- "output": 0.2,
673
- "cacheRead": 0.002,
674
- "cacheWrite": 0
692
+ "output": 0.5,
693
+ "cacheRead": 0.01,
694
+ "cacheWrite": 0.125
675
695
  },
676
- "contextWindow": 1048576,
677
- "maxTokens": 131072
696
+ "contextWindow": 1050000,
697
+ "maxTokens": 128000
678
698
  },
679
699
  {
680
700
  "id": "hy3",
@@ -704,8 +724,26 @@
704
724
  "maxTokens": 128000
705
725
  },
706
726
  {
707
- "id": "kimi-k3",
708
- "name": "Kimi K3",
727
+ "id": "longcat-2.0",
728
+ "name": "LongCat-2.0",
729
+ "api": "openai-completions",
730
+ "baseUrl": "https://opencode.ai/zen/go/v1",
731
+ "reasoning": true,
732
+ "input": [
733
+ "text"
734
+ ],
735
+ "cost": {
736
+ "input": 0.3,
737
+ "output": 1.2,
738
+ "cacheRead": 0.006,
739
+ "cacheWrite": 0
740
+ },
741
+ "contextWindow": 1000000,
742
+ "maxTokens": 131072
743
+ },
744
+ {
745
+ "id": "deepseek-v4-pro",
746
+ "name": "DeepSeek V4 Pro",
709
747
  "api": "openai-completions",
710
748
  "baseUrl": "https://opencode.ai/zen/go/v1",
711
749
  "reasoning": true,
@@ -714,86 +752,76 @@
714
752
  "minimal": null,
715
753
  "low": null,
716
754
  "medium": null,
717
- "high": null,
755
+ "high": "high",
718
756
  "xhigh": null,
719
757
  "max": "max"
720
758
  },
721
759
  "input": [
722
- "text",
723
- "image"
760
+ "text"
724
761
  ],
725
762
  "cost": {
726
- "input": 3,
727
- "output": 15,
728
- "cacheRead": 0.3,
729
- "cacheWrite": 3
763
+ "input": 0.66,
764
+ "output": 1.98,
765
+ "cacheRead": 0.022,
766
+ "cacheWrite": 0
730
767
  },
731
- "contextWindow": 1048576,
732
- "maxTokens": 1048576
768
+ "contextWindow": 1000000,
769
+ "maxTokens": 384000
733
770
  },
734
771
  {
735
- "id": "gpt-5.6-luna",
736
- "name": "GPT-5.6 Luna",
772
+ "id": "muse-spark-1.3-contributor",
773
+ "name": "Muse Spark 1.3 Contributor",
737
774
  "api": "openai-completions",
738
775
  "baseUrl": "https://opencode.ai/zen/go/v1",
739
776
  "reasoning": true,
740
777
  "thinkingLevelMap": {
741
778
  "off": null,
742
- "minimal": null,
779
+ "minimal": "minimal",
743
780
  "low": "low",
744
781
  "medium": "medium",
745
782
  "high": "high",
746
783
  "xhigh": "xhigh",
747
- "max": "max"
784
+ "max": null
748
785
  },
749
786
  "input": [
750
787
  "text",
751
788
  "image"
752
789
  ],
753
790
  "cost": {
754
- "input": 0.2,
755
- "output": 1.2,
756
- "cacheRead": 0.02,
757
- "cacheWrite": 0.25
791
+ "input": 0.1,
792
+ "output": 0.2,
793
+ "cacheRead": 0.002,
794
+ "cacheWrite": 0
758
795
  },
759
- "contextWindow": 1050000,
760
- "maxTokens": 128000
796
+ "contextWindow": 1048576,
797
+ "maxTokens": 131072
761
798
  },
762
799
  {
763
- "id": "mimo-v2.5",
764
- "name": "MiMo V2.5",
800
+ "id": "grok-4.7",
801
+ "name": "Grok 4.7",
765
802
  "api": "openai-completions",
766
803
  "baseUrl": "https://opencode.ai/zen/go/v1",
767
804
  "reasoning": true,
805
+ "thinkingLevelMap": {
806
+ "off": null,
807
+ "minimal": null,
808
+ "low": "low",
809
+ "medium": "medium",
810
+ "high": "high",
811
+ "xhigh": "xhigh",
812
+ "max": null
813
+ },
768
814
  "input": [
769
815
  "text",
770
816
  "image"
771
817
  ],
772
818
  "cost": {
773
- "input": 0.14,
774
- "output": 0.28,
775
- "cacheRead": 0.0028,
776
- "cacheWrite": 0
777
- },
778
- "contextWindow": 1000000,
779
- "maxTokens": 128000
780
- },
781
- {
782
- "id": "mimo-v2.5-pro",
783
- "name": "MiMo V2.5 Pro",
784
- "api": "openai-completions",
785
- "baseUrl": "https://opencode.ai/zen/go/v1",
786
- "reasoning": true,
787
- "input": [
788
- "text"
789
- ],
790
- "cost": {
791
- "input": 0.435,
792
- "output": 0.87,
793
- "cacheRead": 0.003625,
819
+ "input": 2,
820
+ "output": 6,
821
+ "cacheRead": 0.5,
794
822
  "cacheWrite": 0
795
823
  },
796
- "contextWindow": 1048576,
797
- "maxTokens": 128000
824
+ "contextWindow": 500000,
825
+ "maxTokens": 500000
798
826
  }
799
827
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-opencode-go-provider",
3
- "version": "1.1.58",
3
+ "version": "1.1.59",
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",