You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/providers/xai.md
+5-4Lines changed: 5 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,7 @@ keywords:
8
8
- reasoning AI
9
9
- vision models
10
10
- large context
11
+
- Grok Code Fast
11
12
- Grok-4
12
13
- Grok-3
13
14
- Grok-2
@@ -38,8 +39,8 @@ xAI is the company behind Grok, a large language model known for its conversatio
38
39
Roo Code supports the following xAI Grok models:
39
40
40
41
### Current Models
41
-
*`grok-4` (Default) - xAI's Grok-4 model with 256K context window, image support, and prompt caching
42
-
*`grok-code-fast-1` - xAI's Grok Code Fast model with 262K context window, optimized for coding tasks
42
+
*`grok-code-fast-1` (Default) - xAI's Grok Code Fast model with 262K context window and prompt caching, optimized for reasoning and coding tasks
43
+
*`grok-4` - xAI's Grok-4 model with 262K context window, image support, and prompt caching
43
44
*`grok-3` - xAI's Grok-3 model with 128K context window and prompt caching
44
45
*`grok-3-fast` - xAI's Grok-3 fast model with 128K context window and prompt caching
45
46
*`grok-3-mini` - xAI's Grok-3 mini model with 128K context window, reasoning support, and prompt caching
@@ -93,12 +94,12 @@ Choose `low` for simple queries that should complete quickly, and `high` for har
93
94
94
95
## Prompt Caching
95
96
96
-
Prompt caching is available for select Grok models including `grok-4`, `grok-3`, `grok-3-fast`, `grok-3-mini`, and `grok-3-mini-fast`. This feature can reduce costs and improve response times.
97
+
Prompt caching is available for select Grok models including `grok-code-fast-1`, `grok-4`, `grok-3`, `grok-3-fast`, `grok-3-mini`, and `grok-3-mini-fast`. This feature can reduce costs and improve response times.
97
98
98
99
---
99
100
100
101
## Pricing
101
102
102
103
Pricing varies by model. Refer to the [xAI documentation](https://console.x.ai/) for current pricing information.
103
104
104
-
**Note:**`grok-code-fast-1` is available for free through the [Roo Code Cloud provider](/providers/roo-code-cloud) during the promotional period. Standard pricing will apply when using the xAI provider directly in Roo Code.
105
+
**Note:**`grok-code-fast-1` is available for free through the [Roo Code Cloud provider](/providers/roo-code-cloud) during the promotional period. Standard pricing will apply when using the xAI provider directly in Roo Code.
0 commit comments