mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 07:00:43 +00:00
133 lines
3.4 KiB
JSON
133 lines
3.4 KiB
JSON
{
|
|
"id": "deepseek",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"providerDiscoveryEntry": "./provider-discovery.ts",
|
|
"providers": ["deepseek"],
|
|
"providerEndpoints": [
|
|
{
|
|
"endpointClass": "deepseek-native",
|
|
"hosts": ["api.deepseek.com"]
|
|
}
|
|
],
|
|
"providerRequest": {
|
|
"providers": {
|
|
"deepseek": {
|
|
"family": "deepseek"
|
|
}
|
|
}
|
|
},
|
|
"modelCatalog": {
|
|
"providers": {
|
|
"deepseek": {
|
|
"baseUrl": "https://api.deepseek.com",
|
|
"api": "openai-completions",
|
|
"models": [
|
|
{
|
|
"id": "deepseek-v4-flash",
|
|
"name": "DeepSeek V4 Flash",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 1000000,
|
|
"maxTokens": 384000,
|
|
"cost": {
|
|
"input": 0.14,
|
|
"output": 0.28,
|
|
"cacheRead": 0.028,
|
|
"cacheWrite": 0
|
|
},
|
|
"compat": {
|
|
"supportsUsageInStreaming": true,
|
|
"supportsReasoningEffort": true,
|
|
"maxTokensField": "max_tokens"
|
|
}
|
|
},
|
|
{
|
|
"id": "deepseek-v4-pro",
|
|
"name": "DeepSeek V4 Pro",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 1000000,
|
|
"maxTokens": 384000,
|
|
"cost": {
|
|
"input": 1.74,
|
|
"output": 3.48,
|
|
"cacheRead": 0.145,
|
|
"cacheWrite": 0
|
|
},
|
|
"compat": {
|
|
"supportsUsageInStreaming": true,
|
|
"supportsReasoningEffort": true,
|
|
"maxTokensField": "max_tokens"
|
|
}
|
|
},
|
|
{
|
|
"id": "deepseek-chat",
|
|
"name": "DeepSeek Chat",
|
|
"input": ["text"],
|
|
"contextWindow": 131072,
|
|
"maxTokens": 8192,
|
|
"cost": {
|
|
"input": 0.28,
|
|
"output": 0.42,
|
|
"cacheRead": 0.028,
|
|
"cacheWrite": 0
|
|
},
|
|
"compat": {
|
|
"supportsUsageInStreaming": true,
|
|
"maxTokensField": "max_tokens"
|
|
}
|
|
},
|
|
{
|
|
"id": "deepseek-reasoner",
|
|
"name": "DeepSeek Reasoner",
|
|
"reasoning": true,
|
|
"input": ["text"],
|
|
"contextWindow": 131072,
|
|
"maxTokens": 65536,
|
|
"cost": {
|
|
"input": 0.28,
|
|
"output": 0.42,
|
|
"cacheRead": 0.028,
|
|
"cacheWrite": 0
|
|
},
|
|
"compat": {
|
|
"supportsUsageInStreaming": true,
|
|
"supportsReasoningEffort": false,
|
|
"maxTokensField": "max_tokens"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"discovery": {
|
|
"deepseek": "static"
|
|
}
|
|
},
|
|
"providerAuthEnvVars": {
|
|
"deepseek": ["DEEPSEEK_API_KEY"]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "deepseek",
|
|
"method": "api-key",
|
|
"choiceId": "deepseek-api-key",
|
|
"choiceLabel": "DeepSeek API key",
|
|
"groupId": "deepseek",
|
|
"groupLabel": "DeepSeek",
|
|
"groupHint": "API key",
|
|
"optionKey": "deepseekApiKey",
|
|
"cliFlag": "--deepseek-api-key",
|
|
"cliOption": "--deepseek-api-key <key>",
|
|
"cliDescription": "DeepSeek API key"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|