{
 "id": "gemma-4-e4b",
 "name": "gemma-4-E4B",
 "repo": "google/gemma-4-E4B-it",
 "lab": {
  "name": "Google",
  "country": "United States"
 },
 "released": "2026-03-02",
 "parameters": 7.99615649,
 "activeParameters": null,
 "maxContext": 131072,
 "architecture": "42 layers · 7 full attention (2 KV × 512) · 35 sliding-window layers (512 tokens, 2 KV × 256)",
 "page": "https://studiotvai.com/vram-requirements/gemma-4-e4b",
 "calculator": "https://studiotvai.com/llm-vram-calculator?model=gemma-4-e4b",
 "weightsGiB": {
  "bf16": 14.89,
  "fp8": 8.07,
  "q4_k_m": 4.36
 },
 "kvCacheGiBPerRequest": [
  {
   "context": 8192,
   "bf16": 0.253,
   "fp8": 0.126
  },
  {
   "context": 32768,
   "bf16": 0.909,
   "fp8": 0.455
  },
  {
   "context": 131072,
   "bf16": 3.534,
   "fp8": 1.767
  }
 ],
 "recurrentStateGiBPerRequest": 0,
 "gpusNeeded": {
  "scenario": "one request of 8192 tokens, BF16 KV cache; vLLM on data-center GPUs, llama.cpp elsewhere",
  "gpus": [
   {
    "gpu": "rtx-4090",
    "name": "GeForce RTX 4090",
    "memoryGB": 24,
    "engine": "llama.cpp",
    "byFormat": {
     "bf16": 1,
     "fp8": 1,
     "q4_k_m": 1
    }
   },
   {
    "gpu": "rtx-5090",
    "name": "GeForce RTX 5090",
    "memoryGB": 32,
    "engine": "llama.cpp",
    "byFormat": {
     "bf16": 1,
     "fp8": 1,
     "q4_k_m": 1
    }
   },
   {
    "gpu": "rtx-pro-6000",
    "name": "RTX PRO 6000 Blackwell",
    "memoryGB": 96,
    "engine": "llama.cpp",
    "byFormat": {
     "bf16": 1,
     "fp8": 1,
     "q4_k_m": 1
    }
   },
   {
    "gpu": "mac-m5-max-128",
    "name": "Mac M5 Max 128 GB",
    "memoryGB": 96,
    "engine": "llama.cpp",
    "byFormat": {
     "bf16": 1,
     "fp8": 1,
     "q4_k_m": 1
    }
   },
   {
    "gpu": "h100",
    "name": "NVIDIA H100",
    "memoryGB": 80,
    "engine": "vLLM",
    "byFormat": {
     "bf16": 1,
     "fp8": 1,
     "q4_k_m": 1
    }
   },
   {
    "gpu": "h200",
    "name": "NVIDIA H200",
    "memoryGB": 141,
    "engine": "vLLM",
    "byFormat": {
     "bf16": 1,
     "fp8": 1,
     "q4_k_m": 1
    }
   },
   {
    "gpu": "b200",
    "name": "NVIDIA B200 (HGX)",
    "memoryGB": 180,
    "engine": "vLLM",
    "byFormat": {
     "bf16": 1,
     "fp8": 1,
     "q4_k_m": 1
    }
   }
  ]
 },
 "ggufFiles": {
  "repo": "unsloth/gemma-4-E4B-it-GGUF",
  "gib": {
   "BF16": 14.02,
   "IQ4_NL": 4.5,
   "IQ4_XS": 4.39,
   "Q3_K_M": 3.78,
   "Q3_K_S": 3.6,
   "Q4_0": 4.5,
   "Q4_1": 4.73,
   "Q4_K_M": 4.64,
   "Q4_K_S": 4.51,
   "Q5_K_M": 5.11,
   "Q5_K_S": 5.03,
   "Q6_K": 6.59,
   "Q8_0": 7.63,
   "UD-IQ2_M": 3.3,
   "UD-IQ3_XXS": 3.46,
   "UD-Q2_K_XL": 3.5,
   "UD-Q3_K_XL": 4.27,
   "UD-Q4_K_XL": 4.77,
   "UD-Q5_K_XL": 6.2,
   "UD-Q6_K_XL": 6.95,
   "UD-Q8_K_XL": 8.11
  }
 },
 "runsWith": [
  "vLLM",
  "SGLang",
  "llama.cpp (Ollama, LM Studio)",
  "MLX (Mac)"
 ],
 "verified": null,
 "updated": "2026-10-12T11:05:05.798Z"
}
