Skip to content

Commit 9b60037

Browse files
CellenLeemtone
authored andcommitted
feat: update kimi-k2-0905-preview and kimi-k2-turbo-preview (RooCodeInc#7663)
1 parent 1903287 commit 9b60037

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

packages/types/src/providers/moonshot.ts

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { ModelInfo } from "../model.js"
33
// https://platform.moonshot.ai/
44
export type MoonshotModelId = keyof typeof moonshotModels
55

6-
export const moonshotDefaultModelId: MoonshotModelId = "kimi-k2-0711-preview"
6+
export const moonshotDefaultModelId: MoonshotModelId = "kimi-k2-0905-preview"
77

88
export const moonshotModels = {
99
"kimi-k2-0711-preview": {
@@ -17,9 +17,20 @@ export const moonshotModels = {
1717
cacheReadsPrice: 0.15, // $0.15 per million tokens (cache hit)
1818
description: `Kimi K2 is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters.`,
1919
},
20+
"kimi-k2-0905-preview": {
21+
maxTokens: 32_000,
22+
contextWindow: 262_144,
23+
supportsImages: false,
24+
supportsPromptCache: true,
25+
inputPrice: 0.6, // $0.60 per million tokens (cache miss)
26+
outputPrice: 2.5, // $2.50 per million tokens
27+
cacheWritesPrice: 0, // $0 per million tokens (cache miss)
28+
cacheReadsPrice: 0.15, // $0.15 per million tokens (cache hit)
29+
description: `Kimi K2 is a state-of-the-art mixture-of-experts (MoE) language model with 32 billion activated parameters and 1 trillion total parameters.`,
30+
},
2031
"kimi-k2-turbo-preview": {
2132
maxTokens: 32_000,
22-
contextWindow: 131_072,
33+
contextWindow: 262_144,
2334
supportsImages: false,
2435
supportsPromptCache: true,
2536
inputPrice: 2.4, // $2.40 per million tokens (cache miss)

0 commit comments

Comments
 (0)