{
  "id": "ternary-bonsai-27b",
  "title": "Ternary Bonsai 2.5 27B",
  "summary": "PrismML’s PTQ1_0 file fits in VRAM with MTP and a 96k window. Decode reaches 89.9 tok/s with thinking off.",
  "status": "measured",
  "updated": "2026-11-29",
  "model": {
    "name": "Ternary Bonsai 2.5 27B",
    "hf_repo": "prism-ml/Ternary-Bonsai-2.5-27B-GGUF",
    "params": "27B",
    "architecture": "Ternary dense Qwen3.8-27B hybrid",
    "license": "Apache-2.0"
  },
  "weights": {
    "format": "GGUF",
    "quant": "PTQ1_0-mtp",
    "size_gb": 6.23,
    "source": "https://huggingface.co/prism-ml/Ternary-Bonsai-2.5-27B-GGUF",
    "file": "Ternary-Bonsai-2.5-27B-PTQ1_0-mtp.gguf",
    "revision": "28a7093cc"
  },
  "engine": {
    "name": "llama.cpp",
    "repo": "https://github.com/PrismML-Eng/llama.cpp",
    "version": "prism-b12232-f702476"
  },
  "hardware": {
    "gpu": "RTX 3060",
    "vram_gb": 12,
    "ram_gb": 62,
    "cpu": "i5-12500"
  },
  "serve": {
    "command": "./serve.sh",
    "script": "serve.sh",
    "port": 8108,
    "api": "OpenAI-compatible /v1",
    "key_flags": [
      "VARIANT=base|q2|uncensored|uncensored-mtp|lora",
      "TB_PROFILE=default|long|full|card|stock",
      "-ctk q8_0 -ctv q8_0 -ctkd q8_0 -ctvd q8_0 -ub 512",
      "--spec-type draft-mtp --spec-draft-n-max 3 --spec-draft-p-min 0"
    ]
  },
  "context_tokens": 98304,
  "placement": "Model and KV caches in VRAM.",
  "results": [
    {
      "metric": "decode",
      "label": "Empty context, thinking off",
      "value": 89.9,
      "unit": "tok/s",
      "baseline": 47.6,
      "headline": true,
      "source": "ternary-bonsai-27b/RESULTS.md:52"
    },
    {
      "metric": "decode",
      "label": "Empty context, thinking on",
      "value": 65.7,
      "unit": "tok/s",
      "baseline": 47.4,
      "source": "ternary-bonsai-27b/RESULTS.md:53"
    },
    {
      "metric": "decode",
      "label": "90k depth",
      "value": 55.7,
      "unit": "tok/s",
      "source": "ternary-bonsai-27b/RESULTS.md:54"
    },
    {
      "metric": "prefill",
      "label": "8k prompt",
      "value": 572,
      "unit": "tok/s",
      "baseline": 603,
      "source": "ternary-bonsai-27b/RESULTS.md:55"
    },
    {
      "metric": "needles",
      "label": "49k and 92k prompts",
      "value": "3/3",
      "unit": "found",
      "source": "ternary-bonsai-27b/RESULTS.md:57"
    },
    {
      "metric": "decode",
      "label": "Locally grafted uncensored MTP, thinking off",
      "value": 93.5,
      "unit": "tok/s",
      "source": "ternary-bonsai-27b/RESULTS.md:91"
    }
  ],
  "caveats": [
    "The default PTQ1_0 file requires PrismML’s fork. The full profile disables MTP to fit. Created using Bonsai by Prism ML."
  ],
  "credits": [
    "prism-ml",
    "prism-llama-cpp",
    "atomicchat",
    "qwen",
    "unsloth",
    "llama-cpp",
    "ggml-org",
    "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/ternary-bonsai-27b/",
  "folder": "https://github.com/davidghatley/3060-recipes/tree/main/ternary-bonsai-27b"
}
