Your industry
Artificial Intelligence

Google shipped Gemma 4, a 31B open-weight model that approaches Gemini 3.1 Pro and runs on your own hardware

For your industry

Google released Gemma 4 on April 2 under an Apache 2.0 license, which means businesses can run it on their own servers, modify it, and ship products built on top of it without asking permission or paying royalties.

The family has four variants. The 2B and 4B "Effective" models run on phones and Raspberry Pis. The 26B Mixture-of-Experts model activates only 3.8 billion parameters per token, delivering fast inference at a fraction of the cost of comparable dense models. The 31B Dense model is the headline: on several reasoning benchmarks it approaches Gemini 3.1 Pro, Google's flagship closed model, and beats open-weight competitors with up to 400 billion parameters.

31BDense params
256KContext window
4Model variants
Apache 2.0License

The context window is 256,000 tokens. The model handles text and images. You can download the weights from Hugging Face, Kaggle, or Ollama and run them tonight.

The strategic read

The strategic message inside the release: Google is using its open-weight track to directly counter the Chinese open models (DeepSeek, Qwen) that captured developer mindshare over the past year. For any business worried about data handling, vendor lock-in, or per-token costs at scale, open-weight frontier models are now a real alternative to paid API access.

A self-hosted Gemma 4 31B on two H100s costs somewhere between $3 and $5 an hour to run. That pencils out against API pricing at roughly 200,000 tokens per minute of sustained use. Below that line, APIs still win. Above it, self-hosting starts looking sensible, especially for workloads where you can't send customer data through a third party.