Back to Models

Grok 4.5

xaixai/grok-4.5

xAI's successor to Grok 4.3. Function calling, structured outputs, and configurable reasoning carry over from the 4.3 generation.

Grok 4.5 is xAI's successor to Grok 4.3, verified live 2026-07-27 on both xAI's direct API and OpenRouter. It carries over the 4.3 generation's function calling, structured outputs, and configurable reasoning.

It fits production stacks that already route to the Grok family for agentic tool use and want the newest checkpoint at a similar price/quality tier to 4.3.

Best for
  • β€’ Agentic tool-calling workflows already standardized on the Grok family
Reach for something else if
  • β€’ Ultra-low-cost bulk classification β€” route to a cheaper tier like xai/grok-build-0.1
Context Length
500K
Max Output
66K
Input Priceper 1M tokens
$2.16/ 1M tokens
Output Priceper 1M tokens
$6.48/ 1M tokens

Modalities

textimage→text

Capabilities

Vision

Pricing Breakdown

TypeRate
Prompts under 200K tokens
Input$2.16 / 1M tokens
Output$6.48 / 1M tokens
Cached input$0.324 / 1M tokens
Prompts of 200K tokens or more
Input$4.32 / 1M tokens
Output$12.96 / 1M tokens
Cached input$0.648 / 1M tokens

Tiered pricing: when a request's prompt (input, cached tokens included) is 200K tokens or more, every token in that request is billed at the long-context rates.

Supported Parameters

temperaturemax_tokenstop_ptoolstool_choiceresponse_formatreasoningstop

Specifications

Release dateNot publicly disclosedunknown
LicenseCommercial via xAI APIverified

Benchmarks

BenchmarkDistributionScoreSource
Not publicly disclosed
β€”Not publicly disclosedβ€”

API Usage Examples

Use the global api.therouter.ai endpoint shown below for new integrations; the legacy China accelerated endpoint is retired.

cURL
curl https://api.therouter.ai/v1/chat/completions   -H "Content-Type: application/json"   -H "Authorization: Bearer $THE_ROUTER_API_KEY"   -d '{
    "model": "xai/grok-4.5",
    "messages": [
      {"role": "user", "content": "Summarize the key points from this input."}
    ]
  }'

API guide

Chat completion

cURL
curl https://api.therouter.ai/v1/chat/completions \
  -H "Authorization: Bearer $THEROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"model":"xai/grok-4.5","messages":[{"role":"user","content":"Hello"}]}'

More from xai

Guides

Fact ledger β€” every claim on this page traces here
sourceURLretrieved
Release dateβ€”β€”unknown
Licenseβ€”β€”verified
Not publicly disclosedx.ai β†—2026-07-27unknown
Help & contact