mirror of
https://github.com/openclaw/openclaw.git
synced 2026-08-02 13:31:38 +00:00
173 lines
4.2 KiB
JSON
173 lines
4.2 KiB
JSON
{
|
|
"id": "kimi",
|
|
"activation": {
|
|
"onStartup": false
|
|
},
|
|
"enabledByDefault": true,
|
|
"providers": ["kimi", "kimi-coding"],
|
|
"providerRequest": {
|
|
"providers": {
|
|
"kimi": {
|
|
"family": "moonshot",
|
|
"compatibilityFamily": "moonshot"
|
|
},
|
|
"kimi-coding": {
|
|
"family": "moonshot",
|
|
"compatibilityFamily": "moonshot"
|
|
}
|
|
}
|
|
},
|
|
"modelCatalog": {
|
|
"providers": {
|
|
"kimi": {
|
|
"baseUrl": "https://api.kimi.com/coding/",
|
|
"api": "anthropic-messages",
|
|
"headers": {
|
|
"User-Agent": "claude-code/0.1.0"
|
|
},
|
|
"defaultModel": "kimi-for-coding",
|
|
"models": [
|
|
{
|
|
"id": "k3",
|
|
"name": "Kimi K3",
|
|
"reasoning": true,
|
|
"upstreamModel": "moonshot/kimi-k3",
|
|
"thinkingLevelMap": {
|
|
"off": null,
|
|
"minimal": "low",
|
|
"low": "low",
|
|
"medium": "high",
|
|
"high": "high",
|
|
"xhigh": "max",
|
|
"max": "max"
|
|
},
|
|
"input": ["text", "image"],
|
|
"contextWindow": 1048576,
|
|
"maxTokens": 131072,
|
|
"cost": {
|
|
"input": 3,
|
|
"output": 15,
|
|
"cacheRead": 0.3,
|
|
"cacheWrite": 0
|
|
},
|
|
"compat": {
|
|
"codeMode": "preferred"
|
|
}
|
|
},
|
|
{
|
|
"id": "k3-256k",
|
|
"name": "Kimi K3 (256k)",
|
|
"reasoning": true,
|
|
"upstreamModel": "moonshot/kimi-k3",
|
|
"thinkingLevelMap": {
|
|
"off": null,
|
|
"minimal": "low",
|
|
"low": "low",
|
|
"medium": "high",
|
|
"high": "high",
|
|
"xhigh": "max",
|
|
"max": "max"
|
|
},
|
|
"input": ["text", "image"],
|
|
"contextWindow": 262144,
|
|
"maxTokens": 131072,
|
|
"cost": {
|
|
"input": 3,
|
|
"output": 15,
|
|
"cacheRead": 0.3,
|
|
"cacheWrite": 0
|
|
},
|
|
"compat": {
|
|
"codeMode": "preferred"
|
|
}
|
|
},
|
|
{
|
|
"id": "kimi-for-coding",
|
|
"name": "Kimi Code",
|
|
"reasoning": true,
|
|
"input": ["text", "image"],
|
|
"contextWindow": 262144,
|
|
"maxTokens": 32768,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
},
|
|
{
|
|
"id": "kimi-for-coding-highspeed",
|
|
"name": "Kimi K2.7 Code HighSpeed",
|
|
"reasoning": true,
|
|
"input": ["text", "image"],
|
|
"contextWindow": 262144,
|
|
"maxTokens": 32768,
|
|
"cost": {
|
|
"input": 0,
|
|
"output": 0,
|
|
"cacheRead": 0,
|
|
"cacheWrite": 0
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"discovery": {
|
|
"kimi": "static"
|
|
}
|
|
},
|
|
"modelPricing": {
|
|
"providers": {
|
|
"kimi": {
|
|
"openRouter": {
|
|
"provider": "moonshotai"
|
|
},
|
|
"liteLLM": {
|
|
"provider": "moonshot"
|
|
}
|
|
},
|
|
"kimi-coding": {
|
|
"openRouter": {
|
|
"provider": "moonshotai"
|
|
},
|
|
"liteLLM": {
|
|
"provider": "moonshot"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"setup": {
|
|
"providers": [
|
|
{
|
|
"id": "kimi",
|
|
"envVars": ["KIMI_API_KEY", "KIMICODE_API_KEY"]
|
|
},
|
|
{
|
|
"id": "kimi-coding",
|
|
"envVars": ["KIMI_API_KEY", "KIMICODE_API_KEY"]
|
|
}
|
|
]
|
|
},
|
|
"providerAuthChoices": [
|
|
{
|
|
"provider": "kimi",
|
|
"method": "api-key",
|
|
"choiceId": "kimi-code-api-key",
|
|
"appGuidedSecret": true,
|
|
"choiceLabel": "Kimi Code API key (subscription)",
|
|
"groupId": "moonshot",
|
|
"groupLabel": "Moonshot AI (Kimi)",
|
|
"groupHint": "Kimi Code membership · https://www.kimi.com/membership/pricing",
|
|
"optionKey": "kimiCodeApiKey",
|
|
"cliFlag": "--kimi-code-api-key",
|
|
"cliOption": "--kimi-code-api-key <key>",
|
|
"cliDescription": "Kimi Code API key (subscription)"
|
|
}
|
|
],
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {}
|
|
}
|
|
}
|