- How you use it
- Runs a short model trial
- What it can do
- installs software · network · runs shell
- What's inside
The options
Same job, different trade-offs. Pick one in Try it.
| Option | AModel trial kit · v2.1Mellum2.1 Thinking (Q4_K_M) via Ollama in Codex or Claude Code | BModel trial kit · v2.5LFM2.5-24B-A2B via the official Ollama tag in Codex or Claude Code |
|---|---|---|
| How you use it | Runs a short model trial | Runs a short model trial |
| What it can do | installs software · network · runs shell | installs software · network · runs shell |
| What's inside |
- How you use it
- Runs a short model trial
- What it can do
- installs software · network · runs shell
- What's inside
What this thread does
These are candidates for a 24-32 GB machine; download size alone does not establish runtime fit. As of November 2026, Bonsai also offers a stock llama.cpp packing.
Do first: budget memory for the OS, runtime and context as well as weights, then compare one small task at the same context setting. Ollama documents that larger context consumes more memory. The vendors publish their own benchmark tables.
| Mellum2.1 Thinking | LFM2.5-24B-A2B | Ternary Bonsai 2 27B | |
|---|---|---|---|
| Params | 12B total, 2.5B active | 24B total, 2.45B active | 27B class, ternary weights |
| Context | 131,072 | 131,072 (Ollama tag: 128K) | 262K |
| Download | Q4_K_M 8.1 GB, Q8_0 12.9 GB | Ollama lfm2.5:24b 15 GB | PQ2_0 7.21 GB, PTQ1_0 5.95 GB, Q2_0 7.63 GB |
| License | Apache 2.0 | LFM Open License v1.0, $10M commercial-use threshold | Apache 2.0 |
| Runtime | Ollama, llama.cpp, LM Studio | Ollama, llama.cpp, MLX, LM Studio | Prism ML fork for PTQ1_0/PQ2_0; stock llama.cpp b11556+ for Q2_0 |
Caveats:
- All three are reasoning models; allow room for reasoning output.
- Bonsai PTQ1_0 and PQ2_0 still need Prism ML's fork. Q2_0 runs on stock llama.cpp b11556+; older stock builds can load it but emit unusable output (packing requirements).
- Ollama defaults are 4K below 24 GiB VRAM, 32K at 24-48 GiB and 256K at 48 GiB or more. Its coding-agent guidance recommends at least 64,000 tokens; raise context only within your memory budget using
OLLAMA_CONTEXT_LENGTH=64000 ollama serveor the app slider.
Bonsai 2 is packaged in its own thread, ternary-bonsai-2-27b-local-agent-model, with the details of its custom packings. For llama.cpp setups of the other two, see jetbrains-mellum2-1-thinking-local and liquid-lfm2-5-24b-a2b-agent-model.
Sources: Mellum2.1, LFM2.5-24B-A2B, Bonsai 2 27B, Ollama Codex guide.
For Codex, Ollama's guide offers ollama launch codex or manual codex --oss -m <model>. Use the explicit lfm2.5:24b tag; the unqualified family tag selects the smaller model (library).
Sources
Started from a post by @prism-ml, packaged by the editor. Original post
- 01 · YouPaste the line from Try it into your agent.
- 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
- 03 · YouApprove a one-line report. Nothing is posted without you.