Roboflow

Gemma 4 31B vs GPT-6.1 Terra

GPT-6.1 Terra averages 85.8% across five Vision Evals tasks and Gemma 4 31B 57.7% across four (#2 and #41 of 65 models), so GPT-6.1 Terra leads overall.

  • GPT-6.1 Terra wins all 4 tasks both ran, with its widest lead on object detection (84.7% vs 47.5%).
  • Gemma 4 31B is about half the cost: $0.0015 vs $0.0033 overall average cost per sample.
  • GPT-6.1 Terra is faster: 10.1s vs 34.4s per sample.

Compare Gemma 4 31B vs GPT-6.1 Terra live

Run the same image across every model that supports a task and compare their outputs side-by-side.

These models don't share enough common tasks for a side-by-side demo. See the comparison table below for their capabilities.

Gemma 4 31B vs GPT-6.1 Terra on Vision Evals

Score by taskGemma 4 31BGPT-6.1 Terra
Object Detection
47.5
84.7
Reasoning
52.8
85.4
Counting
51.4
80.2
Identification
79.2
96.9

Roboflow Vision Evals. Full breakdown below.

Gemma 4 31B vs GPT-6.1 Terra Comparison Table

Evals updated October 26, 2026Pricing updated October 27, 2026

PropertyGemma 4 31BGPT-6.1 Terra
OrganizationGoogleOpenAI
Categoryopenclosed
Modalitymultimodalmultimodal
Release DateApr 2026Oct 2026
Context Window256K1.1M
Parameters31Bundisclosed
LicenseApache 2.0Proprietary
Commercial usefree for commercial usecommercial use per vendor terms
Pricing per 1M tokens
Input $/1M$0.200$1.00
Output $/1M$0.400$5.00
Vision Tasks
CaptioningDemoSupported
ClassificationDemoSupported
Object DetectionDemoSupported
OCRDemoSupported
Visual Question AnsweringDemoSupported
Both support 5 more tasks
Model Features
Both support 3 more features
Vision Evalsground-truth scores across 5 vision tasks, pooled at low effort
Overall
57.7%
4/5 tasks
85.8%
Quantizationsself-hosted
BF1657.7%FP857.7%QAT-W4A1657.6%hardware →
Avg cost / sample$0.0015$0.0033
Avg speed / sample34.36s10.05s
By task
Object Detection (low)
47.5%
±0.6, Mean of 3 runs, range 46.8 to 48.0
$0
84.7%
±0.1, Mean of 3 runs, range 84.7 to 84.8
$0.0051
Object Detection (high)–
84.7%
±0.4, Mean of 3 runs, range 84.2 to 84.9
$0.0081
Counting (low)
51.4%
±2.7, Mean of 3 runs, range 48.6 to 54.0
$0
80.2%
±2.0, Mean of 3 runs, range 78.4 to 82.4
$0.0018
Counting (high)–
84.2%
±3.4, Mean of 3 runs, range 81.1 to 87.8
$0.0029
Identification (low)
79.2%
±1.6, Mean of 3 runs, range 78.1 to 81.3
$0
96.9%
±0.0, Mean of 3 runs, range 96.9 to 96.9
$0.0013
Identification (high)–
96.9%
±0.0, Mean of 3 runs, range 96.9 to 96.9
$0.0014
OCR (low)–
81.9%
$0.0033
by category
Single value
70.9%
Transcription
96.7%
Structured JSON
91.5%
Text localization
77.6%
OCR (high)–
84.4%
$0.0066
by category
Single value
74.8%
Transcription
97.0%
Structured JSON
93.4%
Text localization
79.2%
Reasoning (low)
52.8%
±1.3, Mean of 3 runs, range 51.7 to 54.3
$0
85.4%
±1.7, Mean of 3 runs, range 83.4 to 86.8
$0.0016
Reasoning (high)–
87.0%
±1.3, Mean of 3 runs, range 85.4 to 88.1
$0.0023

Gemma 4 31B vs GPT-6.1 Terra: Overview

Gemma 4 31B

Gemma 4 31B is the largest dense model in Google's Gemma 4 family, built from the same research as Gemini 3 and released as open weights under the Apache 2.0 license. It supports a 256K token context window with text and image input, configurable thinking mode for step-by-step reasoning, and multilingual support across 140+ languages. The unquantized model fits on a single 80GB GPU.

For vision tasks, Gemma 4 31B supports image understanding with variable aspect ratios and resolutions, and can output structured bounding boxes for UI element detection, making it useful for document parsing and UI understanding. Compared to Gemma 3, it delivers stronger reasoning and multimodal performance. It is part of a four-size family alongside the 26B A4B MoE variant and two on-device models (E2B, E4B), with the 31B dense variant optimized for output quality and fine-tuning over inference speed.

GPT-6.1 Terra

GPT-6.1 Terra is an OpenAI model released on October 26, 2026 for visual reasoning, computer use and writing. It accepts text and image inputs and produces text, with a 1,050,000-token context window and up to 128,000 output tokens. OpenAI lists applications including matching product photographs to catalog entries, interpreting technical drawings and operating application screens.

The API exposes six reasoning effort settings: none, low, medium, high, xhigh and max. Medium is the default. The model supports structured outputs and tool calling through the Responses API. Vision Evals reports its Low and High results for text understanding, counting, identification, reasoning and object detection, using native OpenAI API inference. Terra is a proprietary model; its weights are not released.

Frequently Asked Questions

On Roboflow's Vision Evals, GPT-6.1 Terra performed better. It scores higher on all 4 vision tasks and averages 85.8% (#2 of 65) against 57.7% (#41 of 65) for Gemma 4 31B. These scores measure vision capabilities only; either model may perform differently on work outside this benchmark's tasks.

No. On the Vision Evals Object Detection benchmark at low effort, GPT-6.1 Terra leads with 84.7% against 47.5%. This is the widest gap between the two models across the benchmark's tasks.

Gemma 4 31B is cheaper to run. Across Roboflow's Vision Evals task mix it averaged $0.0015 per sample against $0.0033. Actual costs depend on your image sizes, prompts, and output length.

GPT-6.1 Terra is faster. Across Roboflow's Vision Evals it averaged 10.1s per inference against 34.4s. Latency varies with image size, prompt length, and provider load, so treat these as relative rather than guaranteed figures.