From b3176d6441020ca664c6b42f9a5ed2acdc505994 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Tue, 26 Aug 2025 16:37:01 -0400 Subject: [PATCH 1/4] Reorder xAI model descriptions in documentation --- docs/providers/xai.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/docs/providers/xai.md b/docs/providers/xai.md index 04852893..1879d4aa 100644 --- a/docs/providers/xai.md +++ b/docs/providers/xai.md @@ -8,6 +8,7 @@ keywords: - reasoning AI - vision models - large context + - Grok Code Fast - Grok-4 - Grok-3 - Grok-2 @@ -38,8 +39,8 @@ xAI is the company behind Grok, a large language model known for its conversatio Roo Code supports the following xAI Grok models: ### Current Models -* `grok-4` (Default) - xAI's Grok-4 model with 256K context window, image support, and prompt caching -* `grok-code-fast-1` - xAI's Grok Code Fast model with 262K context window, optimized for coding tasks +* `grok-code-fast-1` (Default) - xAI's Grok Code Fast model with 262K context window, optimized for coding tasks +* `grok-4` - xAI's Grok-4 model with 256K context window, image support, and prompt caching * `grok-3` - xAI's Grok-3 model with 128K context window and prompt caching * `grok-3-fast` - xAI's Grok-3 fast model with 128K context window and prompt caching * `grok-3-mini` - xAI's Grok-3 mini model with 128K context window, reasoning support, and prompt caching @@ -101,4 +102,4 @@ Prompt caching is available for select Grok models including `grok-4`, `grok-3`, Pricing varies by model. Refer to the [xAI documentation](https://console.x.ai/) for current pricing information. -**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. \ No newline at end of file +**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. From 8abbea8857be741295221c58745e3d2ba17ad747 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Tue, 26 Aug 2025 16:38:50 -0400 Subject: [PATCH 2/4] Fix context window size for grok-4 model Updated context window size for 'grok-4' model and added 'grok-code-fast-1' to prompt caching section. --- docs/providers/xai.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/providers/xai.md b/docs/providers/xai.md index 1879d4aa..a182ed44 100644 --- a/docs/providers/xai.md +++ b/docs/providers/xai.md @@ -40,7 +40,7 @@ Roo Code supports the following xAI Grok models: ### Current Models * `grok-code-fast-1` (Default) - xAI's Grok Code Fast model with 262K context window, optimized for coding tasks -* `grok-4` - xAI's Grok-4 model with 256K context window, image support, and prompt caching +* `grok-4` - xAI's Grok-4 model with 262K context window, image support, and prompt caching * `grok-3` - xAI's Grok-3 model with 128K context window and prompt caching * `grok-3-fast` - xAI's Grok-3 fast model with 128K context window and prompt caching * `grok-3-mini` - xAI's Grok-3 mini model with 128K context window, reasoning support, and prompt caching @@ -94,7 +94,7 @@ Choose `low` for simple queries that should complete quickly, and `high` for har ## Prompt Caching -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. +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. --- From 5f6d3b5eac51a5fdec7a1377b2684f4e9a1d33aa Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Tue, 26 Aug 2025 16:40:11 -0400 Subject: [PATCH 3/4] Clarify 'grok-code-fast-1' model capabilities Updated the description of the 'grok-code-fast-1' model to include reasoning tasks. --- docs/providers/xai.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/providers/xai.md b/docs/providers/xai.md index a182ed44..eff69e73 100644 --- a/docs/providers/xai.md +++ b/docs/providers/xai.md @@ -39,7 +39,7 @@ xAI is the company behind Grok, a large language model known for its conversatio Roo Code supports the following xAI Grok models: ### Current Models -* `grok-code-fast-1` (Default) - xAI's Grok Code Fast model with 262K context window, optimized for coding tasks +* `grok-code-fast-1` (Default) - xAI's Grok Code Fast model with 262K context window, optimized for reasoning and coding tasks * `grok-4` - xAI's Grok-4 model with 262K context window, image support, and prompt caching * `grok-3` - xAI's Grok-3 model with 128K context window and prompt caching * `grok-3-fast` - xAI's Grok-3 fast model with 128K context window and prompt caching From 2db7ec3205d82261576d63d711c9d647744a3a73 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Tue, 26 Aug 2025 16:40:40 -0400 Subject: [PATCH 4/4] Enhance grok-code-fast-1 model description Added prompt caching detail to the grok-code-fast-1 model description. --- docs/providers/xai.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/providers/xai.md b/docs/providers/xai.md index eff69e73..4d5a1126 100644 --- a/docs/providers/xai.md +++ b/docs/providers/xai.md @@ -39,7 +39,7 @@ xAI is the company behind Grok, a large language model known for its conversatio Roo Code supports the following xAI Grok models: ### Current Models -* `grok-code-fast-1` (Default) - xAI's Grok Code Fast model with 262K context window, optimized for reasoning and coding tasks +* `grok-code-fast-1` (Default) - xAI's Grok Code Fast model with 262K context window and prompt caching, optimized for reasoning and coding tasks * `grok-4` - xAI's Grok-4 model with 262K context window, image support, and prompt caching * `grok-3` - xAI's Grok-3 model with 128K context window and prompt caching * `grok-3-fast` - xAI's Grok-3 fast model with 128K context window and prompt caching