pi-wafer-provider 1.1.21 → 1.1.23

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,10 +77,12 @@ pi
77
77
  | Model | Type | Context | Max Output | Input Cost | Output Cost | Cached Input |
78
78
  |-------|------|---------|------------|------------|-------------|--------------|
79
79
  | DeepSeek-V4-Flash-0731-Fast | Text | 1M | 1M | $0.10 | $0.25 | $0.05 |
80
- | DeepSeek-V4.1-Flash | Text + Image | 1M | 1M | $0.30 | $1.20 | $0.01 |
80
+ | DeepSeek-V4-Pro | Text | 1M | 1M | $0.98 | $2.90 | $0.03 |
81
+ | DeepSeek-V4.1-Flash | Text + Image | 1M | 1M | $0.20 | $0.60 | $0.01 |
82
+ | GLM-5.2 | Text | 1M | 1M | $1.40 | $4.40 | $0.26 |
81
83
  | GLM-5.3 | Text | 1M | 1M | $1.19 | $4.40 | $0.26 |
82
84
  | GLM-5.3-Flash | Text + Image | 1M | 1M | $0.10 | $0.35 | $0.02 |
83
- | Kimi-K3 | Text + Image | 1M | 16K | $3.00 | $12.75 | $0.30 |
85
+ | Kimi-K3 | Text + Image | 1M | 16K | $2.10 | $10.95 | $0.21 |
84
86
 
85
87
  *Costs are per million tokens. Prices based on official provider pricing.*
86
88
 
@@ -1,28 +1,4 @@
1
1
  {
2
- "GLM-5.2": {
3
- "id": "GLM-5.2",
4
- "name": "GLM-5.2",
5
- "reasoning": false,
6
- "input": [
7
- "text"
8
- ],
9
- "cost": {
10
- "input": 0,
11
- "output": 0,
12
- "cacheRead": 0,
13
- "cacheWrite": 0
14
- },
15
- "contextWindow": 1048576,
16
- "maxTokens": 16384,
17
- "compat": {
18
- "maxTokensField": "max_completion_tokens",
19
- "supportsDeveloperRole": false,
20
- "supportsStore": false,
21
- "supportsZdr": true,
22
- "supportsReasoningEffort": true
23
- },
24
- "deprecatedAt": "2026-09-07T02:00:27.566Z"
25
- },
26
2
  "Kimi-K2.6": {
27
3
  "id": "Kimi-K2.6",
28
4
  "name": "Kimi-K2.6",
package/models.json CHANGED
@@ -22,6 +22,29 @@
22
22
  "supportsReasoningEffort": true
23
23
  }
24
24
  },
25
+ {
26
+ "id": "DeepSeek-V4-Pro",
27
+ "name": "DeepSeek-V4-Pro",
28
+ "reasoning": true,
29
+ "input": [
30
+ "text"
31
+ ],
32
+ "cost": {
33
+ "input": 0.98,
34
+ "output": 2.9,
35
+ "cacheRead": 0.03,
36
+ "cacheWrite": 0
37
+ },
38
+ "contextWindow": 1048576,
39
+ "maxTokens": 1048576,
40
+ "compat": {
41
+ "maxTokensField": "max_completion_tokens",
42
+ "supportsDeveloperRole": false,
43
+ "supportsStore": false,
44
+ "supportsZdr": true,
45
+ "supportsReasoningEffort": true
46
+ }
47
+ },
25
48
  {
26
49
  "id": "DeepSeek-V4.1-Flash",
27
50
  "name": "DeepSeek-V4.1-Flash",
@@ -31,8 +54,8 @@
31
54
  "image"
32
55
  ],
33
56
  "cost": {
34
- "input": 0.3,
35
- "output": 1.2,
57
+ "input": 0.2,
58
+ "output": 0.6,
36
59
  "cacheRead": 0.01,
37
60
  "cacheWrite": 0
38
61
  },
@@ -46,6 +69,29 @@
46
69
  "supportsReasoningEffort": true
47
70
  }
48
71
  },
72
+ {
73
+ "id": "GLM-5.2",
74
+ "name": "GLM-5.2",
75
+ "reasoning": true,
76
+ "input": [
77
+ "text"
78
+ ],
79
+ "cost": {
80
+ "input": 1.4,
81
+ "output": 4.4,
82
+ "cacheRead": 0.26,
83
+ "cacheWrite": 0
84
+ },
85
+ "contextWindow": 1048576,
86
+ "maxTokens": 1048576,
87
+ "compat": {
88
+ "maxTokensField": "max_completion_tokens",
89
+ "supportsDeveloperRole": false,
90
+ "supportsStore": false,
91
+ "supportsZdr": true,
92
+ "supportsReasoningEffort": true
93
+ }
94
+ },
49
95
  {
50
96
  "id": "GLM-5.3",
51
97
  "name": "GLM-5.3",
@@ -102,9 +148,9 @@
102
148
  "image"
103
149
  ],
104
150
  "cost": {
105
- "input": 3,
106
- "output": 12.75,
107
- "cacheRead": 0.3,
151
+ "input": 2.1,
152
+ "output": 10.95,
153
+ "cacheRead": 0.21,
108
154
  "cacheWrite": 0
109
155
  },
110
156
  "contextWindow": 1048576,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-wafer-provider",
3
- "version": "1.1.21",
3
+ "version": "1.1.23",
4
4
  "description": "Wafer Serverless provider extension for pi - Access Qwen3.5-397B-A17B, GLM-5.1, Kimi K2.6, and DeepSeek-V4 through the Wafer Serverless API",
5
5
  "type": "module",
6
6
  "main": "index.ts",