@monotykamary/pi-opencode-provider 1.0.14 → 1.0.16
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 +4 -2
- package/deprecated-models.json +28 -0
- package/models.json +84 -27
- package/package.json +1 -1
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
|
-
- **
|
|
18
|
+
- **66+ 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
|
|
@@ -76,6 +76,7 @@ pi
|
|
|
76
76
|
|-------|-----|------|---------|------------|------------|-------------|
|
|
77
77
|
| Big Pickle | Completions | Text | 200K | 32K | — | — |
|
|
78
78
|
| Claude Fable 5 | Anthropic | Text + Image | 1.0M | 128K | $10.00 | $50.00 |
|
|
79
|
+
| Claude Fable 5.1 | Anthropic | Text + Image | 1.0M | 128K | $10.00 | $50.00 |
|
|
79
80
|
| Claude Haiku 4.5 | Anthropic | Text + Image | 200K | 64K | $1.00 | $5.00 |
|
|
80
81
|
| Claude Opus 4.5 | Anthropic | Text + Image | 200K | 64K | $5.00 | $25.00 |
|
|
81
82
|
| Claude Opus 4.6 | Anthropic | Text + Image | 1.0M | 128K | $5.00 | $25.00 |
|
|
@@ -95,6 +96,7 @@ pi
|
|
|
95
96
|
| Gemini 3.5 Flash Lite | Gemini | Text + Image | 1.0M | 66K | $0.30 | $2.50 |
|
|
96
97
|
| Gemini 3.6 Flash | Gemini | Text + Image | 1.0M | 66K | $1.50 | $7.50 |
|
|
97
98
|
| Gemini 3.7 Flash | Gemini | Text + Image | 1.0M | 66K | $1.50 | $7.50 |
|
|
99
|
+
| Gemini 3.8 Flash | Gemini | Text + Image | 1.0M | 66K | $1.50 | $7.50 |
|
|
98
100
|
| GLM-5 | Completions | Text | 205K | 131K | $1.00 | $3.20 |
|
|
99
101
|
| GLM-5.1 | Completions | Text | 205K | 131K | $1.40 | $4.40 |
|
|
100
102
|
| GLM-5.2 | Completions | Text | 1.0M | 131K | $1.40 | $4.40 |
|
|
@@ -122,7 +124,6 @@ pi
|
|
|
122
124
|
| Grok 4.6 | Responses | Text + Image | 500K | 500K | $2.00 | $6.00 |
|
|
123
125
|
| Grok Build 0.1 | Completions | Text + Image | 256K | 256K | $1.00 | $2.00 |
|
|
124
126
|
| Grok Code | Completions | Text + Image | 256K | 256K | $1.00 | $2.00 |
|
|
125
|
-
| Hy3 Free | Completions | Text | 190K | 64K | — | — |
|
|
126
127
|
| Kimi K2.5 | Completions | Text + Image | 262K | 66K | $0.60 | $3.00 |
|
|
127
128
|
| Kimi K2.6 | Completions | Text + Image | 262K | 66K | $0.95 | $4.00 |
|
|
128
129
|
| Kimi K2.7 Code | Completions | Text + Image | 262K | 262K | $0.95 | $4.00 |
|
|
@@ -134,6 +135,7 @@ pi
|
|
|
134
135
|
| MiniMax-M3 | Completions | Text + Image | 512K | 128K | $0.30 | $1.20 |
|
|
135
136
|
| Muse Spark 1.2 | Responses | Text + Image | 1.0M | 131K | $1.25 | $4.25 |
|
|
136
137
|
| Muse Spark 1.2 Free | Responses | Text + Image | 1.0M | 131K | — | — |
|
|
138
|
+
| Muse Spark 1.3 Free | Responses | Text + Image | 1.0M | 131K | — | — |
|
|
137
139
|
| Nemotron 3 Ultra Free | Completions | Text | 1.0M | 128K | — | — |
|
|
138
140
|
| Nemotron 3.5 Lightning Free | Completions | Text | 262K | 262K | — | — |
|
|
139
141
|
| Qwen3.5 Plus | Anthropic | Text + Image | 262K | 66K | $0.20 | $1.20 |
|
package/deprecated-models.json
CHANGED
|
@@ -65,5 +65,33 @@
|
|
|
65
65
|
"contextWindow": 1000000,
|
|
66
66
|
"maxTokens": 131072,
|
|
67
67
|
"deprecatedAt": "2026-08-27T02:00:22.685Z"
|
|
68
|
+
},
|
|
69
|
+
"hy3-free": {
|
|
70
|
+
"id": "hy3-free",
|
|
71
|
+
"name": "Hy3 Free",
|
|
72
|
+
"api": "openai-completions",
|
|
73
|
+
"baseUrl": "https://opencode.ai/zen/v1",
|
|
74
|
+
"reasoning": true,
|
|
75
|
+
"thinkingLevelMap": {
|
|
76
|
+
"off": null,
|
|
77
|
+
"minimal": null,
|
|
78
|
+
"low": "low",
|
|
79
|
+
"medium": "medium",
|
|
80
|
+
"high": "high",
|
|
81
|
+
"xhigh": null,
|
|
82
|
+
"max": null
|
|
83
|
+
},
|
|
84
|
+
"input": [
|
|
85
|
+
"text"
|
|
86
|
+
],
|
|
87
|
+
"cost": {
|
|
88
|
+
"input": 0,
|
|
89
|
+
"output": 0,
|
|
90
|
+
"cacheRead": 0,
|
|
91
|
+
"cacheWrite": 0
|
|
92
|
+
},
|
|
93
|
+
"contextWindow": 190000,
|
|
94
|
+
"maxTokens": 64000,
|
|
95
|
+
"deprecatedAt": "2026-08-31T02:00:27.170Z"
|
|
68
96
|
}
|
|
69
97
|
}
|
package/models.json
CHANGED
|
@@ -315,6 +315,34 @@
|
|
|
315
315
|
"contextWindow": 500000,
|
|
316
316
|
"maxTokens": 500000
|
|
317
317
|
},
|
|
318
|
+
{
|
|
319
|
+
"id": "claude-fable-5-1",
|
|
320
|
+
"name": "Claude Fable 5.1",
|
|
321
|
+
"api": "anthropic-messages",
|
|
322
|
+
"baseUrl": "https://opencode.ai/zen",
|
|
323
|
+
"reasoning": true,
|
|
324
|
+
"thinkingLevelMap": {
|
|
325
|
+
"off": null,
|
|
326
|
+
"minimal": null,
|
|
327
|
+
"low": "low",
|
|
328
|
+
"medium": "medium",
|
|
329
|
+
"high": "high",
|
|
330
|
+
"xhigh": "xhigh",
|
|
331
|
+
"max": "max"
|
|
332
|
+
},
|
|
333
|
+
"input": [
|
|
334
|
+
"text",
|
|
335
|
+
"image"
|
|
336
|
+
],
|
|
337
|
+
"cost": {
|
|
338
|
+
"input": 10,
|
|
339
|
+
"output": 50,
|
|
340
|
+
"cacheRead": 0.25,
|
|
341
|
+
"cacheWrite": 12.5
|
|
342
|
+
},
|
|
343
|
+
"contextWindow": 1000000,
|
|
344
|
+
"maxTokens": 128000
|
|
345
|
+
},
|
|
318
346
|
{
|
|
319
347
|
"id": "gpt-5.4-pro",
|
|
320
348
|
"name": "GPT-5.4 Pro",
|
|
@@ -648,33 +676,6 @@
|
|
|
648
676
|
"contextWindow": 204800,
|
|
649
677
|
"maxTokens": 131072
|
|
650
678
|
},
|
|
651
|
-
{
|
|
652
|
-
"id": "hy3-free",
|
|
653
|
-
"name": "Hy3 Free",
|
|
654
|
-
"api": "openai-completions",
|
|
655
|
-
"baseUrl": "https://opencode.ai/zen/v1",
|
|
656
|
-
"reasoning": true,
|
|
657
|
-
"thinkingLevelMap": {
|
|
658
|
-
"off": null,
|
|
659
|
-
"minimal": null,
|
|
660
|
-
"low": "low",
|
|
661
|
-
"medium": "medium",
|
|
662
|
-
"high": "high",
|
|
663
|
-
"xhigh": null,
|
|
664
|
-
"max": null
|
|
665
|
-
},
|
|
666
|
-
"input": [
|
|
667
|
-
"text"
|
|
668
|
-
],
|
|
669
|
-
"cost": {
|
|
670
|
-
"input": 0,
|
|
671
|
-
"output": 0,
|
|
672
|
-
"cacheRead": 0,
|
|
673
|
-
"cacheWrite": 0
|
|
674
|
-
},
|
|
675
|
-
"contextWindow": 190000,
|
|
676
|
-
"maxTokens": 64000
|
|
677
|
-
},
|
|
678
679
|
{
|
|
679
680
|
"id": "gpt-5.3-codex",
|
|
680
681
|
"name": "GPT-5.3 Codex",
|
|
@@ -1066,6 +1067,34 @@
|
|
|
1066
1067
|
"contextWindow": 1000000,
|
|
1067
1068
|
"maxTokens": 131072
|
|
1068
1069
|
},
|
|
1070
|
+
{
|
|
1071
|
+
"id": "muse-spark-1.3-contributor-free",
|
|
1072
|
+
"name": "Muse Spark 1.3 Free",
|
|
1073
|
+
"api": "openai-responses",
|
|
1074
|
+
"baseUrl": "https://opencode.ai/zen/v1",
|
|
1075
|
+
"reasoning": true,
|
|
1076
|
+
"thinkingLevelMap": {
|
|
1077
|
+
"off": null,
|
|
1078
|
+
"minimal": "minimal",
|
|
1079
|
+
"low": "low",
|
|
1080
|
+
"medium": "medium",
|
|
1081
|
+
"high": "high",
|
|
1082
|
+
"xhigh": "xhigh",
|
|
1083
|
+
"max": null
|
|
1084
|
+
},
|
|
1085
|
+
"input": [
|
|
1086
|
+
"text",
|
|
1087
|
+
"image"
|
|
1088
|
+
],
|
|
1089
|
+
"cost": {
|
|
1090
|
+
"input": 0,
|
|
1091
|
+
"output": 0,
|
|
1092
|
+
"cacheRead": 0,
|
|
1093
|
+
"cacheWrite": 0
|
|
1094
|
+
},
|
|
1095
|
+
"contextWindow": 1048576,
|
|
1096
|
+
"maxTokens": 131072
|
|
1097
|
+
},
|
|
1069
1098
|
{
|
|
1070
1099
|
"id": "mimo-v2.5-free",
|
|
1071
1100
|
"name": "MiMo V2.5 Free",
|
|
@@ -1280,6 +1309,34 @@
|
|
|
1280
1309
|
"contextWindow": 204800,
|
|
1281
1310
|
"maxTokens": 131072
|
|
1282
1311
|
},
|
|
1312
|
+
{
|
|
1313
|
+
"id": "gemini-3.8-flash",
|
|
1314
|
+
"name": "Gemini 3.8 Flash",
|
|
1315
|
+
"api": "google-generative-ai",
|
|
1316
|
+
"baseUrl": "https://opencode.ai/zen/v1",
|
|
1317
|
+
"reasoning": true,
|
|
1318
|
+
"thinkingLevelMap": {
|
|
1319
|
+
"off": null,
|
|
1320
|
+
"minimal": null,
|
|
1321
|
+
"low": "low",
|
|
1322
|
+
"medium": "medium",
|
|
1323
|
+
"high": "high",
|
|
1324
|
+
"xhigh": null,
|
|
1325
|
+
"max": null
|
|
1326
|
+
},
|
|
1327
|
+
"input": [
|
|
1328
|
+
"text",
|
|
1329
|
+
"image"
|
|
1330
|
+
],
|
|
1331
|
+
"cost": {
|
|
1332
|
+
"input": 1.5,
|
|
1333
|
+
"output": 7.5,
|
|
1334
|
+
"cacheRead": 0.15,
|
|
1335
|
+
"cacheWrite": 0
|
|
1336
|
+
},
|
|
1337
|
+
"contextWindow": 1048576,
|
|
1338
|
+
"maxTokens": 65536
|
|
1339
|
+
},
|
|
1283
1340
|
{
|
|
1284
1341
|
"id": "big-pickle",
|
|
1285
1342
|
"name": "Big Pickle",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@monotykamary/pi-opencode-provider",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.16",
|
|
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",
|