head-to-head
Google: Gemma 4 31B (free) vs OpenAI: GPT-5.3-Codex
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-09-23.
| Google: Gemma 4 31B (free) | OpenAI: GPT-5.3-Codex | |
|---|---|---|
| Vendor | openai | |
| Quality Score | 100 | 100 |
| Benchmark Score | 53.7 | 53.3 |
| Input Price | Free | $1.75/M |
| Output Price | Free | $14.00/M |
| Context Window | 262,144 | 400,000 |
| Max Output | 32,768 | 128,000 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 31.3 | 53.6 |
| eqbench | 70.8 | - |
Who wins by task?
| Task | Google: Gemma 4 31B (free) | OpenAI: GPT-5.3-Codex |
|---|---|---|
| SQL Generation | 140 | 138 |
| Code Review | 140 | 142 |
| Code Completion | 132 | 117 |
| Code Refactoring | 141 | 144 |
| Bug Fixing | 144 | 146 |
| Unit Test Generation | 130 | 130 |
| Code Documentation | 135 | 133 |
| Regex Writing | 126 | 122 |
| CI/CD Pipelines | 126 | 126 |
| Frontend Component Design | 128 | 128 |
| Data Analysis | 132 | 132 |
| CSV / Spreadsheet Cleanup | 134 | 134 |
| ETL Scripting | 133 | 135 |
| JSON Extraction | 132 | 120 |
| Bulk Data Labeling | 130 | 117 |
| OCR / Document Parsing | 131 | 133 |
| Table Extraction from PDFs | 131 | 133 |
| Long-Document Summarization | 143 | 145 |
| Short-Form Summarization | 127 | 115 |
| Blog Post Writing | 128 | 126 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →
Related comparisons
Anthropic: Claude Haiku Latest vs Google: Gemma 4 31B (free)
Anthropic: Claude Haiku Latest vs OpenAI: GPT-5.3-Codex
Anthropic: Claude Sonnet 5 vs Google: Gemma 4 31B (free)
Anthropic: Claude Sonnet Latest vs Google: Gemma 4 31B (free)
Anthropic: Claude Sonnet Latest vs OpenAI: GPT-5.3-Codex
ByteDance Seed: Seed-2.0-Lite vs OpenAI: GPT-5.3-Codex
ByteDance Seed: Seed-2.0-Mini vs OpenAI: GPT-5.3-Codex
Google: Gemini 3.1 Flash Lite Preview vs OpenAI: GPT-5.3-Codex