Google vs xAI

Gemini 3.8 Flash vs Grok 4.7: pricing comparison

Gemini 3.8 Flash costs 48% less than Grok 4.7 for a typical 1,000-input, 500-output request. Here is how the two compare on price, context and discounts.

Prices last updated:

Side-by-side prices

Gemini 3.8 FlashGrok 4.7
ProviderGooglexAI
Input per 1M tokens$0.75$2.00
Output per 1M tokens$3.75$6.00
Context window1.05M500K
Batch discount50% offNot offered
Typical request (1,000 in / 500 out)$0.002625$0.005
Monthly at 1,000 requests/day$78.75$150.00

Gemini 3.8 Flash: Promotional rate through 31 December 2026; scheduled to rise to $1.50 / $7.50.

Grok 4.7: Price shown is for inputs below 200K tokens.

Compare with your own numbers

Gemini 3.8 Flash per request
$0.002625
Per month
$78.75
Grok 4.7 per request
$0.005
Per month
$150.00

Cost by task

Cost per 1,000 requests at standard prices.
TaskTokens (in / out)Gemini 3.8 FlashGrok 4.7
Short chat reply500 / 300$1.50$2.80
RAG answer6,000 / 600$6.75$15.60
Summarize a long document12,000 / 1,000$12.75$30.00
Output-heavy generation1,000 / 4,000$15.75$26.00

Output tokens usually dominate the bill — see input vs output token cost.

Frequently asked questions

Is Gemini 3.8 Flash or Grok 4.7 cheaper?
Gemini 3.8 Flash is cheaper for a typical request of 1,000 input and 500 output tokens: $0.002625 versus $0.005 for Grok 4.7, about 48% less.
What are the per-token prices of Gemini 3.8 Flash and Grok 4.7?
Gemini 3.8 Flash costs $0.75 input and $3.75 output per million tokens. Grok 4.7 costs $2.00 input and $6.00 output per million tokens.
Which has the larger context window, Gemini 3.8 Flash or Grok 4.7?
Gemini 3.8 Flash has the larger context window: 1.05M tokens versus 500K for Grok 4.7.

More comparisons

All comparisons →