feat: declare moonshot manifest model catalog

This commit is contained in:
Shakker
2026-04-25 04:14:55 +01:00
parent 35171f4e47
commit 8749f1deb4

View File

@@ -3,6 +3,86 @@
"enabledByDefault": true,
"providerDiscoveryEntry": "./provider-discovery.ts",
"providers": ["moonshot"],
"modelCatalog": {
"providers": {
"moonshot": {
"baseUrl": "https://api.moonshot.ai/v1",
"api": "openai-completions",
"models": [
{
"id": "kimi-k2.6",
"name": "Kimi K2.6",
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0.95,
"output": 4,
"cacheRead": 0.16,
"cacheWrite": 0
}
},
{
"id": "kimi-k2.5",
"name": "Kimi K2.5",
"input": ["text", "image"],
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0.6,
"output": 3,
"cacheRead": 0.1,
"cacheWrite": 0
}
},
{
"id": "kimi-k2-thinking",
"name": "Kimi K2 Thinking",
"reasoning": true,
"input": ["text"],
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "kimi-k2-thinking-turbo",
"name": "Kimi K2 Thinking Turbo",
"reasoning": true,
"input": ["text"],
"contextWindow": 262144,
"maxTokens": 262144,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
},
{
"id": "kimi-k2-turbo",
"name": "Kimi K2 Turbo",
"input": ["text"],
"contextWindow": 256000,
"maxTokens": 16384,
"cost": {
"input": 0,
"output": 0,
"cacheRead": 0,
"cacheWrite": 0
}
}
]
}
},
"discovery": {
"moonshot": "static"
}
},
"providerAuthEnvVars": {
"moonshot": ["MOONSHOT_API_KEY", "KIMI_API_KEY"]
},