Google vs xAI
Gemini 3.1 Pro vs Grok 4.7: pricing comparison
Grok 4.7 costs 38% less than Gemini 3.1 Pro 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.1 Pro | Grok 4.7 | |
|---|---|---|
| Provider | xAI | |
| Input per 1M tokens | $2.00 | $2.00 |
| Output per 1M tokens | $12.00 | $6.00 |
| Context window | 1.05M | 500K |
| Batch discount | 50% off | Not offered |
| Typical request (1,000 in / 500 out) | $0.008 | $0.005 |
| Monthly at 1,000 requests/day | $240.00 | $150.00 |
Gemini 3.1 Pro: Price shown is for prompts up to 200K tokens; longer prompts are billed at $4 / $18.
Grok 4.7: Price shown is for inputs below 200K tokens.
Compare with your own numbers
- Gemini 3.1 Pro per request
- $0.008
- Per month
- $240.00
- Grok 4.7 per request
- $0.005
- Per month
- $150.00
Cost by task
| Task | Tokens (in / out) | Gemini 3.1 Pro | Grok 4.7 |
|---|---|---|---|
| Short chat reply | 500 / 300 | $4.60 | $2.80 |
| RAG answer | 6,000 / 600 | $19.20 | $15.60 |
| Summarize a long document | 12,000 / 1,000 | $36.00 | $30.00 |
| Output-heavy generation | 1,000 / 4,000 | $50.00 | $26.00 |
Output tokens usually dominate the bill — see input vs output token cost.
Frequently asked questions
- Is Gemini 3.1 Pro or Grok 4.7 cheaper?
- Grok 4.7 is cheaper for a typical request of 1,000 input and 500 output tokens: $0.005 versus $0.008 for Gemini 3.1 Pro, about 38% less.
- What are the per-token prices of Gemini 3.1 Pro and Grok 4.7?
- Gemini 3.1 Pro costs $2.00 input and $12.00 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.1 Pro or Grok 4.7?
- Gemini 3.1 Pro has the larger context window: 1.05M tokens versus 500K for Grok 4.7.
More comparisons
- Gemini 3.1 Pro vs GPT-6 AstraOpenAI
- Gemini 3.1 Pro vs GPT-5.6 SolOpenAI
- Gemini 3.1 Pro vs GPT-5.6 TerraOpenAI
- Gemini 3.1 Pro vs GPT-5.6 LunaOpenAI
- Gemini 3.1 Pro vs Claude Fable 5.1Anthropic
- Gemini 3.1 Pro vs Claude Opus 5.5Anthropic
- Grok 4.7 vs GPT-6 AstraOpenAI
- Grok 4.7 vs GPT-5.6 SolOpenAI
- Grok 4.7 vs GPT-5.6 TerraOpenAI
- Grok 4.7 vs GPT-5.6 LunaOpenAI
- Grok 4.7 vs Claude Fable 5.1Anthropic
- Grok 4.7 vs Claude Opus 5.5Anthropic