Grok 4.5
Grok 4.5 remains a documented coding and agent model, while Grok 4.6 is the current successor for longer software, tool-use, knowledge-work, and ambitious interactive or visual tasks.
🚀Function Overview
Grok 4.5 is a practical candidate for coding-agent and office-agent routing where teams want a current xAI model with published API pricing and Cursor availability.
Key Features
- Official model ID shown as grok-4.5 in the xAI launch API example
- Available in Grok Build, Cursor, and the xAI API console at launch
- Positioned for coding, agentic tasks, data work, spreadsheets, documents, and slides
- Cursor availability across desktop, web, iOS, CLI, and SDK surfaces
- xAI API launch pricing of $2 per million input tokens and $6 per million output tokens
- EU availability caveat at launch, with xAI saying EU access is expected later in July 2026
Use Cases
- •Coding-agent tasks in Cursor or Grok Build
- •Long-running software engineering and tool-use workflows
- •Cost-per-task comparisons against Claude, GPT, Composer, and GLM routes
- •Office-style agent work across spreadsheets, documents, and presentations
- •Provider-routing trials where current model ID, price, and availability must be explicit
⚙️Input Parameters
model
stringUse grok-4.5 when the xAI API account and region have access.
input
stringPrompt or task input sent through the xAI Responses API example or an equivalent supported client surface.
messages
arrayChat-style message array when using an OpenAI-compatible or provider-specific chat client surface.
tools
arrayOptional tool definitions or harness tools where the active xAI, Cursor, or routing surface supports agentic tool use.
💡Usage Examples
Example 1
Input Parameters
{
"model": "grok-4.5",
"input": "Find and fix the bug, then explain it: function median(a){a.sort();return a[a.length/2]}"
}Output Results
Example 2
Input Parameters
{
"model": "grok-4.5",
"messages": [
{
"role": "user",
"content": "Compare whether this agent task should run in Grok 4.5, Composer, Claude Sonnet 5, or GPT-5.6 based on likely task cost and review burden."
}
]
}Output Results
Quick Actions
Technical Specifications
- Hardware Type
- xAI API / Grok Build / Cursor
- Commercial Use
- Supported
- Pricing
- xAI API launch pricing: $2 per million input tokens and $6 per million output tokens
- Platform
- Replicate