{
 "id": "llama-3.1-8b",
 "name": "Llama 3.1 8B",
 "repo": "meta-llama/Llama-3.1-8B-Instruct",
 "lab": {
  "name": "Meta",
  "country": "United States"
 },
 "released": "2024-07-18",
 "parameters": 8.03,
 "activeParameters": null,
 "maxContext": 131072,
 "architecture": "32 layers · GQA, 8 KV heads × 128",
 "page": "https://studiotvai.com/vram-requirements/llama-3-1-8b",
 "calculator": "https://studiotvai.com/llm-vram-calculator?model=llama-3.1-8b",
 "weightsGiB": {
  "bf16": 14.96,
  "fp8": 8.46,
  "q4_k_m": 4.62
 },
 "kvCacheGiBPerRequest": [
  {
   "context": 8192,
   "bf16": 1,
   "fp8": 0.5
  },
  {
   "context": 32768,
   "bf16": 4,
   "fp8": 2
  },
  {
   "context": 131072,
   "bf16": 16,
   "fp8": 8
  }
 ],
 "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": "bartowski/Meta-Llama-3.1-8B-Instruct-GGUF",
  "gib": {
   "IQ2_M": 2.75,
   "IQ3_M": 3.52,
   "IQ3_XS": 3.28,
   "IQ4_NL": 4.36,
   "IQ4_XS": 4.14,
   "Q2_K": 2.96,
   "Q2_K_L": 3.44,
   "Q3_K_L": 4.03,
   "Q3_K_M": 3.74,
   "Q3_K_S": 3.41,
   "Q3_K_XL": 4.45,
   "Q4_0_4_4": 4.34,
   "Q4_0_4_8": 4.34,
   "Q4_0_8_8": 4.34,
   "Q4_K_L": 4.95,
   "Q4_K_M": 4.58,
   "Q4_K_S": 4.37,
   "Q5_K_L": 5.64,
   "Q5_K_M": 5.34,
   "Q5_K_S": 5.21,
   "Q6_K": 6.14,
   "Q6_K_L": 6.38,
   "Q8_0": 7.95,
   "F32": 29.92
  }
 },
 "runsWith": [
  "vLLM",
  "SGLang",
  "llama.cpp (Ollama, LM Studio)",
  "MLX (Mac)"
 ],
 "verified": {
  "gguf": {
   "day": "2026-10-10",
   "repo": "bartowski/Meta-Llama-3.1-8B-Instruct-GGUF",
   "kv": "match",
   "ours": 131072,
   "theirs": 131072
  }
 },
 "updated": "2026-10-10T15:05:26.095Z"
}
