Price comparison · checked October 12, 2026

Gemini 3.1 Pro vs Grok 4.7 pricing

For a typical support chatbot (60,000 conversations a month), Grok 4.7 costs $288 a month and Gemini 3.1 Pro costs $396. That makes Grok 4.7 1.4× cheaper for this workload.

Gemini 3.1 ProGrok 4.7
ProviderGooglexAI
Input / 1M$2.00$2.00
Cached input / 1M–$0.50
Output / 1M$12.00$6.00
Context window1M500K
NotesPreview. Higher rate over 200K tokensHigher rate for prompts of 200K+

Monthly cost by workload

WorkloadGemini 3.1 ProGrok 4.7Difference
Support chatbot
60,000 req · 1,500 in / 300 out
$396$288Grok 4.7 1.4× cheaper
Document summaries
20,000 req · 6,000 in / 400 out
$336$288Grok 4.7 1.2× cheaper
Coding assistant
30,000 req · 4,000 in / 800 out
$528$384Grok 4.7 1.4× cheaper
RAG search
100,000 req · 2,500 in / 250 out
$800$650Grok 4.7 1.2× cheaper

Standard rates, no caching or batch discounts. Sources: ai.google.dev · docs.x.ai

Try your own numbers

Start from a use case

1,000 tokens is about 750 English words. Input includes your system prompt, chat history and any retrieved documents.

Grok 4.7
xAICheapest
$288 /mo
$396 /mo

Related comparisons