Skip to content

Commit b75f8dd

Browse files
authored
Add a couple more free models to the Roo provider (#8304)
1 parent 798801d commit b75f8dd

File tree

1 file changed

+25
-1
lines changed
  • packages/types/src/providers

1 file changed

+25
-1
lines changed

packages/types/src/providers/roo.ts

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
import type { ModelInfo } from "../model.js"
22

3-
export type RooModelId = "xai/grok-code-fast-1" | "roo/code-supernova"
3+
export type RooModelId =
4+
| "xai/grok-code-fast-1"
5+
| "roo/code-supernova"
6+
| "xai/grok-4-fast"
7+
| "deepseek/deepseek-chat-v3.1"
48

59
export const rooDefaultModelId: RooModelId = "xai/grok-code-fast-1"
610

@@ -25,4 +29,24 @@ export const rooModels = {
2529
description:
2630
"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.)",
2731
},
32+
"xai/grok-4-fast": {
33+
maxTokens: 30_000,
34+
contextWindow: 2_000_000,
35+
supportsImages: false,
36+
supportsPromptCache: false,
37+
inputPrice: 0,
38+
outputPrice: 0,
39+
description:
40+
"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.)",
41+
},
42+
"deepseek/deepseek-chat-v3.1": {
43+
maxTokens: 16_384,
44+
contextWindow: 163_840,
45+
supportsImages: false,
46+
supportsPromptCache: false,
47+
inputPrice: 0,
48+
outputPrice: 0,
49+
description:
50+
"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.",
51+
},
2852
} as const satisfies Record<string, ModelInfo>

0 commit comments

Comments
 (0)