{
 "id": "phi-3-mini-128k",
 "name": "Phi-3-mini-128k",
 "repo": "microsoft/Phi-3-mini-128k-instruct",
 "lab": {
  "name": "Microsoft",
  "country": "United States"
 },
 "released": "2024-04-22",
 "parameters": 3.821079552,
 "activeParameters": null,
 "maxContext": 131072,
 "architecture": "32 layers · 32 full attention (32 KV × 96)",
 "page": "https://studiotvai.com/vram-requirements/phi-3-mini-128k",
 "calculator": "https://studiotvai.com/llm-vram-calculator?model=phi-3-mini-128k",
 "weightsGiB": {
  "bf16": 7.12,
  "fp8": 3.74,
  "q4_k_m": 2.17
 },
 "kvCacheGiBPerRequest": [
  {
   "context": 8192,
   "bf16": 3,
   "fp8": 1.5
  },
  {
   "context": 32768,
   "bf16": 12,
   "fp8": 6
  },
  {
   "context": 131072,
   "bf16": 48,
   "fp8": 24
  }
 ],
 "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/Phi-3.1-mini-128k-instruct-GGUF",
  "gib": {
   "IQ2_M": 1.23,
   "IQ2_S": 1.13,
   "IQ2_XS": 1.07,
   "IQ3_M": 1.73,
   "IQ3_XS": 1.51,
   "IQ3_XXS": 1.41,
   "IQ4_XS": 1.92,
   "Q2_K": 1.32,
   "Q2_K_L": 1.41,
   "Q3_K_L": 1.94,
   "Q3_K_M": 1.82,
   "Q3_K_S": 1.57,
   "Q3_K_XL": 2.02,
   "Q4_K_L": 2.3,
   "Q4_K_M": 2.23,
   "Q4_K_S": 2.04,
   "Q5_K_L": 2.68,
   "Q5_K_M": 2.62,
   "Q5_K_S": 2.46,
   "Q6_K": 2.92,
   "Q6_K_L": 2.96,
   "Q8_0": 3.78,
   "F32": 14.24
  }
 },
 "runsWith": [
  "vLLM",
  "SGLang",
  "llama.cpp (Ollama, LM Studio)",
  "MLX (Mac)"
 ],
 "verified": null,
 "updated": "2026-10-14T00:07:05.854Z"
}
