Gemini 3.1 Pro previewvsGrok 4.7
Both language models, compared at each maker’s own API list prices. Every figure links to its source.
Compare at your usage
Every model priced for the same request8,000 tokens in, 2,000 out
| Gemini 3.1 Pro preview on Gemini API | Grok 4.7 on xAI API | |
|---|---|---|
| Rate applied | Base rate | Base rate |
| Inputper 1M tokens | $2.00 | $2.00 |
| Cache readper 1M tokens | $0.20 | $0.50 |
| Outputper 1M tokens | $12.00 | $6.00 |
| Cost per request | $0.040 | $0.028 |
| Per 1,000 requests | $40.00 | $28.00 |
- Gemini 3.1 Pro preview Gemini API pricing · as of Nov 1, 2026
- Grok 4.7 xAI models and pricing · as of Nov 1, 2026
Every model is priced for the same request at its maker’s own list prices (each with its source and date), so bold marks the cheapest. A model that can’t serve the request is named, not ranked; a condition its seller doesn’t price says which rate was used.
Cost per request as prompts grow
2K tokens out, list price on each maker’s API. Gemini 3.1 Pro preview charges $4.00 / $18.00 above 200K tokens. Grok 4.7 charges $4.00 / $12.00 above 200K tokens. A line ends at the model’s context window.
- Gemini 3.1 Pro preview · Gemini API
- Grok 4.7 · xAI API
Where each stands among all scored models
Each line runs from the lowest to the highest score on the board; the tick is the median.
- Gemini 3.1 Pro preview
- Grok 4.7
Key differences
These differences use verified vendor specifications or each maker’s official API on the same region, currency, meter and billing conditions. Different conditions remain side by side in the full table; they do not establish which model is cheaper. Declared features describe support, not measured quality or a recommendation. Missing evidence does not mean a feature is unsupported.
Full comparison
| Gemini 3.1 Pro preview Google | Grok 4.7 xAI | |
|---|---|---|
| Overview | ||
| Released | Feb 19, 2026 | Sep 21, 2026 |
| Open weights | — | — |
| Knowledge cutoff | Jan 2025 | May 2026 |
| Specs | ||
| Context | 1.05M | 500K |
| Max output | 65.54K | 500K |
| Input modalities | Text, Image, Video, Audio, PDF | Text, Image |
| Output modalities | Text | Text |
| Reasoning | ||
| Reasoning efforts | low, medium, high | low, medium, high, xhigh |
| Tool use | ||
| Structured output | ||
| Pricing · per 1M tokens | ||
| Input price | $2.00 | $2.00 |
| Output price | $12.00 | $6.00 |
| Cache read price | $0.20 | $0.50 |
| Blended price (3 input : 1 output) | $4.50 | $3.00 |
| Pricing under conditions · per 1M tokens | ||
| Input price, long prompts | $4.00Prompts over 200K tokens | $4.00Prompts over 200K tokens |
| Output price, long prompts | $18.00Prompts over 200K tokens | $12.00Prompts over 200K tokens |
| Batch input price | $1.00Batch | Not offered |
| Batch output price | $6.00Batch | Not offered |
| Flex tier input price | $1.00Flex tier | Not offered |
| Flex tier output price | $6.00Flex tier | Not offered |
| Priority tier input price | $3.60Priority tier | Not offered |
| Priority tier output price | $21.60Priority tier | Not offered |
| Cited scores | ||
| Epoch Capabilities Index | 156.2 | 156.1 |
| LMArena Text | 1,487 | 1,441 xhigh effort |
| LMArena Text · Coding | 1,521 | 1,494 xhigh effort |
| LMArena Vision | 1,296 | 1,231 xhigh effort |
| LMArena Text · Chinese | 1,528 | 1,495 xhigh effort |
| Epoch AI · GPQA Diamond | 94.4% high effort | 92.7% xhigh effort |
| Epoch AI · FrontierMath Tiers 1–3 | 59.6% | 53% xhigh effort |
Headline prices may come from different channels, regions or tiers. Check each source before choosing a model; missing facts stay blank.
Model details and sources
- Gemini 3.1 Pro preview → Preview
- Grok 4.7 → Available
Cited scores
- Epoch AI, 'Capabilities & benchmarking'. Published online at epoch.ai. Retrieved from 'https://epoch.ai/benchmarks'. Licensed CC BY 4.0. · Epoch AI Benchmarking Hub data · CC BY 4.0 · as of Nov 5, 2026
- Epoch AI, 'Capabilities & benchmarking'. Published online at epoch.ai. Retrieved from 'https://epoch.ai/benchmarks'. Licensed CC BY 4.0. · Epoch AI Benchmarking Hub data · CC BY 4.0 · as of Oct 28, 2026
- Epoch AI, 'Capabilities & benchmarking'. Published online at epoch.ai. Retrieved from 'https://epoch.ai/benchmarks'. Licensed CC BY 4.0. · Epoch AI Benchmarking Hub data · CC BY 4.0 · as of Nov 4, 2026
- Epoch AI, 'Capabilities & benchmarking'. Published online at epoch.ai. Retrieved from 'https://epoch.ai/benchmarks'. Licensed CC BY 4.0. · Epoch AI Benchmarking Hub data · CC BY 4.0 · as of Nov 2, 2026
- EQ-Bench by Samuel J. Paech (eqbench.com; EQ-bench/EQ-bench-site on GitHub), MIT License. · EQ-Bench: 4 · MIT · as of Oct 24, 2026
- EQ-Bench by Samuel J. Paech (eqbench.com; EQ-bench/EQ-bench-site on GitHub), MIT License. · EQ-Bench: Longform Writing · MIT · as of Oct 28, 2026
- LiveBench (White et al.), release 2026-06-25, livebench.ai, licensed CC BY-SA 4.0. This board, adapted from it, is shared under CC BY-SA 4.0. · LiveBench release 2026-06-25 · CC BY-SA 4.0 · as of Jun 25, 2026
- LMArena (Arena), leaderboard-dataset on Hugging Face, licensed CC BY 4.0 · LMArena leaderboard dataset (Hugging Face) · CC BY 4.0 · as of Sep 13, 2026
- LMArena (Arena), leaderboard-dataset on Hugging Face, licensed CC BY 4.0 · LMArena leaderboard dataset (Hugging Face) · CC BY 4.0 · as of Oct 28, 2026
- LMArena (Arena), leaderboard-dataset on Hugging Face, licensed CC BY 4.0 · LMArena leaderboard dataset (Hugging Face) · CC BY 4.0 · as of Oct 19, 2026