@sema-agent/client-core 0.7.0 → 0.8.1

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.
Files changed (47) hide show
  1. package/README.md +31 -11
  2. package/dist/adapt.js +36 -3
  3. package/dist/compensations.d.ts +63 -0
  4. package/dist/compensations.js +138 -0
  5. package/dist/detachWire.d.ts +141 -0
  6. package/dist/detachWire.js +182 -0
  7. package/dist/engineSessionParam.d.ts +6 -2
  8. package/dist/engineSessionParam.js +24 -18
  9. package/dist/engineWireTarget.d.ts +14 -0
  10. package/dist/engineWireTarget.js +53 -0
  11. package/dist/fleet/fleetLedger.d.ts +132 -0
  12. package/dist/fleet/fleetLedger.js +393 -0
  13. package/dist/fleet/fleetProjection.d.ts +181 -0
  14. package/dist/fleet/fleetProjection.js +258 -0
  15. package/dist/hooksWireCaps.d.ts +91 -0
  16. package/dist/hooksWireCaps.js +359 -0
  17. package/dist/host.d.ts +34 -2
  18. package/dist/host.js +6 -0
  19. package/dist/index.d.ts +56 -1
  20. package/dist/index.js +82 -1
  21. package/dist/liveInitToolFace.d.ts +53 -0
  22. package/dist/liveInitToolFace.js +251 -0
  23. package/dist/model/modelFamilies.json +63 -0
  24. package/dist/model/providerPresets.d.ts +46 -0
  25. package/dist/model/providerPresets.js +160 -0
  26. package/dist/model/providerPresets.json +1179 -0
  27. package/dist/seam.d.ts +19 -3
  28. package/dist/seam.js +14 -2
  29. package/dist/subagent/engineCompactWire.d.ts +12 -0
  30. package/dist/subagent/engineCompactWire.js +176 -0
  31. package/dist/subagent/engineDelegatedPrompt.d.ts +44 -0
  32. package/dist/subagent/engineDelegatedPrompt.js +205 -0
  33. package/dist/subagent/engineRowStopGate.d.ts +18 -0
  34. package/dist/subagent/engineRowStopGate.js +54 -0
  35. package/dist/subagent/engineSubagentOutput.d.ts +15 -0
  36. package/dist/subagent/engineSubagentOutput.js +98 -0
  37. package/dist/subagent/engineSubagentSteer.d.ts +10 -0
  38. package/dist/subagent/engineSubagentSteer.js +68 -0
  39. package/dist/subagent/engineSubagentTail.d.ts +40 -0
  40. package/dist/subagent/engineSubagentTail.js +241 -0
  41. package/dist/subagent/engineTaskHandleWire.d.ts +89 -0
  42. package/dist/subagent/engineTaskHandleWire.js +213 -0
  43. package/dist/workflowClient.d.ts +42 -0
  44. package/dist/workflowClient.js +467 -0
  45. package/dist/workflowMonitor.d.ts +94 -0
  46. package/dist/workflowMonitor.js +43 -0
  47. package/package.json +2 -2
@@ -0,0 +1,1179 @@
1
+ {
2
+ "presets": [
3
+ {
4
+ "id": "anthropic",
5
+ "name": "Anthropic",
6
+ "baseUrl": "https://api.anthropic.com",
7
+ "api": "anthropic-messages",
8
+ "authEnv": "ANTHROPIC_API_KEY",
9
+ "models": [
10
+ {
11
+ "id": "claude-fable-5",
12
+ "contextWindow": 200000,
13
+ "maxTokens": 64000
14
+ },
15
+ {
16
+ "id": "claude-opus-4-8",
17
+ "contextWindow": 200000,
18
+ "maxTokens": 64000
19
+ },
20
+ {
21
+ "id": "claude-sonnet-5",
22
+ "contextWindow": 200000,
23
+ "maxTokens": 64000
24
+ },
25
+ {
26
+ "id": "claude-haiku-4-5",
27
+ "contextWindow": 200000,
28
+ "maxTokens": 64000,
29
+ "cheapHint": true
30
+ },
31
+ {
32
+ "id": "claude-opus-4-7",
33
+ "contextWindow": 200000,
34
+ "maxTokens": 64000
35
+ },
36
+ {
37
+ "id": "claude-sonnet-4-6",
38
+ "contextWindow": 200000,
39
+ "maxTokens": 64000
40
+ },
41
+ {
42
+ "id": "claude-opus-4-6",
43
+ "contextWindow": 200000,
44
+ "maxTokens": 64000
45
+ }
46
+ ],
47
+ "note": "openclaw lists claude-fable-5/claude-opus-4-8 at 1M ctx / 128k out (requires context-1m beta header); kept sema's conservative 200k/64k for existing ids. openclaw also honors ANTHROPIC_OAUTH_TOKEN before ANTHROPIC_API_KEY.",
48
+ "source": "openclaw extensions/anthropic/register.runtime.ts + packages/ai/src/providers/anthropic.ts + packages/ai/src/env-api-keys.ts"
49
+ },
50
+ {
51
+ "id": "openai",
52
+ "name": "OpenAI",
53
+ "baseUrl": "https://api.openai.com/v1",
54
+ "api": "openai-completions",
55
+ "authEnv": "OPENAI_API_KEY",
56
+ "models": [
57
+ {
58
+ "id": "gpt-5.5",
59
+ "contextWindow": 400000,
60
+ "maxTokens": 128000
61
+ },
62
+ {
63
+ "id": "gpt-5.2",
64
+ "contextWindow": 400000,
65
+ "maxTokens": 128000
66
+ },
67
+ {
68
+ "id": "gpt-5.2-mini",
69
+ "contextWindow": 400000,
70
+ "maxTokens": 128000,
71
+ "cheapHint": true
72
+ },
73
+ {
74
+ "id": "gpt-5.5-pro",
75
+ "contextWindow": 1000000,
76
+ "maxTokens": 128000
77
+ },
78
+ {
79
+ "id": "gpt-5.4",
80
+ "contextWindow": 272000,
81
+ "maxTokens": 128000
82
+ },
83
+ {
84
+ "id": "gpt-5.4-mini",
85
+ "contextWindow": 400000,
86
+ "maxTokens": 128000
87
+ },
88
+ {
89
+ "id": "gpt-5.4-nano",
90
+ "contextWindow": 400000,
91
+ "maxTokens": 128000,
92
+ "cheapHint": true
93
+ },
94
+ {
95
+ "id": "gpt-5.3-codex",
96
+ "contextWindow": 400000,
97
+ "maxTokens": 128000
98
+ }
99
+ ],
100
+ "note": "openclaw's default openai transport is openai-responses; the same baseUrl serves chat completions, which sema uses. openclaw lists gpt-5.5 at 1M ctx; kept sema's 400k for the existing id.",
101
+ "source": "openclaw extensions/openai/openclaw.plugin.json + extensions/openai/base-url.ts + packages/ai/src/providers/openai-completions.ts"
102
+ },
103
+ {
104
+ "id": "deepseek",
105
+ "name": "DeepSeek",
106
+ "baseUrl": "https://api.deepseek.com/v1",
107
+ "api": "openai-completions",
108
+ "authEnv": "DEEPSEEK_API_KEY",
109
+ "models": [
110
+ {
111
+ "id": "deepseek-v4-pro",
112
+ "contextWindow": 1000000,
113
+ "maxTokens": 384000
114
+ },
115
+ {
116
+ "id": "deepseek-v4-flash",
117
+ "contextWindow": 1000000,
118
+ "maxTokens": 384000,
119
+ "cheapHint": true
120
+ },
121
+ {
122
+ "id": "deepseek-chat",
123
+ "contextWindow": 131072,
124
+ "maxTokens": 8192
125
+ },
126
+ {
127
+ "id": "deepseek-reasoner",
128
+ "contextWindow": 131072,
129
+ "maxTokens": 65536
130
+ }
131
+ ],
132
+ "source": "openclaw extensions/deepseek/provider-catalog.ts + src/model-catalog/provider-index/openclaw-provider-index.ts"
133
+ },
134
+ {
135
+ "id": "qwen",
136
+ "name": "Qwen (DashScope)",
137
+ "baseUrl": "https://dashscope.aliyuncs.com/compatible-mode/v1",
138
+ "api": "openai-completions",
139
+ "authEnv": "DASHSCOPE_API_KEY",
140
+ "models": [
141
+ {
142
+ "id": "qwen3.5-plus",
143
+ "contextWindow": 1000000,
144
+ "maxTokens": 65536
145
+ },
146
+ {
147
+ "id": "qwen3.5-flash",
148
+ "contextWindow": 262144,
149
+ "maxTokens": 32768,
150
+ "cheapHint": true
151
+ },
152
+ {
153
+ "id": "qwen3-coder-plus",
154
+ "contextWindow": 1000000,
155
+ "maxTokens": 65536
156
+ },
157
+ {
158
+ "id": "qwen3.6-plus",
159
+ "contextWindow": 1000000,
160
+ "maxTokens": 65536
161
+ },
162
+ {
163
+ "id": "qwen3-max-2026-01-23",
164
+ "contextWindow": 262144,
165
+ "maxTokens": 65536
166
+ },
167
+ {
168
+ "id": "qwen3-coder-next",
169
+ "contextWindow": 262144,
170
+ "maxTokens": 65536
171
+ }
172
+ ],
173
+ "note": "openclaw also lists coding-plan endpoints coding.dashscope.aliyuncs.com/v1 (CN) and coding-intl.dashscope.aliyuncs.com/v1 (intl), plus portal.qwen.ai/v1 (OAuth). openclaw env order: QWEN_API_KEY, MODELSTUDIO_API_KEY, DASHSCOPE_API_KEY.",
174
+ "source": "openclaw extensions/qwen/provider-catalog.ts + extensions/qwen/models.ts + scripts/lib/official-external-provider-catalog.json"
175
+ },
176
+ {
177
+ "id": "kimi",
178
+ "name": "Kimi (Moonshot CN)",
179
+ "baseUrl": "https://api.moonshot.cn/v1",
180
+ "api": "openai-completions",
181
+ "authEnv": "MOONSHOT_API_KEY",
182
+ "models": [
183
+ {
184
+ "id": "kimi-k3",
185
+ "contextWindow": 256000,
186
+ "maxTokens": 65536
187
+ },
188
+ {
189
+ "id": "kimi-k2.6",
190
+ "contextWindow": 262144,
191
+ "maxTokens": 262144
192
+ },
193
+ {
194
+ "id": "kimi-k2.7-code",
195
+ "contextWindow": 262144,
196
+ "maxTokens": 262144
197
+ },
198
+ {
199
+ "id": "kimi-k2.5",
200
+ "contextWindow": 262144,
201
+ "maxTokens": 262144
202
+ },
203
+ {
204
+ "id": "kimi-k2-thinking",
205
+ "contextWindow": 262144,
206
+ "maxTokens": 262144
207
+ },
208
+ {
209
+ "id": "kimi-k2-turbo",
210
+ "contextWindow": 256000,
211
+ "maxTokens": 16384
212
+ }
213
+ ],
214
+ "note": "openclaw accepts MOONSHOT_API_KEY then KIMI_API_KEY.",
215
+ "source": "openclaw extensions/moonshot/openclaw.plugin.json + src/model-catalog/provider-index/openclaw-provider-index.ts + packages/ai/src/env-api-keys.ts"
216
+ },
217
+ {
218
+ "id": "glm",
219
+ "name": "GLM (Zhipu CN)",
220
+ "baseUrl": "https://open.bigmodel.cn/api/paas/v4",
221
+ "api": "openai-completions",
222
+ "authEnv": "ZHIPU_API_KEY",
223
+ "models": [
224
+ {
225
+ "id": "glm-5.2",
226
+ "contextWindow": 1000000,
227
+ "maxTokens": 131072
228
+ },
229
+ {
230
+ "id": "glm-5.1",
231
+ "contextWindow": 202800,
232
+ "maxTokens": 131100
233
+ },
234
+ {
235
+ "id": "glm-5",
236
+ "contextWindow": 202800,
237
+ "maxTokens": 131100
238
+ },
239
+ {
240
+ "id": "glm-4.7-flash",
241
+ "contextWindow": 200000,
242
+ "maxTokens": 131072,
243
+ "cheapHint": true
244
+ },
245
+ {
246
+ "id": "glm-5-turbo",
247
+ "contextWindow": 202800,
248
+ "maxTokens": 131100
249
+ },
250
+ {
251
+ "id": "glm-4.7",
252
+ "contextWindow": 204800,
253
+ "maxTokens": 131072
254
+ },
255
+ {
256
+ "id": "glm-4.6",
257
+ "contextWindow": 204800,
258
+ "maxTokens": 131072
259
+ }
260
+ ],
261
+ "note": "openclaw's zai plugin also exposes coding-plan endpoint open.bigmodel.cn/api/coding/paas/v4 for GLM Coding Plan CN.",
262
+ "source": "openclaw extensions/zai/model-definitions.ts + extensions/zai/openclaw.plugin.json"
263
+ },
264
+ {
265
+ "id": "zai",
266
+ "name": "Z.AI (GLM Global)",
267
+ "baseUrl": "https://api.z.ai/api/paas/v4",
268
+ "api": "openai-completions",
269
+ "authEnv": "ZAI_API_KEY",
270
+ "models": [
271
+ {
272
+ "id": "glm-5.2",
273
+ "contextWindow": 1000000,
274
+ "maxTokens": 131072
275
+ },
276
+ {
277
+ "id": "glm-5.1",
278
+ "contextWindow": 202800,
279
+ "maxTokens": 131100
280
+ },
281
+ {
282
+ "id": "glm-5",
283
+ "contextWindow": 202800,
284
+ "maxTokens": 131100
285
+ },
286
+ {
287
+ "id": "glm-5-turbo",
288
+ "contextWindow": 202800,
289
+ "maxTokens": 131100
290
+ },
291
+ {
292
+ "id": "glm-4.7",
293
+ "contextWindow": 204800,
294
+ "maxTokens": 131072
295
+ },
296
+ {
297
+ "id": "glm-4.7-flash",
298
+ "contextWindow": 200000,
299
+ "maxTokens": 131072,
300
+ "cheapHint": true
301
+ }
302
+ ],
303
+ "note": "coding-plan endpoint: https://api.z.ai/api/coding/paas/v4. openclaw also accepts Z_AI_API_KEY.",
304
+ "source": "openclaw extensions/zai/model-definitions.ts + scripts/lib/official-external-provider-catalog.json (zai entry)"
305
+ },
306
+ {
307
+ "id": "minimax",
308
+ "name": "MiniMax (Global)",
309
+ "baseUrl": "https://api.minimax.io/anthropic",
310
+ "api": "anthropic-messages",
311
+ "authEnv": "MINIMAX_API_KEY",
312
+ "models": [
313
+ {
314
+ "id": "MiniMax-M3",
315
+ "contextWindow": 1000000,
316
+ "maxTokens": 131072
317
+ },
318
+ {
319
+ "id": "MiniMax-M2.7",
320
+ "contextWindow": 204800,
321
+ "maxTokens": 131072
322
+ },
323
+ {
324
+ "id": "MiniMax-M2.7-highspeed",
325
+ "contextWindow": 204800,
326
+ "maxTokens": 131072
327
+ }
328
+ ],
329
+ "note": "openclaw env order: MINIMAX_CODE_PLAN_KEY, MINIMAX_CODING_API_KEY, MINIMAX_API_KEY, MINIMAX_OAUTH_TOKEN.",
330
+ "source": "openclaw extensions/minimax/provider-catalog.ts + extensions/minimax/provider-models.ts"
331
+ },
332
+ {
333
+ "id": "minimax-cn",
334
+ "name": "MiniMax (CN)",
335
+ "baseUrl": "https://api.minimaxi.com/anthropic",
336
+ "api": "anthropic-messages",
337
+ "authEnv": "MINIMAX_CN_API_KEY",
338
+ "models": [
339
+ {
340
+ "id": "MiniMax-M3",
341
+ "contextWindow": 1000000,
342
+ "maxTokens": 131072
343
+ },
344
+ {
345
+ "id": "MiniMax-M2.7",
346
+ "contextWindow": 204800,
347
+ "maxTokens": 131072
348
+ }
349
+ ],
350
+ "source": "openclaw extensions/minimax/provider-catalog.ts + packages/ai/src/env-api-keys.ts (minimax-cn)"
351
+ },
352
+ {
353
+ "id": "moonshot",
354
+ "name": "Moonshot (Global .ai)",
355
+ "baseUrl": "https://api.moonshot.ai/v1",
356
+ "api": "openai-completions",
357
+ "authEnv": "MOONSHOT_API_KEY",
358
+ "models": [
359
+ {
360
+ "id": "kimi-k2.6",
361
+ "contextWindow": 262144,
362
+ "maxTokens": 262144
363
+ },
364
+ {
365
+ "id": "kimi-k2.7-code",
366
+ "contextWindow": 262144,
367
+ "maxTokens": 262144
368
+ },
369
+ {
370
+ "id": "kimi-k2.5",
371
+ "contextWindow": 262144,
372
+ "maxTokens": 262144
373
+ },
374
+ {
375
+ "id": "kimi-k2-thinking",
376
+ "contextWindow": 262144,
377
+ "maxTokens": 262144
378
+ }
379
+ ],
380
+ "source": "openclaw extensions/moonshot/openclaw.plugin.json + scripts/lib/official-external-provider-catalog.json (moonshot-native baseUrls)"
381
+ },
382
+ {
383
+ "id": "stepfun",
384
+ "name": "StepFun (Global)",
385
+ "baseUrl": "https://api.stepfun.ai/v1",
386
+ "api": "openai-completions",
387
+ "authEnv": "STEPFUN_API_KEY",
388
+ "models": [
389
+ {
390
+ "id": "step-3.5-flash",
391
+ "contextWindow": 262144,
392
+ "maxTokens": 65536
393
+ }
394
+ ],
395
+ "note": "Step Plan (subscription) endpoints: api.stepfun.ai/step_plan/v1 and api.stepfun.com/step_plan/v1 with model step-3.5-flash-2603.",
396
+ "source": "openclaw extensions/stepfun/provider-catalog.ts + scripts/lib/official-external-provider-catalog.json"
397
+ },
398
+ {
399
+ "id": "qianfan",
400
+ "name": "Qianfan (Baidu)",
401
+ "baseUrl": "https://qianfan.baidubce.com/v2",
402
+ "api": "openai-completions",
403
+ "authEnv": "QIANFAN_API_KEY",
404
+ "models": [
405
+ {
406
+ "id": "ernie-5.0-thinking-preview",
407
+ "contextWindow": 119000,
408
+ "maxTokens": 64000
409
+ },
410
+ {
411
+ "id": "deepseek-v3.2",
412
+ "contextWindow": 98304,
413
+ "maxTokens": 32768
414
+ }
415
+ ],
416
+ "source": "openclaw extensions/qianfan/provider-catalog.ts + scripts/lib/official-external-provider-catalog.json"
417
+ },
418
+ {
419
+ "id": "volcengine",
420
+ "name": "Volcengine Ark (Doubao)",
421
+ "baseUrl": "https://ark.cn-beijing.volces.com/api/v3",
422
+ "api": "openai-completions",
423
+ "authEnv": "VOLCANO_ENGINE_API_KEY",
424
+ "models": [
425
+ {
426
+ "id": "doubao-seed-code-preview-251028",
427
+ "contextWindow": 256000,
428
+ "maxTokens": 4096
429
+ },
430
+ {
431
+ "id": "doubao-seed-1-8-251228",
432
+ "contextWindow": 256000,
433
+ "maxTokens": 4096
434
+ },
435
+ {
436
+ "id": "kimi-k2-5-260127",
437
+ "contextWindow": 256000,
438
+ "maxTokens": 4096
439
+ },
440
+ {
441
+ "id": "glm-4-7-251222",
442
+ "contextWindow": 200000,
443
+ "maxTokens": 4096
444
+ },
445
+ {
446
+ "id": "deepseek-v3-2-251201",
447
+ "contextWindow": 128000,
448
+ "maxTokens": 4096
449
+ }
450
+ ],
451
+ "note": "coding-plan variant: https://ark.cn-beijing.volces.com/api/coding/v3 (models ark-code-latest, doubao-seed-code, glm-4.7, kimi-k2-thinking, kimi-k2.5).",
452
+ "source": "openclaw extensions/volcengine/models.ts + extensions/volcengine/openclaw.plugin.json"
453
+ },
454
+ {
455
+ "id": "tencent-tokenhub",
456
+ "name": "Tencent TokenHub",
457
+ "baseUrl": "https://tokenhub.tencentmaas.com/v1",
458
+ "api": "openai-completions",
459
+ "authEnv": "TOKENHUB_API_KEY",
460
+ "models": [
461
+ {
462
+ "id": "hy3-preview",
463
+ "contextWindow": 256000,
464
+ "maxTokens": 64000
465
+ },
466
+ {
467
+ "id": "hy3",
468
+ "contextWindow": 256000,
469
+ "maxTokens": 64000
470
+ }
471
+ ],
472
+ "source": "openclaw extensions/tencent/models.ts + scripts/lib/official-external-provider-catalog.json"
473
+ },
474
+ {
475
+ "id": "xiaomi",
476
+ "name": "Xiaomi MiMo",
477
+ "baseUrl": "https://api.xiaomimimo.com/v1",
478
+ "api": "openai-completions",
479
+ "authEnv": "XIAOMI_API_KEY",
480
+ "models": [
481
+ {
482
+ "id": "mimo-v2-pro",
483
+ "contextWindow": 1048576,
484
+ "maxTokens": 32000
485
+ },
486
+ {
487
+ "id": "mimo-v2-flash",
488
+ "contextWindow": 262144,
489
+ "maxTokens": 8192,
490
+ "cheapHint": true
491
+ },
492
+ {
493
+ "id": "mimo-v2-omni",
494
+ "contextWindow": 262144,
495
+ "maxTokens": 32000
496
+ }
497
+ ],
498
+ "note": "token-plan variant: https://token-plan-sgp.xiaomimimo.com/v1 (XIAOMI_TOKEN_PLAN_SGP_API_KEY; models mimo-v2.5-pro / mimo-v2.5 at 1048576/131072).",
499
+ "source": "openclaw extensions/xiaomi/openclaw.plugin.json + packages/ai/src/env-api-keys.ts"
500
+ },
501
+ {
502
+ "id": "openrouter",
503
+ "name": "OpenRouter",
504
+ "baseUrl": "https://openrouter.ai/api/v1",
505
+ "api": "openai-completions",
506
+ "authEnv": "OPENROUTER_API_KEY",
507
+ "models": [
508
+ {
509
+ "id": "openrouter/auto",
510
+ "contextWindow": 200000,
511
+ "maxTokens": 8192
512
+ },
513
+ {
514
+ "id": "moonshotai/kimi-k2.6",
515
+ "contextWindow": 262144,
516
+ "maxTokens": 262144
517
+ }
518
+ ],
519
+ "modelViaFamily": true,
520
+ "source": "openclaw extensions/openrouter/provider-catalog.ts + extensions/openrouter/models.ts"
521
+ },
522
+ {
523
+ "id": "xai",
524
+ "name": "xAI (Grok)",
525
+ "baseUrl": "https://api.x.ai/v1",
526
+ "api": "openai-completions",
527
+ "authEnv": "XAI_API_KEY",
528
+ "models": [
529
+ {
530
+ "id": "grok-4.3",
531
+ "contextWindow": 1000000,
532
+ "maxTokens": 64000
533
+ },
534
+ {
535
+ "id": "grok-4",
536
+ "contextWindow": 256000,
537
+ "maxTokens": 64000
538
+ },
539
+ {
540
+ "id": "grok-4-fast",
541
+ "contextWindow": 2000000,
542
+ "maxTokens": 30000,
543
+ "cheapHint": true
544
+ }
545
+ ],
546
+ "note": "openclaw's xai transport is openai-responses; the same /v1 baseUrl serves OpenAI-compatible chat completions per xAI docs — needs one live smoke before shipping.",
547
+ "source": "openclaw extensions/xai/provider-catalog.ts + extensions/xai/model-definitions.ts"
548
+ },
549
+ {
550
+ "id": "mistral",
551
+ "name": "Mistral",
552
+ "baseUrl": "https://api.mistral.ai/v1",
553
+ "api": "openai-completions",
554
+ "authEnv": "MISTRAL_API_KEY",
555
+ "models": [
556
+ {
557
+ "id": "mistral-large-latest",
558
+ "contextWindow": 262144,
559
+ "maxTokens": 16384
560
+ },
561
+ {
562
+ "id": "devstral-medium-latest",
563
+ "contextWindow": 262144,
564
+ "maxTokens": 32768
565
+ },
566
+ {
567
+ "id": "codestral-latest",
568
+ "contextWindow": 256000,
569
+ "maxTokens": 4096
570
+ },
571
+ {
572
+ "id": "mistral-medium-2508",
573
+ "contextWindow": 262144,
574
+ "maxTokens": 8192
575
+ },
576
+ {
577
+ "id": "mistral-small-latest",
578
+ "contextWindow": 128000,
579
+ "maxTokens": 16384,
580
+ "cheapHint": true
581
+ }
582
+ ],
583
+ "note": "openclaw extension catalog declares openai-completions; packages/ai also has a native mistral-conversations transport (not needed for /v1 chat completions).",
584
+ "source": "openclaw extensions/mistral/provider-catalog.ts + packages/ai/src/providers/mistral.ts"
585
+ },
586
+ {
587
+ "id": "groq",
588
+ "name": "Groq",
589
+ "baseUrl": "https://api.groq.com/openai/v1",
590
+ "api": "openai-completions",
591
+ "authEnv": "GROQ_API_KEY",
592
+ "models": [
593
+ {
594
+ "id": "groq/compound",
595
+ "contextWindow": 131072,
596
+ "maxTokens": 8192
597
+ },
598
+ {
599
+ "id": "openai/gpt-oss-120b",
600
+ "contextWindow": 131072,
601
+ "maxTokens": 8192
602
+ },
603
+ {
604
+ "id": "qwen/qwen3-32b",
605
+ "contextWindow": 131072,
606
+ "maxTokens": 8192,
607
+ "cheapHint": true
608
+ }
609
+ ],
610
+ "source": "openclaw extensions/groq/index.ts + extensions/groq/openclaw.plugin.json"
611
+ },
612
+ {
613
+ "id": "together",
614
+ "name": "Together AI",
615
+ "baseUrl": "https://api.together.xyz/v1",
616
+ "api": "openai-completions",
617
+ "authEnv": "TOGETHER_API_KEY",
618
+ "models": [
619
+ {
620
+ "id": "moonshotai/Kimi-K2.6",
621
+ "contextWindow": 262144,
622
+ "maxTokens": 32768
623
+ },
624
+ {
625
+ "id": "deepseek-ai/DeepSeek-V4-Pro",
626
+ "contextWindow": 512000,
627
+ "maxTokens": 8192
628
+ },
629
+ {
630
+ "id": "zai-org/GLM-5.1",
631
+ "contextWindow": 202752,
632
+ "maxTokens": 8192
633
+ },
634
+ {
635
+ "id": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
636
+ "contextWindow": 131072,
637
+ "maxTokens": 8192
638
+ }
639
+ ],
640
+ "source": "openclaw extensions/together/models.ts + extensions/together/provider-catalog.ts"
641
+ },
642
+ {
643
+ "id": "fireworks",
644
+ "name": "Fireworks",
645
+ "baseUrl": "https://api.fireworks.ai/inference/v1",
646
+ "api": "openai-completions",
647
+ "authEnv": "FIREWORKS_API_KEY",
648
+ "models": [
649
+ {
650
+ "id": "accounts/fireworks/models/kimi-k2p6",
651
+ "contextWindow": 262144,
652
+ "maxTokens": 262144
653
+ },
654
+ {
655
+ "id": "accounts/fireworks/routers/kimi-k2p5-turbo",
656
+ "contextWindow": 256000,
657
+ "maxTokens": 256000
658
+ }
659
+ ],
660
+ "source": "openclaw extensions/fireworks/provider-catalog.ts + extensions/fireworks/openclaw.plugin.json"
661
+ },
662
+ {
663
+ "id": "arcee",
664
+ "name": "Arcee AI",
665
+ "baseUrl": "https://api.arcee.ai/api/v1",
666
+ "api": "openai-completions",
667
+ "authEnv": "ARCEEAI_API_KEY",
668
+ "models": [
669
+ {
670
+ "id": "trinity-large-thinking",
671
+ "contextWindow": 262144,
672
+ "maxTokens": 80000
673
+ },
674
+ {
675
+ "id": "trinity-large-preview",
676
+ "contextWindow": 131072,
677
+ "maxTokens": 16384
678
+ },
679
+ {
680
+ "id": "trinity-mini",
681
+ "contextWindow": 131072,
682
+ "maxTokens": 80000,
683
+ "cheapHint": true
684
+ }
685
+ ],
686
+ "source": "openclaw extensions/arcee/models.ts + extensions/arcee/provider-catalog.ts"
687
+ },
688
+ {
689
+ "id": "byteplus",
690
+ "name": "BytePlus Ark",
691
+ "baseUrl": "https://ark.ap-southeast.bytepluses.com/api/v3",
692
+ "api": "openai-completions",
693
+ "authEnv": "BYTEPLUS_API_KEY",
694
+ "models": [
695
+ {
696
+ "id": "seed-1-8-251228",
697
+ "contextWindow": 256000,
698
+ "maxTokens": 4096
699
+ },
700
+ {
701
+ "id": "kimi-k2-5-260127",
702
+ "contextWindow": 256000,
703
+ "maxTokens": 32768
704
+ },
705
+ {
706
+ "id": "glm-4-7-251222",
707
+ "contextWindow": 200000,
708
+ "maxTokens": 4096
709
+ }
710
+ ],
711
+ "note": "coding-plan variant: https://ark.ap-southeast.bytepluses.com/api/coding/v3.",
712
+ "source": "openclaw extensions/byteplus/models.ts + extensions/byteplus/openclaw.plugin.json"
713
+ },
714
+ {
715
+ "id": "cerebras",
716
+ "name": "Cerebras",
717
+ "baseUrl": "https://api.cerebras.ai/v1",
718
+ "api": "openai-completions",
719
+ "authEnv": "CEREBRAS_API_KEY",
720
+ "models": [
721
+ {
722
+ "id": "zai-glm-4.7",
723
+ "contextWindow": 128000,
724
+ "maxTokens": 8192
725
+ },
726
+ {
727
+ "id": "gpt-oss-120b",
728
+ "contextWindow": 128000,
729
+ "maxTokens": 8192
730
+ },
731
+ {
732
+ "id": "qwen-3-235b-a22b-instruct",
733
+ "contextWindow": 128000,
734
+ "maxTokens": 8192
735
+ },
736
+ {
737
+ "id": "llama3.1-8b",
738
+ "contextWindow": 128000,
739
+ "maxTokens": 8192,
740
+ "cheapHint": true
741
+ }
742
+ ],
743
+ "source": "openclaw extensions/cerebras/models.ts + extensions/cerebras/provider-catalog.ts"
744
+ },
745
+ {
746
+ "id": "chutes",
747
+ "name": "Chutes",
748
+ "baseUrl": "https://llm.chutes.ai/v1",
749
+ "api": "openai-completions",
750
+ "authEnv": "CHUTES_API_KEY",
751
+ "models": [
752
+ {
753
+ "id": "deepseek-ai/DeepSeek-V3",
754
+ "contextWindow": 163840,
755
+ "maxTokens": 163840
756
+ },
757
+ {
758
+ "id": "zai-org/GLM-4.7-TEE",
759
+ "contextWindow": 202752,
760
+ "maxTokens": 65535
761
+ },
762
+ {
763
+ "id": "Qwen/Qwen3-32B",
764
+ "contextWindow": 40960,
765
+ "maxTokens": 40960
766
+ }
767
+ ],
768
+ "modelViaFamily": true,
769
+ "note": "openclaw hardcodes 45+ models; listed 3 representatives, rest addressed via family.",
770
+ "source": "openclaw extensions/chutes/models.ts + extensions/chutes/provider-catalog.ts"
771
+ },
772
+ {
773
+ "id": "cohere",
774
+ "name": "Cohere",
775
+ "baseUrl": "https://api.cohere.ai/compatibility/v1",
776
+ "api": "openai-completions",
777
+ "authEnv": "COHERE_API_KEY",
778
+ "models": [
779
+ {
780
+ "id": "command-a-03-2025",
781
+ "contextWindow": 256000,
782
+ "maxTokens": 8000
783
+ }
784
+ ],
785
+ "source": "openclaw extensions/cohere/models.ts + extensions/cohere/provider-catalog.ts"
786
+ },
787
+ {
788
+ "id": "deepinfra",
789
+ "name": "DeepInfra",
790
+ "baseUrl": "https://api.deepinfra.com/v1/openai",
791
+ "api": "openai-completions",
792
+ "authEnv": "DEEPINFRA_API_KEY",
793
+ "models": [
794
+ {
795
+ "id": "deepseek-ai/DeepSeek-V4-Flash",
796
+ "contextWindow": 1048576,
797
+ "maxTokens": 1048576
798
+ },
799
+ {
800
+ "id": "zai-org/GLM-5.1",
801
+ "contextWindow": 202752,
802
+ "maxTokens": 202752
803
+ },
804
+ {
805
+ "id": "moonshotai/Kimi-K2.5",
806
+ "contextWindow": 262144,
807
+ "maxTokens": 262144
808
+ },
809
+ {
810
+ "id": "MiniMaxAI/MiniMax-M2.5",
811
+ "contextWindow": 196608,
812
+ "maxTokens": 196608
813
+ }
814
+ ],
815
+ "modelViaFamily": true,
816
+ "note": "openclaw discovers models dynamically from /v1/openai/models; the above are its static fallback.",
817
+ "source": "openclaw extensions/deepinfra/provider-models.ts + extensions/deepinfra/provider-catalog.ts"
818
+ },
819
+ {
820
+ "id": "gmi",
821
+ "name": "GMI Cloud",
822
+ "baseUrl": "https://api.gmi-serving.com/v1",
823
+ "api": "openai-completions",
824
+ "authEnv": "GMI_API_KEY",
825
+ "models": [
826
+ {
827
+ "id": "zai-org/GLM-5.1-FP8",
828
+ "contextWindow": 202752,
829
+ "maxTokens": 65536
830
+ },
831
+ {
832
+ "id": "deepseek-ai/DeepSeek-V3.2",
833
+ "contextWindow": 163840,
834
+ "maxTokens": 65536
835
+ }
836
+ ],
837
+ "source": "openclaw extensions/gmi/models.ts + extensions/gmi/provider-catalog.ts"
838
+ },
839
+ {
840
+ "id": "huggingface",
841
+ "name": "Hugging Face (Router)",
842
+ "baseUrl": "https://router.huggingface.co/v1",
843
+ "api": "openai-completions",
844
+ "authEnv": "HF_TOKEN",
845
+ "models": [
846
+ {
847
+ "id": "deepseek-ai/DeepSeek-V3.1",
848
+ "contextWindow": 131072,
849
+ "maxTokens": 8192
850
+ },
851
+ {
852
+ "id": "meta-llama/Llama-3.3-70B-Instruct-Turbo",
853
+ "contextWindow": 131072,
854
+ "maxTokens": 8192
855
+ },
856
+ {
857
+ "id": "openai/gpt-oss-120b",
858
+ "contextWindow": 131072,
859
+ "maxTokens": 8192
860
+ }
861
+ ],
862
+ "modelViaFamily": true,
863
+ "note": "openclaw also accepts HUGGINGFACE_HUB_TOKEN.",
864
+ "source": "openclaw extensions/huggingface/models.ts + extensions/huggingface/provider-catalog.ts"
865
+ },
866
+ {
867
+ "id": "kilocode",
868
+ "name": "Kilo Gateway",
869
+ "baseUrl": "https://api.kilo.ai/api/gateway/",
870
+ "api": "openai-completions",
871
+ "authEnv": "KILOCODE_API_KEY",
872
+ "models": [],
873
+ "modelViaFamily": true,
874
+ "note": "openclaw fetches models dynamically; fallback model kilo/auto (1000000/128000).",
875
+ "source": "openclaw extensions/kilocode/provider-catalog.ts + extensions/kilocode/onboard.ts"
876
+ },
877
+ {
878
+ "id": "kimi-coding",
879
+ "name": "Kimi Coding (subscription)",
880
+ "baseUrl": "https://api.kimi.com/coding/",
881
+ "api": "anthropic-messages",
882
+ "authEnv": "KIMI_API_KEY",
883
+ "models": [
884
+ {
885
+ "id": "kimi-for-coding",
886
+ "contextWindow": 262144,
887
+ "maxTokens": 32768
888
+ },
889
+ {
890
+ "id": "kimi-code",
891
+ "contextWindow": 262144,
892
+ "maxTokens": 32768
893
+ },
894
+ {
895
+ "id": "k2p5",
896
+ "contextWindow": 262144,
897
+ "maxTokens": 32768
898
+ }
899
+ ],
900
+ "note": "openclaw also accepts KIMICODE_API_KEY.",
901
+ "source": "openclaw extensions/kimi-coding/provider-catalog.ts + packages/ai/src/env-api-keys.ts"
902
+ },
903
+ {
904
+ "id": "litellm",
905
+ "name": "LiteLLM (self-hosted proxy)",
906
+ "baseUrl": "http://localhost:4000",
907
+ "api": "openai-completions",
908
+ "authEnv": "LITELLM_API_KEY",
909
+ "models": [],
910
+ "modelViaFamily": true,
911
+ "source": "openclaw extensions/litellm/provider-catalog.ts + extensions/litellm/onboard.ts"
912
+ },
913
+ {
914
+ "id": "lmstudio",
915
+ "name": "LM Studio (local)",
916
+ "baseUrl": "http://localhost:1234/v1",
917
+ "api": "openai-completions",
918
+ "authEnv": "LM_API_TOKEN",
919
+ "models": [],
920
+ "modelViaFamily": true,
921
+ "note": "models discovered at runtime from /api/models.",
922
+ "source": "openclaw extensions/lmstudio/src/setup.ts + extensions/lmstudio/src/defaults.ts"
923
+ },
924
+ {
925
+ "id": "novita",
926
+ "name": "Novita AI",
927
+ "baseUrl": "https://api.novita.ai/openai/v1",
928
+ "api": "openai-completions",
929
+ "authEnv": "NOVITA_API_KEY",
930
+ "models": [
931
+ {
932
+ "id": "moonshotai/kimi-k2.5",
933
+ "contextWindow": 262144,
934
+ "maxTokens": 65536
935
+ },
936
+ {
937
+ "id": "minimax/minimax-m2.7",
938
+ "contextWindow": 1000000,
939
+ "maxTokens": 65536
940
+ }
941
+ ],
942
+ "source": "openclaw extensions/novita/models.ts + extensions/novita/provider-catalog.ts"
943
+ },
944
+ {
945
+ "id": "nvidia",
946
+ "name": "NVIDIA NIM",
947
+ "baseUrl": "https://integrate.api.nvidia.com/v1",
948
+ "api": "openai-completions",
949
+ "authEnv": "NVIDIA_API_KEY",
950
+ "models": [
951
+ {
952
+ "id": "nvidia/nemotron-3-ultra-550b-a55b",
953
+ "contextWindow": 1000000,
954
+ "maxTokens": 16384
955
+ },
956
+ {
957
+ "id": "nvidia/nemotron-3-super-120b-a12b",
958
+ "contextWindow": 1048576,
959
+ "maxTokens": 8192
960
+ }
961
+ ],
962
+ "modelViaFamily": true,
963
+ "note": "openclaw loads featured models dynamically from assets.ngc.nvidia.com; the above are its static fallback.",
964
+ "source": "openclaw extensions/nvidia/provider-catalog.ts"
965
+ },
966
+ {
967
+ "id": "ollama",
968
+ "name": "Ollama (local)",
969
+ "baseUrl": "http://127.0.0.1:11434/v1",
970
+ "api": "openai-completions",
971
+ "authEnv": "OLLAMA_API_KEY",
972
+ "models": [],
973
+ "modelViaFamily": true,
974
+ "note": "openclaw uses Ollama's native API at http://127.0.0.1:11434 (discovery via /api/tags); Ollama's documented OpenAI-compatible endpoint is /v1, which sema can use directly. Cloud variant https://ollama.com falls back to openai-completions in openclaw too.",
975
+ "source": "openclaw extensions/ollama/src/defaults.ts + extensions/ollama/api.ts (baseUrl /v1 suffix is Ollama's documented OpenAI-compat path, not from openclaw code)"
976
+ },
977
+ {
978
+ "id": "opencode",
979
+ "name": "OpenCode Zen",
980
+ "baseUrl": "https://opencode.ai/zen/v1",
981
+ "api": "openai-completions",
982
+ "authEnv": "OPENCODE_API_KEY",
983
+ "models": [],
984
+ "modelViaFamily": true,
985
+ "note": "48+ models with mixed wire formats (openai-completions / anthropic-messages / google-generative-ai per model); anthropic-format base is https://opencode.ai/zen. Also accepts OPENCODE_ZEN_API_KEY.",
986
+ "source": "openclaw extensions/opencode/provider-catalog.ts"
987
+ },
988
+ {
989
+ "id": "opencode-go",
990
+ "name": "OpenCode Go",
991
+ "baseUrl": "https://opencode.ai/zen/go/v1",
992
+ "api": "openai-completions",
993
+ "authEnv": "OPENCODE_API_KEY",
994
+ "models": [
995
+ {
996
+ "id": "deepseek-v4-pro",
997
+ "contextWindow": 1000000,
998
+ "maxTokens": 384000
999
+ },
1000
+ {
1001
+ "id": "kimi-k2.6",
1002
+ "contextWindow": 262144,
1003
+ "maxTokens": 65536
1004
+ },
1005
+ {
1006
+ "id": "glm-5.2",
1007
+ "contextWindow": 1000000,
1008
+ "maxTokens": 131072
1009
+ },
1010
+ {
1011
+ "id": "minimax-m3",
1012
+ "contextWindow": 204800,
1013
+ "maxTokens": 131072
1014
+ },
1015
+ {
1016
+ "id": "qwen3.7-max",
1017
+ "contextWindow": 1000000,
1018
+ "maxTokens": 65536
1019
+ }
1020
+ ],
1021
+ "modelViaFamily": true,
1022
+ "note": "20 hardcoded models, api varies per model (openai-completions vs anthropic-messages, anthropic base https://opencode.ai/zen/go); listed 5 openai-side representatives.",
1023
+ "source": "openclaw extensions/opencode-go/provider-catalog.ts"
1024
+ },
1025
+ {
1026
+ "id": "qwen-intl",
1027
+ "name": "Qwen (DashScope Intl)",
1028
+ "baseUrl": "https://dashscope-intl.aliyuncs.com/compatible-mode/v1",
1029
+ "api": "openai-completions",
1030
+ "authEnv": "DASHSCOPE_API_KEY",
1031
+ "models": [
1032
+ {
1033
+ "id": "qwen3.5-plus",
1034
+ "contextWindow": 1000000,
1035
+ "maxTokens": 65536
1036
+ },
1037
+ {
1038
+ "id": "qwen3.6-plus",
1039
+ "contextWindow": 1000000,
1040
+ "maxTokens": 65536
1041
+ },
1042
+ {
1043
+ "id": "qwen3-coder-plus",
1044
+ "contextWindow": 1000000,
1045
+ "maxTokens": 65536
1046
+ }
1047
+ ],
1048
+ "source": "openclaw extensions/qwen/provider-catalog.ts (standard-api-key intl endpoint) + scripts/lib/official-external-provider-catalog.json"
1049
+ },
1050
+ {
1051
+ "id": "sglang",
1052
+ "name": "SGLang (local)",
1053
+ "baseUrl": "http://127.0.0.1:30000/v1",
1054
+ "api": "openai-completions",
1055
+ "authEnv": "SGLANG_API_KEY",
1056
+ "models": [],
1057
+ "modelViaFamily": true,
1058
+ "note": "models discovered at runtime from /v1/models.",
1059
+ "source": "openclaw extensions/sglang/defaults.ts + extensions/sglang/models.ts"
1060
+ },
1061
+ {
1062
+ "id": "stepfun-cn",
1063
+ "name": "StepFun (CN)",
1064
+ "baseUrl": "https://api.stepfun.com/v1",
1065
+ "api": "openai-completions",
1066
+ "authEnv": "STEPFUN_API_KEY",
1067
+ "models": [
1068
+ {
1069
+ "id": "step-3.5-flash",
1070
+ "contextWindow": 262144,
1071
+ "maxTokens": 65536
1072
+ }
1073
+ ],
1074
+ "source": "openclaw extensions/stepfun/provider-catalog.ts"
1075
+ },
1076
+ {
1077
+ "id": "synthetic",
1078
+ "name": "Synthetic",
1079
+ "baseUrl": "https://api.synthetic.new/anthropic",
1080
+ "api": "anthropic-messages",
1081
+ "authEnv": "SYNTHETIC_API_KEY",
1082
+ "models": [
1083
+ {
1084
+ "id": "hf:MiniMaxAI/MiniMax-M2.5",
1085
+ "contextWindow": 192000,
1086
+ "maxTokens": 65536
1087
+ },
1088
+ {
1089
+ "id": "hf:moonshotai/Kimi-K2.5",
1090
+ "contextWindow": 256000,
1091
+ "maxTokens": 8192
1092
+ },
1093
+ {
1094
+ "id": "hf:zai-org/GLM-5",
1095
+ "contextWindow": 256000,
1096
+ "maxTokens": 128000
1097
+ }
1098
+ ],
1099
+ "modelViaFamily": true,
1100
+ "note": "openclaw hardcodes 21 models; listed 3 representatives.",
1101
+ "source": "openclaw extensions/synthetic/models.ts + extensions/synthetic/provider-catalog.ts"
1102
+ },
1103
+ {
1104
+ "id": "tencent-tokenplan",
1105
+ "name": "Tencent TokenPlan",
1106
+ "baseUrl": "https://api.lkeap.cloud.tencent.com/plan/v3",
1107
+ "api": "openai-completions",
1108
+ "authEnv": "TOKENPLAN_API_KEY",
1109
+ "models": [
1110
+ {
1111
+ "id": "hy3",
1112
+ "contextWindow": 256000,
1113
+ "maxTokens": 64000
1114
+ }
1115
+ ],
1116
+ "source": "openclaw extensions/tencent/models.ts + scripts/lib/official-external-provider-catalog.json"
1117
+ },
1118
+ {
1119
+ "id": "venice",
1120
+ "name": "Venice AI",
1121
+ "baseUrl": "https://api.venice.ai/api/v1",
1122
+ "api": "openai-completions",
1123
+ "authEnv": "VENICE_API_KEY",
1124
+ "models": [
1125
+ {
1126
+ "id": "llama-3.3-70b",
1127
+ "contextWindow": 128000,
1128
+ "maxTokens": 4096
1129
+ },
1130
+ {
1131
+ "id": "qwen3-235b-a22b-instruct-2507",
1132
+ "contextWindow": 128000,
1133
+ "maxTokens": 16384
1134
+ }
1135
+ ],
1136
+ "modelViaFamily": true,
1137
+ "note": "openclaw discovers models dynamically from /models; the above are from its static fallback.",
1138
+ "source": "openclaw extensions/venice/models.ts + extensions/venice/provider-catalog.ts"
1139
+ },
1140
+ {
1141
+ "id": "vercel-ai-gateway",
1142
+ "name": "Vercel AI Gateway",
1143
+ "baseUrl": "https://ai-gateway.vercel.sh",
1144
+ "api": "anthropic-messages",
1145
+ "authEnv": "AI_GATEWAY_API_KEY",
1146
+ "models": [
1147
+ {
1148
+ "id": "anthropic/claude-opus-4.6",
1149
+ "contextWindow": 1000000,
1150
+ "maxTokens": 128000
1151
+ },
1152
+ {
1153
+ "id": "openai/gpt-5.4",
1154
+ "contextWindow": 200000,
1155
+ "maxTokens": 128000
1156
+ },
1157
+ {
1158
+ "id": "moonshotai/kimi-k2.6",
1159
+ "contextWindow": 262144,
1160
+ "maxTokens": 262144
1161
+ }
1162
+ ],
1163
+ "modelViaFamily": true,
1164
+ "note": "openclaw drives this gateway over anthropic-messages wire format.",
1165
+ "source": "openclaw extensions/vercel-ai-gateway/provider-catalog.ts + extensions/vercel-ai-gateway/models.ts"
1166
+ },
1167
+ {
1168
+ "id": "vllm",
1169
+ "name": "vLLM (local)",
1170
+ "baseUrl": "http://127.0.0.1:8000/v1",
1171
+ "api": "openai-completions",
1172
+ "authEnv": "VLLM_API_KEY",
1173
+ "models": [],
1174
+ "modelViaFamily": true,
1175
+ "note": "models discovered at runtime from /v1/models.",
1176
+ "source": "openclaw extensions/vllm/defaults.ts + extensions/vllm/models.ts"
1177
+ }
1178
+ ]
1179
+ }