Grok 4.7 vs Gemini 3.1 Pro (preview)
Grok 4.7 is the better buy: the AIGROW small-business benchmark cannot tell the two apart, and Grok 4.7 has the lower list price. Grok 4.7 passed 18 of 20 tasks and costs $2 in and $6 out per million tokens; Gemini 3.1 Pro (preview) passed 19 and costs $2 in and $12 out.
Run Grok 4.7 up to 75% below list price. $25 a month brings $110 of API credit and cancels any time; $25 once buys $100. Gemini 3.1 Pro is still a preview, so its price and quality can change, and this verdict with them. US dollars, standard rate, shortest context band. Cost per pass from the AIGROW small-business benchmark. Newer comparison: Gemini 4 Argon vs Grok 4.7
- Grok 4.7
- $9.41
- Tasks passed
- 18 of 20
- Gemini 3.1 Pro (preview)
- $29.67
- Tasks passed
- 19 of 20
AIGROW small-business benchmark, failed runs included.
Two frontier models with similar input prices and different long-context rules. Grok 4.7 costs $9.41 per 1,000 passing answers on the AIGROW small-business benchmark, Gemini 3.1 Pro (preview) $29.67. 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.
What each one costs
The API price per million tokens and the cheapest app plan with each model, from the makers’ own pages. Each name opens that model’s full price page.
- Grok 4.7
- On the xAI API, Grok 4.7 costs $2 per million input tokens and $6 per million output tokens. Grok has a free plan and paid plans from $8/mo (Plus); the plan list does not name Grok 4.7. Plan prices read 22 October 2026. AIGROW API credit runs Grok 4.7 at $0.50 / $1.50 per million input / output tokens, 75% below list price. See API credit
- Gemini 3.1 Pro (preview)
- On the Google API, Gemini 3.1 Pro (preview) costs $2 per million input tokens and $12 per million output tokens. In Gemini, the cheapest plan with it is Google AI Pro at $19.99/mo. Plan prices read 20 October 2026.
$25 a month brings $110 of API credit and cancels any time; $25 once buys $100.
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 weights | Closed weights |
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 20% off in us-east-1 and us-west-2. 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 up to 75% below list price
AIGROW API credit covers Grok 4.7 at published rates never above the list prices here, and $25 buys $100 of credit.
Prices checked 12 November 2026