Google: Gemma 4 31B
Gemma 4 31B is a multimodal model from Google that accepts image, text, and video inputs with a context window of 262,144 tokens and a matching output ceiling. It supports tool use and reasoning, giving it a reasonable footprint for agentic and multi-step workflows. Structured output support is unconfirmed based on available documentation. At $0.12 per million input tokens and $0.35 per million output tokens, pricing sits at the budget end of the multimodal tier. Its blended benchmark score of 56.4 across four benchmarks tells a mixed story: coding reaches 71.7, which is competitive, but agentic performance at 23.8 is notably low, making it a weaker choice for autonomous task pipelines. Teams doing document or video analysis with heavy coding assistance, on a cost-conscious budget, have the most reason to shortlist it; those prioritizing agentic reliability should weigh that score carefully before committing.
- Model ID
- google/gemma-4-31b-it
- Vendor
- 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 →
| # | Category | Score |
|---|---|---|
| #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 |
| #10 | Short-Form SummarizationWriting · of 25 ranked | 129 |
| #10 | Chat CompanionPersonal · of 25 ranked | 129 |
| #11 | Email DraftingWriting · of 25 ranked | 125 |
| #11 | Language LearningEducation · of 25 ranked | 125 |
| #12 | Bulk Data LabelingData · of 25 ranked | 133 |
| #13 | Video Auto-TaggingVideo · of 25 ranked | 123 |
| #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 | Trivia & General KnowledgePersonal · of 25 ranked | 119 |
| #15 | Dataset AnnotationResearch · of 25 ranked | 141 |
| #16 | Image CaptioningVision · of 25 ranked | 120 |
| #17 | Code CompletionCode · of 25 ranked | 132 |
| #17 | JSON ExtractionData · of 25 ranked | 143 |
| #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 | Customer SupportBusiness · of 25 ranked | 131 |
| #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 |