{
 "bench": "rapid-mlx 0.15.4 headline models on M4 Pro 48GB",
 "host": {
  "chip": "Apple M4 Pro",
  "memory_gb": 48,
  "macos": "26.5.1",
  "engine": "rapid-mlx==0.15.4 (PyPI, new venv ~/rmlx-bench-0154/venv)",
  "scenario_note": "a: single-stream decode x3 (512 tok); b: cold TTFT ~2k/~16k prompts x3; d: 4 concurrent streams x2, aggregate; --thinking default"
 },
 "models": [
  {
   "alias": "qwen3.5-4b-4bit",
   "hf_path": "Alias: qwen3.5-4b-4bit \u2192 mlx-community/Qwen3.5-4B-MLX-4bit",
   "decode_tps_median_a": 85.77,
   "label": "default (full server, defaults)",
   "ttft_2k_median_s": 2.9132690409999995,
   "ttft_16k_median_s": 4.549613292,
   "aggregate_4stream_median_tps": 182.83830689337938,
   "peak_mem_gb": 4.31,
   "peak_rss_gb": 2.75,
   "peak_mem_method": "/v1/status metal.peak_memory_gb (server-reported); fallback ps rss max of server PID tree sampled every 2s",
   "failures": [],
   "served_model_id": "mlx-community/Qwen3.5-4B-MLX-4bit",
   "metal_active_memory_gb": 3.1,
   "status_keys": [
    "adaptive_prefill",
    "cache",
    "generation_tps",
    "idle_cache_clear",
    "metal",
    "model",
    "mtp_prompt_lookup",
    "num_running",
    "num_waiting",
    "prompt_tps",
    "requests",
    "status",
    "steps_executed",
    "total_completion_tokens",
    "total_prompt_tokens",
    "total_requests_processed",
    "uptime_s"
   ]
  },
  {
   "alias": "qwen3.5-9b-4bit",
   "hf_path": "Alias: qwen3.5-9b-4bit \u2192 mlx-community/Qwen3.5-9B-4bit",
   "decode_tps_median_a": 62.95,
   "label": "default (full server, defaults)",
   "ttft_2k_median_s": 5.2987566249999976,
   "ttft_16k_median_s": 8.224093292,
   "aggregate_4stream_median_tps": 62.40057153065577,
   "peak_mem_gb": 8.01,
   "peak_rss_gb": 5.63,
   "peak_mem_method": "/v1/status metal.peak_memory_gb (server-reported); fallback ps rss max of server PID tree sampled every 2s",
   "failures": [],
   "served_model_id": "mlx-community/Qwen3.5-9B-4bit",
   "metal_active_memory_gb": 6.28,
   "status_keys": [
    "adaptive_prefill",
    "cache",
    "generation_tps",
    "idle_cache_clear",
    "metal",
    "model",
    "mtp_prompt_lookup",
    "num_running",
    "num_waiting",
    "prompt_tps",
    "requests",
    "status",
    "steps_executed",
    "total_completion_tokens",
    "total_prompt_tokens",
    "total_requests_processed",
    "uptime_s"
   ]
  },
  {
   "alias": "qwen3.8-27b-4bit",
   "hf_path": "Alias: qwen3.8-27b-4bit \u2192 rapid-mlx/Qwen3.8-27B-4bit-MTP-MLX",
   "decode_tps_median_a": 24.1,
   "label": "default (full server, defaults)",
   "ttft_2k_median_s": 18.840935416,
   "ttft_16k_median_s": 151.64379366599997,
   "aggregate_4stream_median_tps": 23.95314207928971,
   "peak_mem_gb": 25.29,
   "peak_rss_gb": 18.96,
   "peak_mem_method": "/v1/status metal.peak_memory_gb (server-reported); fallback ps rss max of server PID tree sampled every 2s",
   "failures": [],
   "served_model_id": "rapid-mlx/Qwen3.8-27B-4bit-MTP-MLX",
   "metal_active_memory_gb": 20.97,
   "status_keys": [
    "adaptive_prefill",
    "cache",
    "generation_tps",
    "idle_cache_clear",
    "metal",
    "model",
    "mtp_prompt_lookup",
    "num_running",
    "num_waiting",
    "prompt_tps",
    "requests",
    "status",
    "steps_executed",
    "total_completion_tokens",
    "total_prompt_tokens",
    "total_requests_processed",
    "uptime_s"
   ],
   "history": "baseline reused for tensorfold.json comparison (same session)"
  },
  {
   "alias": "qwen3.6-35b-4bit",
   "hf_path": "Alias: qwen3.6-35b-4bit \u2192 mlx-community/Qwen3.6-35B-A3B-4bit",
   "decode_tps_median_a": 104.53,
   "label": "default (full server, defaults)",
   "ttft_2k_median_s": 2.4070971660000007,
   "ttft_16k_median_s": 3.7535098750000007,
   "aggregate_4stream_median_tps": 106.47558903221432,
   "peak_mem_gb": 23.22,
   "peak_rss_gb": 18.7,
   "peak_mem_method": "/v1/status metal.peak_memory_gb (server-reported); fallback ps rss max of server PID tree sampled every 2s",
   "failures": [],
   "served_model_id": "mlx-community/Qwen3.6-35B-A3B-4bit",
   "metal_active_memory_gb": 21.13,
   "status_keys": [
    "adaptive_prefill",
    "cache",
    "generation_tps",
    "idle_cache_clear",
    "metal",
    "model",
    "mtp_prompt_lookup",
    "num_running",
    "num_waiting",
    "prompt_tps",
    "requests",
    "status",
    "steps_executed",
    "total_completion_tokens",
    "total_prompt_tokens",
    "total_requests_processed",
    "uptime_s"
   ]
  },
  {
   "alias": "gemma-4-26b-4bit",
   "hf_path": "Alias: gemma-4-26b-4bit \u2192 mlx-community/gemma-4-26b-a4b-it-4bit",
   "decode_tps_median_a": 78.5,
   "label": "default (full server, defaults)",
   "ttft_2k_median_s": 3.1276249590000003,
   "ttft_16k_median_s": 26.430797959000003,
   "aggregate_4stream_median_tps": 121.64276617114834,
   "peak_mem_gb": 20.88,
   "peak_rss_gb": 16.0,
   "peak_mem_method": "/v1/status metal.peak_memory_gb (server-reported); fallback ps rss max of server PID tree sampled every 2s",
   "failures": [],
   "served_model_id": "mlx-community/gemma-4-26b-a4b-it-4bit",
   "metal_active_memory_gb": 18.97,
   "status_keys": [
    "adaptive_prefill",
    "cache",
    "generation_tps",
    "idle_cache_clear",
    "metal",
    "model",
    "mtp_prompt_lookup",
    "num_running",
    "num_waiting",
    "prompt_tps",
    "requests",
    "status",
    "steps_executed",
    "total_completion_tokens",
    "total_prompt_tokens",
    "total_requests_processed",
    "uptime_s"
   ],
   "history": "attempt 1 failed to start: RAPID-MLX-STARTUP-FAILURE runtime_extra_missing extra=vision (slim venv had no mlx-vlm; server.log.attempt1); resolved by installing rapid-mlx[vision]==0.15.4 into the same venv (engine-recommended), engine version unchanged"
  },
  {
   "alias": "gpt-oss-20b-mxfp4-q8",
   "hf_path": "Alias: gpt-oss-20b-mxfp4-q8 \u2192 mlx-community/gpt-oss-20b-MXFP4-Q8",
   "decode_tps_median_a": 77.18,
   "label": "default (full server, defaults)",
   "ttft_2k_median_s": 2.780940125,
   "ttft_16k_median_s": 24.150090540999997,
   "aggregate_4stream_median_tps": 126.71596239024589,
   "peak_mem_gb": 15.68,
   "peak_rss_gb": 5.95,
   "peak_mem_method": "/v1/status metal.peak_memory_gb (server-reported); fallback ps rss max of server PID tree sampled every 2s",
   "failures": [],
   "served_model_id": "mlx-community/gpt-oss-20b-MXFP4-Q8",
   "metal_active_memory_gb": 13.83,
   "status_keys": [
    "adaptive_prefill",
    "cache",
    "generation_tps",
    "idle_cache_clear",
    "metal",
    "model",
    "mtp_prompt_lookup",
    "num_running",
    "num_waiting",
    "prompt_tps",
    "requests",
    "status",
    "steps_executed",
    "total_completion_tokens",
    "total_prompt_tokens",
    "total_requests_processed",
    "uptime_s"
   ]
  },
  {
   "alias": "bonsai2-27b-2bit",
   "hf_path": null,
   "decode_tps_median_a": 17.7,
   "label": "default (full server, defaults)",
   "ttft_2k_median_s": 23.400152,
   "ttft_16k_median_s": 178.741033625,
   "aggregate_4stream_median_tps": 16.80381940691072,
   "peak_mem_gb": 24.39,
   "peak_rss_gb": 9.29,
   "peak_mem_method": "/v1/status metal.peak_memory_gb (server-reported); fallback ps rss max of server PID tree sampled every 2s",
   "failures": [],
   "served_model_id": "prism-ml/Ternary-Bonsai-2-27B-mlx-2bit",
   "metal_active_memory_gb": 11.42,
   "status_keys": [
    "adaptive_prefill",
    "cache",
    "generation_tps",
    "idle_cache_clear",
    "metal",
    "model",
    "mtp_prompt_lookup",
    "num_running",
    "num_waiting",
    "prompt_tps",
    "requests",
    "status",
    "steps_executed",
    "total_completion_tokens",
    "total_prompt_tokens",
    "total_requests_processed",
    "uptime_s"
   ]
  },
  {
   "alias": "lfm2.5-1b-4bit",
   "hf_path": "Alias: lfm2.5-1b-4bit \u2192 mlx-community/LFM2.5-1.2B-Instruct-4bit",
   "decode_tps_median_a": 314.0,
   "label": "default (full server, defaults)",
   "ttft_2k_median_s": 0.846438875,
   "ttft_16k_median_s": 7.356879500000002,
   "aggregate_4stream_median_tps": 618.1851285586754,
   "peak_mem_gb": 1.82,
   "peak_rss_gb": 0.89,
   "peak_mem_method": "/v1/status metal.peak_memory_gb (server-reported); fallback ps rss max of server PID tree sampled every 2s",
   "failures": [],
   "served_model_id": "mlx-community/LFM2.5-1.2B-Instruct-4bit",
   "metal_active_memory_gb": 0.66,
   "status_keys": [
    "adaptive_prefill",
    "cache",
    "generation_tps",
    "idle_cache_clear",
    "metal",
    "model",
    "mtp_prompt_lookup",
    "num_running",
    "num_waiting",
    "prompt_tps",
    "requests",
    "status",
    "steps_executed",
    "total_completion_tokens",
    "total_prompt_tokens",
    "total_requests_processed",
    "uptime_s"
   ]
  },
  {
   "alias": "gemma-4-26b-4bit-nomllm",
   "hf_path": "Alias: gemma-4-26b-4bit \u2192 mlx-community/gemma-4-26b-a4b-it-4bit",
   "decode_tps_median_a": 80.79,
   "label": "--no-mllm (text-only lane)",
   "ttft_2k_median_s": 3.092510667,
   "ttft_16k_median_s": 26.440407,
   "aggregate_4stream_median_tps": 126.2130562366517,
   "peak_mem_gb": 21.36,
   "peak_rss_gb": 9.4,
   "peak_mem_method": "/v1/status metal.peak_memory_gb (server-reported); fallback ps rss max of server PID tree sampled every 2s",
   "failures": [],
   "served_model_id": "mlx-community/gemma-4-26b-a4b-it-4bit",
   "metal_active_memory_gb": 19.86,
   "status_keys": [
    "adaptive_prefill",
    "cache",
    "generation_tps",
    "idle_cache_clear",
    "metal",
    "model",
    "mtp_prompt_lookup",
    "num_running",
    "num_waiting",
    "prompt_tps",
    "requests",
    "status",
    "steps_executed",
    "total_completion_tokens",
    "total_prompt_tokens",
    "total_requests_processed",
    "uptime_s"
   ],
   "history": "text-only lane via `serve gemma-4-26b-4bit --no-mllm`, run after the vision-extra install; original attempt-1 failure recorded on the gemma-4-26b-4bit entry"
  }
 ]
}