We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5ac5440 + 78aaf7c commit 3e6e033Copy full SHA for 3e6e033
.changeset/tough-spiders-yawn.md
@@ -0,0 +1,5 @@
1
+---
2
+"kilo-code": patch
3
4
+
5
+Added support for Grok Code Fast to the xAI provider
packages/types/src/providers/xai.ts
@@ -6,6 +6,17 @@ export type XAIModelId = keyof typeof xaiModels
6
export const xaiDefaultModelId: XAIModelId = "grok-4"
7
8
export const xaiModels = {
9
+ "grok-code-fast-1": {
10
+ maxTokens: 16_384,
11
+ contextWindow: 262_144,
12
+ supportsImages: false,
13
+ supportsPromptCache: true,
14
+ inputPrice: 0.2,
15
+ outputPrice: 1.5,
16
+ cacheWritesPrice: 0.02,
17
+ cacheReadsPrice: 0.02,
18
+ description: "xAI's Grok Code Fast model with 256K context window",
19
+ },
20
"grok-4": {
21
maxTokens: 8192,
22
contextWindow: 256000,
0 commit comments