head-to-head

xAI: Grok Latest vs Google: Gemma 4 26B A4B (free)

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

xAI: Grok Latest Google: Gemma 4 26B A4B (free)
Vendor~x-aigoogle
Quality Score100100
Benchmark Score10.9-
Input Price$2.00/MFree
Output Price$6.00/MFree
Context Window500,000262,144
Max Output-32,768
Tool Calling
Structured Output
Reasoning Mode
Vision
Audio--
Benchmark Scores
ai_index12.4-

Who wins by task?

TaskxAI: Grok LatestGoogle: Gemma 4 26B A4B (free)
SQL Generation 134 131
Code Review 134 126
Code Completion 118 129
Code Refactoring 138 127
Bug Fixing 138 130
Unit Test Generation 125 121
Code Documentation 131 126
Regex Writing 119 120
CI/CD Pipelines 121 117
Frontend Component Design 123 122
Data Analysis 125 124
CSV / Spreadsheet Cleanup 133 128
ETL Scripting 129 122
JSON Extraction 122 132
Bulk Data Labeling 119 130
OCR / Document Parsing 131 128
Table Extraction from PDFs 131 128
Long-Document Summarization 139 129
Short-Form Summarization 115 124
Blog Post Writing 122 119

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: Gemma 4 26B A4B (free) 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