Gemma 4 12B StyleTune — Hardware Requirements & GPU Compatibility
ChatRoleplayGemma 4 12B StyleTune is a 13.0B-parameter open language model from Gryphe in the Gemma 4 family. It supports a context window of up to 262,144 tokens. At BF16 it needs about 26.99 GB of VRAM — see which GPUs and Macs can run it below.
Doesn't fit a 24 GB GPU
Smallest consumer fit → Mac Studio M1 Max (32 GB) · BF16 · 27.8 GB · ~10 tok/s
Macs from 32 GB (BF16 · ~10 tok/s)
Apache 2.0
Not set up for it?
Reference GPU · RTX 4090 24 GB
Estimates, ±20% · how we estimate
Run Gemma 4 12B StyleTune
One recommended way. Every other method, OS and quant is in the step-by-step guide.Each way opens a step-by-step guide for your OS and quant.
Recommended
vllm serve Gryphe/Gemma-4-12B-StyleTune --max-model-len 16384vLLM repo with its own quantisation
Download: Weights on Hugging Face
Ways to runOther ways
each opens step-by-stepRun in cloud
Runs on A100 40GB (12 GB headroom) · BF16
- Generation speed
- ~37 tok/s
- generation speed
- Cost per 1M output tokens
- $4.53
- per 1M output tokens
How Much VRAM Does Gemma 4 12B StyleTune Need?
Select a quantization level; the listed hardware adheres to it.
| Quantization | VRAM | +32K | On RTX 4090 (reference) | |
|---|---|---|---|---|
| 27.0 GB | 29.1 GB | 16-bit · bfloat — Brain floating point 16 — preferred for training | Does not fit: needs 27.8 GB |
Selected BF16
Brain floating point 1627.8GBat 16K context
- Weights
- 25.9 GB
- KV cache
- 1.6 GB
- Overhead
- 0.3 GB
Doesn't fit RTX 4090 (reference) · needs 3.8 GB more
≥30 tok/s needs ≥1.24 TB/s · RTX 5090 ~43
Or .
Which Hardware Can Run Gemma 4 12B StyleTune?
BF16 · 27.0 GBGemma 4 12B StyleTune (BF16) requires 27.0 GB of VRAM to load the model weights. For comfortable inference with headroom for KV cache and system overhead, 36+ GB is recommended. Using the full 262K context window can add up to 19.7 GB, bringing total usage to 46.7 GB. 1 GPU can run it, including NVIDIA GeForce RTX 5090. 97 devices with unified memory can run Gemma 4 12B StyleTune, including Mac Studio (M3 Ultra, 256GB), Mac Studio (M3 Ultra, 512GB), Mac Studio M5 Max (36 GB).
32–40 GB
fits · 4.2 GB free · up to 64K ctx
1 GPU · 3 Mac classes · 1 device family
RTX 5090~43Simulate output on RTX 5090M5 Max36 GB~12Simulate output on Mac Studio M5 Max (36 GB)M532 GB~4Simulate output on MacBook Air 13" M5 (32 GB)Orin~5Simulate output on NVIDIA Jetson AGX Orin 32GB
By VRAM tier · typical GPUs and Macs at BF16
Alternatives to Gemma 4 12B StyleTune
Gemma 4 family · 35 models →Similar models
6| Model | Score | VRAM | tok/s | Why it is similar |
|---|---|---|---|---|
| Gemma 3 12B ITGoogle | 74.2 | 10.9 GB | ~82 | same size |
| Mistral Nemo Base 2407Mistral AI | — | 11 GB | ~81 | same size |
| Phi 3 Medium 128k InstructMicrosoft | — | 12 GB | ~72 | same size |
| Baichuan2 13B Basebaichuan-inc | — | 11.5 GB | ~76 | same size |
| Llama 2 13B Chat HFMeta | — | 11.5 GB | ~76 | same size |
| Vicuna 13B V1.3LMSYS | — | 8.6 GB | ~76 | same size |
Specifications
- Publisher
- Gryphe
- Family
- Gemma 4
- Parameters
- 13.0B
- Architecture
- Gemma4UnifiedForConditionalGeneration
- Context Length
- 262,144 tokens
- Vocabulary Size
- 262,144
- Release Date
- 2026-06-19
- License
- Apache 2.0
Frequently Asked Questions
How much VRAM does Gemma 4 12B StyleTune need?
Gemma 4 12B StyleTune requires 27.0 GB of VRAM at BF16. Full 262K context adds up to 19.7 GB (46.7 GB total).
VRAM = Weights + KV Cache + Overhead
Weights = 13.0B × 16 bits ÷ 8 = 25.9 GB
KV Cache + Overhead ≈ 1.1 GB (at 2K context + ~0.3 GB framework)
Fit ratings and hardware model lists check this model with room for a 16K-token context, which needs a little more memory.
KV Cache + Overhead ≈ 20.8 GB (at full 262K context)
VRAM usage by quantization
Can I run Gemma 4 12B StyleTune on a Mac?
Yes — Mac Studio M1 Max (32 GB) and 84 other Macs can run Gemma 4 12B StyleTune. Apple Silicon uses unified memory, so the model shares RAM with the system. At BF16 you need at least 27.0 GB of usable unified memory (RAM minus macOS overhead).
Can I run Gemma 4 12B StyleTune locally?
Yes — Gemma 4 12B StyleTune can run locally on consumer hardware. Popular tools include Ollama, LM Studio, and llama.cpp.
How fast is Gemma 4 12B StyleTune?
At BF16, Gemma 4 12B StyleTune can reach ~178 tok/s on AMD Instinct MI350X. Speed depends mainly on GPU memory bandwidth. Real-world results typically within ±20%.
tok/s = (bandwidth GB/s ÷ model GB) × efficiency
Example: NVIDIA B200 → 8000 ÷ 27.0 × 0.65 = ~193 tok/s
Estimated speed at BF16 (27.0 GB)
Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.
What's the download size of Gemma 4 12B StyleTune?
At BF16, the download is about 25.93 GB.
Which GPUs can run Gemma 4 12B StyleTune?
1 consumer GPU can run Gemma 4 12B StyleTune at BF16. Top options include NVIDIA GeForce RTX 5090.
Which devices can run Gemma 4 12B StyleTune?
97 devices with unified memory can run Gemma 4 12B StyleTune at BF16 (27.0 GB), including ASUS Ascent GX10, Beelink GTR9 Pro (Ryzen AI Max+ 395, 128 GB), Framework Desktop (Ryzen AI Max+ 395, 128 GB), GMKtec EVO-X2 (Ryzen AI Max+ 395, 128 GB). Apple Silicon Macs use unified memory shared between CPU and GPU, making them well-suited for local LLM inference.