pi-parasail-provider 1.0.7 → 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 +11 -14
- package/package.json +12 -9
- package/.github/FUNDING.yml +0 -4
- package/.pi/autoresearch/session-id +0 -1
- package/AGENTS.md +0 -57
- package/custom-models.json +0 -1
- package/deprecated-models.json +0 -1
- package/models.json +0 -948
- package/patch.json +0 -443
- package/scripts/update-models.js +0 -408
package/README.md
CHANGED
|
@@ -74,46 +74,43 @@ Get your API key at [parasail.io](https://parasail.io/).
|
|
|
74
74
|
| DeepSeek V4 Flash | 1M | ✅ | Text | 384K | $0.14 | $0.28 | $0.07 |
|
|
75
75
|
| Deepseek V4 Flash 0731 | 1M | ✅ | Text | 16K | $0.14 | $0.28 | $0.07 |
|
|
76
76
|
| DeepSeek V4 Pro | 1M | ✅ | Text | 384K | $1.74 | $3.48 | $0.10 |
|
|
77
|
+
| Deepseek V4 Pro 0813 | 1M | ❌ | Text | 16K | $1.32 | $3.96 | $0.04 |
|
|
77
78
|
| Gemma 3 27B | 131K | ❌ | Text + Image | 16K | $0.08 | $0.45 | $0.04 |
|
|
78
79
|
| Gemma 4 26B (A4B) | 262K | ✅ | Text + Image | 16K | $0.13 | $0.40 | $0.05 |
|
|
79
80
|
| Gemma 4 31B | 262K | ✅ | Text + Image | 16K | $0.15 | $0.40 | $0.06 |
|
|
80
|
-
| GLM 5 | 203K | ✅ | Text | 16K | $1.00 | $3.20 | $0.20 |
|
|
81
81
|
| GLM 5.1 | 203K | ✅ | Text | 16K | $1.40 | $4.40 | $0.26 |
|
|
82
82
|
| Glm 52 | 262K | ✅ | Text | 16K | $1.40 | $4.40 | $0.26 |
|
|
83
|
-
| Googlegemma 3 4b It | 131K | ❌ | Text | 16K | $0.05 |
|
|
84
|
-
| Gpt Oss 120b Fast | 131K | ✅ | Text | 16K | $0.15 | $0.60 |
|
|
83
|
+
| Googlegemma 3 4b It | 131K | ❌ | Text | 16K | $0.05 | — | — |
|
|
84
|
+
| Gpt Oss 120b Fast | 131K | ✅ | Text | 16K | $0.15 | $0.60 | — |
|
|
85
85
|
| GPT-OSS 120B | 131K | ✅ | Text | 16K | $0.10 | $0.75 | $0.06 |
|
|
86
86
|
| GPT-OSS 20B | 131K | ✅ | Text | 16K | $0.03 | $0.15 | $0.02 |
|
|
87
87
|
| Kimi K2.6 | 262K | ✅ | Text + Image | 16K | $0.75 | $3.50 | $0.16 |
|
|
88
88
|
| Kimi K27 Code | 262K | ✅ | Text + Image | 16K | $0.76 | $3.50 | $0.16 |
|
|
89
89
|
| Kimi K3 | 1M | ✅ | Text + Image | 16K | $3.00 | $15.00 | $0.30 |
|
|
90
|
-
| Kimi K3 Fast | 1M | ✅ | Text + Image | 16K | $3.00 | $15.00 | $0.30 |
|
|
91
90
|
| Llama 3.3 70B | 131K | ❌ | Text | 16K | $0.22 | $0.50 | $0.11 |
|
|
92
|
-
| Llama 32 3b Instruct | 131K | ❌ | Text | 16K | $0.05 | $0.33 |
|
|
91
|
+
| Llama 32 3b Instruct | 131K | ❌ | Text | 16K | $0.05 | $0.33 | — |
|
|
93
92
|
| Llama 4 Maverick 17B-128E | 524K | ❌ | Text + Image | 16K | $0.35 | $1.00 | $0.17 |
|
|
94
93
|
| Mimo V25 | 1M | ✅ | Text | 16K | $0.14 | $0.28 | $0.05 |
|
|
95
|
-
| MiniMax M2.5 | 197K | ✅ | Text | 16K | $0.30 | $1.20 | $0.03 |
|
|
96
94
|
| Minimax M3 | 1M | ✅ | Text + Image | 16K | $0.30 | $1.20 | $0.06 |
|
|
97
95
|
| Mistral Small 32 24b | 131K | ❌ | Text | 16K | $0.09 | $0.30 | $0.05 |
|
|
98
|
-
| Mistralaimistral Nemo | 131K | ❌ | Text | 16K | $0.03 | $0.03 |
|
|
99
|
-
|
|
|
96
|
+
| Mistralaimistral Nemo | 131K | ❌ | Text | 16K | $0.03 | $0.03 | — |
|
|
97
|
+
| Muse Glimmer 30b | 131K | ❌ | Text | 16K | $0.30 | $1.10 | — |
|
|
98
|
+
| Mythomax 13b | 4K | ❌ | Text | 16K | $0.08 | $0.11 | — |
|
|
100
99
|
| Qwen 3.5 35B (A3B) | 262K | ✅ | Text + Image | 33K | $0.15 | $1.00 | $0.05 |
|
|
101
100
|
| Qwen 3.5 397B (A17B) | 262K | ✅ | Text + Image | 33K | $0.50 | $3.60 | $0.30 |
|
|
102
101
|
| Qwen 3.6 35B (A3B) | 262K | ✅ | Text + Image | 33K | $0.15 | $1.00 | $0.05 |
|
|
103
102
|
| Qwen2.5-VL 72B | 128K | ❌ | Text + Image | 8K | $0.80 | $1.00 | $0.40 |
|
|
104
103
|
| Qwen3 235B (A22B) | 131K | ✅ | Text | 33K | $0.14 | $0.80 | $0.05 |
|
|
105
104
|
| Qwen3 Coder Next | 262K | ✅ | Text | 33K | $0.12 | $0.80 | $0.07 |
|
|
106
|
-
| Qwen3 Embedding 4b | 41K | ❌ | Text | 16K | $0.02 | Free | Free |
|
|
107
|
-
| Qwen3 Embedding 8b | 41K | ❌ | Text | 16K | $0.03 | Free | Free |
|
|
108
105
|
| Qwen3 Next 80B (A3B) | 262K | ✅ | Text | 33K | $0.10 | $1.10 | $0.07 |
|
|
109
106
|
| Qwen3-VL 235B (A22B) | 131K | ✅ | Text + Image | 33K | $0.21 | $1.90 | $0.10 |
|
|
110
107
|
| Qwen3-VL 8B | 262K | ✅ | Text + Image | 8K | $0.25 | $0.75 | $0.12 |
|
|
111
|
-
| Qwen35 9b | 262K | ❌ | Text | 16K | $0.10 | $0.25 |
|
|
112
|
-
| Rocinante 12b | 66K | ❌ | Text | 16K | $0.25 | $0.50 |
|
|
113
|
-
| Sao10kl3 Lunaris 8b | 8K | ❌ | Text | 16K | $0.04 | $0.05 |
|
|
108
|
+
| Qwen35 9b | 262K | ❌ | Text | 16K | $0.10 | $0.25 | — |
|
|
109
|
+
| Rocinante 12b | 66K | ❌ | Text | 16K | $0.25 | $0.50 | — |
|
|
110
|
+
| Sao10kl3 Lunaris 8b | 8K | ❌ | Text | 16K | $0.04 | $0.05 | — |
|
|
114
111
|
| Skyfall 36b V2 Fp8 | 33K | ❌ | Text | 16K | $0.55 | $0.80 | $0.25 |
|
|
115
112
|
| Trinity Large Thinking | 262K | ✅ | Text | 16K | $0.22 | $0.85 | $0.06 |
|
|
116
|
-
| Unslopnemo 12b | 1M | ❌ | Text | 16K | $0.40 | $0.40 |
|
|
113
|
+
| Unslopnemo 12b | 1M | ❌ | Text | 16K | $0.40 | $0.40 | — |
|
|
117
114
|
|
|
118
115
|
*Pricing fetched live from [Parasail's pricing API](https://www.saas.parasail.io/api/v1/prices/serverlessEndpoints). Prices are per million tokens and subject to change.*
|
|
119
116
|
|
package/package.json
CHANGED
|
@@ -1,16 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "pi-parasail-provider",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"packageManager": "pnpm@11.18.0",
|
|
3
|
+
"version": "1.0.9",
|
|
5
4
|
"description": "Parasail provider extension for pi - Access top open-source models (DeepSeek, Qwen, GLM, Kimi, Llama, Gemma, Mistral) through the Parasail API",
|
|
6
5
|
"type": "module",
|
|
7
6
|
"main": "index.ts",
|
|
8
|
-
"scripts": {
|
|
9
|
-
"clean": "echo 'nothing to clean'",
|
|
10
|
-
"build": "echo 'nothing to build'",
|
|
11
|
-
"check": "echo 'nothing to check'",
|
|
12
|
-
"update-models": "node scripts/update-models.js"
|
|
13
|
-
},
|
|
14
7
|
"keywords": [
|
|
15
8
|
"pi",
|
|
16
9
|
"extension",
|
|
@@ -32,5 +25,15 @@
|
|
|
32
25
|
"extensions": [
|
|
33
26
|
"./index.ts"
|
|
34
27
|
]
|
|
28
|
+
},
|
|
29
|
+
"files": [
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"clean": "echo 'nothing to clean'",
|
|
35
|
+
"build": "echo 'nothing to build'",
|
|
36
|
+
"check": "echo 'nothing to check'",
|
|
37
|
+
"update-models": "node scripts/update-models.js"
|
|
35
38
|
}
|
|
36
|
-
}
|
|
39
|
+
}
|
package/.github/FUNDING.yml
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
019dea0e-d06e-72dc-b8b1-e2c14288bed8
|
package/AGENTS.md
DELETED
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
# AGENTS.md
|
|
2
|
-
|
|
3
|
-
## DO NOT EDIT — Auto-generated Files
|
|
4
|
-
|
|
5
|
-
The following files are **idempotent** and regenerated by `scripts/update-models.js`. Never edit them directly — your changes will be overwritten on the next model sync.
|
|
6
|
-
|
|
7
|
-
| File | Why it's auto-generated |
|
|
8
|
-
|------|------------------------|
|
|
9
|
-
| `models.json` | Built from the provider API. `update-models.js` fetches models, preserves curated data for known IDs, and writes this file. |
|
|
10
|
-
| `deprecated-models.json` | Graveyard for models the API delisted. update-models.js stamps them with deprecatedAt and pi keeps serving them for a 2-week grace period, then evicts them. Never edit by hand. |
|
|
11
|
-
| `README.md` (model table) | The table under `## Available Models` is replaced in-place by `update-models.js` after merging base models → patch → custom models. |
|
|
12
|
-
|
|
13
|
-
## Correct Files to Edit
|
|
14
|
-
|
|
15
|
-
When a model needs overrides, new properties, or corrections, edit the appropriate source file below. These are the **source of truth** that the update script reads but never writes.
|
|
16
|
-
|
|
17
|
-
| File | Purpose |
|
|
18
|
-
|------|---------|
|
|
19
|
-
| `patch.json` | Per-model overrides keyed by model ID. Add reasoning flags, compat settings, pricing corrections, thinking level maps, etc. Applied on top of `models.json` at runtime and for README generation. |
|
|
20
|
-
| `custom-models.json` | Models that don't exist in the provider API (hidden models, router endpoints, cross-provider aliases). Merged after patch. Format: array of full model objects (same schema as `models.json` entries). |
|
|
21
|
-
| `index.ts` | Provider extension code. |
|
|
22
|
-
| `scripts/update-models.js` | The sync script itself (edit only if changing how models are fetched/transformed). |
|
|
23
|
-
|
|
24
|
-
## Data Flow
|
|
25
|
-
|
|
26
|
-
```
|
|
27
|
-
Provider API ──fetch──► models.json ──apply──► patch.json ──merge──► custom-models.json
|
|
28
|
-
│ │ │
|
|
29
|
-
└────────────────────────────┴──────────────────────┘
|
|
30
|
-
│
|
|
31
|
-
README model table
|
|
32
|
-
```
|
|
33
|
-
|
|
34
|
-
1. `models.json` — base data from the provider API (auto-generated, DO NOT EDIT)
|
|
35
|
-
2. `patch.json` — overrides applied on top (EDIT THIS for corrections/enrichments)
|
|
36
|
-
3. `custom-models.json` — additional models not in the API (EDIT THIS for new models)
|
|
37
|
-
4. README table — rendered from the merged result of all three (auto-generated, DO NOT EDIT)
|
|
38
|
-
|
|
39
|
-
## Common Tasks
|
|
40
|
-
|
|
41
|
-
### Add a compat setting or override pricing for an existing model
|
|
42
|
-
→ Edit `patch.json`. Add an entry keyed by the model's `id`.
|
|
43
|
-
|
|
44
|
-
### Add a model not available in the provider API
|
|
45
|
-
→ Edit `custom-models.json`. Add a full model object to the array.
|
|
46
|
-
|
|
47
|
-
### Update models from the provider API
|
|
48
|
-
→ Run `node scripts/update-models.js` (may require an API key env var).
|
|
49
|
-
|
|
50
|
-
### Regenerate the README model table
|
|
51
|
-
→ Run `node scripts/update-models.js` — it updates both `models.json` and the README table.
|
|
52
|
-
|
|
53
|
-
## TL;DR
|
|
54
|
-
|
|
55
|
-
- **Never edit `models.json`** — edit `patch.json` instead.
|
|
56
|
-
- **Never edit the README model table** — run the update script instead.
|
|
57
|
-
- `patch.json` and `custom-models.json` are the source files you should modify.
|
package/custom-models.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
[]
|
package/deprecated-models.json
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|