LocalTPS

Can MacBook Pro / Studio M5 Max (128GB Unified) Run LFM2.5 24B A2B?

Quick Verdict:Yes — LFM2.5 24B A2B (Q8_0) fits inside MacBook Pro / Studio M5 Max (128GB Unified)'s 96 GB VRAM at 64K context (26.3 GB used), delivering ~156.8 tok/s and 7.9s TTFT.

Hardware

96 / 128 GB (75%)
GB
GB

Model & Context

MoE · 24B (2B active)
HF config.json
10/40 KV · Hybrid Stateunsloth/LFM2.5-24B-A2B-GGUF
Coding Agent Context Presets
65,536 tokens · KV: FP16
Context Window64K / 128K
KV Cache Quant
MTP Speculative Decoding
Smooth (Ready for Agent)

Fits cleanly in VRAM with fast decode and prefill — ready for full-time Cline / OpenCode sessions.

Generation Speed
156.8 tok/s
Full Apple VRAM residency
Time to First Token (TTFT)
7.9 sec
32,000 prompt tokens
VRAM Status
Fits in VRAM
26.3 / 96 GB
Unified memory pool
VRAM Allocation BreakdownTotal Required: 26.32 GB / 96 GB Unified Limit
Model Weights (GGUF):23.74 GB
KV Cache:1.29 GB
Runtime Overhead:1.29 GB

Technical FAQ

How much VRAM does LFM2.5 24B A2B need at 64K context?

With Q8_0 GGUF weights (23.74 GB), FP16 KV Cache (1.29 GB), and runtime overhead (1.29 GB), total VRAM required at 65,536 tokens is 26.32 GB.

Is MacBook Pro / Studio M5 Max (128GB Unified) fast enough for Cline or OpenCode with LFM2.5 24B A2B?

Rated "Smooth (Ready for Agent)" at 64K context: 156.8 tok/s decode and 7.9s TTFT for 32,000 prompt tokens. Fits cleanly in VRAM with fast decode and prefill — ready for full-time Cline / OpenCode sessions.

How much VRAM does Q4_0 KV Cache save on LFM2.5 24B A2B?

Switching KV Cache from FP16 to Q4_0 at 64K context cuts KV memory from 1.29 GB down to 0.39 GB, lowering total memory to 25.42 GB (201.1 tok/s).

Is it cheaper to run LFM2.5 24B A2B locally or via Cloud API / RunPod?

For full-time coding agent usage (5M input + 1M output tokens/day), OpenRouter costs ~$20.90/mo, while renting NVIDIA RTX 5090 32GB on Vast.ai costs ~$114.40/mo. Upgrading to NVIDIA A100 GPU accelerator (PCIe card) (40GB) ($1,400 MSRP) pays back in ~97.9 months.