head-to-head
SpaceXAI: Grok 4.20 vs Google: Gemini 3.1 Pro Preview Custom Tools
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-09-23.
| SpaceXAI: Grok 4.20 | Google: Gemini 3.1 Pro Preview Custom Tools | |
|---|---|---|
| Vendor | x-ai | |
| Quality Score | 100 | 100 |
| Benchmark Score | 50.6 | - |
| Input Price | $1.25/M | $2.00/M |
| Output Price | $2.50/M | $12.00/M |
| Context Window | 2,000,000 | 1,048,576 |
| Max Output | 1,800,000 | 65,536 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | ✓ |
| Benchmark Scores | ||
| ai_index | 42.3 | - |
| eqbench | 55.8 | - |
Who wins by task?
| Task | SpaceXAI: Grok 4.20 | Google: Gemini 3.1 Pro Preview Custom Tools |
|---|---|---|
| SQL Generation | 142 | 132 |
| Code Review | 146 | 132 |
| Code Completion | 121 | 117 |
| Code Refactoring | 150 | 136 |
| Bug Fixing | 150 | 136 |
| Unit Test Generation | 133 | 124 |
| Code Documentation | 139 | 129 |
| Regex Writing | 125 | 117 |
| CI/CD Pipelines | 129 | 120 |
| Frontend Component Design | 129 | 122 |
| Data Analysis | 133 | 124 |
| CSV / Spreadsheet Cleanup | 138 | 132 |
| ETL Scripting | 139 | 128 |
| JSON Extraction | 123 | 121 |
| Bulk Data Labeling | 120 | 117 |
| OCR / Document Parsing | 134 | 131 |
| Table Extraction from PDFs | 134 | 131 |
| Long-Document Summarization | 151 | 136 |
| Short-Form Summarization | 118 | 113 |
| Blog Post Writing | 130 | 120 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
Anthropic: Claude Haiku Latest vs Google: Gemini 3.1 Pro Preview Custom Tools
Anthropic: Claude Haiku Latest vs SpaceXAI: Grok 4.20
Anthropic: Claude Sonnet 5 vs SpaceXAI: Grok 4.20
Anthropic: Claude Sonnet Latest vs Google: Gemini 3.1 Pro Preview Custom Tools
Anthropic: Claude Sonnet Latest vs SpaceXAI: Grok 4.20
ByteDance Seed: Seed-2.0-Lite vs Google: Gemini 3.1 Pro Preview Custom Tools
ByteDance Seed: Seed-2.0-Mini vs Google: Gemini 3.1 Pro Preview Custom Tools
Google: Gemini 3.1 Flash Lite Preview vs Google: Gemini 3.1 Pro Preview Custom Tools