head-to-head

xAI: Grok Latest vs Google: Gemini 3.1 Flash Lite Preview

Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-07-09.

xAI: Grok Latest Google: Gemini 3.1 Flash Lite Preview
Vendor~x-aigoogle
Quality Score100100
Benchmark Score10.9-
Input Price$2.00/M$0.25/M
Output Price$6.00/M$1.50/M
Context Window500,0001,048,576
Max Output-65,536
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-
Benchmark Scores
ai_index12.4-

Who wins by task?

TaskxAI: Grok LatestGoogle: Gemini 3.1 Flash Lite Preview
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 →

Related comparisons

xAI: Grok 4.5 vs xAI: Grok Latest xAI: Grok 4.5 vs Google: Gemini 3.1 Flash Lite Preview xAI: Grok Latest vs Anthropic: Claude Sonnet 5 xAI: Grok Latest vs Nex AGI: Nex-N2-Mini xAI: Grok Latest vs MoonshotAI: Kimi K2.7 Code xAI: Grok Latest vs Qwen: Qwen3.7 Plus xAI: Grok Latest vs MiniMax: MiniMax M3 xAI: Grok Latest vs StepFun: Step 3.7 Flash