Google

Gemma 3n E4B

small machines

7,8B

Parameters

3,9 Go

Q4_K_M file

≥ 5,4 Go

Recommended VRAM

32 768

Max context

Standard llama-bench run (prompt 512 / generation 128 tokens), model fully in VRAM. Click a card for details. Electricity cost at the default price (0,25 €/kWh).

Card · Q4_K_MVRAMGenerationPromptVRAM usedPower€ elec. / M tokPrice
RTX 4070 Ti12 Go107 tok/s5 2804,0 Go126 W0,08 €/M tok—

Not measured on these cards yet — click for an estimate:

Technical sheet

Published
2025-06-03
Architecture
35 layers · 2 KV heads · dimension 256
Attention
Sliding window: 7 of 35 layers keep the whole context, the others only the last 512 tokens — a much lighter cache.
Context cache (f16)
≈ 14 MB per 1,000 tokens · 0,4 Go for 32,768 tokens
GGUF file
bartowski/google_gemma-3n-E4B-it-GGUF · google_gemma-3n-E4B-it-Q4_K_M.gguf Download (3,9 Go)

Public Hugging Face data (official config.json, GGUF repo). The context cache only counts full-attention layers.