Home › Providers › ~x-ai › xAI: Grok Latest

xAI: Grok Latest API Pricing

xAI: Grok Latest is an API model from ~x-ai. It costs $2 per 1M input tokens and $6 per 1M output tokens, with cached input at $0.5. Its context window is 500,000 tokens with up to 450,000 output tokens. A workload of 10M input + 2M output tokens costs about $32 per month.
Input
$2
per 1M tokens
Output
$6
per 1M tokens
Cached input
$0.5
per 1M tokens
Context window
500K
500,000 tokens
Blended (80/20)
$2.8
per 1M tokens

This model always redirects to the latest Grok model from xAI.

How much does xAI: Grok Latest cost for a real workload?

At 10M input + 2M output tokens per month, xAI: Grok Latest costs about $32 ($20 input + $12 output). Try your own volumes in the cost calculator.

What are cheaper alternatives to xAI: Grok Latest?

Compare xAI: Grok Latest with other models

—

Frequently asked questions

How much does xAI: Grok Latest cost?

xAI: Grok Latest costs $2 per 1M input tokens and $6 per 1M output tokens (list price, snapshot October 21, 2026). At 10M input + 2M output tokens per month that is about $32.

What is the context window of xAI: Grok Latest?

xAI: Grok Latest has a context window of 500,000 tokens and can return up to 450,000 output tokens per response.

What are cheaper alternatives to xAI: Grok Latest?

Cheaper models include OpenAI: GPT-5.2 (batch) ($0.875 in / $7 out), Magnum v4 72B ($2.5 in / $5 out), Z.ai: GLM 5.2 ($0.0341 in / $7 out). See the full list on this page.

Is xAI: Grok Latest free to use?

No. xAI: Grok Latest is a paid model at $2 input / $6 output per 1M tokens. 20 free models are listed on the free models page.

Provider: ~x-ai · Model ID: ~x-ai/grok-latest · Modality: text+image+file->text · Price snapshot October 21, 2026, refreshed daily. How we collect prices