Grok 4.7 vs Gemini 3.1 Pro (preview)
Two frontier models with similar input prices and different long-context rules. Both list prices from the makers’ own pages, and what three everyday jobs cost on each.
US dollars, standard rate, shortest context band. Price only: this page does not rank quality.
- Grok 4.7
- $8.40
- Gemini 3.1 Pro (preview)
- $10.80
- Grok 4.7, per M tokens
- $2 / $6
- Gemini 3.1 Pro (preview), per M tokens
- $2 / $12
3,000 tokens in and 400 out each, at list price.
Per million tokens, Grok 4.7 costs $2 in and $6 out; Gemini 3.1 Pro (preview) costs $2 in and $12 out. 1,000 support replies cost $10.80 on Gemini 3.1 Pro (preview) and $8.40 on Grok 4.7, so Gemini 3.1 Pro (preview) costs 29% more. Grok 4.7 reads up to 500K tokens at once, Gemini 3.1 Pro (preview) up to 1.05M.
Side by side
Each maker’s published rate for its standard tier. Cached input is what a repeated prompt prefix costs once the provider has stored it.
| Fact | Grok 4.7 | Gemini 3.1 Pro (preview) |
|---|---|---|
| Maker | xAI | |
| Tier | Flagships | Flagships |
| Input, per M tokens | $2.00 | $2.00 |
| Output, per M tokens | $6.00 | $12.00 |
| Cached input | $0.50 | $0.20 |
| Context window | 500K | 1.05M |
| Released | Sep 2026 | 19 Feb 2026 |
| Weights | Closed | Closed |
What a job costs on each
1,000 runs of each job at the two list prices. The gap moves from job to job because the models price input, output and cached context differently.
| Job | Grok 4.7 | Gemini 3.1 Pro (preview) | Cheaper |
|---|---|---|---|
| Support reply3,000 in, 400 out. | $8.40 | $10.80 | Grok 4.7, 22% less |
| Document summary25,000 in, 1,000 out. | $56.00 | $62.00 | Grok 4.7, 10% less |
| Agent task80,000 in (70,000 cached), 3,000 out. | $73.00 | $70.00 | Gemini 3.1 Pro (preview), 4% less |
The token counts are ours, chosen to look like real work; the prices are the makers’. A model with no published cache price bills the agent task’s repeated context at its full input rate.
The small print
What each base rate leaves out, from the makers’ own pages: surcharges, discounts, promotions and cache pricing.
- Grok 4.7
- Prompts of 200K tokens or more: $4 / $12, cached $1.00. Batch API not supported. Release notes give the month only. xAI’s pricing page
- Gemini 3.1 Pro (preview)
- Preview model, but Google has no GA 3.x Pro and it is widely used. Prompts above 200K tokens: $4 / $18, cached $0.40. Cache storage $4.50 per MTok per hour. Batch 50% off. Max output 65,536. Google’s pricing page
Other comparisons
Every head to head on the list that involves Grok 4.7 or Gemini 3.1 Pro (preview).
Run Grok 4.7 for a quarter of list price
AIGROW API credit covers Grok 4.7 and is metered at the list prices above: $25 buys $100 of usage.
Prices checked 22 September 2026