Roboflow

Gemini 4 Carbon vs Gemma 4 31B

Gemini 4 Carbon averages 89.4% across five Vision Evals tasks and Gemma 4 31B 57.7% across four (#1 and #44 of 68 models), so Gemini 4 Carbon leads overall.

  • Gemini 4 Carbon wins all 4 tasks both ran, with its widest lead on counting (90.1% vs 51.4%).
  • Gemma 4 31B is about a quarter of the cost: $0.0015 vs $0.0061 overall average cost per sample.
  • Gemini 4 Carbon is faster: 8.7s vs 34.4s per sample.

Compare Gemini 4 Carbon vs Gemma 4 31B live

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

Detect and compare bounding boxes across models on the same image.

Open Object Detection in the full playground
GoogleGemini 4 Carbon
Run to compare this model.
GoogleGemma 4 31B
Run to compare this model.

Gemini 4 Carbon vs Gemma 4 31B on Vision Evals

Score by taskGemini 4 CarbonGemma 4 31B
Counting
90.1
51.4
Reasoning
91.4
52.8
Object Detection
84.5
47.5
Identification
93.8
79.2

Roboflow Vision Evals. Full breakdown below.

Gemini 4 Carbon vs Gemma 4 31B Comparison Table

Evals updated November 10, 2026Pricing updated November 10, 2026

PropertyGemini 4 CarbonGemma 4 31B
OrganizationGoogleGoogle
Categoryclosedopen
Modalitymultimodalmultimodal
Release DateNov 2026Apr 2026
Context Window1.0M256K
ParametersUnknown31B
LicenseProprietaryApache 2.0
Commercial usecommercial use per vendor termsfree for commercial use
Pricing per 1M tokens
Input $/1MNo published price$0.200
Output $/1MNo published price$0.400
Vision Tasks
Promptable Concept SegmentationDemoNot listed
Both support 10 more tasks
Model Features
Both support 3 more features
Vision Evalsground-truth scores across 5 vision tasks, pooled at low effort
Overall
89.4%
57.7%*
Quantizationsself-hosted
BF1657.7%FP857.7%QAT-W4A1657.6%hardware →
Avg cost / sample$0.0061$0.0015
Avg speed / sample8.71s34.36s
By task
Object Detection (low)
84.5%
±0.3, Mean of 3 runs, range 84.2 to 84.8
$0.011
47.5%
±0.6, Mean of 3 runs, range 46.8 to 48.0
$0
Object Detection (high)
85.9%
±0.3, Mean of 3 runs, range 85.6 to 86.2
$0.102
–
Counting (low)
90.1%
±1.4, Mean of 3 runs, range 89.2 to 91.9
$0.0024
51.4%
±2.7, Mean of 3 runs, range 48.6 to 54.0
$0
Counting (high)
86.9%
±2.7, Mean of 3 runs, range 83.8 to 89.2
$0.075
–
Identification (low)
93.8%
±0.0, Mean of 3 runs, range 93.8 to 93.8
$0.0024
79.2%
±1.6, Mean of 3 runs, range 78.1 to 81.3
$0
Identification (high)
96.9%
±0.0, Mean of 3 runs, range 96.9 to 96.9
$0.019
–
OCR (low)
87.2%
$0.0053
–
by category
Single value
80.4%
Transcription
96.6%
Structured JSON
93.0%
Text localization
84.2%
OCR (high)
89.7%
$0.102
–
by category
Single value
85.2%
Transcription
99.1%
Structured JSON
93.9%
Text localization
85.2%
Reasoning (low)
91.4%
±1.7, Mean of 3 runs, range 90.1 to 93.4
$0.0025
52.8%
±1.3, Mean of 3 runs, range 51.7 to 54.3
$0
Reasoning (high)
92.3%
±0.3, Mean of 3 runs, range 92.0 to 92.7
$0.057
–

Gemini 4 Carbon vs Gemma 4 31B: Overview

Gemini 4 Carbon

Gemini 4 Carbon is a multimodal model from Google. It builds on Gemini 4 Argon and supports reasoning over text and images. Google describes improvements in coding and long-running tasks. Model weights are not publicly released.

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.

Frequently Asked Questions

On Roboflow's Vision Evals, Gemini 4 Carbon performed better. It scores higher on all 4 vision tasks and averages 89.4% (#1 of 68) against 57.7% (#44 of 68) for Gemma 4 31B. These scores measure vision capabilities only; either model may perform differently on work outside this benchmark's tasks.

Yes. On the Vision Evals Counting benchmark at low effort, Gemini 4 Carbon leads with 90.1% against 51.4%. 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.0061. Actual costs depend on your image sizes, prompts, and output length.

Gemini 4 Carbon is faster. Across Roboflow's Vision Evals it averaged 8.7s per inference against 34.4s. Latency varies with image size, prompt length, and provider load, so treat these as relative rather than guaranteed figures.

Yes. The comparison demo on this page runs both models on the same image side by side for image captioning and OCR in the free Roboflow Playground. You can try it instantly, and a free account unlocks unlimited runs.