mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-06 08:18:39 +00:00
fix: correct Grok-4-Fast pricing and maxTokens according to official xAI specs
- Fix inputPrice from .0 to /bin/sh.20 per million tokens - Fix outputPrice from .0 to /bin/sh.50 per million tokens - Update maxTokens from 30,000 to 8,192 (matching grok-4, as xAI doesn't publish max output limit) - Remove subjective 'SOTA cost-efficiency' wording from description
This commit is contained in:
parent
a02a0e7db9
commit
d277ecde7c
1 changed files with 4 additions and 4 deletions
|
|
@ -29,13 +29,13 @@ export const xaiModels = {
|
|||
description: "xAI's Grok-4 model with 256K context window",
|
||||
},
|
||||
"grok-4-fast": {
|
||||
maxTokens: 30_000,
|
||||
maxTokens: 8192,
|
||||
contextWindow: 2_000_000,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: false,
|
||||
inputPrice: 1.0,
|
||||
outputPrice: 5.0,
|
||||
description: "xAI's Grok-4 Fast model with 2M context window and SOTA cost-efficiency",
|
||||
inputPrice: 0.2,
|
||||
outputPrice: 0.5,
|
||||
description: "xAI's Grok-4 Fast model with 2M context window",
|
||||
},
|
||||
"grok-3": {
|
||||
maxTokens: 8192,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue