Skip to content

Commit c43f39e

Browse files
committed
Add new kimi model to groq
1 parent 2b73251 commit c43f39e

File tree

1 file changed

+12
-1
lines changed
  • packages/types/src/providers

1 file changed

+12
-1
lines changed

packages/types/src/providers/groq.ts

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,11 @@ export type GroqModelId =
1111
| "qwen/qwen3-32b"
1212
| "deepseek-r1-distill-llama-70b"
1313
| "moonshotai/kimi-k2-instruct"
14+
| "moonshotai/kimi-k2-instruct-0905"
1415
| "openai/gpt-oss-120b"
1516
| "openai/gpt-oss-20b"
1617

17-
export const groqDefaultModelId: GroqModelId = "llama-3.3-70b-versatile" // Defaulting to Llama3 70B Versatile
18+
export const groqDefaultModelId: GroqModelId = "moonshotai/kimi-k2-instruct-0905"
1819

1920
export const groqModels = {
2021
// Models based on API response: https://api.groq.com/openai/v1/models
@@ -100,6 +101,16 @@ export const groqModels = {
100101
cacheReadsPrice: 0.5, // 50% discount for cached input tokens
101102
description: "Moonshot AI Kimi K2 Instruct 1T model, 128K context.",
102103
},
104+
"moonshotai/kimi-k2-instruct-0905": {
105+
maxTokens: 16384,
106+
contextWindow: 262144,
107+
supportsImages: false,
108+
supportsPromptCache: true,
109+
inputPrice: 0.6,
110+
outputPrice: 2.5,
111+
cacheReadsPrice: 0.15,
112+
description: "Moonshot AI Kimi K2 Instruct 1T model, 256K context.",
113+
},
103114
"openai/gpt-oss-120b": {
104115
maxTokens: 32766,
105116
contextWindow: 131072,

0 commit comments

Comments
 (0)