Skip to content

Commit 0126c5d

Browse files
feat: add Kimi K2 Turbo model configuration to moonshotModels (#7593)
* feat: add Kimi K2 Turbo model configuration to moonshotModels * feat: update Kimi K2 Turbo pricing and cache read prices
1 parent 1f5ee43 commit 0126c5d

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

packages/types/src/providers/moonshot.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,17 @@ 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-turbo-preview": {
21+
maxTokens: 32_000,
22+
contextWindow: 131_072,
23+
supportsImages: false,
24+
supportsPromptCache: true,
25+
inputPrice: 2.4, // $2.40 per million tokens (cache miss)
26+
outputPrice: 10, // $10.00 per million tokens
27+
cacheWritesPrice: 0, // $0 per million tokens (cache miss)
28+
cacheReadsPrice: 0.6, // $0.60 per million tokens (cache hit)
29+
description: `Kimi K2 Turbo is a high-speed version of the state-of-the-art Kimi K2 mixture-of-experts (MoE) language model, with the same 32 billion activated parameters and 1 trillion total parameters, optimized for output speeds of up to 60 tokens per second, peaking at 100 tokens per second.`,
30+
},
2031
} as const satisfies Record<string, ModelInfo>
2132

2233
export const MOONSHOT_DEFAULT_TEMPERATURE = 0.6

0 commit comments

Comments
 (0)