Skip to content

xAI Grok 4

HeliconeFrontier

xAI Grok 4 by Helicone costs $3.00 per 1M input tokens and $15.00 per 1M output tokens, with a 256K-token context window.

Pricing

Input (per 1M tokens)
$3.00
Output (per 1M tokens)
$15.00
Cached input (per 1M)
$0.75

Specifications

Provider
Helicone
Context window
256K tokens
Parameters
3T
Released
Jul 2024
Open weights
No
Frontier model
Yes

Compare xAI Grok 4 with…

FAQ

How much does xAI Grok 4 cost?

xAI Grok 4 is priced at $3.00 per 1M input tokens and $15.00 per 1M output tokens. Output tokens cost more than input.

What is xAI Grok 4's context window?

xAI Grok 4 supports a context window of 256K tokens — the maximum prompt plus response length it can handle in a single request.

Is xAI Grok 4 open weight?

No — xAI Grok 4 is a closed/proprietary model accessed via API.

Data as of 2026-10-16. Source: models.dev (open). Pricing is per 1M tokens (USD); confirm with the provider before production use.