mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-10 00:11:19 +00:00
186 lines
5.2 KiB
JSON
186 lines
5.2 KiB
JSON
{
|
|
"id": "cohere",
|
|
"name": "Cohere",
|
|
"description": "OpenClaw Cohere provider plugin.",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"providers": ["cohere"],
|
|
"modelCatalog": {
|
|
"providers": {
|
|
"cohere": {
|
|
"baseUrl": "https://api.cohere.ai/compatibility/v1",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "command-a-plus-05-2026",
|
|
"name": "Command A+",
|
|
"reasoning": true,
|
|
"input": ["text", "image"],
|
|
"contextWindow": 128000,
|
|
"maxTokens": 64000,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
},
|
|
"compat": {
|
|
"supportsStore": false,
|
|
"supportsUsageInStreaming": false,
|
|
"supportsReasoningEffort": true,
|
|
"supportedReasoningEfforts": ["none", "high"],
|
|
"reasoningEffortMap": {
|
|
"off": "none",
|
|
"none": "none",
|
|
"minimal": "high",
|
|
"low": "high",
|
|
"medium": "high",
|
|
"high": "high",
|
|
"xhigh": "high",
|
|
"adaptive": "high",
|
|
"max": "high"
|
|
},
|
|
"maxTokensField": "max_tokens"
|
|
}
|
|
},
|
|
{
|
|
"id": "command-a-03-2025",
|
|
"name": "Command A",
|
|
"input": ["text"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 8000,
|
|
"cost": {
|
|
"input": 2.5,
|
|
"output": 10,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
},
|
|
"compat": {
|
|
"supportsStore": false,
|
|
"supportsUsageInStreaming": false,
|
|
"maxTokensField": "max_tokens"
|
|
}
|
|
},
|
|
{
|
|
"id": "command-a-reasoning-08-2025",
|
|
"name": "Command A Reasoning",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 32000,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
},
|
|
"compat": {
|
|
"supportsStore": false,
|
|
"supportsUsageInStreaming": false,
|
|
"supportsReasoningEffort": true,
|
|
"supportedReasoningEfforts": ["none", "high"],
|
|
"reasoningEffortMap": {
|
|
"off": "none",
|
|
"none": "none",
|
|
"minimal": "high",
|
|
"low": "high",
|
|
"medium": "high",
|
|
"high": "high",
|
|
"xhigh": "high",
|
|
"adaptive": "high",
|
|
"max": "high"
|
|
},
|
|
"maxTokensField": "max_tokens"
|
|
}
|
|
},
|
|
{
|
|
"id": "command-a-vision-07-2025",
|
|
"name": "Command A Vision",
|
|
"reasoning": false,
|
|
"input": ["text", "image"],
|
|
"contextWindow": 128000,
|
|
"maxTokens": 8000,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
},
|
|
"compat": {
|
|
"supportsStore": false,
|
|
"supportsUsageInStreaming": false,
|
|
"supportsTools": false,
|
|
"maxTokensField": "max_tokens"
|
|
}
|
|
},
|
|
{
|
|
"id": "north-mini-code-1-0",
|
|
"name": "North Mini Code 1.0",
|
|
"reasoning": true,
|
|
"input": ["text", "image"],
|
|
"contextWindow": 256000,
|
|
"maxTokens": 64000,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
},
|
|
"compat": {
|
|
"supportsStore": false,
|
|
"supportsUsageInStreaming": false,
|
|
"supportsReasoningEffort": true,
|
|
"supportedReasoningEfforts": ["none", "high"],
|
|
"reasoningEffortMap": {
|
|
"off": "none",
|
|
"none": "none",
|
|
"minimal": "high",
|
|
"low": "high",
|
|
"medium": "high",
|
|
"high": "high",
|
|
"xhigh": "high",
|
|
"adaptive": "high",
|
|
"max": "high"
|
|
},
|
|
"maxTokensField": "max_tokens"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"discovery": {
|
|
"cohere": "static"
|
|
}
|
|
},
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "cohere",
|
|
"envVars": ["COHERE_API_KEY"]
|
|
}
|
|
]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "cohere",
|
|
"method": "api-key",
|
|
"choiceId": "cohere-api-key",
|
|
"appGuidedSecret": true,
|
|
"choiceLabel": "Cohere API key",
|
|
"groupId": "cohere",
|
|
"groupLabel": "Cohere",
|
|
"groupHint": "OpenAI-compatible inference",
|
|
"optionKey": "cohereApiKey",
|
|
"cliFlag": "--cohere-api-key",
|
|
"cliOption": "--cohere-api-key <key>",
|
|
"cliDescription": "Cohere API key"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|