Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apps/sim/content/blog/secret-provenance/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ ogAlt: 'Sim secret provenance technical overview'
about: ['Security', 'Execution']
timeRequired: PT12M
canonical: https://www.sim.ai/blog/secret-provenance
featured: false
featured: true
draft: false
faq:
- q: "How does Sim keep API keys out of workflow execution logs?"
Expand Down
5 changes: 3 additions & 2 deletions apps/sim/providers/models.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -362,13 +362,14 @@ describe('kimi provider definition', () => {
describe('xai provider definition', () => {
const xai = PROVIDER_DEFINITIONS.xai

it('is registered with grok-4.5 as the default model', () => {
it('is registered with grok-4.6 as the default model', () => {
expect(xai).toBeDefined()
expect(xai.id).toBe('xai')
expect(xai.defaultModel).toBe('grok-4.5')
expect(xai.defaultModel).toBe('grok-4.6')
})

it('is included in getHostedModels since Sim provides the xAI key server-side', () => {
expect(getHostedModels()).toContain('grok-4.6')
expect(getHostedModels()).toContain('grok-4.5')
})
})
Expand Down
18 changes: 16 additions & 2 deletions apps/sim/providers/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2135,14 +2135,29 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
fileAttachment: { maxBytes: 20 * 1024 * 1024, strategy: 'remote-url' },
name: 'xAI',
description: "xAI's Grok models",
defaultModel: 'grok-4.5',
defaultModel: 'grok-4.6',
modelPatterns: [/^grok/],
icon: xAIIcon,
color: '#555555',
capabilities: {
toolUsageControl: true,
},
models: [
{
id: 'grok-4.6',
pricing: {
input: 2.0,
cachedInput: 0.5,
output: 6.0,
updatedAt: '2026-08-12',
},
capabilities: {
temperature: { min: 0, max: 2 },
},
contextWindow: 500000,
releaseDate: '2026-08-12',
recommended: true,
},
{
id: 'grok-4.5',
pricing: {
Expand All @@ -2155,7 +2170,6 @@ export const PROVIDER_DEFINITIONS: Record<string, ProviderDefinition> = {
},
contextWindow: 500000,
releaseDate: '2026-07-08',
recommended: true,
},
{
id: 'grok-4.3',
Expand Down
Loading