xAI: Grok Latest vs Google: Gemini 3.1 Flash Lite
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-11-07.
| xAI: Grok Latest | Google: Gemini 3.1 Flash Lite | |
|---|---|---|
| Vendor | ~x-ai | |
| Quality Score | 100 | 100 |
| Benchmark Score | 10.9 | - |
| Input Price | $2.00/M | $0.25/M |
| Output Price | $6.00/M | $1.50/M |
| Context Window | 500,000 | 1,048,576 |
| Max Output | 450,000 | 65,536 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | ✓ |
| Benchmark Scores | ||
| ai_index | 12.4 | - |
The verdict
For a sample job of 1 million input tokens and 250,000 output tokens, Gemini 3.1 Flash Lite costs $0.62 and Grok Latest costs $3.50, so Gemini 3.1 Flash Lite is about 5.6 times cheaper for the same work.
Gemini 3.1 Flash Lite reads up to 1,048,576 tokens at once, roughly 1,573 pages of text, against about 750 pages for Grok Latest.
Only Gemini 3.1 Flash Lite offers audio input and video input.
Across the 20 tasks where they differ, Grok Latest scores higher on 13 (SQL Generation, Code Review, Code Refactoring and others), Gemini 3.1 Flash Lite on 7 (Code Completion, Code Documentation, Regex Writing and others).
Grok Latest was released in July 2026 and Gemini 3.1 Flash Lite in May 2026.
Pick Gemini 3.1 Flash Lite if you need lower cost, long documents, audio input or video input.
Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.
Who wins by task?
| Task | xAI: Grok Latest | Google: Gemini 3.1 Flash Lite |
|---|---|---|
| SQL Generation | 134 | 133 |
| Code Review | 134 | 132 |
| Code Completion | 118 | 131 |
| Code Refactoring | 138 | 136 |
| Bug Fixing | 138 | 136 |
| Unit Test Generation | 125 | 124 |
| Code Documentation | 131 | 131 |
| Regex Writing | 119 | 119 |
| CI/CD Pipelines | 121 | 120 |
| Frontend Component Design | 123 | 122 |
| Data Analysis | 125 | 124 |
| CSV / Spreadsheet Cleanup | 133 | 133 |
| ETL Scripting | 129 | 128 |
| JSON Extraction | 122 | 131 |
| Bulk Data Labeling | 119 | 129 |
| OCR / Document Parsing | 131 | 131 |
| Table Extraction from PDFs | 131 | 131 |
| Long-Document Summarization | 139 | 137 |
| Short-Form Summarization | 115 | 123 |
| Blog Post Writing | 122 | 121 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →