Grok 4.5 API pricing: $2 input, $6 output per 1M

Grok 4.5 is xAI's July 2026 flagship for coding, agentic work, and knowledge tasks: 500K context, $2/1M input, $6/1M output, and $0.50 cached input.

By benchr Editorial Team · · Figures verified against official sources, July 13, 2026

Official pricing and limits

Grok 4.5 API pricing: $2 input, $6 output per 1M — official data
FieldValue
Model IDgrok-4.5
Input / 1M$2.00
Cached input / 1M (below 200K prompt)$0.30
Output / 1M$6.00
Long-context threshold200,000 prompt tokens
At or above 200K$4.00 input / $0.60 cached / $12.00 output
Batch APINot supported for Grok 4.5
Context window500,000 tokens
Knowledge cutoffFebruary 1, 2026
ReasoningConfigurable

Where it fits

Grok 4.5 is the xAI option to test when a 500K context window covers the job and you want configurable reasoning for code, chat, or agent workflows. Price the whole request at the higher tier when its prompt reaches 200K tokens; the threshold does not apply only to the tokens above 200K.

When to skip it

Skip it when you need a full 1M context window, where Grok 4.3 and several other models still publish larger context limits, or when procurement requires official benchmark tables that xAI has not published on the checked docs.

Changelog

  • — Corrected cached input from $0.50 to $0.30 and added xAI's long-context tier and Batch limitation after rereading the model page.

Sources