Skip to content

Commit e83745f

Browse files
authored
feat(models): add grok-4 (#655)
1 parent 3887733 commit e83745f

File tree

1 file changed

+14
-1
lines changed

1 file changed

+14
-1
lines changed

apps/sim/providers/models.ts

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -376,10 +376,23 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
376376
id: 'xai',
377377
name: 'xAI',
378378
description: "xAI's Grok models",
379-
defaultModel: 'grok-3-latest',
379+
defaultModel: 'grok-4-latest',
380380
modelPatterns: [/^grok/],
381381
icon: xAIIcon,
382382
models: [
383+
{
384+
id: 'grok-4-latest',
385+
pricing: {
386+
input: 5.0,
387+
cachedInput: 2.5,
388+
output: 25.0,
389+
updatedAt: '2025-07-10',
390+
},
391+
capabilities: {
392+
temperature: { min: 0, max: 1 },
393+
toolUsageControl: true,
394+
},
395+
},
383396
{
384397
id: 'grok-3-latest',
385398
pricing: {

0 commit comments

Comments
 (0)