Skip to content

Commit 8f0d65f

Browse files
daniel-lxshannesrudolph
authored andcommitted
fix: restore roo/sonic model definition
1 parent 517895e commit 8f0d65f

File tree

1 file changed

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

1 file changed

+14
-1
lines changed

packages/types/src/providers/roo.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ export type RooModelId =
55
| "roo/code-supernova-1-million"
66
| "xai/grok-4-fast"
77
| "deepseek/deepseek-chat-v3.1"
8+
| "roo/sonic"
89

910
export const rooDefaultModelId: RooModelId = "xai/grok-code-fast-1"
1011

@@ -50,4 +51,16 @@ export const rooModels = {
5051
description:
5152
"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.",
5253
},
53-
} as const satisfies Record<string, ModelInfo>
54+
"roo/sonic": {
55+
contextWindow: 200000,
56+
supportsPromptCache: true,
57+
supportsImages: true,
58+
supportsComputerUse: true,
59+
inputPrice: 3.0,
60+
outputPrice: 15.0,
61+
cacheWritesPrice: 3.75,
62+
cacheReadsPrice: 0.3,
63+
description:
64+
"Roo Sonic is a blazing-fast model optimized for coding tasks, offering 200K context, prompt caching, and vision capabilities.",
65+
},
66+
} as const satisfies Record<RooModelId, ModelInfo>

0 commit comments

Comments
 (0)