@openclaw/deepinfra-provider 2026.7.2-beta.3 → 2026.7.2-beta.5
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/dist/api.js +3 -3
- package/dist/doctor-contract-api.js +84 -0
- package/dist/embedding-adapter.js +58 -0
- package/dist/embedding-provider.js +1 -1
- package/dist/image-generation-provider.js +2 -2
- package/dist/index.js +3 -3
- package/dist/media-models.js +2 -3
- package/dist/media-understanding-provider.js +1 -1
- package/dist/onboard.js +1 -1
- package/dist/openclaw.plugin-DhzOI6DT.js +200 -0
- package/dist/provider-catalog.js +1 -1
- package/dist/provider-models.js +286 -1
- package/dist/speech-provider.js +1 -1
- package/dist/surface-model-catalogs.js +2 -4
- package/dist/video-generation-provider.js +66 -50
- package/openclaw.plugin.json +123 -50
- package/package.json +4 -5
- package/dist/memory-embedding-adapter.js +0 -36
- package/dist/provider-models-CXaqRQOl.js +0 -409
- package/npm-shrinkwrap.json +0 -12
package/openclaw.plugin.json
CHANGED
|
@@ -6,9 +6,6 @@
|
|
|
6
6
|
"enabledByDefault": true,
|
|
7
7
|
"providers": ["deepinfra"],
|
|
8
8
|
"providerCatalogEntry": "./provider-discovery.ts",
|
|
9
|
-
"providerAuthEnvVars": {
|
|
10
|
-
"deepinfra": ["DEEPINFRA_API_KEY"]
|
|
11
|
-
},
|
|
12
9
|
"providerEndpoints": [
|
|
13
10
|
{
|
|
14
11
|
"endpointClass": "deepinfra-native",
|
|
@@ -45,9 +42,9 @@
|
|
|
45
42
|
"contextWindow": 1048576,
|
|
46
43
|
"maxTokens": 1048576,
|
|
47
44
|
"cost": {
|
|
48
|
-
"input": 0.
|
|
49
|
-
"output": 0.
|
|
50
|
-
"cacheRead": 0.
|
|
45
|
+
"input": 0.09,
|
|
46
|
+
"output": 0.18,
|
|
47
|
+
"cacheRead": 0.018,
|
|
51
48
|
"cacheWrite": 0
|
|
52
49
|
},
|
|
53
50
|
"compat": {
|
|
@@ -55,16 +52,16 @@
|
|
|
55
52
|
}
|
|
56
53
|
},
|
|
57
54
|
{
|
|
58
|
-
"id": "deepseek-ai/DeepSeek-
|
|
59
|
-
"name": "DeepSeek
|
|
60
|
-
"reasoning":
|
|
55
|
+
"id": "deepseek-ai/DeepSeek-V4-Pro",
|
|
56
|
+
"name": "DeepSeek V4 Pro",
|
|
57
|
+
"reasoning": true,
|
|
61
58
|
"input": ["text"],
|
|
62
|
-
"contextWindow":
|
|
63
|
-
"maxTokens":
|
|
59
|
+
"contextWindow": 1048576,
|
|
60
|
+
"maxTokens": 1048576,
|
|
64
61
|
"cost": {
|
|
65
|
-
"input":
|
|
66
|
-
"output":
|
|
67
|
-
"cacheRead": 0.
|
|
62
|
+
"input": 1.3,
|
|
63
|
+
"output": 2.6,
|
|
64
|
+
"cacheRead": 0.1,
|
|
68
65
|
"cacheWrite": 0
|
|
69
66
|
},
|
|
70
67
|
"compat": {
|
|
@@ -72,16 +69,16 @@
|
|
|
72
69
|
}
|
|
73
70
|
},
|
|
74
71
|
{
|
|
75
|
-
"id": "zai-org/GLM-5.
|
|
76
|
-
"name": "GLM-5.
|
|
72
|
+
"id": "zai-org/GLM-5.2",
|
|
73
|
+
"name": "GLM-5.2",
|
|
77
74
|
"reasoning": true,
|
|
78
75
|
"input": ["text"],
|
|
79
|
-
"contextWindow":
|
|
80
|
-
"maxTokens":
|
|
76
|
+
"contextWindow": 1048576,
|
|
77
|
+
"maxTokens": 1048576,
|
|
81
78
|
"cost": {
|
|
82
|
-
"input":
|
|
83
|
-
"output": 3
|
|
84
|
-
"cacheRead": 0.
|
|
79
|
+
"input": 0.93,
|
|
80
|
+
"output": 3,
|
|
81
|
+
"cacheRead": 0.18,
|
|
85
82
|
"cacheWrite": 0
|
|
86
83
|
},
|
|
87
84
|
"compat": {
|
|
@@ -89,16 +86,16 @@
|
|
|
89
86
|
}
|
|
90
87
|
},
|
|
91
88
|
{
|
|
92
|
-
"id": "stepfun-ai/Step-3.
|
|
93
|
-
"name": "Step 3.
|
|
94
|
-
"reasoning":
|
|
95
|
-
"input": ["text"],
|
|
89
|
+
"id": "stepfun-ai/Step-3.7-Flash",
|
|
90
|
+
"name": "Step 3.7 Flash",
|
|
91
|
+
"reasoning": true,
|
|
92
|
+
"input": ["text", "image"],
|
|
96
93
|
"contextWindow": 262144,
|
|
97
94
|
"maxTokens": 262144,
|
|
98
95
|
"cost": {
|
|
99
|
-
"input": 0.
|
|
100
|
-
"output":
|
|
101
|
-
"cacheRead": 0.
|
|
96
|
+
"input": 0.2,
|
|
97
|
+
"output": 1.15,
|
|
98
|
+
"cacheRead": 0.04,
|
|
102
99
|
"cacheWrite": 0
|
|
103
100
|
},
|
|
104
101
|
"compat": {
|
|
@@ -106,16 +103,16 @@
|
|
|
106
103
|
}
|
|
107
104
|
},
|
|
108
105
|
{
|
|
109
|
-
"id": "
|
|
110
|
-
"name": "
|
|
106
|
+
"id": "moonshotai/Kimi-K2.7-Code",
|
|
107
|
+
"name": "Kimi K2.7 Code",
|
|
111
108
|
"reasoning": true,
|
|
112
|
-
"input": ["text"],
|
|
113
|
-
"contextWindow":
|
|
114
|
-
"maxTokens":
|
|
109
|
+
"input": ["text", "image"],
|
|
110
|
+
"contextWindow": 262144,
|
|
111
|
+
"maxTokens": 262144,
|
|
115
112
|
"cost": {
|
|
116
|
-
"input": 0.
|
|
117
|
-
"output":
|
|
118
|
-
"cacheRead": 0.
|
|
113
|
+
"input": 0.74,
|
|
114
|
+
"output": 3.5,
|
|
115
|
+
"cacheRead": 0.15,
|
|
119
116
|
"cacheWrite": 0
|
|
120
117
|
},
|
|
121
118
|
"compat": {
|
|
@@ -123,16 +120,33 @@
|
|
|
123
120
|
}
|
|
124
121
|
},
|
|
125
122
|
{
|
|
126
|
-
"id": "moonshotai/Kimi-K2.
|
|
127
|
-
"name": "Kimi K2.
|
|
123
|
+
"id": "moonshotai/Kimi-K2.6",
|
|
124
|
+
"name": "Kimi K2.6",
|
|
128
125
|
"reasoning": true,
|
|
129
126
|
"input": ["text", "image"],
|
|
130
127
|
"contextWindow": 262144,
|
|
131
128
|
"maxTokens": 262144,
|
|
132
129
|
"cost": {
|
|
133
|
-
"input": 0.
|
|
134
|
-
"output":
|
|
135
|
-
"cacheRead": 0.
|
|
130
|
+
"input": 0.75,
|
|
131
|
+
"output": 3.5,
|
|
132
|
+
"cacheRead": 0.15,
|
|
133
|
+
"cacheWrite": 0
|
|
134
|
+
},
|
|
135
|
+
"compat": {
|
|
136
|
+
"supportsUsageInStreaming": true
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"id": "nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B",
|
|
141
|
+
"name": "NVIDIA Nemotron 3 Ultra 550B A55B",
|
|
142
|
+
"reasoning": true,
|
|
143
|
+
"input": ["text", "image"],
|
|
144
|
+
"contextWindow": 262144,
|
|
145
|
+
"maxTokens": 262144,
|
|
146
|
+
"cost": {
|
|
147
|
+
"input": 0.5,
|
|
148
|
+
"output": 2.2,
|
|
149
|
+
"cacheRead": 0.1,
|
|
136
150
|
"cacheWrite": 0
|
|
137
151
|
},
|
|
138
152
|
"compat": {
|
|
@@ -147,8 +161,8 @@
|
|
|
147
161
|
"contextWindow": 262144,
|
|
148
162
|
"maxTokens": 262144,
|
|
149
163
|
"cost": {
|
|
150
|
-
"input": 0.
|
|
151
|
-
"output": 0.
|
|
164
|
+
"input": 0.085,
|
|
165
|
+
"output": 0.4,
|
|
152
166
|
"cacheRead": 0,
|
|
153
167
|
"cacheWrite": 0
|
|
154
168
|
},
|
|
@@ -157,16 +171,75 @@
|
|
|
157
171
|
}
|
|
158
172
|
},
|
|
159
173
|
{
|
|
160
|
-
"id": "
|
|
161
|
-
"name": "
|
|
174
|
+
"id": "deepseek-ai/DeepSeek-V3.2",
|
|
175
|
+
"name": "DeepSeek V3.2",
|
|
176
|
+
"status": "deprecated",
|
|
177
|
+
"replacedBy": "deepseek-ai/DeepSeek-V4-Pro",
|
|
162
178
|
"reasoning": false,
|
|
163
179
|
"input": ["text"],
|
|
164
|
-
"contextWindow":
|
|
165
|
-
"maxTokens":
|
|
180
|
+
"contextWindow": 163840,
|
|
181
|
+
"maxTokens": 163840,
|
|
182
|
+
"cost": {
|
|
183
|
+
"input": 0.26,
|
|
184
|
+
"output": 0.38,
|
|
185
|
+
"cacheRead": 0.13,
|
|
186
|
+
"cacheWrite": 0
|
|
187
|
+
},
|
|
188
|
+
"compat": {
|
|
189
|
+
"supportsUsageInStreaming": true
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "zai-org/GLM-5.1",
|
|
194
|
+
"name": "GLM-5.1",
|
|
195
|
+
"status": "deprecated",
|
|
196
|
+
"replacedBy": "zai-org/GLM-5.2",
|
|
197
|
+
"reasoning": true,
|
|
198
|
+
"input": ["text"],
|
|
199
|
+
"contextWindow": 202752,
|
|
200
|
+
"maxTokens": 202752,
|
|
201
|
+
"cost": {
|
|
202
|
+
"input": 1.05,
|
|
203
|
+
"output": 3.5,
|
|
204
|
+
"cacheRead": 0.205000005,
|
|
205
|
+
"cacheWrite": 0
|
|
206
|
+
},
|
|
207
|
+
"compat": {
|
|
208
|
+
"supportsUsageInStreaming": true
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"id": "stepfun-ai/Step-3.5-Flash",
|
|
213
|
+
"name": "Step 3.5 Flash",
|
|
214
|
+
"status": "deprecated",
|
|
215
|
+
"replacedBy": "stepfun-ai/Step-3.7-Flash",
|
|
216
|
+
"reasoning": true,
|
|
217
|
+
"input": ["text"],
|
|
218
|
+
"contextWindow": 262144,
|
|
219
|
+
"maxTokens": 262144,
|
|
166
220
|
"cost": {
|
|
167
221
|
"input": 0.1,
|
|
168
|
-
"output": 0.
|
|
169
|
-
"cacheRead": 0,
|
|
222
|
+
"output": 0.3,
|
|
223
|
+
"cacheRead": 0.02,
|
|
224
|
+
"cacheWrite": 0
|
|
225
|
+
},
|
|
226
|
+
"compat": {
|
|
227
|
+
"supportsUsageInStreaming": true
|
|
228
|
+
}
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
"id": "moonshotai/Kimi-K2.5",
|
|
232
|
+
"name": "Kimi K2.5",
|
|
233
|
+
"status": "deprecated",
|
|
234
|
+
"replacedBy": "moonshotai/Kimi-K2.6",
|
|
235
|
+
"reasoning": true,
|
|
236
|
+
"input": ["text", "image"],
|
|
237
|
+
"contextWindow": 262144,
|
|
238
|
+
"maxTokens": 262144,
|
|
239
|
+
"cost": {
|
|
240
|
+
"input": 0.45,
|
|
241
|
+
"output": 2.25,
|
|
242
|
+
"cacheRead": 0.070000002,
|
|
170
243
|
"cacheWrite": 0
|
|
171
244
|
},
|
|
172
245
|
"compat": {
|
|
@@ -199,7 +272,7 @@
|
|
|
199
272
|
],
|
|
200
273
|
"contracts": {
|
|
201
274
|
"mediaUnderstandingProviders": ["deepinfra"],
|
|
202
|
-
"
|
|
275
|
+
"embeddingProviders": ["deepinfra"],
|
|
203
276
|
"imageGenerationProviders": ["deepinfra"],
|
|
204
277
|
"speechProviders": ["deepinfra"],
|
|
205
278
|
"videoGenerationProviders": ["deepinfra"]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@openclaw/deepinfra-provider",
|
|
3
|
-
"version": "2026.7.2-beta.
|
|
3
|
+
"version": "2026.7.2-beta.5",
|
|
4
4
|
"description": "OpenClaw DeepInfra provider plugin.",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -18,10 +18,10 @@
|
|
|
18
18
|
"minHostVersion": ">=2026.6.8"
|
|
19
19
|
},
|
|
20
20
|
"compat": {
|
|
21
|
-
"pluginApi": ">=2026.7.2-beta.
|
|
21
|
+
"pluginApi": ">=2026.7.2-beta.5"
|
|
22
22
|
},
|
|
23
23
|
"build": {
|
|
24
|
-
"openclawVersion": "2026.7.2-beta.
|
|
24
|
+
"openclawVersion": "2026.7.2-beta.5",
|
|
25
25
|
"bundledDist": false
|
|
26
26
|
},
|
|
27
27
|
"release": {
|
|
@@ -35,11 +35,10 @@
|
|
|
35
35
|
"files": [
|
|
36
36
|
"dist/**",
|
|
37
37
|
"openclaw.plugin.json",
|
|
38
|
-
"npm-shrinkwrap.json",
|
|
39
38
|
"README.md"
|
|
40
39
|
],
|
|
41
40
|
"peerDependencies": {
|
|
42
|
-
"openclaw": ">=2026.7.2-beta.
|
|
41
|
+
"openclaw": ">=2026.7.2-beta.5"
|
|
43
42
|
},
|
|
44
43
|
"peerDependenciesMeta": {
|
|
45
44
|
"openclaw": {
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { DEFAULT_DEEPINFRA_EMBEDDING_MODEL, createDeepInfraEmbeddingProvider } from "./embedding-provider.js";
|
|
2
|
-
import { isMissingEmbeddingApiKeyError } from "openclaw/plugin-sdk/memory-core-host-engine-embeddings";
|
|
3
|
-
//#region extensions/deepinfra/memory-embedding-adapter.ts
|
|
4
|
-
function buildDeepInfraMemoryEmbeddingAdapter(options) {
|
|
5
|
-
const defaultModel = options?.embedModels?.[0]?.id ?? DEFAULT_DEEPINFRA_EMBEDDING_MODEL;
|
|
6
|
-
return {
|
|
7
|
-
id: "deepinfra",
|
|
8
|
-
defaultModel,
|
|
9
|
-
transport: "remote",
|
|
10
|
-
authProviderId: "deepinfra",
|
|
11
|
-
autoSelectPriority: 55,
|
|
12
|
-
allowExplicitWhenConfiguredAuto: true,
|
|
13
|
-
shouldContinueAutoSelection: isMissingEmbeddingApiKeyError,
|
|
14
|
-
create: async (createOptions) => {
|
|
15
|
-
const { provider, client } = await createDeepInfraEmbeddingProvider({
|
|
16
|
-
...createOptions,
|
|
17
|
-
provider: "deepinfra",
|
|
18
|
-
fallback: "none",
|
|
19
|
-
defaultModel
|
|
20
|
-
});
|
|
21
|
-
return {
|
|
22
|
-
provider,
|
|
23
|
-
runtime: {
|
|
24
|
-
id: "deepinfra",
|
|
25
|
-
cacheKeyData: {
|
|
26
|
-
provider: "deepinfra",
|
|
27
|
-
model: client.model
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
|
-
}
|
|
34
|
-
const deepinfraMemoryEmbeddingProviderAdapter = buildDeepInfraMemoryEmbeddingAdapter();
|
|
35
|
-
//#endregion
|
|
36
|
-
export { buildDeepInfraMemoryEmbeddingAdapter, deepinfraMemoryEmbeddingProviderAdapter };
|