Grok 4 Cost Calculator

xAI's frontier model. $1.25 input / $2.50 output per 1M tokens with a 1M context window — the cheapest frontier-class output pricing in 2026.

Grok 4.3 is xAI's frontier model and the price disrupter of 2026. At $1.25 input / $2.50 output per million tokens, Grok offers output pricing roughly 12× cheaper than GPT-5.5 and 10× cheaper than Claude Opus 4.7, with quality competitive on coding, math, and agentic benchmarks.

For output-heavy workloads — code generation, long-form writing, multi-step agents — Grok 4.3 produces the lowest total bill of any frontier model. Compare it against the alternatives in the calculator below.

Models included

  • GPT-5.5 (OpenAI) — $5.00 input / $30.00 output per 1M tokens · 1M context window
  • Claude Sonnet 4.6 (Anthropic) — $3.00 input / $15.00 output per 1M tokens · 1M context window
  • Grok 4.3 (xAI) — $1.25 input / $2.50 output per 1M tokens · 1M context window

Frequently asked questions

How much does Grok 4 cost?

Grok 4.3 costs $1.25 per million input tokens and just $2.50 per million output tokens — far cheaper on output than any other frontier-class model in 2026.

Is Grok cheaper than ChatGPT?

On output, dramatically so — $2.50 per 1M vs $10 for GPT-5 and $30 for GPT-5.5. On input, Grok 4.3 ($1.25) matches GPT-5 and is below GPT-5.4 ($2.50).

What is the Grok 4 context window?

Grok 4.3 supports a 1,000,000-token context window with flat pricing — no long-context surcharge.

Is Grok 4 good for coding?

Yes. Grok 4.3 scores competitively with GPT-5.5 and Claude Sonnet 4.6 on Terminal-Bench, MCP Atlas, and live coding benchmarks. The price-to-performance ratio is the best in the frontier tier in 2026.

Related calculators

  • GPT-5.5 Cost Calculator
  • Claude Sonnet 4.6 Cost Calculator
  • Cheapest AI models 2026