feat: add Moonshot and Kimi Code declarative providers (#7304)
Co-authored-by: Douwe Osinga <douwe@squareup.com>
This commit is contained in:
@@ -0,0 +1,19 @@
|
|||||||
|
{
|
||||||
|
"name": "Kimi",
|
||||||
|
"metadata": {
|
||||||
|
"homepage": "https://kimi.ai",
|
||||||
|
"docs": "https://platform.moonshot.cn/docs/intro",
|
||||||
|
"description": "Kimi Code AI models optimized for coding tasks"
|
||||||
|
},
|
||||||
|
"engine": {
|
||||||
|
"type": "openai",
|
||||||
|
"base_url": "https://api.moonshot.cn/v1",
|
||||||
|
"api_key_env_var": "MOONSHOT_API_KEY"
|
||||||
|
},
|
||||||
|
"models": [
|
||||||
|
{"name": "kimi-for-coding", "context_limit": 262144},
|
||||||
|
{"name": "kimi-code", "context_limit": 262144}
|
||||||
|
],
|
||||||
|
"streaming_default": true,
|
||||||
|
"pricing_info_url": "https://platform.moonshot.cn/pricing"
|
||||||
|
}
|
||||||
@@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"name": "Moonshot",
|
||||||
|
"metadata": {
|
||||||
|
"homepage": "https://kimi.moonshot.cn/",
|
||||||
|
"docs": "https://platform.moonshot.cn/docs/intro",
|
||||||
|
"description": "Moonshot AI (Kimi) models"
|
||||||
|
},
|
||||||
|
"engine": {
|
||||||
|
"type": "openai",
|
||||||
|
"base_url": "https://api.moonshot.cn/v1",
|
||||||
|
"api_key_env_var": "MOONSHOT_API_KEY"
|
||||||
|
},
|
||||||
|
"models": [
|
||||||
|
{"name": "kimi-latest", "context_limit": 131072},
|
||||||
|
{"name": "kimi-thinking-preview", "context_limit": 131072},
|
||||||
|
{"name": "kimi-k2-0711", "context_limit": 131072},
|
||||||
|
{"name": "kimi-k2", "context_limit": 262144},
|
||||||
|
{"name": "moonshot-v1-8k", "context_limit": 8192},
|
||||||
|
{"name": "moonshot-v1-32k", "context_limit": 32768}
|
||||||
|
],
|
||||||
|
"streaming_default": true,
|
||||||
|
"pricing_info_url": "https://platform.moonshot.cn/pricing"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user