mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-10-07 02:58:15 +00:00
feat: update kimi-k2-0905-preview and kimi-k2-turbo-preview (#7663)
This commit is contained in:
parent
bca6e86d2b
commit
d9f80f175f
1 changed files with 13 additions and 2 deletions
|
|
@ -3,7 +3,7 @@ import type { ModelInfo } from "../model.js"
|
|||
// https://platform.moonshot.ai/
|
||||
export type MoonshotModelId = keyof typeof moonshotModels
|
||||
|
||||
export const moonshotDefaultModelId: MoonshotModelId = "kimi-k2-0711-preview"
|
||||
export const moonshotDefaultModelId: MoonshotModelId = "kimi-k2-0905-preview"
|
||||
|
||||
export const moonshotModels = {
|
||||
"kimi-k2-0711-preview": {
|
||||
|
|
@ -17,9 +17,20 @@ 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-0905-preview": {
|
||||
maxTokens: 32_000,
|
||||
contextWindow: 262_144,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: true,
|
||||
inputPrice: 0.6, // $0.60 per million tokens (cache miss)
|
||||
outputPrice: 2.5, // $2.50 per million tokens
|
||||
cacheWritesPrice: 0, // $0 per million tokens (cache miss)
|
||||
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,
|
||||
contextWindow: 262_144,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: true,
|
||||
inputPrice: 2.4, // $2.40 per million tokens (cache miss)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue