Gemini 4 Hydrogen vs Grok 4.20 (Non-Reasoning) pricing

Prices

Gemini 4 Hydrogen and Grok 4.20 (Non-Reasoning) prices, USD per 1M tokens
USD per 1M tokensGemini 4 HydrogenGrok 4.20 (Non-Reasoning)
Input$1.50$1.25
Output$7.50$2.50
Cache read$0.075$0.20
Cache writeNot publishedNot published
Batch inputNot publishedNot published
Batch outputNot publishedNot published

Gemini 4 Hydrogen: Google's list price for its own API, as compiled by models.dev and checked Nov 24, 2026, 04:16 UTC. Prices on cloud platforms and resellers can differ. Provider documentation

Grok 4.20 (Non-Reasoning): xAI's list price for its own API, as compiled by models.dev and checked Nov 24, 2026, 04:16 UTC. Prices on cloud platforms and resellers can differ. Provider documentation

Monthly cost by workload

WorkloadGemini 4 HydrogenGrok 4.20 (Non-Reasoning)
Chatbot1,000 in / 500 out tokens, 10,000 requests a day$1,575/mo$750.00/mo
RAG8,000 in / 500 out tokens, 5,000 requests a day$2,363/mo$1,688/mo
Coding agent50,000 in / 2,000 out tokens, 1,000 requests a day, 80% cached input$990.00/mo$765.00/mo

Cost = input tokens × input price + output tokens × output price, 30 days a month. Cached input uses the cache read price. Cache write fees are not included.

Context and capabilities

Gemini 4 HydrogenGrok 4.20 (Non-Reasoning)
Context1,048,576 tokens1,000,000 tokens
Max output65,536 tokens30,000 tokens
Inputtext, image, video, audio, pdftext, image, pdf
Tool callingYesYes
ReasoningYesNo
Structured outputsYesYes

Questions

What is the price difference between Gemini 4 Hydrogen and Grok 4.20 (Non-Reasoning)?
Gemini 4 Hydrogen: $1.50 per 1M input tokens and $7.50 per 1M output tokens. Grok 4.20 (Non-Reasoning): $1.25 per 1M input tokens and $2.50 per 1M output tokens. Base prices apply to prompts up to 200,000 input tokens; longer prompts use separate prices. For the Chatbot workload (1,000 in / 500 out tokens, 10,000 requests a day), that is about $1,575 per month for Gemini 4 Hydrogen and $750.00 for Grok 4.20 (Non-Reasoning).
Which has the longer context window, Gemini 4 Hydrogen or Grok 4.20 (Non-Reasoning)?
Gemini 4 Hydrogen has the longer context window: up to 1,048,576 tokens, compared with 1,000,000 for Grok 4.20 (Non-Reasoning).
Do Gemini 4 Hydrogen and Grok 4.20 (Non-Reasoning) have prompt caching and batch prices?
Gemini 4 Hydrogen: cached input $0.075 per 1M tokens; no batch price published. Grok 4.20 (Non-Reasoning): cached input $0.20 per 1M tokens; no batch price published. Base prices apply to prompts up to 200,000 input tokens; longer prompts use separate prices.

More comparisons