Google/Dense

Googlegemma-2-27b

chatThinking
27.2B
Parameters
4K
Context length
9
Benchmarks
10
Quantizations
391K
HF downloads
Architecture
Dense
Released
2024-06-27
Layers
46
KV Heads
16
Head Dim
128
Family
gemma

Quantization Options

QuantBitsVRAMQuality
Q3_K_M414.1 GBlow
Q3_K_L4.315.1 GBmoderate
IQ4_XS4.4615.7 GBmoderate
Q4_K_S4.6716.4 GBmoderate
Q4_K_M4.8917.1 GBgood
Q5_K_S5.5719.4 GBgood
Q5_K_M5.719.9 GBgood
Q6_K6.5622.8 GBexcellent
Q8_08.529.4 GBlossless
FP161654.9 GBlossless

Select your GPU above to see speed estimates and compatibility for each quantization.

READY TO RUN THIS?RENT BY THE HOUR

RENT A GPU AND RUN GEMMA-2-27B NOW

Spin up an A100 / H100 / 4090 in ~60s. Pay by the second. Cancel anytime.

Community Ratings

Loading ratings...

Benchmarks (9)

Arena Elo1477
IFEval79.8
BBH49.3
BigCodeBench42.8
MMLU-PRO38.3
MATH23.9
GPQA16.7
GPQA Diamond16.7
MUSR9.1

Run this model

Easiest way to get started·Beginners
DOCS ↗
curl -fsSL https://ollama.com/install.sh | sh
$ollama run gemma2:27.2b-instruct-q4_K_M

Downloads and runs automatically. Add --verbose for speed stats.

▸ SETUP GUIDE
>_

Auto-setup with fitmyllm CLI

Detects your GPU, recommends the best model, downloads it, and starts chatting — zero config. Benchmarks your speed and contributes anonymous data to improve predictions.

pip install fitmyllmthen run fitmyllmLearn more
Auto-detect GPULive tok/s in chatSpeed benchmarks9 inference engines

GPUs that can run this model

At Q4_K_M quantization. Sorted by minimum VRAM.

Apple M3 Pro (18GB)
18 GB VRAM • 150 GB/s
APPLE
$1599
AMD RX 7900 XT
20 GB VRAM • 800 GB/s
AMD
$849
NVIDIA A10M
20 GB VRAM • 500 GB/s
NVIDIA
NVIDIA RTX A4500
20 GB VRAM • 640 GB/s
NVIDIA
$2000
NVIDIA RTX 4090
24 GB VRAM • 1008 GB/s
NVIDIA
$1599
NVIDIA RTX 3090 Ti
24 GB VRAM • 1008 GB/s
NVIDIA
$999
NVIDIA RTX 3090
24 GB VRAM • 936 GB/s
NVIDIA
$850
AMD RX 7900 XTX
24 GB VRAM • 960 GB/s
AMD
$999
Apple M4 Pro (24GB)
24 GB VRAM • 273 GB/s
APPLE
$1399
NVIDIA L4 24GB
24 GB VRAM • 300 GB/s
NVIDIA
$2500
NVIDIA A10 24GB
24 GB VRAM • 600 GB/s
NVIDIA
$3500
Apple M2 (24GB)
24 GB VRAM • 100 GB/s
APPLE
$999
Apple M3 (24GB)
24 GB VRAM • 100 GB/s
APPLE
$999
Apple M4 (24GB)
24 GB VRAM • 120 GB/s
APPLE
$699
NVIDIA Tesla M40 24 GB
24 GB VRAM • 288 GB/s
NVIDIA
NVIDIA Tesla P10
24 GB VRAM • 694 GB/s
NVIDIA
NVIDIA Tesla P40
24 GB VRAM • 347 GB/s
NVIDIA
NVIDIA Quadro RTX 6000
24 GB VRAM • 672 GB/s
NVIDIA
$4000
NVIDIA GeForce RTX 3090
24 GB VRAM • 936 GB/s
NVIDIA
$1499
NVIDIA A10 PCIe
24 GB VRAM • 600 GB/s
NVIDIA
NVIDIA A10G
24 GB VRAM • 600 GB/s
NVIDIA
NVIDIA RTX A5000
24 GB VRAM • 768 GB/s
NVIDIA
$2500
NVIDIA GeForce RTX 4090
24 GB VRAM • 1010 GB/s
NVIDIA
$1599

Find the best GPU for gemma-2-27b

Build Hardware for gemma-2-27b

Read the full model card for detailed information about this model.

▸ SPEC SHEET

gemma-2-27b27.2B Dense.

▸ SPECIFICATIONS
PARAMETERS
27.2B
ARCHITECTURE
Dense Transformer
CONTEXT LENGTH
4K tokens
CAPABILITIES
chat
RELEASE DATE
2024-06-27
PROVIDER
Google
FAMILY
gemma
▸ VRAM REQUIREMENTS
QUANTBPWVRAMQUALITY
Q3_K_M414.1 GB88%
Q3_K_L4.315.1 GB90%
IQ4_XS4.4615.7 GB92%
Q4_K_S4.6716.4 GB93%
Q4_K_M4.8917.1 GB94%
Q5_K_S5.5719.4 GB96%
Q5_K_M5.719.9 GB96%
Q6_K6.5622.8 GB97%
Q8_08.529.4 GB100%
FP161654.9 GB100%
§ 01BENCHMARK SCORES
MMLU-PRO38.3
MATH23.9
IFEval79.8
BBH49.3
GPQA16.7
MUSR9.1
BigCodeBench42.8
Arena Elo1477.0
GPQA Diamond16.7
§ 02RUN COMMAND

Run gemma-2-27b locally with Ollama — needs 17.1 GB VRAM at Q4_K_M:

$ollama run gemma2:27.2b