@monotykamary/pi-opencode-provider 1.0.15 → 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 -1
- package/models.json +84 -0
- 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 |
|
|
@@ -133,6 +135,7 @@ pi
|
|
|
133
135
|
| MiniMax-M3 | Completions | Text + Image | 512K | 128K | $0.30 | $1.20 |
|
|
134
136
|
| Muse Spark 1.2 | Responses | Text + Image | 1.0M | 131K | $1.25 | $4.25 |
|
|
135
137
|
| Muse Spark 1.2 Free | Responses | Text + Image | 1.0M | 131K | — | — |
|
|
138
|
+
| Muse Spark 1.3 Free | Responses | Text + Image | 1.0M | 131K | — | — |
|
|
136
139
|
| Nemotron 3 Ultra Free | Completions | Text | 1.0M | 128K | — | — |
|
|
137
140
|
| Nemotron 3.5 Lightning Free | Completions | Text | 262K | 262K | — | — |
|
|
138
141
|
| Qwen3.5 Plus | Anthropic | Text + Image | 262K | 66K | $0.20 | $1.20 |
|
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",
|
|
@@ -1039,6 +1067,34 @@
|
|
|
1039
1067
|
"contextWindow": 1000000,
|
|
1040
1068
|
"maxTokens": 131072
|
|
1041
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
|
+
},
|
|
1042
1098
|
{
|
|
1043
1099
|
"id": "mimo-v2.5-free",
|
|
1044
1100
|
"name": "MiMo V2.5 Free",
|
|
@@ -1253,6 +1309,34 @@
|
|
|
1253
1309
|
"contextWindow": 204800,
|
|
1254
1310
|
"maxTokens": 131072
|
|
1255
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
|
+
},
|
|
1256
1340
|
{
|
|
1257
1341
|
"id": "big-pickle",
|
|
1258
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",
|