head-to-head

Google: Gemini 3.5 Flash vs xAI: Grok 4.20

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

Google: Gemini 3.5 Flash xAI: Grok 4.20
Vendorgooglex-ai
Quality Score100100
Input Price$1.50/M$1.25/M
Output Price$9.00/M$2.50/M
Context Window1,048,5762,000,000
Max Output65,536-
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio-

Who wins by task?

TaskGoogle: Gemini 3.5 FlashxAI: Grok 4.20
SQL Generation 132 133
Code Completion 117 119
Code Documentation 129 131
Regex Writing 117 119
CSV / Spreadsheet Cleanup 132 133
JSON Extraction 121 123
Bulk Data Labeling 118 120
Long-Document Summarization 136 137
Short-Form Summarization 113 115
Blog Post Writing 121 121

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

Related comparisons

StepFun: Step 3.7 Flash vs Google: Gemini 3.5 Flash StepFun: Step 3.7 Flash vs xAI: Grok 4.20 xAI: Grok Build 0.1 vs Google: Gemini 3.5 Flash xAI: Grok Build 0.1 vs xAI: Grok 4.20 Google: Gemini 3.5 Flash vs Google: Gemini 3.1 Flash Lite Google: Gemini 3.5 Flash vs xAI: Grok 4.3 Google: Gemini 3.5 Flash vs Mistral: Mistral Medium 3.5 Google: Gemini 3.5 Flash vs NVIDIA: Nemotron 3 Nano Omni (free)