diff --git a/packages/types/src/providers/moonshot.ts b/packages/types/src/providers/moonshot.ts index c82c54d6a7..18562d0d2b 100644 --- a/packages/types/src/providers/moonshot.ts +++ b/packages/types/src/providers/moonshot.ts @@ -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)