head-to-head

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

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

xAI: Grok 4.20 Google: Gemini 3.1 Flash Lite Preview
Vendorx-aigoogle
Quality Score100100
Benchmark Score74.7-
Input Price$1.25/M$0.25/M
Output Price$2.50/M$1.50/M
Context Window2,000,0001,048,576
Max Output-65,536
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-
Benchmark Scores
ai_index81.4-
ai_index_agentic88.9-
ai_index_coding69.6-
eqbench55.8-

Who wins by task?

TaskxAI: Grok 4.20Google: Gemini 3.1 Flash Lite Preview
SQL Generation 171 133
Code Review 170 132
Code Completion 122 131
Code Refactoring 168 136
Bug Fixing 185 136
Unit Test Generation 154 124
Code Documentation 147 131
Regex Writing 137 119
CI/CD Pipelines 146 120
Frontend Component Design 146 122
Data Analysis 170 124
CSV / Spreadsheet Cleanup 153 133
ETL Scripting 157 128
JSON Extraction 136 131
Bulk Data Labeling 125 129
OCR / Document Parsing 145 131
Table Extraction from PDFs 145 131
Long-Document Summarization 166 137
Short-Form Summarization 124 123
Blog Post Writing 143 121

Scores reflect capability match + benchmark data + pricing for each task. Methodology →

Related comparisons

MoonshotAI: Kimi K2.7 Code vs xAI: Grok 4.20 MoonshotAI: Kimi K2.7 Code vs Google: Gemini 3.1 Flash Lite Preview Qwen: Qwen3.7 Plus vs xAI: Grok 4.20 Qwen: Qwen3.7 Plus vs Google: Gemini 3.1 Flash Lite Preview MiniMax: MiniMax M3 vs xAI: Grok 4.20 MiniMax: MiniMax M3 vs Google: Gemini 3.1 Flash Lite Preview StepFun: Step 3.7 Flash vs xAI: Grok 4.20 StepFun: Step 3.7 Flash vs Google: Gemini 3.1 Flash Lite Preview