Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

Commit 79ae113

Browse files
Enable Kimi 2 support on groq
1 parent f0571f5 commit 79ae113

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

internal/llm/models/groq.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const (
1111
Llama4Maverick ModelID = "meta-llama/llama-4-maverick-17b-128e-instruct"
1212
Llama3_3_70BVersatile ModelID = "llama-3.3-70b-versatile"
1313
DeepseekR1DistillLlama70b ModelID = "deepseek-r1-distill-llama-70b"
14+
KimiK2Instruct ModelID = "moonshotai/kimi-k2-instruct"
1415
)
1516

1617
var GroqModels = map[ModelID]Model{
@@ -84,4 +85,18 @@ var GroqModels = map[ModelID]Model{
8485
CanReason: true,
8586
SupportsAttachments: false,
8687
},
88+
89+
KimiK2Instruct: {
90+
ID: KimiK2Instruct,
91+
Name: "Kimi K2 Instruct",
92+
Provider: ProviderGROQ,
93+
APIModel: "moonshotai/kimi-k2-instruct",
94+
CostPer1MIn: 1.00,
95+
CostPer1MInCached: 0,
96+
CostPer1MOutCached: 0,
97+
CostPer1MOut: 3.00,
98+
ContextWindow: 128_000,
99+
DefaultMaxTokens: 4096,
100+
SupportsAttachments: true,
101+
},
87102
}

0 commit comments

Comments
 (0)