AI & Automation6 min readNetray Engineering Team

Gemma 3 Enterprise Deployment: A Practical On-Prem Guide

Gemma 3 is Google's open-weight family built on the same research lineage as Gemini, ranging from a 1B text-only model up to a 27B multimodal model, with the 4B, 12B, and 27B sizes supporting native image input alongside a 128K token context window. It is the smallest-footprint capable family in this guide series, which makes it the default choice for edge deployment, workstation-based pilots, and any workload where GPU budget is the binding constraint rather than raw capability. The Gemma license is a custom Google license, not Apache 2.0 or MIT: it is broadly permissive for most enterprise use but carries specific use restrictions worth reading before deployment. This guide covers the size lineup and license, hardware sizing at each quantization, serving stack setup, fine-tuning options, regulated-industry considerations, and when Netray recommends Gemma 3 over a larger alternative.

What Gemma 3 Is: Sizes, Architecture, and License

Gemma 3 ships at 1B, 4B, 12B, and 27B parameters, all dense transformers, with the 4B, 12B, and 27B sizes adding a vision encoder for native image understanding and all sizes supporting a 128K token context window, which is unusually long for models this small. The 1B model is text-only and tuned specifically for low-latency, low-memory edge use. The Gemma license is Google's own custom terms: it permits commercial use and fine-tuning, includes a prohibited-use policy covering categories like generating harmful content, and requires that redistributed fine-tuned models carry the same license terms forward, similar in spirit to a share-alike clause. Read the specific terms before deployment, particularly the redistribution clause if you plan to share fine-tuned checkpoints across business units or with partners.

  • Sizes: 1B (text-only), 4B, 12B, 27B (multimodal, vision plus text)
  • 128K token context window across all sizes, long for models this compact
  • Gemma custom license: permissive commercial use, explicit prohibited-use policy, share-alike clause on redistribution
  • 27B is the largest size and still fits meaningfully smaller hardware than the flagship models in this guide series

Hardware Requirements at Different Quantizations

The 1B model runs comfortably on CPU or an entry-level GPU, needing roughly 2GB at FP16 or under 1GB at INT4, making it viable for edge devices and even some mobile or embedded deployments. The 4B model needs roughly 8GB at FP16 or 4GB at INT4, running well on a single RTX 4090/5090 or even a laptop GPU. The 12B model needs roughly 24GB at FP16 or 12GB at INT4, fitting a single RTX 4090/5090 or entry-level H100 partition. The 27B model, the largest and only fully multimodal-capable flagship size, needs roughly 54GB at FP16 or 27GB at INT4, fitting a single H100 80GB with substantial headroom, or an RTX 5090 at reduced context and concurrency. This is the only model family in this guide series where every size fits on workstation-class hardware at some quantization level.

  • 1B: under 1GB at INT4, runs on CPU or entry-level GPU, viable for edge and embedded
  • 4B: approximately 4GB at INT4, single workstation GPU (RTX 4090/5090)
  • 12B: approximately 12GB at INT4, single RTX 4090/5090
  • 27B: approximately 27GB at INT4, single H100 80GB with headroom, or RTX 5090 at reduced concurrency

Serving Stack Setup

llama.cpp with GGUF quantization and an Ollama front end is the natural serving choice for most Gemma 3 deployments given the sizes involved, particularly for edge, field, and single-workstation use cases where a full vLLM production stack is overkill. For the 12B and 27B sizes in a server context with meaningful concurrent user load, vLLM handles batching and multimodal input more efficiently than llama.cpp and is the better choice once you move past single-user or low-concurrency pilots. Because Gemma 3 targets a broad range of deployment contexts from embedded to server, plan your serving stack choice around the specific size and concurrency need rather than picking one stack for the whole family.

Fine-Tuning and Customization Options

Gemma 3's smaller sizes make it one of the most accessible fine-tuning targets in this guide series: LoRA and QLoRA on the 4B or 12B models complete in under an hour on a single consumer GPU for a modest dataset, using Unsloth or Axolotl. Full SFT is realistic even on the 12B and 27B sizes with a single H100. The redistribution clause in the Gemma license matters here specifically: if you plan to share fine-tuned checkpoints outside your organization, or even across business units with separate legal entities, confirm that the share-alike style requirement in the license does not conflict with your intended use before you build the fine-tuning pipeline.

Security and License Considerations for Regulated Industries

The Gemma custom license's prohibited-use policy needs the same legal review as any other non-Apache/MIT license before production use on regulated data, though in practice the restrictions are narrower and less operationally disruptive than Mistral's commercial-license requirement or Llama 4's usage threshold. On-prem deployment resolves data residency cleanly, and Gemma 3's small footprint makes it genuinely practical to run on isolated, air-gapped edge hardware at a manufacturing site or field location where a full GPU server is not feasible, which is a meaningful advantage for defense and aerospace clients with distributed facilities. Document the specific Gemma license version accepted and the quantization method used, same as any production model, for your audit trail.

When Netray Recommends Gemma 3 vs Alternatives

We recommend Gemma 3 when the deployment target is genuinely constrained hardware: a field laptop, an edge device at a manufacturing cell, or a shared workstation where a dedicated GPU server is not available, and the task fits within a small model's capability, such as document classification, structured extraction, or a narrow domain chatbot. For server-class deployments with meaningful concurrent load and no hardware constraint, we typically recommend a larger model from this guide series over Gemma 3's 27B ceiling. Where multimodal document understanding is needed on constrained hardware specifically, Gemma 3 is often the only realistic open-weight option that fits.

Frequently Asked Questions

Can Gemma 3 run on a laptop or edge device?

Yes. The 1B model runs on CPU or an entry-level GPU with under 1GB of memory at INT4 quantization, and the 4B model needs roughly 4GB at INT4, fitting comfortably on a laptop GPU or entry-level workstation card. This makes Gemma 3 the practical choice among current open-weight models for field, edge, and embedded deployments where a full GPU server is not available.

Does Gemma 3 support image input?

The 4B, 12B, and 27B sizes support native multimodal image understanding alongside text, using an integrated vision encoder. The 1B model is text-only. This makes the larger Gemma 3 sizes a practical option for document and drawing analysis workloads on constrained hardware, where a larger multimodal model like Llama 4 Scout would not fit.

Is Gemma 3 free for commercial use?

Yes, under Google's custom Gemma license, which permits commercial use and fine-tuning but includes an explicit prohibited-use policy and a share-alike style requirement on redistributed fine-tuned checkpoints. This is more permissive than Mistral's research license but has more specific terms than Apache 2.0 or MIT, so review the license text before deployment, particularly if you plan to share fine-tuned models across legal entities.

What is the largest Gemma 3 model and what hardware does it need?

The 27B model is the largest and only fully multimodal-capable flagship size. It needs roughly 54GB of GPU memory at FP16 or approximately 27GB at INT4 quantization, fitting a single H100 80GB card with substantial headroom, or an RTX 5090 workstation card at reduced context length and concurrency.

Key Takeaways

  • 1What Gemma 3 Is: Sizes, Architecture, and License: Gemma 3 ships at 1B, 4B, 12B, and 27B parameters, all dense transformers, with the 4B, 12B, and 27B sizes adding a vision encoder for native image understanding and all sizes supporting a 128K token context window, which is unusually long for models this small. The 1B model is text-only and tuned specifically for low-latency, low-memory edge use.
  • 2Hardware Requirements at Different Quantizations: The 1B model runs comfortably on CPU or an entry-level GPU, needing roughly 2GB at FP16 or under 1GB at INT4, making it viable for edge devices and even some mobile or embedded deployments. The 4B model needs roughly 8GB at FP16 or 4GB at INT4, running well on a single RTX 4090/5090 or even a laptop GPU.
  • 3Serving Stack Setup: llama.cpp with GGUF quantization and an Ollama front end is the natural serving choice for most Gemma 3 deployments given the sizes involved, particularly for edge, field, and single-workstation use cases where a full vLLM production stack is overkill. For the 12B and 27B sizes in a server context with meaningful concurrent user load, vLLM handles batching and multimodal input more efficiently than llama.cpp and is the better choice once you move past single-user or low-concurrency pilots.

Need an on-prem model that fits on constrained hardware at a plant or field site? Netray will size Gemma 3 or an alternative against your actual hardware and workload before you deploy.