Updated March 26, 2026· Based on independent benchmark data
Gemini 3.1 Pro Preview leads in intelligence with a score of 57.2 vs 28.7. Grok Code Fast 1 is 10.0x cheaper at $0.20/1M tokens vs $2.00/1M. For speed, Grok Code Fast 1 wins at 195 tok/s vs 113 tok/s.
| Metric | Grok Code Fast 1 | Gemini 3.1 Pro Preview |
|---|---|---|
| Intelligence Score | 28.7 | 57.2 |
| Coding Score | 23.7 | 55.5 |
| Math Score | 43.3 | N/A |
| Speed (tok/s) | 195 tok/s | 113 tok/s |
| Latency (TTFT) | 3.65s | 23.84s |
| Input Price / 1M tokens | $0.20 | $2.00 |
| Output Price / 1M tokens | $1.50 | $12 |
| Context Window | 256K |
Gemini 3.1 Pro Preview outperforms Grok Code Fast 1 on the intelligence index with a score of 57.2 compared to 28.7. For coding tasks, Gemini 3.1 Pro Preview has the edge with a coding score of 55.5 vs 23.7.
Grok Code Fast 1 generates output significantly faster at 195 tok/s compared to Gemini 3.1 Pro Preview's 113 tok/s, making it 1.7x faster for streaming responses. Time to first token is 3.65s for Grok Code Fast 1 vs 23.84s for Gemini 3.1 Pro Preview, which affects perceived responsiveness in interactive applications.
Grok Code Fast 1 is more affordable at $0.20/1M input tokens ($1.50/1M output), while Gemini 3.1 Pro Preview costs $2.00/1M input ($12/1M output). That makes Gemini 3.1 Pro Preview 10.0x more expensive per token, which can add up significantly at scale. For a typical workload of 100 requests per day at 2,000 tokens each, Grok Code Fast 1 would cost approximately $1.20/month vs $12.00/month for Gemini 3.1 Pro Preview in input costs alone.
Gemini 3.1 Pro Preview offers a larger context window at 1.0M tokens compared to Grok Code Fast 1's 256K. This means Gemini 3.1 Pro Preview can process roughly 524 pages of text in a single request vs 128 pages for Grok Code Fast 1.
Choose Grok Code Fast 1 when you need faster output (195 tok/s), lower cost. Choose Gemini 3.1 Pro Preview when you need higher intelligence (57.2), stronger coding performance (55.5), larger context window (1.0M).
Gemini 3.1 Pro Preview scores higher on coding benchmarks (55.5 vs 23.7), making it the better choice for programming tasks.
Grok Code Fast 1 is cheaper at $0.20/1M input tokens vs $2.00/1M for Gemini 3.1 Pro Preview.
Grok Code Fast 1 is faster, producing output at 195 tok/s compared to Gemini 3.1 Pro Preview's 113 tok/s.
No, Grok Code Fast 1 does not support image input. However, Gemini 3.1 Pro Preview does support images.
Data last synced: March 26, 2026
| 1.0M |
| Max Output Tokens | N/A | N/A |
| Input Modalities | Text | Audio + File + Image + Text + Video |
| Output Modalities | Text | Text |
| Free Tier | No | No |
Gemini 3.1 Pro Preview has a larger context window at 1.0M compared to Grok Code Fast 1's 256K.
It depends on your priorities. Gemini 3.1 Pro Preview scores higher on intelligence (57.2), but Grok Code Fast 1 may be better for specific use cases like budget-conscious projects or speed-critical applications.