head-to-head
Google Gemini Flash Latest vs xAI: Grok 4.20
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-06-18.
| Google Gemini Flash Latest | xAI: Grok 4.20 | |
|---|---|---|
| Vendor | x-ai | |
| Quality Score | 100 | 100 |
| Benchmark Score | - | 69.3 |
| Input Price | $1.50/M | $1.25/M |
| Output Price | $9.00/M | $2.50/M |
| Context Window | 1,048,576 | 2,000,000 |
| Max Output | 65,536 | - |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | ✓ | - |
| Benchmark Scores | ||
| ai_index | - | 61.0 |
| ai_index_agentic | - | 88.9 |
| ai_index_coding | - | 69.6 |
| eqbench | - | 55.8 |
Who wins by task?
| Task | Google Gemini Flash Latest | xAI: Grok 4.20 |
|---|---|---|
| SQL Generation | 132 | 169 |
| Code Review | 132 | 166 |
| Code Completion | 117 | 122 |
| Code Refactoring | 136 | 165 |
| Bug Fixing | 136 | 181 |
| Unit Test Generation | 124 | 152 |
| Code Documentation | 129 | 145 |
| Regex Writing | 117 | 135 |
| CI/CD Pipelines | 120 | 143 |
| Frontend Component Design | 122 | 144 |
| Data Analysis | 124 | 167 |
| CSV / Spreadsheet Cleanup | 132 | 152 |
| ETL Scripting | 128 | 154 |
| JSON Extraction | 121 | 136 |
| Bulk Data Labeling | 118 | 125 |
| OCR / Document Parsing | 131 | 144 |
| Table Extraction from PDFs | 131 | 144 |
| Long-Document Summarization | 136 | 162 |
| Short-Form Summarization | 113 | 123 |
| Blog Post Writing | 121 | 141 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
MoonshotAI: Kimi K2.7 Code vs Google Gemini Flash Latest
MoonshotAI: Kimi K2.7 Code vs xAI: Grok 4.20
Qwen: Qwen3.7 Plus vs Google Gemini Flash Latest
Qwen: Qwen3.7 Plus vs xAI: Grok 4.20
MiniMax: MiniMax M3 vs Google Gemini Flash Latest
MiniMax: MiniMax M3 vs xAI: Grok 4.20
StepFun: Step 3.7 Flash vs Google Gemini Flash Latest
StepFun: Step 3.7 Flash vs xAI: Grok 4.20