OpenAI: GPT-5.6 Terra vs Google: Gemma 4 31B (free)
Side-by-side comparison of specs, pricing, benchmark scores, and task rankings. Updated 2026-11-07.
| OpenAI: GPT-5.6 Terra | Google: Gemma 4 31B (free) | |
|---|---|---|
| Vendor | openai | |
| Quality Score | 100 | 100 |
| Benchmark Score | 93.0 | 53.7 |
| Input Price | $2.00/M | Free |
| Output Price | $12.00/M | Free |
| Context Window | 1,050,000 | 262,144 |
| Max Output | 128,000 | 32,768 |
| Tool Calling | ✓ | ✓ |
| Structured Output | ✓ | ✓ |
| Reasoning Mode | ✓ | ✓ |
| Vision | ✓ | ✓ |
| Audio | - | - |
| Benchmark Scores | ||
| ai_index | 90.7 | 48.4 |
| ai_index_agentic | 78.2 | 23.8 |
| ai_index_coding | 100.0 | 71.7 |
| eqbench | - | 57.5 |
The verdict
For a sample job of 1 million input tokens and 250,000 output tokens, Gemma 4 31B (free) costs $0 and GPT-5.6 Terra costs $5.00, so Gemma 4 31B (free) is free for the same work.
GPT-5.6 Terra reads up to 1,050,000 tokens at once, roughly 1,575 pages of text, against about 393 pages for Gemma 4 31B (free).
Only Gemma 4 31B (free) offers video input.
On our blended benchmark score GPT-5.6 Terra leads 93.0 to 53.7.
Across the 20 tasks where they differ, GPT-5.6 Terra scores higher on 16 (SQL Generation, Code Review, Code Refactoring and others), Gemma 4 31B (free) on 4 (Code Completion, JSON Extraction, Bulk Data Labeling and others).
GPT-5.6 Terra was released in July 2026 and Gemma 4 31B (free) in April 2026.
Pick GPT-5.6 Terra if you need long documents, benchmark performance or the stronger all-round task scores; pick Gemma 4 31B (free) if you need lower cost or video input.
Costs use current list prices per million tokens; page counts assume about 0.75 words per token and 500 words per page.
Who wins by task?
| Task | OpenAI: GPT-5.6 Terra | Google: Gemma 4 31B (free) |
|---|---|---|
| SQL Generation | 171 | 156 |
| Code Review | 168 | 152 |
| Code Completion | 119 | 131 |
| Code Refactoring | 165 | 151 |
| Bug Fixing | 181 | 160 |
| Unit Test Generation | 155 | 143 |
| Code Documentation | 141 | 137 |
| Regex Writing | 135 | 131 |
| CI/CD Pipelines | 145 | 135 |
| Frontend Component Design | 147 | 138 |
| Data Analysis | 171 | 152 |
| CSV / Spreadsheet Cleanup | 153 | 145 |
| ETL Scripting | 155 | 143 |
| JSON Extraction | 138 | 143 |
| Bulk Data Labeling | 123 | 133 |
| OCR / Document Parsing | 147 | 140 |
| Table Extraction from PDFs | 147 | 140 |
| Long-Document Summarization | 159 | 149 |
| Short-Form Summarization | 122 | 129 |
| Blog Post Writing | 140 | 133 |
Scores reflect capability match + benchmark data + pricing for each task. Methodology →