Gemma 4 (local)
Best all-round local family: E4B for laptops, 26B A4B for strong reasoning and code on a 24 GB GPU or 32 GB Mac.
Run it locally
ollama run gemma4:e4b- Ollama tag
- gemma4:e4b (also e2b, 12b, 26b, 31b)
- LM Studio name
- google/gemma-4-e4b (also -e2b, -12b, -26b-a4b, -31b, plus -qat)
- Download size by quantization
- E2B 4.6 GB Q4 / 6.0 GB Q8; E4B 6.6 / 9.0 GB; 12B 8.0 / 13 GB; 26B A4B 18 / 28 GB; 31B 20 / 34 GB
- License
- Apache 2.0
Memory needed is roughly the download size plus 2 to 4 GB for context. See how to run AI locally.
How to judge this local model
Start with the exact Ollama tag or LM Studio file shown above, then test one of your real prompts. A smaller quantization usually favors speed and lower memory use. A larger tag may preserve more quality but can become slow when the model and context compete for the same memory.
This page records the vendor's size, context, license, and run names. It does not claim a benchmark result for your hardware. If the model is too slow, reduce context or move the job to a smaller retained pick in the hardware-tier local guide.
Specs and prices checked 2026-10-15 against the official page.
Used in these setups
Related skills and personas
Agent skills and bot personas that pair well with Gemma 4 (local).
React 19 Best Practices & Performance Skill
Zero unnecessary rerenders, modern hooks, useActionState, and clean server component architecture.
FastAPI & Pydantic v2 Production Rule
Async route handlers, dependency injection, and Pydantic v2 model serialization rules.
Slack Collaboration MCP Server
Query team Slack channels, search conversation history, and post structured incident updates.
Application Security Code Review Setup
Systematic OWASP Top 10 code audit, dependency vulnerability scanning, and secret leak detection.
The Pragmatic Staff Engineer
High standards, zero bloat, resilient architecture, and concise reasoning.
The Checklist Surgeon
Turns a messy, error-prone process into a short checklist people will actually use, with clear pause points.
Want skills and personas installed in one command? See the AI Loadout packs, from $9.