llmrun
GrypheGemma 4Gemma4UnifiedForConditionalGeneration

Gemma 4 12B StyleTune — Hardware Requirements & GPU Compatibility

ChatRoleplay

Gemma 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.

13.0B params · dense262K contextApache 2.0746 downloads25 likes

Doesn't fit a 24 GB GPU

Smallest consumer fit → Mac Studio M1 Max (32 GB) · BF16 · 27.8 GB · ~10 tok/s

Macs from32 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
one command · needs vLLM installed
$vllm serve Gryphe/Gemma-4-12B-StyleTune --max-model-len 16384

vLLM repo with its own quantisation

Download: Weights on Hugging Face

install, OS, other quants

Ways to runOther ways

each opens step-by-step

Run 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.

QuantizationVRAM+32KOn RTX 4090 (reference)
27.0 GB29.1 GB16-bit · bfloat — Brain floating point 16 — preferred for trainingDoes not fit: needs 27.8 GB
est.calculated, no published file yet

Selected BF16

Brain floating point 16

27.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 GB

Gemma 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).

By VRAM tier · typical GPUs and Macs at BF16
8–16 GB · RTX 4060, RTX 3060 12GB, RTX 5060 Ti 16GBDoesn't fit — smallest quant needs 27.8 GB8 GB tier →12 GB tier →16 GB tier →
24 GB · RTX 4090referenceDoesn't fit — smallest quant needs 27.8 GB24 GB tier →
Mac 32 GB · Mac Mini M4BF16 · 27.8 GB · ~3 tok/s · 16KMacs →
Mac 64 GB · Mac Studio M4 MaxBF16 · 27.8 GB · ~14 tok/s · 256KMacs →

Alternatives to Gemma 4 12B StyleTune

Gemma 4 family · 35 models →

Similar models

6
ModelScoreVRAMtok/sWhy it is similar
Gemma 3 12B ITGoogle74.210.9 GB~82same size
Mistral Nemo Base 2407Mistral AI—11 GB~81same size
Phi 3 Medium 128k InstructMicrosoft—12 GB~72same size
Baichuan2 13B Basebaichuan-inc—11.5 GB~76same size
Llama 2 13B Chat HFMeta—11.5 GB~76same size
Vicuna 13B V1.3LMSYS—8.6 GB~76same 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

27.0 GB
46.7 GB

Learn more about VRAM estimation →

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)

~193 tok/s
~193 tok/s
~178 tok/s

Real-world results typically within ±20%. Speed depends on batch size, quantization kernel, and software stack.

Learn more about tok/s estimation →

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.