Pricing comparison

Grok 4.7 vs Gemini 4 Hydrogen API pricing

Official list prices for Grok 4.7 (xAI) and Gemini 4 Hydrogen (Google), per 1 million tokens. Checked 29 Nov 2026.

For a workload of 10M input and 2M output tokens a month, Gemini 4 Hydrogen costs $30.00 and Grok 4.7 costs $32.00, about 1.1× more. Price is only one factor: compare quality on your own tasks.

MetricGrok 4.7Gemini 4 Hydrogen
ProviderxAIGoogle
Input / 1M tokens$2$1.50
Output / 1M tokens$6$7.50
Cached input / 1M$0.5$0.075
Blended 3:1 / 1M$3$3
Context window500K tokens—
10M in + 2M out / month$32.00$30.00
Verified29 Nov 202629 Nov 2026
SourcexAI ↗Google ↗

Standard tier list prices in USD, excluding tax, batch and regional pricing. Notes from the vendors: Prompts <200k tokens; >=200k billed $4.00/$1.00/$12.00 for all tokens · Standard tier. Free tier: free input/output/cached. Paid tier: $1.50 in / $7.50 out / $0.075 cached per 1M. Batch: $0.75/$3.75/$0.0375. Flex: $0.75/$3.75..

All Grok pricesAll Gemini pricesCalculate your own volume

More API price comparisons