From 9ebf98f41247eb78f536a24865cec82b140b840e Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Thu, 25 Sep 2025 09:50:23 -0400 Subject: [PATCH 1/2] Add a couple more free models to the Roo provider --- packages/types/src/providers/roo.ts | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/packages/types/src/providers/roo.ts b/packages/types/src/providers/roo.ts index 5bba18e298..19ac8b9e20 100644 --- a/packages/types/src/providers/roo.ts +++ b/packages/types/src/providers/roo.ts @@ -25,4 +25,24 @@ export const rooModels = { description: "A versatile agentic coding stealth model that supports image inputs, accessible for free through Roo Code Cloud for a limited time. (Note: the free prompts and completions are logged by the model provider and used to improve the model.)", }, + "xai/grok-4-fast": { + maxTokens: 30_000, + contextWindow: 2_000_000, + supportsImages: false, + supportsPromptCache: false, + inputPrice: 0, + outputPrice: 0, + description: + "Grok 4 Fast is xAI's latest multimodal model with SOTA cost-efficiency and a 2M token context window. (Note: prompts and completions are logged by xAI and used to improve the model.)", + }, + "deepseek/deepseek-chat-v3.1": { + maxTokens: 16_384, + contextWindow: 163_840, + supportsImages: false, + supportsPromptCache: false, + inputPrice: 0, + outputPrice: 0, + description: + "DeepSeek-V3.1 is a large hybrid reasoning model (671B parameters, 37B active). It extends the DeepSeek-V3 base with a two-phase long-context training process, reaching up to 128K tokens, and uses FP8 microscaling for efficient inference.", + }, } as const satisfies Record From d6ea97369e9a604fb6c1e230cb7b4b61af454bd1 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Thu, 25 Sep 2025 09:56:50 -0400 Subject: [PATCH 2/2] PR feedback --- packages/types/src/providers/roo.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/types/src/providers/roo.ts b/packages/types/src/providers/roo.ts index 19ac8b9e20..01fae43cd5 100644 --- a/packages/types/src/providers/roo.ts +++ b/packages/types/src/providers/roo.ts @@ -1,6 +1,10 @@ import type { ModelInfo } from "../model.js" -export type RooModelId = "xai/grok-code-fast-1" | "roo/code-supernova" +export type RooModelId = + | "xai/grok-code-fast-1" + | "roo/code-supernova" + | "xai/grok-4-fast" + | "deepseek/deepseek-chat-v3.1" export const rooDefaultModelId: RooModelId = "xai/grok-code-fast-1"