Side-by-side comparison of pricing, 12 benchmarks, and generation speed.
| Metric | Grok Code Fast 1 | Gemini 3.1 Flash-Lite Preview |
|---|---|---|
| Input ($/M tokens) | $0.2 | $0.25 |
| Output ($/M tokens) | $1.5 | $1.5 |
Data from Artificial Analysis API — 12 benchmarks
Grok Code Fast 1 is cheaper overall. Its blended price (3:1 input/output ratio) is $0.53/M tokens vs $0.56/M for Gemini 3.1 Flash-Lite Preview.
Gemini 3.1 Flash-Lite Preview wins 7 out of 12 benchmarks compared to 4 for Grok Code Fast 1. See the detailed benchmark chart above for per-category results.
Gemini 3.1 Flash-Lite Preview generates tokens faster at 219 tok/s vs 186 tok/s. Grok Code Fast 1 also has lower time-to-first-token (2.79s vs 7.37s).
Choose based on your priorities: Grok Code Fast 1 for lower cost, Gemini 3.1 Flash-Lite Preview for stronger benchmark performance, and Gemini 3.1 Flash-Lite Preview for faster generation. For latency-sensitive apps, check the TTFT comparison above.