Grok 4 pricing

Grok 4 costs $1.25 per 1M input tokens and $2.50 per 1M output tokens as of October 2026. Tracked daily since 25 July 2026 across 94 snapshots.

Current rates

  • Input: $1.25 per 1M tokens
  • Output: $2.50 per 1M tokens
  • Cached input: $0.20 per 1M tokens
  • Context window: 256,000 tokens

No price movement recorded for Grok 4 over the tracked period — the rate has held steady.

Cheaper alternatives to Grok 4

Ranked by blended cost assuming a 3:1 input-to-output ratio, which is typical of chat and agent workloads. Only currently callable models with a comparable context window are listed.

ModelInput / 1MOutput / 1MCheaper by
Gemini 3.8 Flash$0.75$3.754%
Mistral Large 3$0.50$1.5052%
GPT-5.6 Luna$0.20$1.2071%
Llama 4 Maverick (400B)$0.15$0.6083%
Claude Haiku 5.5$0.10$0.5087%
Cite this data

Free to reuse under CC BY 4.0 with a link back.

Text

YemHub (2026). Grok 4 API pricing history. YemHub AI Pricing Index. Retrieved 26 October 2026, from https://yemhub.com/price-history/grok-4/

BibTeX

@misc{yemhub2026grok4apipricinghistory,
  author = {{YemHub}},
  title = {Grok 4 API pricing history},
  year = {2026},
  howpublished = {\url{https://yemhub.com/price-history/grok-4/}},
  note = {YemHub AI Pricing Index, accessed 2026-10-26}
}

See all AI pricing changes → · Full LLM pricing table →