Back to Models

Google Gemma · open weights

Gemma 2 9B

9B params8K ctx

Family
Google Gemma
Lab
Google Gemma
Parameters
9B
Max context
8,192 tokens

Quick answer: what should I run it on?

Cheapest popular Mac

Mac Mini M4 32GB

$999 · runs it at FP16, full quality, largest size.

Cheapest popular GPU

AMD Radeon RX 7800 XT

$599 · runs it at FP8, near-full quality, half the size of FP16.

Estimated at a 4096-token context. New to quantization? Read the plain-words guide.

How much memory it needs

A quantization is the same model stored with fewer bits per number. Fewer bits use less memory but lose some output quality. Each card shows the estimated memory for Gemma 2 9B, including KV-cache headroom at a 4096-token context.

Hatched bars are estimates. For comparison, a 24 GB GPU has about 21.6 GB usable.

Fit on popular hardware at FP4

Each bar shows how much of a device's usable memory this model takes at FP4, the format most people download first. The tick marks the usable limit, and a bar that reaches past it means the model does not fit.

Every quantization × popular device

These verdicts are estimated at a 4096-token context. How fit is calculated

All hardware →
QuantizationMac Mini M4 32GBMac Studio M5 MaxMac Studio M5 UltraMacBook Pro M4MacBook Pro M4 MaxMacBook Pro M5 Pro 24GBMacBook Pro M5 Pro 64GBMacBook Pro M5 Max 36GBMacBook Pro M5
FP32◐ Partial offload◐ Partial offload✓ Runs✕ Does not fit◐ Partial offload✕ Does not fit✓ Runs◐ Partial offload✕ Does not fit
FP16✓ Runs✓ Runs✓ Runs◐ Partial offload✓ Runs◐ Partial offload✓ Runs✓ Runs◐ Partial offload
BFLOAT16✓ Runs✓ Runs✓ Runs◐ Partial offload✓ Runs◐ Partial offload✓ Runs✓ Runs◐ Partial offload
FP8✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT8✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
FP4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
NF4✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs
INT2✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs✓ Runs

Not seeing your device? Check every device we track

Measured throughput

HardwareQuantizationTokens/sec
RTX 5090FP1678
RTX 5090INT4108
RTX 3090Q4_K_M52

Other Google Gemma models

Similar-sized models from other families