google

Google: Gemma 4 31B

Gemma 4 31B is a multimodal model from Google that accepts image, video, and text inputs. It supports tool use and reasoning, and its context window extends to 262,144 tokens, making it suitable for long-document workflows. Structured output support is unconfirmed from available data, so treat that capability as unverified before committing to a pipeline that requires it. At $0.12 per million input tokens and $0.35 per million output tokens, Gemma 4 31B sits at the budget end of the market, which is its clearest advantage. Its blended benchmark score of 56.4 across only four benchmarks is a limited signal; coding scores are relatively strong at 71.7, but agentic performance is low at 23.8, making it a poor fit for autonomous task pipelines. Teams doing cost-sensitive coding assistance or long-context document processing have reasonable grounds to shortlist it, but buyers needing broad, validated performance should note the thin benchmark coverage.

Quality Score
100/100
price + capability + benchmarks
Input Price
$0.12
per 1M tokens
Output Price
$0.35
per 1M tokens
Context Window
262,144
tokens
Model ID
google/gemma-4-31b-it
Vendor
google
Tokenizer
Gemma
Input Modalities
image, text, video
Output Modalities
text
Max Output
262,144 tokens
Tool Calling
✓ supported
Structured Output
✓ supported
Reasoning Mode
✓ supported
Vision
✓ accepts images
Audio
no
Moderated
no

Category rankings

Where Google: Gemma 4 31B places across the 50 categories it ranks in. How we rank →

#CategoryScore
#6 Self-Hosted / LocalCost · of 25 ranked 117
#6 Real-Time ChatLatency · of 25 ranked 118
#7 Social Media PostsWriting · of 25 ranked 119
#7 Voice Assistant BackendVoice · of 25 ranked 123
#7 Cheap Bulk InferenceCost · of 25 ranked 137
#8 Video SummarizationVideo · of 25 ranked 151
#9 Short-Form SummarizationWriting · of 25 ranked 129
#9 Chat CompanionPersonal · of 25 ranked 129
#10 Email DraftingWriting · of 25 ranked 125
#10 Language LearningEducation · of 25 ranked 125
#12 Bulk Data LabelingData · of 25 ranked 133
#13 Video Auto-TaggingVideo · of 25 ranked 123
#13 Trivia & General KnowledgePersonal · of 25 ranked 119
#14 Sales / Cold EmailBusiness · of 25 ranked 121
#14 Job Application DraftingBusiness · of 25 ranked 121
#14 Journaling HelperPersonal · of 25 ranked 121
#14 Recipe GenerationPersonal · of 25 ranked 121
#14 Dataset AnnotationResearch · of 25 ranked 141
#16 Code CompletionCode · of 25 ranked 132
#16 JSON ExtractionData · of 25 ranked 143
#16 Image CaptioningVision · of 25 ranked 120
#17 Customer SupportBusiness · of 25 ranked 131
#18 Frontend Component DesignCode · of 25 ranked 138
#18 OCR / Document ParsingData · of 25 ranked 140
#18 Table Extraction from PDFsData · of 25 ranked 140
#18 Resume WritingBusiness · of 25 ranked 115
#18 Diagram ExtractionVision · of 25 ranked 142
#19 Chart & Graph ReadingVision · of 25 ranked 144
#20 Regex WritingCode · of 25 ranked 131
#20 Language TranslationWriting · of 25 ranked 131
#20 Screenshot DebuggingVision · of 25 ranked 136
#20 Browser AutomationAgents · of 25 ranked 153
#20 Tutoring for KidsPersonal · of 25 ranked 131
#22 CSV / Spreadsheet CleanupData · of 25 ranked 146
#22 Marketing CopyWriting · of 25 ranked 125
#22 Standardized Test PrepEducation · of 25 ranked 125
#22 Meeting NotesBusiness · of 25 ranked 144
#24 Blog Post WritingWriting · of 25 ranked 134
#24 SOP / Process DocsBusiness · of 25 ranked 131
#24 Agent WorkflowsAgents · of 25 ranked 169
#24 Coding AgentsAgents · of 25 ranked 169
#24 Trip PlanningPersonal · of 25 ranked 134
#25 SQL GenerationCode · of 25 ranked 157
#25 Bug FixingCode · of 25 ranked 161
#25 Unit Test GenerationCode · of 25 ranked 143
#25 Code DocumentationCode · of 25 ranked 138
#25 CI/CD PipelinesCode · of 25 ranked 136
#25 Data AnalysisData · of 25 ranked 152
#25 RFP ResponseBusiness · of 25 ranked 160
#25 Scientific CodingResearch · of 25 ranked 161

Similar models