@monotykamary/pi-opencode-provider 1.0.7 → 1.0.8

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
@@ -77,7 +77,6 @@ pi
77
77
  | Big Pickle | Completions | Text | 200K | 32K | Free | Free |
78
78
  | Claude Fable 5 | Anthropic | Text + Image | 1.0M | 128K | $10.00 | $50.00 |
79
79
  | Claude Haiku 4.5 | Anthropic | Text + Image | 200K | 64K | $1.00 | $5.00 |
80
- | Claude Opus 4.1 | Anthropic | Text + Image | 200K | 32K | $15.00 | $75.00 |
81
80
  | Claude Opus 4.5 | Anthropic | Text + Image | 200K | 64K | $5.00 | $25.00 |
82
81
  | Claude Opus 4.6 | Anthropic | Text + Image | 1.0M | 128K | $5.00 | $25.00 |
83
82
  | Claude Opus 4.7 | Anthropic | Text + Image | 1.0M | 128K | $5.00 | $25.00 |
@@ -116,24 +115,25 @@ pi
116
115
  | GPT-5.4 Pro | Responses | Text + Image | 1.1M | 128K | $30.00 | $180.00 |
117
116
  | GPT-5.5 | Responses | Text + Image | 1.1M | 128K | $5.00 | $30.00 |
118
117
  | GPT-5.5 Pro | Responses | Text + Image | 1.1M | 128K | $30.00 | $180.00 |
119
- | GPT-5.6 Luna | Responses | Text + Image | 1.1M | 128K | $1.00 | $6.00 |
118
+ | GPT-5.6 Luna | Responses | Text + Image | 1.1M | 128K | $0.20 | $1.20 |
120
119
  | GPT-5.6 Sol | Responses | Text + Image | 1.1M | 128K | $5.00 | $30.00 |
121
120
  | GPT-5.6 Terra | Responses | Text + Image | 1.1M | 128K | $2.50 | $15.00 |
122
121
  | Grok 4.5 | Responses | Text + Image | 500K | 500K | $2.00 | $6.00 |
123
122
  | Grok Build 0.1 | Completions | Text + Image | 256K | 256K | $1.00 | $2.00 |
124
123
  | Grok Code | Completions | Text + Image | 256K | 256K | $1.00 | $2.00 |
124
+ | Hy3 Free | Completions | Text | 190K | 64K | Free | Free |
125
125
  | Kimi K2.5 | Completions | Text + Image | 262K | 66K | $0.60 | $3.00 |
126
126
  | Kimi K2.6 | Completions | Text + Image | 262K | 66K | $0.95 | $4.00 |
127
127
  | Kimi K2.7 Code | Completions | Text + Image | 262K | 262K | $0.95 | $4.00 |
128
128
  | Kimi K3 | Completions | Text + Image | 1.0M | 131K | $3.00 | $15.00 |
129
129
  | Laguna S 2.1 Free | Completions | Text | 256K | 32K | Free | Free |
130
- | Ling-3.0-flash Free | Completions | Text | 262K | 33K | Free | Free |
130
+ | Ling-3.0-tiny Free | Completions | Text | 262K | 33K | Free | Free |
131
131
  | MiMo V2.5 Free | Completions | Text + Image | 200K | 32K | Free | Free |
132
132
  | MiniMax-M2.5 | Completions | Text | 205K | 131K | $0.30 | $1.20 |
133
133
  | MiniMax-M2.7 | Completions | Text | 205K | 131K | $0.30 | $1.20 |
134
134
  | MiniMax-M3 | Completions | Text + Image | 512K | 128K | $0.30 | $1.20 |
135
135
  | Nemotron 3 Ultra Free | Completions | Text | 1.0M | 128K | Free | Free |
136
- | North Mini Code Free | Completions | Text | 256K | 64K | Free | Free |
136
+ | Nemotron 3.5 Lightning Free | Completions | Text | 262K | 262K | Free | Free |
137
137
  | Qwen3.5 Plus | Anthropic | Text + Image | 262K | 66K | $0.20 | $1.20 |
138
138
  | Qwen3.6 Plus | Anthropic | Text + Image | 262K | 66K | $0.50 | $3.00 |
139
139
  *Costs are per million tokens. Prices subject to change - check [opencode.ai](https://opencode.ai) for current pricing.*
@@ -1 +1,79 @@
1
- {}
1
+ {
2
+ "claude-opus-4-1": {
3
+ "id": "claude-opus-4-1",
4
+ "name": "Claude Opus 4.1",
5
+ "api": "anthropic-messages",
6
+ "baseUrl": "https://opencode.ai/zen",
7
+ "reasoning": true,
8
+ "input": [
9
+ "text",
10
+ "image"
11
+ ],
12
+ "cost": {
13
+ "input": 15,
14
+ "output": 75,
15
+ "cacheRead": 1.5,
16
+ "cacheWrite": 18.75
17
+ },
18
+ "contextWindow": 200000,
19
+ "maxTokens": 32000,
20
+ "deprecatedAt": "2026-08-07T02:00:18.924Z"
21
+ },
22
+ "ling-3.0-flash-free": {
23
+ "id": "ling-3.0-flash-free",
24
+ "name": "Ling-3.0-flash Free",
25
+ "api": "openai-completions",
26
+ "baseUrl": "https://opencode.ai/zen/v1",
27
+ "reasoning": true,
28
+ "input": [
29
+ "text"
30
+ ],
31
+ "cost": {
32
+ "input": 0,
33
+ "output": 0,
34
+ "cacheRead": 0,
35
+ "cacheWrite": 0
36
+ },
37
+ "contextWindow": 262144,
38
+ "maxTokens": 32768,
39
+ "deprecatedAt": "2026-08-08T02:00:18.268Z"
40
+ },
41
+ "north-mini-code-free": {
42
+ "id": "north-mini-code-free",
43
+ "name": "North Mini Code Free",
44
+ "api": "openai-completions",
45
+ "baseUrl": "https://opencode.ai/zen/v1",
46
+ "reasoning": true,
47
+ "input": [
48
+ "text"
49
+ ],
50
+ "cost": {
51
+ "input": 0,
52
+ "output": 0,
53
+ "cacheRead": 0,
54
+ "cacheWrite": 0
55
+ },
56
+ "contextWindow": 256000,
57
+ "maxTokens": 64000,
58
+ "deprecatedAt": "2026-08-12T02:00:24.970Z"
59
+ },
60
+ "longcat-2.0-free": {
61
+ "id": "longcat-2.0-free",
62
+ "name": "LongCat-2.0 Free",
63
+ "api": "openai-completions",
64
+ "baseUrl": "https://opencode.ai/zen/v1",
65
+ "reasoning": true,
66
+ "input": [
67
+ "text"
68
+ ],
69
+ "cost": {
70
+ "input": 0,
71
+ "output": 0,
72
+ "cacheRead": 0,
73
+ "cacheWrite": 0
74
+ },
75
+ "contextWindow": 1000000,
76
+ "maxTokens": 131072,
77
+ "deprecatedAt": "2026-08-12T06:38:24.559Z"
78
+ }
79
+ }
package/models.json CHANGED
@@ -283,7 +283,7 @@
283
283
  },
284
284
  {
285
285
  "id": "deepseek-v4-flash",
286
- "name": "DeepSeek V4 Flash 0731",
286
+ "name": "DeepSeek V4 Flash",
287
287
  "api": "openai-completions",
288
288
  "baseUrl": "https://opencode.ai/zen/v1",
289
289
  "reasoning": true,
@@ -355,24 +355,6 @@
355
355
  "contextWindow": 1000000,
356
356
  "maxTokens": 128000
357
357
  },
358
- {
359
- "id": "north-mini-code-free",
360
- "name": "North Mini Code Free",
361
- "api": "openai-completions",
362
- "baseUrl": "https://opencode.ai/zen/v1",
363
- "reasoning": true,
364
- "input": [
365
- "text"
366
- ],
367
- "cost": {
368
- "input": 0,
369
- "output": 0,
370
- "cacheRead": 0,
371
- "cacheWrite": 0
372
- },
373
- "contextWindow": 256000,
374
- "maxTokens": 64000
375
- },
376
358
  {
377
359
  "id": "glm-5.2",
378
360
  "name": "GLM-5.2",
@@ -391,24 +373,6 @@
391
373
  "contextWindow": 1000000,
392
374
  "maxTokens": 131072
393
375
  },
394
- {
395
- "id": "ling-3.0-flash-free",
396
- "name": "Ling-3.0-flash Free",
397
- "api": "openai-completions",
398
- "baseUrl": "https://opencode.ai/zen/v1",
399
- "reasoning": true,
400
- "input": [
401
- "text"
402
- ],
403
- "cost": {
404
- "input": 0,
405
- "output": 0,
406
- "cacheRead": 0,
407
- "cacheWrite": 0
408
- },
409
- "contextWindow": 262144,
410
- "maxTokens": 32768
411
- },
412
376
  {
413
377
  "id": "laguna-s-2.1-free",
414
378
  "name": "Laguna S 2.1 Free",
@@ -429,7 +393,7 @@
429
393
  },
430
394
  {
431
395
  "id": "deepseek-v4-flash-free",
432
- "name": "DeepSeek V4 Flash Free (New)",
396
+ "name": "DeepSeek V4 Flash Free",
433
397
  "api": "openai-completions",
434
398
  "baseUrl": "https://opencode.ai/zen/v1",
435
399
  "reasoning": true,
@@ -502,25 +466,6 @@
502
466
  "contextWindow": 1050000,
503
467
  "maxTokens": 128000
504
468
  },
505
- {
506
- "id": "claude-opus-4-1",
507
- "name": "Claude Opus 4.1",
508
- "api": "anthropic-messages",
509
- "baseUrl": "https://opencode.ai/zen",
510
- "reasoning": true,
511
- "input": [
512
- "text",
513
- "image"
514
- ],
515
- "cost": {
516
- "input": 15,
517
- "output": 75,
518
- "cacheRead": 1.5,
519
- "cacheWrite": 18.75
520
- },
521
- "contextWindow": 200000,
522
- "maxTokens": 32000
523
- },
524
469
  {
525
470
  "id": "minimax-m3",
526
471
  "name": "MiniMax-M3",
@@ -615,6 +560,24 @@
615
560
  "contextWindow": 1000000,
616
561
  "maxTokens": 384000
617
562
  },
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
+ },
618
581
  {
619
582
  "id": "gpt-5.4",
620
583
  "name": "GPT-5.4",
@@ -691,6 +654,24 @@
691
654
  "contextWindow": 1048576,
692
655
  "maxTokens": 65536
693
656
  },
657
+ {
658
+ "id": "hy3-free",
659
+ "name": "Hy3 Free",
660
+ "api": "openai-completions",
661
+ "baseUrl": "https://opencode.ai/zen/v1",
662
+ "reasoning": true,
663
+ "input": [
664
+ "text"
665
+ ],
666
+ "cost": {
667
+ "input": 0,
668
+ "output": 0,
669
+ "cacheRead": 0,
670
+ "cacheWrite": 0
671
+ },
672
+ "contextWindow": 190000,
673
+ "maxTokens": 64000
674
+ },
694
675
  {
695
676
  "id": "claude-sonnet-4",
696
677
  "name": "Claude Sonnet 4",
@@ -901,7 +882,7 @@
901
882
  {
902
883
  "id": "grok-build-0.1",
903
884
  "name": "Grok Build 0.1",
904
- "api": "openai-completions",
885
+ "api": "openai-responses",
905
886
  "baseUrl": "https://opencode.ai/zen/v1",
906
887
  "reasoning": true,
907
888
  "input": [
@@ -1050,6 +1031,24 @@
1050
1031
  "contextWindow": 1000000,
1051
1032
  "maxTokens": 128000
1052
1033
  },
1034
+ {
1035
+ "id": "nemotron-3.5-lightning-free",
1036
+ "name": "Nemotron 3.5 Lightning Free",
1037
+ "api": "openai-completions",
1038
+ "baseUrl": "https://opencode.ai/zen/v1",
1039
+ "reasoning": true,
1040
+ "input": [
1041
+ "text"
1042
+ ],
1043
+ "cost": {
1044
+ "input": 0,
1045
+ "output": 0,
1046
+ "cacheRead": 0,
1047
+ "cacheWrite": 0
1048
+ },
1049
+ "contextWindow": 262144,
1050
+ "maxTokens": 262144
1051
+ },
1053
1052
  {
1054
1053
  "id": "nemotron-3-ultra-free",
1055
1054
  "name": "Nemotron 3 Ultra Free",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@monotykamary/pi-opencode-provider",
3
- "version": "1.0.7",
3
+ "version": "1.0.8",
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",
package/patch.json CHANGED
@@ -185,6 +185,13 @@
185
185
  "maxTokensField": "max_tokens"
186
186
  }
187
187
  },
188
+ "longcat-2.0-free": {
189
+ "compat": {
190
+ "supportsStore": false,
191
+ "supportsDeveloperRole": false,
192
+ "maxTokensField": "max_tokens"
193
+ }
194
+ },
188
195
  "glm-5.2": {
189
196
  "thinkingLevelMap": {
190
197
  "off": null,
@@ -416,12 +423,6 @@
416
423
  }
417
424
  },
418
425
  "gpt-5.6-luna": {
419
- "cost": {
420
- "input": 1,
421
- "output": 6,
422
- "cacheRead": 0.1,
423
- "cacheWrite": 1.25
424
- },
425
426
  "thinkingLevelMap": {
426
427
  "off": null,
427
428
  "minimal": null,
@@ -517,6 +518,7 @@
517
518
  }
518
519
  },
519
520
  "grok-build-0.1": {
521
+ "api": "openai-completions",
520
522
  "thinkingLevelMap": {
521
523
  "off": null,
522
524
  "minimal": null,