pi-baseten-provider 1.0.20 → 1.0.22

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.
@@ -1 +1,144 @@
1
- {}
1
+ {
2
+ "deepseek-ai/DeepSeek-V4-Pro": {
3
+ "id": "deepseek-ai/DeepSeek-V4-Pro",
4
+ "name": "Deepseek V4 Pro",
5
+ "reasoning": true,
6
+ "input": [
7
+ "text"
8
+ ],
9
+ "cost": {
10
+ "input": 1.74,
11
+ "output": 3.48,
12
+ "cacheRead": 0.145,
13
+ "cacheWrite": 0
14
+ },
15
+ "contextWindow": 1048576,
16
+ "maxTokens": 262144,
17
+ "compat": {
18
+ "supportsDeveloperRole": true,
19
+ "supportsStore": false,
20
+ "maxTokensField": "max_completion_tokens",
21
+ "thinkingFormat": "openai"
22
+ },
23
+ "deprecatedAt": "2026-09-28T00:00:12.718Z"
24
+ },
25
+ "zai-org/GLM-4.7": {
26
+ "id": "zai-org/GLM-4.7",
27
+ "name": "GLM 4.7",
28
+ "reasoning": false,
29
+ "input": [
30
+ "text"
31
+ ],
32
+ "cost": {
33
+ "input": 0.6,
34
+ "output": 2.2,
35
+ "cacheRead": 0.12,
36
+ "cacheWrite": 0
37
+ },
38
+ "contextWindow": 200000,
39
+ "maxTokens": 200000,
40
+ "compat": {
41
+ "supportsDeveloperRole": true,
42
+ "supportsStore": false,
43
+ "maxTokensField": "max_completion_tokens",
44
+ "thinkingFormat": "openai"
45
+ },
46
+ "deprecatedAt": "2026-09-28T00:00:12.718Z"
47
+ },
48
+ "thinkingmachines/inkling": {
49
+ "id": "thinkingmachines/inkling",
50
+ "name": "Inkling",
51
+ "reasoning": true,
52
+ "input": [
53
+ "text",
54
+ "image"
55
+ ],
56
+ "cost": {
57
+ "input": 1,
58
+ "output": 4.05,
59
+ "cacheRead": 0.17,
60
+ "cacheWrite": 0
61
+ },
62
+ "contextWindow": 1048576,
63
+ "maxTokens": 32768,
64
+ "compat": {
65
+ "supportsDeveloperRole": true,
66
+ "supportsStore": false,
67
+ "maxTokensField": "max_completion_tokens",
68
+ "thinkingFormat": "openai"
69
+ },
70
+ "deprecatedAt": "2026-09-28T00:00:12.718Z"
71
+ },
72
+ "thinkingmachines/inkling-small": {
73
+ "id": "thinkingmachines/inkling-small",
74
+ "name": "Inkling Small",
75
+ "reasoning": true,
76
+ "input": [
77
+ "text",
78
+ "image"
79
+ ],
80
+ "cost": {
81
+ "input": 0.5,
82
+ "output": 1.2,
83
+ "cacheRead": 0.1,
84
+ "cacheWrite": 0
85
+ },
86
+ "contextWindow": 1048576,
87
+ "maxTokens": 32768,
88
+ "compat": {
89
+ "supportsDeveloperRole": true,
90
+ "supportsStore": false,
91
+ "maxTokensField": "max_completion_tokens",
92
+ "thinkingFormat": "openai"
93
+ },
94
+ "deprecatedAt": "2026-09-28T00:00:12.718Z"
95
+ },
96
+ "moonshotai/Kimi-K2.6": {
97
+ "id": "moonshotai/Kimi-K2.6",
98
+ "name": "Kimi K2.6",
99
+ "reasoning": true,
100
+ "input": [
101
+ "text",
102
+ "image"
103
+ ],
104
+ "cost": {
105
+ "input": 0.95,
106
+ "output": 4,
107
+ "cacheRead": 0.16,
108
+ "cacheWrite": 0
109
+ },
110
+ "contextWindow": 262000,
111
+ "maxTokens": 262000,
112
+ "compat": {
113
+ "supportsDeveloperRole": true,
114
+ "supportsStore": false,
115
+ "maxTokensField": "max_completion_tokens",
116
+ "thinkingFormat": "qwen-chat-template"
117
+ },
118
+ "deprecatedAt": "2026-09-28T00:00:12.718Z"
119
+ },
120
+ "moonshotai/Kimi-K2.7-Code": {
121
+ "id": "moonshotai/Kimi-K2.7-Code",
122
+ "name": "Kimi K2.7 Code",
123
+ "reasoning": true,
124
+ "input": [
125
+ "text",
126
+ "image"
127
+ ],
128
+ "cost": {
129
+ "input": 0.95,
130
+ "output": 4,
131
+ "cacheRead": 0.16,
132
+ "cacheWrite": 0
133
+ },
134
+ "contextWindow": 262000,
135
+ "maxTokens": 262000,
136
+ "compat": {
137
+ "supportsDeveloperRole": true,
138
+ "supportsStore": false,
139
+ "maxTokensField": "max_completion_tokens",
140
+ "thinkingFormat": "openai"
141
+ },
142
+ "deprecatedAt": "2026-09-28T00:00:12.718Z"
143
+ }
144
+ }
package/models.json CHANGED
@@ -21,28 +21,6 @@
21
21
  "thinkingFormat": "openai"
22
22
  }
23
23
  },
24
- {
25
- "id": "deepseek-ai/DeepSeek-V4-Pro",
26
- "name": "Deepseek V4 Pro",
27
- "reasoning": true,
28
- "input": [
29
- "text"
30
- ],
31
- "cost": {
32
- "input": 1.74,
33
- "output": 3.48,
34
- "cacheRead": 0.145,
35
- "cacheWrite": 0
36
- },
37
- "contextWindow": 1048576,
38
- "maxTokens": 262144,
39
- "compat": {
40
- "supportsDeveloperRole": true,
41
- "supportsStore": false,
42
- "maxTokensField": "max_completion_tokens",
43
- "thinkingFormat": "openai"
44
- }
45
- },
46
24
  {
47
25
  "id": "deepseek-ai/DeepSeek-V4-Pro-0813",
48
26
  "name": "Deepseek V4 Pro 0813",
@@ -88,28 +66,6 @@
88
66
  "thinkingFormat": "openai"
89
67
  }
90
68
  },
91
- {
92
- "id": "zai-org/GLM-4.7",
93
- "name": "GLM 4.7",
94
- "reasoning": false,
95
- "input": [
96
- "text"
97
- ],
98
- "cost": {
99
- "input": 0.6,
100
- "output": 2.2,
101
- "cacheRead": 0.12,
102
- "cacheWrite": 0
103
- },
104
- "contextWindow": 200000,
105
- "maxTokens": 200000,
106
- "compat": {
107
- "supportsDeveloperRole": true,
108
- "supportsStore": false,
109
- "maxTokensField": "max_completion_tokens",
110
- "thinkingFormat": "openai"
111
- }
112
- },
113
69
  {
114
70
  "id": "zai-org/GLM-5.2",
115
71
  "name": "GLM 5.2",
@@ -225,98 +181,6 @@
225
181
  "thinkingFormat": "openai"
226
182
  }
227
183
  },
228
- {
229
- "id": "thinkingmachines/inkling",
230
- "name": "Inkling",
231
- "reasoning": true,
232
- "input": [
233
- "text",
234
- "image"
235
- ],
236
- "cost": {
237
- "input": 1,
238
- "output": 4.05,
239
- "cacheRead": 0.17,
240
- "cacheWrite": 0
241
- },
242
- "contextWindow": 1048576,
243
- "maxTokens": 32768,
244
- "compat": {
245
- "supportsDeveloperRole": true,
246
- "supportsStore": false,
247
- "maxTokensField": "max_completion_tokens",
248
- "thinkingFormat": "openai"
249
- }
250
- },
251
- {
252
- "id": "thinkingmachines/inkling-small",
253
- "name": "Inkling Small",
254
- "reasoning": true,
255
- "input": [
256
- "text",
257
- "image"
258
- ],
259
- "cost": {
260
- "input": 0.5,
261
- "output": 1.2,
262
- "cacheRead": 0.1,
263
- "cacheWrite": 0
264
- },
265
- "contextWindow": 1048576,
266
- "maxTokens": 32768,
267
- "compat": {
268
- "supportsDeveloperRole": true,
269
- "supportsStore": false,
270
- "maxTokensField": "max_completion_tokens",
271
- "thinkingFormat": "openai"
272
- }
273
- },
274
- {
275
- "id": "moonshotai/Kimi-K2.6",
276
- "name": "Kimi K2.6",
277
- "reasoning": true,
278
- "input": [
279
- "text",
280
- "image"
281
- ],
282
- "cost": {
283
- "input": 0.95,
284
- "output": 4,
285
- "cacheRead": 0.16,
286
- "cacheWrite": 0
287
- },
288
- "contextWindow": 262000,
289
- "maxTokens": 262000,
290
- "compat": {
291
- "supportsDeveloperRole": true,
292
- "supportsStore": false,
293
- "maxTokensField": "max_completion_tokens",
294
- "thinkingFormat": "qwen-chat-template"
295
- }
296
- },
297
- {
298
- "id": "moonshotai/Kimi-K2.7-Code",
299
- "name": "Kimi K2.7 Code",
300
- "reasoning": true,
301
- "input": [
302
- "text",
303
- "image"
304
- ],
305
- "cost": {
306
- "input": 0.95,
307
- "output": 4,
308
- "cacheRead": 0.16,
309
- "cacheWrite": 0
310
- },
311
- "contextWindow": 262000,
312
- "maxTokens": 262000,
313
- "compat": {
314
- "supportsDeveloperRole": true,
315
- "supportsStore": false,
316
- "maxTokensField": "max_completion_tokens",
317
- "thinkingFormat": "openai"
318
- }
319
- },
320
184
  {
321
185
  "id": "moonshotai/Kimi-K3",
322
186
  "name": "Kimi K3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-baseten-provider",
3
- "version": "1.0.20",
3
+ "version": "1.0.22",
4
4
  "description": "Baseten provider extension for pi - Access DeepSeek, Kimi, GLM, MiniMax, Nemotron, and GPT-OSS models through the Baseten Model API",
5
5
  "author": "monotykamary",
6
6
  "homepage": "https://github.com/monotykamary/pi-baseten-provider#readme",
@@ -13,6 +13,14 @@
13
13
  },
14
14
  "type": "module",
15
15
  "main": "index.ts",
16
+ "scripts": {
17
+ "clean": "echo 'nothing to clean'",
18
+ "build": "echo 'nothing to build'",
19
+ "check": "tsc --noEmit && node scripts/test-pi-compat.mjs",
20
+ "update-models": "node scripts/update-models.js",
21
+ "test:pi": "node scripts/test-pi-compat.mjs",
22
+ "typecheck": "tsc --noEmit"
23
+ },
16
24
  "keywords": [
17
25
  "pi",
18
26
  "extension",
@@ -43,12 +51,11 @@
43
51
  ]
44
52
  },
45
53
  "devDependencies": {
46
- "@earendil-works/pi-coding-agent": "0.87.0"
54
+ "@earendil-works/pi-coding-agent": "0.99.0",
55
+ "typescript": "6.0.3",
56
+ "@types/node": "^25.9.1"
47
57
  },
48
- "scripts": {
49
- "clean": "echo 'nothing to clean'",
50
- "build": "echo 'nothing to build'",
51
- "check": "echo 'nothing to check'",
52
- "update-models": "node scripts/update-models.js"
58
+ "peerDependencies": {
59
+ "@earendil-works/pi-coding-agent": "*"
53
60
  }
54
- }
61
+ }