{
  "id": "raon-1-mini",
  "title": "Raon-1-mini 30B-A4B with experts in RAM and KRAFTON's DFlash2 drafter",
  "summary": "KRAFTON's 30B-A4B hybrid MoE (Q4_K_M, 19.7 GB) on their llama.cpp fork with the full 262k window: every routed expert in RAM, a 4900 MiB MoE cache, q8_0 KV and the DFlash2 drafter at 3 tokens. 62.7 tok/s decode (stock 44.0), 34.6 at 128k, needles exact at 247k.",
  "status": "measured",
  "updated": "2026-11-29",
  "use_cases": [
    "coding",
    "agents",
    "long-context",
    "moe-offload",
    "korean"
  ],
  "model": {
    "name": "Raon-1-mini",
    "hf_repo": "KRAFTON/Raon-1-mini",
    "params": "30B-A4B",
    "architecture": "MoE hybrid (18 Raon Delta Attention + 7 gated MLA layers, 128 experts top-6 + shared, 4 mHC streams)",
    "license": "Apache-2.0"
  },
  "weights": {
    "format": "GGUF",
    "quant": "Q4_K_M (imatrix)",
    "size_gb": 19.69,
    "source": "https://huggingface.co/KRAFTON/Raon-1-mini-gguf",
    "file": "raon-1-mini-Q4_K_M.gguf",
    "revision": "5369b6d7a035fb68a6122297cbf2fa56d9dd3a6d",
    "notes": "Gated repo (access on request). Drafter: dflash-raon-1-mini-Q8_0.gguf (0.73 GB) from the same repo. Needs KRAFTON's llama.cpp fork."
  },
  "engine": {
    "name": "krafton-ai llama.cpp fork",
    "repo": "https://github.com/krafton-ai/llama.cpp/tree/raon-1-mini",
    "version": "raon-1-mini at b5547cce7",
    "cuda": "sm_86 build"
  },
  "hardware": {
    "gpu": "NVIDIA GeForce RTX 3060",
    "vram_gb": 12,
    "ram_gb": 62,
    "cpu": "Intel Core i5-12500",
    "disk": "NVMe SSD",
    "os": "Linux",
    "notes": "The desktop is on the same card (about 1 GB). Weights are read into ~20 GB of process memory; the memory cap was 44 GB."
  },
  "serve": {
    "command": "./serve.sh",
    "script": "serve.sh",
    "port": 8110,
    "api": "OpenAI-compatible /v1 (llama-server)",
    "key_flags": [
      "RA_PROFILE=default|nospec|prompt|stock|card",
      "--cpu-moe --moe-cache-mib 4900 --load-mode none",
      "--spec-type draft-dflash --spec-draft-n-max 3 --spec-draft-n-ubatch 128",
      "-ctk q8_0 -ctv q8_0 -ub 1024 -c 262144",
      "reasoning_effort none|low|...|max per request"
    ]
  },
  "context_tokens": 262144,
  "placement": "Every routed expert in RAM with llama.cpp's MoE cache holding hot experts in 4900 MiB of VRAM; attention, shared experts, LM head, the q8_0 KV cache (7 MLA layers) and the DFlash2 drafter on the GPU.",
  "results": [
    {
      "metric": "decode",
      "label": "default (DFlash2 n 3, q8_0 KV, 4900 MiB MoE cache), empty context, thinking off, coding answers",
      "value": 62.7,
      "unit": "tok/s",
      "baseline": 44.0,
      "ceiling": 114,
      "headline": true,
      "source": "raon-1-mini/RESULTS.md:40"
    },
    {
      "metric": "decode",
      "label": "default at 128k depth",
      "value": 34.6,
      "unit": "tok/s",
      "baseline": 24.7,
      "headline": true,
      "source": "raon-1-mini/RESULTS.md:41"
    },
    {
      "metric": "decode",
      "label": "default at 245.9k depth",
      "value": 24.5,
      "unit": "tok/s",
      "source": "raon-1-mini/RESULTS.md:42"
    },
    {
      "metric": "decode",
      "label": "card's llama-server line, empty context",
      "value": 41.6,
      "unit": "tok/s",
      "source": "raon-1-mini/RESULTS.md:40"
    },
    {
      "metric": "prefill",
      "label": "8k prompt, default",
      "value": 820.0,
      "unit": "tok/s",
      "baseline": 497.0,
      "source": "raon-1-mini/RESULTS.md:43"
    },
    {
      "metric": "prefill",
      "label": "32k prompt, default",
      "value": 655.3,
      "unit": "tok/s",
      "source": "raon-1-mini/RESULTS.md:44"
    },
    {
      "metric": "prefill",
      "label": "247.4k prompt, default",
      "value": 227.8,
      "unit": "tok/s",
      "source": "raon-1-mini/RESULTS.md:45"
    },
    {
      "metric": "ttft",
      "label": "247.4k prompt, default",
      "value": 1086,
      "unit": "s",
      "source": "raon-1-mini/RESULTS.md:45"
    },
    {
      "metric": "needles",
      "label": "3/3 exact at 130.6k and 247.4k (50% / 94% of the window)",
      "value": "3/3",
      "unit": "found",
      "headline": true,
      "source": "raon-1-mini/RESULTS.md:46"
    },
    {
      "metric": "quality",
      "label": "codeeval, thinking off",
      "value": "8/8",
      "unit": "tasks",
      "source": "raon-1-mini/RESULTS.md:108"
    },
    {
      "metric": "quality",
      "label": "codeeval, thinking on (effort low)",
      "value": "7/8",
      "unit": "tasks",
      "source": "raon-1-mini/RESULTS.md:109"
    },
    {
      "metric": "vram_peak",
      "label": "card total incl. desktop, default",
      "value": 11789,
      "unit": "MiB",
      "source": "raon-1-mini/RESULTS.md:47"
    },
    {
      "metric": "ram_peak",
      "label": "RSS, default",
      "value": 20346,
      "unit": "MiB",
      "source": "raon-1-mini/RESULTS.md:48"
    },
    {
      "metric": "startup",
      "label": "ready, warm page cache, default",
      "value": "8-18",
      "unit": "s",
      "source": "raon-1-mini/RESULTS.md:49"
    }
  ],
  "caveats": [
    "Quant drift is not measured: no Q8_0 or BF16 reference fits on disk.",
    "The card's drafter setting (7 draft tokens) is 38% slower than no drafter when experts are in RAM; this recipe uses 3.",
    "A prompt near the top of the window takes about 18 minutes to the first token (228 tok/s at 247k).",
    "Upstream llama.cpp lacks the release file's reasoning-effort steering; the recipe depends on KRAFTON's fork.",
    "Decode on the default read 58.5-61.2 tok/s on a busier host; 62.7 is the quiet-host repeat."
  ],
  "credits": [
    "krafton",
    "krafton-llama-cpp",
    "z-lab",
    "llama-cpp",
    "ggml-org",
    "huggingface",
    "0xsero"
  ],
  "findings": [],
  "contributor": {
    "name": "David Hatley",
    "github": "davidghatley"
  },
  "$schema": "https://davidghatley.github.io/3060-recipes/schema/recipe.schema.json",
  "url": "https://davidghatley.github.io/3060-recipes/recipes/raon-1-mini/",
  "folder": "https://github.com/davidghatley/3060-recipes/tree/main/raon-1-mini"
}
