Files
openclaw/extensions/mistral/openclaw.plugin.json
2026-04-28 04:33:47 +01:00

167 lines
4.1 KiB
JSON

{
"id": "mistral",
"activation": {
"onStartup": false
},
"enabledByDefault": true,
"providers": ["mistral"],
"providerEndpoints": [
{
"endpointClass": "mistral-public",
"hosts": ["api.mistral.ai"]
}
],
"providerRequest": {
"providers": {
"mistral": {
"family": "mistral"
}
}
},
"modelCatalog": {
"providers": {
"mistral": {
"baseUrl": "https://api.mistral.ai/v1",
"api": "openai-completions",
"models": [
{
"id": "codestral-latest",
"name": "Codestral (latest)",
"input": ["text"],
"contextWindow": 256000,
"maxTokens": 4096,
"cost": {
"input": 0.3,
"output": 0.9,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "devstral-medium-latest",
"name": "Devstral 2 (latest)",
"input": ["text"],
"contextWindow": 262144,
"maxTokens": 32768,
"cost": {
"input": 0.4,
"output": 2,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "magistral-small",
"name": "Magistral Small",
"input": ["text"],
"reasoning": true,
"contextWindow": 128000,
"maxTokens": 40000,
"cost": {
"input": 0.5,
"output": 1.5,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "mistral-large-latest",
"name": "Mistral Large (latest)",
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 16384,
"cost": {
"input": 0.5,
"output": 1.5,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "mistral-medium-2508",
"name": "Mistral Medium 3.1",
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 8192,
"cost": {
"input": 0.4,
"output": 2,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "mistral-small-latest",
"name": "Mistral Small (latest)",
"input": ["text", "image"],
"reasoning": true,
"contextWindow": 128000,
"maxTokens": 16384,
"cost": {
"input": 0.1,
"output": 0.3,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "pixtral-large-latest",
"name": "Pixtral Large (latest)",
"input": ["text", "image"],
"contextWindow": 128000,
"maxTokens": 32768,
"cost": {
"input": 2,
"output": 6,
"cacheRead": 0,
"cacheWrite": 0
}
}
]
}
},
"discovery": {
"mistral": "static"
}
},
"providerAuthEnvVars": {
"mistral": ["MISTRAL_API_KEY"]
},
"providerAuthChoices": [
{
"provider": "mistral",
"method": "api-key",
"choiceId": "mistral-api-key",
"choiceLabel": "Mistral API key",
"groupId": "mistral",
"groupLabel": "Mistral AI",
"groupHint": "API key",
"optionKey": "mistralApiKey",
"cliFlag": "--mistral-api-key",
"cliOption": "--mistral-api-key <key>",
"cliDescription": "Mistral API key"
}
],
"contracts": {
"memoryEmbeddingProviders": ["mistral"],
"mediaUnderstandingProviders": ["mistral"],
"realtimeTranscriptionProviders": ["mistral"]
},
"mediaUnderstandingProviderMetadata": {
"mistral": {
"capabilities": ["audio"],
"defaultModels": {
"audio": "voxtral-mini-latest"
},
"autoPriority": {
"audio": 50
}
}
},
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {}
}
}