{
 "id": "lightonocr-3-4b",
 "name": "LightOnOCR-3 4B",
 "repo": "lightonai/LightOnOCR-3-4B",
 "lab": {
  "name": "LightOn",
  "country": "France"
 },
 "released": "2026-10-06",
 "parameters": 4.539265536,
 "activeParameters": null,
 "maxContext": 262144,
 "architecture": "32 layers · 8 full attention (4 KV × 256) · 24 linear attention",
 "page": "https://studiotvai.com/vram-requirements/lightonocr-3-4b",
 "calculator": "https://studiotvai.com/llm-vram-calculator?model=lightonocr-3-4b",
 "weightsGiB": {
  "bf16": 8.46,
  "fp8": 4.82,
  "q4_k_m": 2.49
 },
 "kvCacheGiBPerRequest": [
  {
   "context": 8192,
   "bf16": 0.25,
   "fp8": 0.125
  },
  {
   "context": 32768,
   "bf16": 1,
   "fp8": 0.5
  },
  {
   "context": 131072,
   "bf16": 4,
   "fp8": 2
  },
  {
   "context": 262144,
   "bf16": 8,
   "fp8": 4
  }
 ],
 "recurrentStateGiBPerRequest": 0.048,
 "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": "prithivMLmods/LightOnOCR-3-4B-GGUF",
  "gib": {
   "BF16": 7.85,
   "Q3_K_L": 2.26,
   "Q3_K_M": 2.11,
   "Q4_K_M": 2.52,
   "Q4_K_S": 2.39,
   "Q5_K_M": 2.86,
   "Q5_K_S": 2.78,
   "Q6_K": 3.23,
   "Q8_0": 4.17
  }
 },
 "runsWith": [
  "vLLM",
  "SGLang",
  "llama.cpp (Ollama, LM Studio)",
  "MLX (Mac)"
 ],
 "verified": null,
 "updated": "2026-10-10T15:05:26.095Z"
}
