Files
openclaw/extensions/deepinfra/openclaw.plugin.json
Peter Steinberger 695db84cd1 feat(plugins): match shared models across vendor-namespaced catalog ids (#115210)
Aggregators republish first-party models under a namespaced id and varying
case, so the shared-model check could not group novita/moonshotai/kimi-k3 with
moonshot/kimi-k3. Matching now ignores one leading namespace segment and case,
which catches that whole class automatically instead of needing an
upstreamModel marker per row.

Declares the tier on the 18 rows this surfaces across baseten, deepinfra, gmi,
novita, nvidia, and together. All are "capable", matching what the runtime
already applied for an absent flag, so behavior is unchanged.
2026-07-28 10:22:23 -04:00

303 lines
8.3 KiB
JSON

{
"id": "deepinfra",
"activation": {
"onStartup": false
},
"enabledByDefault": true,
"providers": ["deepinfra"],
"providerCatalogEntry": "./provider-discovery.ts",
"providerEndpoints": [
{
"endpointClass": "deepinfra-native",
"hosts": ["api.deepinfra.com"]
}
],
"providerRequest": {
"providers": {
"deepinfra": {
"family": "deepinfra"
}
}
},
"setup": {
"providers": [
{
"id": "deepinfra",
"authMethods": ["api-key"],
"envVars": ["DEEPINFRA_API_KEY"]
}
]
},
"modelCatalog": {
"providers": {
"deepinfra": {
"baseUrl": "https://api.deepinfra.com/v1/openai",
"api": "openai-completions",
"models": [
{
"id": "deepseek-ai/DeepSeek-V4-Flash",
"name": "DeepSeek V4 Flash",
"reasoning": true,
"input": ["text"],
"contextWindow": 1048576,
"maxTokens": 1048576,
"cost": {
"input": 0.09,
"output": 0.18,
"cacheRead": 0.018,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true,
"codeMode": "capable"
}
},
{
"id": "deepseek-ai/DeepSeek-V4-Pro",
"name": "DeepSeek V4 Pro",
"reasoning": true,
"input": ["text"],
"contextWindow": 1048576,
"maxTokens": 1048576,
"cost": {
"input": 1.3,
"output": 2.6,
"cacheRead": 0.1,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true,
"codeMode": "capable"
}
},
{
"id": "zai-org/GLM-5.2",
"name": "GLM-5.2",
"reasoning": true,
"input": ["text"],
"contextWindow": 1048576,
"maxTokens": 1048576,
"cost": {
"input": 0.93,
"output": 3,
"cacheRead": 0.18,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true,
"codeMode": "capable"
}
},
{
"id": "stepfun-ai/Step-3.7-Flash",
"name": "Step 3.7 Flash",
"reasoning": true,
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0.2,
"output": 1.15,
"cacheRead": 0.04,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true
}
},
{
"id": "moonshotai/Kimi-K2.7-Code",
"name": "Kimi K2.7 Code",
"reasoning": true,
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0.74,
"output": 3.5,
"cacheRead": 0.15,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true
}
},
{
"id": "moonshotai/Kimi-K2.6",
"name": "Kimi K2.6",
"reasoning": true,
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0.75,
"output": 3.5,
"cacheRead": 0.15,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true
}
},
{
"id": "nvidia/NVIDIA-Nemotron-3-Ultra-550B-A55B",
"name": "NVIDIA Nemotron 3 Ultra 550B A55B",
"reasoning": true,
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0.5,
"output": 2.2,
"cacheRead": 0.1,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true
}
},
{
"id": "nvidia/NVIDIA-Nemotron-3-Super-120B-A12B",
"name": "NVIDIA Nemotron 3 Super 120B A12B",
"reasoning": true,
"input": ["text"],
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0.085,
"output": 0.4,
"cacheRead": 0,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true
}
},
{
"id": "deepseek-ai/DeepSeek-V3.2",
"name": "DeepSeek V3.2",
"status": "deprecated",
"replacedBy": "deepseek-ai/DeepSeek-V4-Pro",
"reasoning": false,
"input": ["text"],
"contextWindow": 163840,
"maxTokens": 163840,
"cost": {
"input": 0.26,
"output": 0.38,
"cacheRead": 0.13,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true
}
},
{
"id": "zai-org/GLM-5.1",
"name": "GLM-5.1",
"status": "deprecated",
"replacedBy": "zai-org/GLM-5.2",
"reasoning": true,
"input": ["text"],
"contextWindow": 202752,
"maxTokens": 202752,
"cost": {
"input": 1.05,
"output": 3.5,
"cacheRead": 0.205000005,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true,
"codeMode": "capable"
}
},
{
"id": "stepfun-ai/Step-3.5-Flash",
"name": "Step 3.5 Flash",
"status": "deprecated",
"replacedBy": "stepfun-ai/Step-3.7-Flash",
"reasoning": true,
"input": ["text"],
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0.1,
"output": 0.3,
"cacheRead": 0.02,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true
}
},
{
"id": "moonshotai/Kimi-K2.5",
"name": "Kimi K2.5",
"status": "deprecated",
"replacedBy": "moonshotai/Kimi-K2.6",
"reasoning": true,
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0.45,
"output": 2.25,
"cacheRead": 0.070000002,
"cacheWrite": 0
},
"compat": {
"supportsUsageInStreaming": true
}
}
]
}
},
"discovery": {
"deepinfra": "refreshable"
}
},
"providerAuthChoices": [
{
"provider": "deepinfra",
"method": "api-key",
"choiceId": "deepinfra-api-key",
"appGuidedSecret": true,
"choiceLabel": "DeepInfra API key",
"choiceHint": "Unified API for open source models",
"groupId": "deepinfra",
"groupLabel": "DeepInfra",
"groupHint": "Unified API for open source models",
"optionKey": "deepinfraApiKey",
"cliFlag": "--deepinfra-api-key",
"cliOption": "--deepinfra-api-key <key>",
"cliDescription": "DeepInfra API key"
}
],
"contracts": {
"mediaUnderstandingProviders": ["deepinfra"],
"embeddingProviders": ["deepinfra"],
"imageGenerationProviders": ["deepinfra"],
"speechProviders": ["deepinfra"],
"videoGenerationProviders": ["deepinfra"]
},
"mediaUnderstandingProviderMetadata": {
"deepinfra": {
"capabilities": ["image", "audio"],
"defaultModels": {
"image": "moonshotai/Kimi-K2.5",
"audio": "openai/whisper-large-v3-turbo"
},
"autoPriority": {
"image": 45,
"audio": 45
}
}
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
}
}