Skip to content

Commit f1ba4c3

Browse files
smakoshclaude
andcommitted
feat(models): add grok-4.5
Add xAI's grok-4.5 flagship reasoning model with 500K context, vision, tools, and structured output support at $2/$6 per 1M tokens. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BFpvSqQbW4TaAqeYJ75xGV
1 parent 600db65 commit f1ba4c3

1 file changed

Lines changed: 28 additions & 0 deletions

File tree

  • packages/models/src/models

packages/models/src/models/xai.ts

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -893,6 +893,34 @@ export const xaiModels = [
893893
},
894894
],
895895
},
896+
{
897+
id: "grok-4-5",
898+
name: "Grok 4.5",
899+
description:
900+
"xAI's flagship reasoning model with a 500K context window, vision, and tool support.",
901+
aliases: ["grok-4.5-latest", "grok-build-latest"],
902+
family: "xai",
903+
releasedAt: new Date("2026-07-08"),
904+
providers: [
905+
{
906+
providerId: "xai",
907+
contentFilterPrice: 0.05,
908+
externalId: "grok-4.5",
909+
inputPrice: "2.0e-6",
910+
cachedInputPrice: "0.5e-6",
911+
outputPrice: "6.0e-6",
912+
requestPrice: "0",
913+
contextSize: 500_000,
914+
maxOutput: undefined,
915+
streaming: true,
916+
vision: true,
917+
reasoning: true,
918+
tools: true,
919+
jsonOutput: true,
920+
supportedParameters: xaiSupportedParamsNoFreqPresence,
921+
},
922+
],
923+
},
896924
{
897925
id: "grok-build-0-1",
898926
name: "Grok Build 0.1",

0 commit comments

Comments
 (0)