mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
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
This commit is contained in:
parent
1f5ee4307e
commit
0126c5dd46
1 changed files with 11 additions and 0 deletions
|
|
@ -17,6 +17,17 @@ export const moonshotModels = {
|
|||
cacheReadsPrice: 0.15, // $0.15 per million tokens (cache hit)
|
||||
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.`,
|
||||
},
|
||||
"kimi-k2-turbo-preview": {
|
||||
maxTokens: 32_000,
|
||||
contextWindow: 131_072,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: true,
|
||||
inputPrice: 2.4, // $2.40 per million tokens (cache miss)
|
||||
outputPrice: 10, // $10.00 per million tokens
|
||||
cacheWritesPrice: 0, // $0 per million tokens (cache miss)
|
||||
cacheReadsPrice: 0.6, // $0.60 per million tokens (cache hit)
|
||||
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.`,
|
||||
},
|
||||
} as const satisfies Record<string, ModelInfo>
|
||||
|
||||
export const MOONSHOT_DEFAULT_TEMPERATURE = 0.6
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue