Update Moonshot Kimi model references from kimi-k2-0905-preview to the latest kimi-k2.5
This commit is contained in:
parent
7bfe6ab2d6
commit
394308076a
@ -130,9 +130,10 @@ Moonshot uses OpenAI-compatible endpoints, so configure it as a custom provider:
|
|||||||
|
|
||||||
- Provider: `moonshot`
|
- Provider: `moonshot`
|
||||||
- Auth: `MOONSHOT_API_KEY`
|
- Auth: `MOONSHOT_API_KEY`
|
||||||
- Example model: `moonshot/kimi-k2-0905-preview`
|
- Example model: `moonshot/kimi-k2.5`
|
||||||
- Kimi K2 model IDs:
|
- Kimi K2 model IDs:
|
||||||
{/* moonshot-kimi-k2-model-refs:start */}
|
{/* moonshot-kimi-k2-model-refs:start */}
|
||||||
|
- `moonshot/kimi-k2.5`
|
||||||
- `moonshot/kimi-k2-0905-preview`
|
- `moonshot/kimi-k2-0905-preview`
|
||||||
- `moonshot/kimi-k2-turbo-preview`
|
- `moonshot/kimi-k2-turbo-preview`
|
||||||
- `moonshot/kimi-k2-thinking`
|
- `moonshot/kimi-k2-thinking`
|
||||||
@ -141,7 +142,7 @@ Moonshot uses OpenAI-compatible endpoints, so configure it as a custom provider:
|
|||||||
```json5
|
```json5
|
||||||
{
|
{
|
||||||
agents: {
|
agents: {
|
||||||
defaults: { model: { primary: "moonshot/kimi-k2-0905-preview" } }
|
defaults: { model: { primary: "moonshot/kimi-k2.5" } }
|
||||||
},
|
},
|
||||||
models: {
|
models: {
|
||||||
mode: "merge",
|
mode: "merge",
|
||||||
@ -150,7 +151,7 @@ Moonshot uses OpenAI-compatible endpoints, so configure it as a custom provider:
|
|||||||
baseUrl: "https://api.moonshot.ai/v1",
|
baseUrl: "https://api.moonshot.ai/v1",
|
||||||
apiKey: "${MOONSHOT_API_KEY}",
|
apiKey: "${MOONSHOT_API_KEY}",
|
||||||
api: "openai-completions",
|
api: "openai-completions",
|
||||||
models: [{ id: "kimi-k2-0905-preview", name: "Kimi K2 0905 Preview" }]
|
models: [{ id: "kimi-k2.5", name: "Kimi K2.5" }]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -2396,8 +2396,8 @@ Use Moonshot's OpenAI-compatible endpoint:
|
|||||||
env: { MOONSHOT_API_KEY: "sk-..." },
|
env: { MOONSHOT_API_KEY: "sk-..." },
|
||||||
agents: {
|
agents: {
|
||||||
defaults: {
|
defaults: {
|
||||||
model: { primary: "moonshot/kimi-k2-0905-preview" },
|
model: { primary: "moonshot/kimi-k2.5" },
|
||||||
models: { "moonshot/kimi-k2-0905-preview": { alias: "Kimi K2" } }
|
models: { "moonshot/kimi-k2.5": { alias: "Kimi K2.5" } }
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
models: {
|
models: {
|
||||||
@ -2409,8 +2409,8 @@ Use Moonshot's OpenAI-compatible endpoint:
|
|||||||
api: "openai-completions",
|
api: "openai-completions",
|
||||||
models: [
|
models: [
|
||||||
{
|
{
|
||||||
id: "kimi-k2-0905-preview",
|
id: "kimi-k2.5",
|
||||||
name: "Kimi K2 0905 Preview",
|
name: "Kimi K2.5",
|
||||||
reasoning: false,
|
reasoning: false,
|
||||||
input: ["text"],
|
input: ["text"],
|
||||||
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
||||||
@ -2426,7 +2426,7 @@ Use Moonshot's OpenAI-compatible endpoint:
|
|||||||
|
|
||||||
Notes:
|
Notes:
|
||||||
- Set `MOONSHOT_API_KEY` in the environment or use `moltbot onboard --auth-choice moonshot-api-key`.
|
- Set `MOONSHOT_API_KEY` in the environment or use `moltbot onboard --auth-choice moonshot-api-key`.
|
||||||
- Model ref: `moonshot/kimi-k2-0905-preview`.
|
- Model ref: `moonshot/kimi-k2.5`.
|
||||||
- Use `https://api.moonshot.cn/v1` if you need the China endpoint.
|
- Use `https://api.moonshot.cn/v1` if you need the China endpoint.
|
||||||
|
|
||||||
### Kimi Code
|
### Kimi Code
|
||||||
|
|||||||
@ -9,11 +9,12 @@ read_when:
|
|||||||
# Moonshot AI (Kimi)
|
# Moonshot AI (Kimi)
|
||||||
|
|
||||||
Moonshot provides the Kimi API with OpenAI-compatible endpoints. Configure the
|
Moonshot provides the Kimi API with OpenAI-compatible endpoints. Configure the
|
||||||
provider and set the default model to `moonshot/kimi-k2-0905-preview`, or use
|
provider and set the default model to `moonshot/kimi-k2.5`, or use
|
||||||
Kimi Code with `kimi-code/kimi-for-coding`.
|
Kimi Code with `kimi-code/kimi-for-coding`.
|
||||||
|
|
||||||
Current Kimi K2 model IDs:
|
Current Kimi K2 model IDs:
|
||||||
{/* moonshot-kimi-k2-ids:start */}
|
{/* moonshot-kimi-k2-ids:start */}
|
||||||
|
- `kimi-k2.5`
|
||||||
- `kimi-k2-0905-preview`
|
- `kimi-k2-0905-preview`
|
||||||
- `kimi-k2-turbo-preview`
|
- `kimi-k2-turbo-preview`
|
||||||
- `kimi-k2-thinking`
|
- `kimi-k2-thinking`
|
||||||
@ -39,9 +40,10 @@ Note: Moonshot and Kimi Code are separate providers. Keys are not interchangeabl
|
|||||||
env: { MOONSHOT_API_KEY: "sk-..." },
|
env: { MOONSHOT_API_KEY: "sk-..." },
|
||||||
agents: {
|
agents: {
|
||||||
defaults: {
|
defaults: {
|
||||||
model: { primary: "moonshot/kimi-k2-0905-preview" },
|
model: { primary: "moonshot/kimi-k2.5" },
|
||||||
models: {
|
models: {
|
||||||
// moonshot-kimi-k2-aliases:start
|
// moonshot-kimi-k2-aliases:start
|
||||||
|
"moonshot/kimi-k2.5": { alias: "Kimi K2.5" },
|
||||||
"moonshot/kimi-k2-0905-preview": { alias: "Kimi K2" },
|
"moonshot/kimi-k2-0905-preview": { alias: "Kimi K2" },
|
||||||
"moonshot/kimi-k2-turbo-preview": { alias: "Kimi K2 Turbo" },
|
"moonshot/kimi-k2-turbo-preview": { alias: "Kimi K2 Turbo" },
|
||||||
"moonshot/kimi-k2-thinking": { alias: "Kimi K2 Thinking" },
|
"moonshot/kimi-k2-thinking": { alias: "Kimi K2 Thinking" },
|
||||||
@ -59,6 +61,15 @@ Note: Moonshot and Kimi Code are separate providers. Keys are not interchangeabl
|
|||||||
api: "openai-completions",
|
api: "openai-completions",
|
||||||
models: [
|
models: [
|
||||||
// moonshot-kimi-k2-models:start
|
// moonshot-kimi-k2-models:start
|
||||||
|
{
|
||||||
|
id: "kimi-k2.5",
|
||||||
|
name: "Kimi K2.5",
|
||||||
|
reasoning: false,
|
||||||
|
input: ["text"],
|
||||||
|
cost: { input: 0, output: 0, cacheRead: 0, cacheWrite: 0 },
|
||||||
|
contextWindow: 256000,
|
||||||
|
maxTokens: 8192
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "kimi-k2-0905-preview",
|
id: "kimi-k2-0905-preview",
|
||||||
name: "Kimi K2 0905 Preview",
|
name: "Kimi K2 0905 Preview",
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user