Grok 4.5
x-ai/grok-4.5
Back to model catalog

xAI · Model guide

Grok 4.5

Compare
x-ai/grok-4.5

xAI's frontier model for coding, long-running agents and technical knowledge work. It pairs a 500K context window with high-speed serving and selectable low, medium or high reasoning.

Modalities
TextImageText
Context
500K
Max output
500K
Price / 1M tokens
$ 2.00in$ 6.00out
StreamingTool callingJSON outputImage inputThinking mode

What this model is good at

What the vendor positions it for, and which of our models to reach for instead.

VendorSpaceXAI's smartest model for coding, agentic tasks and knowledge work.source

Best for
  • Agentic engineering · Official evaluations cover repository work, terminals and long-running engineering rollouts.source

  • Technical knowledge work · Training and product positioning emphasize coding, science, engineering and math.(vendor claim)source

Neighbouring models
  • x-ai/grok-4.3predecessor —Use Grok 4.3 for a longer context window and optional non-reasoning mode.
  • x-ai/grok-build-0.1sibling —Use Grok Build 0.1 for fast, coding-specialized agent loops.
Compare them side by side →

Pricing and billing

Tiered pricing: the rate changes once the input passes the threshold.

Price / 1M tokens by input sizeInput < 200.0KInput ≥ 200.0K
Input$ 2.00$ 4.00
Output$ 6.00$ 12.00
Cache read$ 0.30$ 0.60
Cache write$ 2.00$ 4.00
Estimate a request

At this input size you are on the Input < 200.0K tier.

$ 0.0320
Estimated cost per request
10.0K × $ 2.00
+ 2.0K × $ 6.00
≈ $ 32.00 per 1,000 requests

Capabilities and limits

What CrossModel guarantees across every route this model can take right now.

Context window
500.0K tokens
Max output
500.0K tokens
Input / output modalities
Text + Image → Text
Streaming
Supported
Tool calling
Supported
Structured output (JSON)
Supported
Image input
Supported
Thinking mode
Supported· always on
Reasoning effort
low · medium · high
Available endpoints
/v1/chat/completions · /v1/responses · /v1/messages
First-party sources:Specsdocs.x.ai 1x.ai 2Capabilitiesdocs.x.ai

Published benchmarks

Scores the vendor reported, with the evaluation setup each one came from.

Agentic coding
  • SWE Marathon
    pass_at_1·SpaceXAI · 2026-07-16setup not fully disclosed
    29%
  • Terminal-Bench 2.1
    pass_rate·SpaceXAI · 2026-07-16setup not fully disclosed
    83.3%
Coding
  • DeepSWE 1.0
    resolved_rate·SpaceXAI · 2026-07-16providersetup not fully disclosed

    Evaluation created by Datacurve and run with each model provider's harness by Artificial Analysis.

    62%
  • DeepSWE 1.1
    resolved_rate·SpaceXAI · 2026-07-16mini-swe-agent

    Run by Datacurve.

    53%
  • SWE-Bench Pro
    resolved_rate·SpaceXAI · 2026-07-16setup not fully disclosed
    64.7%

Vendor-reported numbers, not CrossModel measurements. Scores are only comparable when the benchmark version, metric and evaluation setup match, so nothing here is averaged or ranked.

Use it in your tools

Point the base URL at CrossModel and paste this model ID — every tool below has a setup guide.

See all integration guides →

Frequently asked questions

What is Grok 4.5?
Grok 4.5 is available on CrossModel as x-ai/grok-4.5. It has a 500K-token context window and can return up to 500K tokens per request.
How much does Grok 4.5 cost?
Currently $ 2.00 per 1M input tokens and $ 6.00 per 1M output tokens. Cached input is billed at $ 0.30 per 1M.
Does Grok 4.5 support tool calling and structured output?
Tool calling: Supported · Structured output (JSON): Supported · Image input: Supported · Streaming: Supported · Thinking mode: Supported
Which endpoint do I call?
For text models, OpenAI Chat Completions (/v1/chat/completions), OpenAI Responses (/v1/responses) and Anthropic Messages (/v1/messages) all work — pick whichever your SDK already speaks.
Can I try it without writing code?
Yes. Sign in and open the Playground on this page to chat with the model directly — no API key needed. Usage is billed from your wallet at the normal rate.

Chat first, integrate later

Chat first, then wire it in once you like the answers.