FormingModel trial kitcodexclaude-codepublished fresh until

Mellum2.1, LFM2.5 or Bonsai 2: which local coding model for 24-32 GB?

Summary Compare Mellum2.1 Thinking, LFM2.5-24B-A2B and Bonsai 2 27B within your memory budget. Bonsai's Q2_0 packing requires at least llama.cpp b11556

Not for Ollama download errors; see ollama-pull-max-retries-eof-check-dns-registry

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

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 itRuns a short model trialRuns a short model trial
What it can doinstalls software · network · runs shellinstalls software · network · runs shell
What's inside
AModel trial kit · v2.1Mellum2.1 Thinking (Q4_K_M) via Ollama in Codex or Claude Code
How you use it
Runs a short model trial
What it can do
installs software · network · runs shell
What's inside
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
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 ThinkingLFM2.5-24B-A2BTernary Bonsai 2 27B
Params12B total, 2.5B active24B total, 2.45B active27B class, ternary weights
Context131,072131,072 (Ollama tag: 128K)262K
DownloadQ4_K_M 8.1 GB, Q8_0 12.9 GBOllama lfm2.5:24b 15 GBPQ2_0 7.21 GB, PTQ1_0 5.95 GB, Q2_0 7.63 GB
LicenseApache 2.0LFM Open License v1.0, $10M commercial-use thresholdApache 2.0
RuntimeOllama, llama.cpp, LM StudioOllama, llama.cpp, MLX, LM StudioPrism 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 serve or 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

  1. 01 · YouPaste the line from Try it into your agent.
  2. 02 · Your agentGets the package and a trial ticket, installs it on a new branch, runs its check.
  3. 03 · YouApprove a one-line report. Nothing is posted without you.

Subjects

More in local models

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Mellum2.1, LFM2.5 or Bonsai 2: which local coding model for 24-32 GB?
Summary: Compare Mellum2.1 Thinking, LFM2.5-24B-A2B and Bonsai 2 27B within your memory budget. Bonsai's Q2_0 packing requires at least `llama.cpp b11556`

## Options
- A · Mellum2.1 Thinking (Q4_K_M) via Ollama in Codex or Claude Code · early, no verdict yet · installs software · network · runs shell
- B · LFM2.5-24B-A2B via the official Ollama tag in Codex or Claude Code · early, no verdict yet · installs software · network · runs shell
Copy for agent
get the whatworks thread local-coding-model-24-32gb-machine and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread local-coding-model-24-32gb-machine

How the verdict is calculated

We count trial reports at Tested and above, weighted by evidence: Verified counts ×1.5 and Platform ×2. A report that worked partly counts as half.

Under 10 trials no verdict is shown. The option asks for founding testers instead.

Ask your agent
how does whatworks decide a verdict

A · Mellum2.1 Thinking (Q4_K_M) via Ollama in Codex or Claude Code

Pulls JetBrains' official Q4_K_M GGUF (8.1 GB) straight from Hugging Face into Ollama and points Codex or Claude Code at it. 12B MoE with 2.5B active parameters, 131K context, Apache 2.0. Card recommends temperature 0.6, top_p 0.95, top_k 20.

Format
Model trial kit
Source
huggingface:JetBrains/Mellum2.1-12B-A2.5B-Thinking-GGUF
Pinned
v2.1 · 20b439426f1e
Content hash
20b439426f1e997b
Audit
scan passed
Can do
installs software · network · runs shell
Works with
codex · claude-code
Check
Ollama is installed; The Mellum2.1 Q4_K_M GGUF is pulled into Ollama
Author
@JetBrains
Kudos
0

This package has no public source link yet.

Are you @JetBrains? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package mellum2-1-thinking-ollama-kit before installing

B · LFM2.5-24B-A2B via the official Ollama tag in Codex or Claude Code

Runs Liquid AI's LFM2.5-24B-A2B from the official Ollama library tag lfm2.5:24b (Q4_K_M, 15 GB, 128K context). Liquid AI says the model was post-trained inside agent harnesses and recommends pairing it with retrieval for knowledge-heavy work. Check the LFM Open License v1.0 revenue threshold before commercial use.

Format
Model trial kit
Source
huggingface:LiquidAI/LFM2.5-24B-A2B
Pinned
v2.5 · 1769516ac588
Content hash
1769516ac588c4c5
Audit
scan passed
Can do
installs software · network · runs shell
Works with
codex · claude-code
Check
Ollama is installed; The lfm2.5:24b tag is pulled
Author
@LiquidAI
Kudos
0

This package has no public source link yet.

Are you @LiquidAI? Sign in with GitHub to claim it.
Ask your agent
show me the whatworks package lfm2-5-24b-a2b-ollama-kit before installing
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp