FreshContext , home
Drawing
02 · Benchmarks
Sheet
2 of 3
Rev
A · 2026-10-01

Model family ← Models

K2-Horizon-36B-A4B

An open model built for agent work. We tested whether it could run our own agents, and it came close.

Parameters
36B / 4B active
Files tested
9
Scored runs
49
Smallest Mac
48 GB for the file we kept

Made by IFM, MBZUAI · Apache 2.0 · released 3 Sep 2026

Overview Should you use it · what it taught us · why we tested it · what happened

How this page was made. The tests run automatically on our Mac Studio, and every score here comes straight from those runs. This overview was written by Claude, an AI model, from the lab's own records: the run log, notes kept at the time, and the working sessions where each decision was made. Quotes are Alan's words, with spelling fixed. How these pages are made.

Should you use it?

As a fast, open model for tool use, yes, if you're happy to build IFM's version of llama.cpp. Check the smallest Mac for each file below. For long conversations, or as an everyday model, Ornith did better here. Newer llama.cpp now knows this design, but we haven't checked this model on it yet.

What it taught us

Why we tested it

In early September our agents had a weak spot: knowing when to reach for a tool, and working through many steps without wandering off. On 3 September IFM, the Institute of Foundation Models at MBZUAI in Abu Dhabi, released K2-Horizon-36B and said it was their best model for exactly that. On their agent test it scored 26.8, where a model we already ran scored 9.3.

Two more things made it worth a look. It uses only 4 billion of its 36 billion parameters for each token it writes, so it should be quick on a Mac. And it is fully open, weights, code and training data, so its claims could be checked rather than taken on trust.

Alan, the same afternoon: "we could quantize q8 and run it, see what it can do against the gauntlet".

What it took

Nothing we normally use could run it. Neither llama.cpp nor Apple's MLX knew its design yet, so we built IFM's own version of llama.cpp and made smaller copies of the model ourselves from their full-size download. Nine files in all, listed below.

What happened

  • The tool claims held. In our tool test it reached for the right tool 60 times out of 60, every time we ran it. Alan made it his agent model that evening: "do it, this could become my daily driver".
  • It was weaker at saying "I don't know". When the answer wasn't there, it often supplied one anyway. In real use that first evening it confidently told us a web page linked to a company's privacy policy, and it didn't. A more precise copy helped: Q8 fixed 12 of those cases and broke none.
  • Its maker's settings helped its writing, not its honesty. With thinking turned on, as IFM recommends, its writing score rose from 70% to 93%. Admitting gaps didn't improve.
  • Speed was the complaint. Alan: "the only thing bugging me is the speed compared to other models otherwise k2 36b seems like a keeper". A different file format fixed most of it: the Q4_0 copy ran about 25% faster than the usual Q4_K_M, and no test got worse. That's the file we kept.
  • It lost the everyday seat on memory. On 19 September we chose between it and Ornith for the model that runs all day. K2 needs more than twice the memory for each token of conversation it holds, so long conversations cost far more. Alan: "I think ornith has to stay for kv cache and context lengths".

It's still kept on the Mac Studio, as a specialist for structured writing, swapped in when it's needed.

The files 9 tested · each has its own page
  • Q4_0 kept

    The one we kept. The fastest build, and no test got worse.

    Requantised here from the local Q4_K_M · On disk · 21.3 GB · 20 scored runs · smallest Mac 48 GB

  • Q4_K_M

    The first build, and the one most of the testing ran on.

    Quantised here from IFM's BF16 · Deleted 12 Sep 2026 · 22.4 GB · 24 scored runs · smallest Mac 48 GB

  • Q8_0

    A larger, more precise copy, to see what precision buys.

    Quantised here from IFM's BF16 · Deleted 12 Sep 2026 · 39.8 GB · 2 scored runs · smallest Mac 64 GB

  • Q4_1

    A format experiment: one test, then deleted.

    Requantised here from the local Q4_K_M · Deleted 11 Sep 2026 · 23.6 GB · 1 scored run · smallest Mac 48 GB

  • Q5_0

    A format experiment: one test, then deleted.

    Requantised here from the local Q4_K_M · Deleted 11 Sep 2026 · 24.0 GB · 1 scored run · smallest Mac 48 GB

  • Q5_1

    A format experiment: one test, then deleted.

    Requantised here from the local Q4_K_M · Deleted 11 Sep 2026 · 28.2 GB · 1 scored run · smallest Mac 48 GB

  • BF16 GGUF

    IFM's full-size original. Too big to run here; we made the others from it.

    Downloaded from IFM, rev c8dde8bc · Deleted 10 Sep 2026 · 74.9 GB · never scored

  • Q4_0

    A Q4_0 made in one step instead of two. Never scored: our test harness failed on it twice.

    Requantised here from the local Q8_0, one extra rounding pass · Deleted 11 Sep 2026 · 21.3 GB · never scored

  • Q4_0 with Q8_0 output and token-embedding tensors

    A Q4_0 that keeps two layers at higher precision. Never scored, for the same reason.

    Requantised here from the local Q8_0 · Deleted 11 Sep 2026 · 21.7 GB · never scored

Corrections 39 to the record published 21 October 2026
  • On the worldview run of 9 September 2026: voided. The run stopped after 19 of the suite's 40 cases (the server was restarted mid-run), so 19/19 is a partial result, not a score.

    Corrected 26 October 2026 · a mechanical fix

  • On the worldview run of 9 September 2026: cases attempted was 19, now 40. The run manifest records 40 cases attempted; only 19 reached the results file.

    Corrected 26 October 2026 · a mechanical fix

  • On the worldview run of 9 September 2026: coverage (%) was 100.0, now 47.5. 19 of the 40 attempted cases were measured.

    Corrected 26 October 2026 · a mechanical fix

  • Build of llama.cpp on 34 runs was 0.4.0-dev (build 10893, commit c32d1dabe), now 0.3.0-dev (build 20, commit 35999d1). Served by the MBZUAI-IFM llama.cpp fork (build 20, commit 35999d1), the only build that could load this architecture; the stamp named the stock binary instead.

    Corrected 26 October 2026 · a mechanical fix

  • Size (GB) was 20.8, now 22.37. The write-up's runs measured the Q4_K_M file, 22,368,011,616 bytes (22.37 GB); 20.8 was that size in GiB.

    Corrected 26 October 2026 · a mechanical fix

  • Seats was agent, now none. It left the agent seat on 2026-09-12; on 2026-10-26 it holds no seat and is a registered candidate for the swap seat only.

    Corrected 26 October 2026 · a headline fix

The lab's record Every decision, with its date · the model's specification
Decisions, in order
  • 2026-09-09 14:53Z — bring it in. Alan: "we could quantize q8 and run it, see what it can do against the gauntlet". Fork cloned and built 14:54Z. The 7B was done first because its GGUF was smaller; the 36B was queued behind it at 15:09Z.
  • 2026-09-09 15:10Z → 15:21Z — nearly dropped, then kept. Alan: "the 36b not worth it", and the assistant cancelled the 36B job at 15:12Z. Alan then sent "oh hang on that's the moe keep the download" (15:12Z) and "the 32b dense isn't the one to download" (15:13Z). The download was restarted at 15:21Z: "you are right, that is the 4B-active MoE and the one worth having; the 32B is the dense variant".
  • 2026-09-09 — why the k2horizon fork. No other runtime could load the arch: upstream llama.cpp had no k2-horizon (no upstream PR found), mlx_lm had no mova arch, rapid-mlx/oMLX had no patch. The script header records the constraint that this build is for this model only and is not to be used as a general llama.cpp. Rapid-mlx was ruled out explicitly because it drops chat_template_kwargs, which selects K2's tool-call format.
  • 2026-09-09 16:03Z → 19:43Z — Q4_K_M flagged, then cleared. Read at 8.5 GB mid-write and called suspect; retracted at 19:43Z as 20.8 GB "exactly right". An earlier lab note still carries the 8.5 GB warning.
  • 2026-09-09 19:43Z — first seated after Alan's "we never did the 36b model?" (19:43Z). Served for Alan to drive, displacing K2-7B ("the weakest of the four on most measures"), and wired into opencode/pi/dsh as "the agentic pick".
  • 2026-09-09 20:02Z — full board under one configuration. After "do it, this could become my daily driver", re-served at -c 65536 -np 2 and every suite re-run under the new label k2-36b-ctx32k "so the whole board shares a configuration_id".
  • 2026-09-09 20:22Z — context ladder. Alan: "32k context a killer, this thing can handle 500k". Result: 128k per slot is the ceiling on this box; -np 1 adopted after Alan's "model occupying huge memory".
  • 2026-09-09 21:03Z — recommendation recorded: seat the 36B for acting and retrieval, gemma4-12b for provenance; never give it carried arithmetic or schemas where absence must be declared.
  • 2026-09-09 22:25Z — vendor arms (pre-registered expectation). The card's settings differed from the board's (extraction: temperature 0, thinking off). The assistant expected the board "may understate the model, particularly on... synthesis 70%, worldview 65%, nullschema 54%". Alan: "do it, skip dojo for now this is more fun". Outcome: synthesis and worldview rose, nullschema fell (seed 42) or held (seed 1337).
  • 2026-09-09 22:21Z — Alan's verdict that night: "the only thing bugging me is the speed compared to other models otherwise k2 36b seems like a keeper". This led straight to the speculative-decoding attempt.
  • 2026-09-10 00:03Z — Hermes. Local Hermes pointed at the 36B; --reasoning-format deepseek added because K2 emitted <ifm|think>…</ifm|think> inside content. Alan: "it's even better in hermes".
  • 2026-09-10 07:13Z — K2 holds the tool-caller seat. Declining Nex-N2.5-Mini, Alan: "I don’t think it’s worth it, I don’t get anything I don’t have with k2, it’s 3.5 based and it’s essentially trained as a tool caller.". Which K2 size he meant is not stated.
  • 2026-09-10 07:20Z — clean A/B against qwen3.8-27b at identical flags and -np 1. Decode 36.2 / 25.0 / 15.8 tok/s against 10.0 / 8.6 / 6.4 at short / ~5k / ~16k.
  • 2026-09-10 10:26Z — precision ladder. Alan: "the next thing worth testing is what full fat models fit and whether the fp16 really nails things even with smaller models rather than doing quants". The 36B got Q8_0 only, since its BF16 (69.8 GB) cannot load on 64 GB.
  • 2026-09-10 16:53Z — Hermes default, briefly. Alan: "let's try k2 36b as default with the others"; five minutes later "ok make bonsai primary".
  • 2026-09-10 23:48Z — BF16 deleted on Alan's "Yeah"; reason given: Q8_0 and BF16 behaved identically on the 3.7B, and the 36B BF16 cannot load here.
  • 2026-09-11 13:18Z — Q4_0. Alan: "we have a lever, chase it, measure it, prove it"; 13:39Z "sounds like q4_0 is going to be the speed / quality balance"; 14:12Z "should we get the base model and requant to q4_0" — answered by requantising from the Q8_0 rather than re-downloading 75 GB.
  • 2026-09-11 15:51Z — Q4_0 becomes the build. Assistant: "k2-36b stays the default — 100% tool perception and now 49.7 tok/s"; Alan: "you can do 1 - 5": rename, point swap-to-36b.sh at Q4_0, remove the unvalidated Q8-sourced pair.
  • 2026-09-12 08:04Z — Q4_K_M and Q8_0 deleted. Alan: "We can do some more cleanup too, kill and q8 and q4_k_m safely?".
  • 2026-09-12 09:52Z — off the Hermes seat. The seat was "the Hermes seat (k2-36b)"; the 80B replaced it at Alan's request ("wire 80b into Hermes").
  • 2026-09-19 01:08Z — lost the driver race to ornith. Alan: "and what are my context windows, ornith slightly faster but I suspect k2 a better model", then "I think ornith has to stay for kv cache and context lengths". After Alan's "and still lists k2 36b" (01:13Z), it was delisted from fleetview at 01:14Z, the code comment reading "lost the driver race to ornith on KV economics" followed on the next line by (192 vs 82 KB/token at 128K). Strong at schema/synthesis; resurrect for that. Alternative rejected: replacing ornith, which cost "3.5 GB more at 128K... and 265 t/s of prefill, in exchange for nullschema 70.8% vs 36.1%".
  • 2026-09-20 17:34Z — kept as a swap-seat occupant. Alan: "is it possible to register many different models that are hot swappable in the ornith seat with similar configs". k2-36b is a registered occupant, note "schema/synthesis · 459 pf / 45 dec".
  • 2026-10-11 — fork retirement pending a check. Upstream has the arch; "It needs one quick load-and-answer check before its fleetview entry moves off the fork".
What we learned, in the lab's words
Why it was tested, in the lab's words
  • Alan, 2026-09-09 14:47Z: "oooo what's kimi k2 horizon, also I thought we figured out the reasoning thing". The assistant first searched Moonshot's Kimi line and found nothing, then corrected itself to IFM's release of six days earlier.
  • Alan, 14:54Z, on IFM's published scores: "look at the scores https://ifm.ai/blog/k2/#get-started we know they don't mean much but certainly encouraging".
  • The assistant judged it not runnable (BF16-only GGUF, fork-only support). Alan, 14:53Z: "we could quantize q8 and run it, see what it can do against the gauntlet".
  • Alan, 15:40Z, on the family as a whole: "k2 horizon also have a hot swappable architecture where you can keep your harness and just move up models".
  • The question, as written into the download script at the time: IFM position the 36B-A4B as their best agentic model; it claims 26.8 on tau3-Banking against qwen3.6-35b-a3b's 9.3, "a model already serving here on 8092, so directly checkable". The assistant's framing: 4B active "puts it in REAP's speed class" and "agentic reasoning is exactly the axis where your fleet is weakest".
  • A lab note (written the same evening) records it as "a candidate agent seat after the 3.7B tied first on tool invocation and failed everything downstream", and the question as "whether it could be a daily driver".
  • After the first three suites, Alan, 20:02Z: "do it, this could become my daily driver".
  • Compared against: the K2-Horizon 3.7B and 7B (same day, same fork), gemma4-12b (provenance), REAP qwen3-next-80b, and in a clean A/B on 2026-09-10 qwen3.8-27b. In the seat race of 2026-09-18/19: ornith-35b-a3b, btl-4, edge0-35b, bonsai2.
Open questions
  • Does the 36B load and score the same on upstream llama.cpp? That check gates retiring llama.cpp-k2horizon.
  • Do the vendor-settings gains (synthesis 93.3/90.0) hold on the Q4_0 build now on disk? The vendor arms only ran on Q4_K_M.
  • Is a single-rounding Q4_0 (from the Q8_0 or BF16) better than the double-rounded file now held? K2-Horizon-36B-A4B Q4_0 (requantised here from the local Q8_0, one extra rounding pass) was built, but its nullschema died at the harness schema probe, twice. A direct probe of the same server answered normally, which the assistant could not explain: "I don't have an explanation and I'm not going to invent one".
  • KV cost per token: ~100 KB/token (q8_0, 2026-09-09) against 192 KB/token (2026-09-18 table). The KV type and method behind the 192 figure are not recorded in the table.
  • Q8_0 decode speed was never recorded (a sed error swallowed it).
  • q8_0 KV at 100k-token depth: no long-context probe exists.
The model in detail
fieldvalue
vendorIFM — Institute of Foundation Models, MBZUAI
upstream repoIFM/K2-Horizon-MoVA-36B-A4B (safetensors), IFM/K2-Horizon-MoVA-36B-A4B-GGUF (on 2026-09-09: one file, K2-Horizon-36B-BF16.gguf, 74.9 GB)
revisionGGUF repo commit c8dde8bc6afe5b28e75c7d78db4fbd65d5fcf679, the revision the BF16 was downloaded at. The download script did not pin one; this is recovered from the HF download metadata left on disk
licenceApache 2.0
released2026-09-03
parameters36B total, 4B active per token (card wording)
architecture (from the local GGUF header)general.architecture = k2-horizon; 48 blocks of which 3 leading dense; embedding 2560; 32 attention heads, 8 KV heads; 100 routed experts, 8 used, 1 shared; expert FFN 768; MoVA ("Mixture-of-Value attention") value experts 64, 4 used
tokenizergpt2 BPE, 250,624 tokens, bos 0 / eos 1 — identical to K2-Horizon-3.7B and 7B
native context524,288 (declared in the GGUF)
vendor serving advicereasoning_effort="high" always, temperature 1.0, top_p 0.95, the k2_horizon reasoning and tool-call parsers; llama.cpp needs a build with K2 Horizon support ("PR in progress" on the card)
runtime used hereMBZUAI-IFM llama.cpp fork, branch model/K2Horizon, HEAD 35999d1 (5 commits on upstream 4e97ac8; 5 ahead / 214 behind upstream on 2026-09-09); built with Metal at llama.cpp-k2horizon, reports 0.3.0-dev (build 20, commit 35999d1)
upstream statusLLM_ARCH_K2_HORIZON, the MoVA attn_v_exps tensors and the K2 tokenizer are in upstream source as of the b11552 checkout; the 36B has not been load-tested on upstream

Upstream llama.cpp could neither load nor quantise this file on 2026-09-11 (unknown model architecture: 'k2-horizon'), so every K2 build and run below used the fork's own binaries. mlx_lm 0.31.3 had no mova/k2_horizon arch and no MLX community conversion existed.