OpenRouter model
Google: Gemma 4 31B
Gemma 4 31B Instruct is Google DeepMind's 30.7B dense multimodal model supporting text and image input with text output. Features a 256K token context window, configurable thinking/reasoning mode, native function...
- Provider
- OpenRouter
- Availability
- Available
- Model ID
- google/gemma-4-31b-it
- Snapshot
- 2026-10-07
Google: Gemma 4 31B Benchmarks & Agentic Accuracy
Verified primary research & developer preference metrics
What This Means in Real Software Development
- Open-weights model from Google DeepMind capable of running on local GPU clusters.
- Scores 48.5% on SWE-bench Verified and 62.0% on AIME 2024.
- Fits on high-end consumer workstations (24GB-32GB VRAM) with quantization.
- 100% private, zero-telemetry autonomous coding inside Swarm.
Swarm Multi-Agent Topology
Best Paired With: Gemini 3.8 Flash or Claude 3.7 Sonnet
High-fidelity local coding engine for privacy-sensitive enterprise software teams.
Executes local Git worktree refactors via vLLM or Ollama.
What Developers & Practitioners Are Saying
Real-world field observations, production strengths, and developer consensus
"Google's open-weights model designed for local deployment and edge systems."
Verified Real-World Strengths
- High code quality for a 31B parameter open-weights model
- Can be run on local workstations with Ollama or vLLM
- Clean instruction following without corporate preambles
Production Caveats & Gaps
- Limited context window compared to cloud Gemini models
Primary Sources & Methodology Citations
- Gemma 4 Technical Report — Google DeepMind (February 2026)
Google: Gemma 4 31B model overview
Google: Gemma 4 31B is listed in the public Swarm catalog through OpenRouter. This page summarizes the verified catalog fields used by Swarm without claiming real-time access for every provider account.
- Provider
- OpenRouter
- Family
- OpenRouter
- Context window
- 262.1K tokens
- Thinking support
- off
- Availability status
- Available
- Catalog ID
- openrouter/google/gemma-4-31b-it
Run Google: Gemma 4 31B in Swarm
Verified CLI workflow & multi-agent architecture
swarm ctl model set --provider openrouter --model openrouter/google/gemma-4-31b-it# Or switch interactively inside the terminal TUI:
/modelsSubagent Role Matrix
Assign Google: Gemma 4 31B to specialized system roles in ~/.swarm/config.json:
- Primary / Planner: Orchestrates full task DAGs and multi-stage pipelines.
- Coder Subagent: Generates code and unit tests inside private Git worktrees.
- Finder Subagent: Performs read-only code search, symbol discovery, and mapping.
Public catalog snapshot. Catalog availability is not a real-time provider status or an access guarantee.