Gemini 3.1 Pro Preview vs Grok 4.7: cost

For a typical support chatbot, Grok 4.7 is about 1.9× cheaper than Gemini 3.1 Pro Preview ($558 vs $1,080 per month). Price is only one factor: test both on your own prompts before switching.

Gemini 3.1 Pro Preview vs Grok 4.7: prices and limits
Gemini 3.1 Pro PreviewGrok 4.7
Input /1M$2.00$2.00
Output /1M$12.00$6.00
Cached input /1M$0.20$0.50
Batch input /1M$1.00—
Batch output /1M$6.00—
Context window1,048,576500,000
Max input1,048,576500,000
Max output65,536500,000

Monthly cost by workload

Estimated monthly cost by workload (USD)
Scenario (per month)Gemini 3.1 Pro PreviewGrok 4.7
Customer support chatbot
5,000 req/day · 1,200 in · 400 out · cache 60%
$1,080$558
RAG over documents
2,000 req/day · 8,000 in · 600 out · cache 30%
$1,133$960
Coding agent
1,500 req/day · 25,000 in · 2,000 out · cache 80%
$1,710$1,440
Deep reasoning
800 req/day · 3,000 in · 6,000 out · cache 20%
$1,872$986
Batch processing
50,000 req/day · 1,500 in · 150 out · batch
$3,600$5,850