Skip to content

K2 Horizon 7B

7BApache 2.0 ↗

MBZUAI K2 Horizon

The small dense member of MBZUAI IFM's K2 Horizon family, Apache 2.0, released with its training data. It is called 7B but holds 9.0B parameters: the 250K-token vocabulary's input and output tables add about 2B. Q4_K_M is about 6.5 GB at 4K, comfortable on an 8 GB card at that length; a 16 GB card holds it comfortably to 32K (10.8 GB), and 128K needs about 25.6 GB because every layer keeps an ordinary KV cache. llama.cpp runs it as `k2-horizon`. Sizes come from IFM's own GGUF files (bartowski's Q4_K_M is about 0.2 GB larger); no per-level quality loss has been published.

Quick Launch Command

Commands for GGUF Q4_K_M · adjust hardware and context in the CLI Generator

# Prerequisites: a CUDA toolkit matching your driver (nvcc --version), Python 3
# Install on Linux (with CUDA)
sudo apt install -y build-essential cmake git
git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j$(nproc)

# Download the model (installs the hf CLI the next line needs)
pip install -U huggingface_hub
hf download IFM/K2-Horizon-7B-GGUF --include "K2-Horizon-7B-Q4_K_M.gguf" --local-dir ./models

# Run
./build/bin/llama-server \
  -m ./models/K2-Horizon-7B-Q4_K_M.gguf \
  --host 127.0.0.1 --port 8080 \
  -ngl 99 \
  -np 1 \
  -c 4096 \
  -t 8

Quantization Variants

Per-quant VRAM, quality loss, and inference speed on RTX 4090

Measured = run on this site · Estimated = not run here: calculated, or a figure this site has not verified · Community = public reports

FormatLevelBPWVRAMPPL LossSpeedSourceActions
GGUFQ4_K_M4.976.5 GB——Estimated
CalcHF
GGUFQ5_K_M5.747.4 GB——Estimated
CalcHF
GGUFQ6_K6.578.3 GB——Estimated
CalcHF
GGUFQ8_08.510.6 GB——Estimated
CalcHF

Which file each size is for

Weights use recorded file bytes where available, otherwise BPW. Both receive a separate 2% planning allowance. VRAM at 4K includes KV and a 10% activation buffer (GiB). Downloads use decimal GB. Separate vision projectors are excluded from this table.

  • GGUF Q4_K_MIFM/K2-Horizon-7B-GGUF · K2-Horizon-7B-Q4_K_M.gguf · 5.59 GB (5,592,217,984 bytes) · listing read 2026-10-21
  • GGUF Q5_K_MIFM/K2-Horizon-7B-GGUF · K2-Horizon-7B-Q5_K_M.gguf · 6.47 GB (6,466,075,008 bytes) · listing read 2026-10-21
  • GGUF Q6_KIFM/K2-Horizon-7B-GGUF · K2-Horizon-7B-Q6_K.gguf · 7.39 GB (7,394,548,096 bytes) · listing read 2026-10-21
  • GGUF Q8_0IFM/K2-Horizon-7B-GGUF · K2-Horizon-7B-Q8_0.gguf · 9.57 GB (9,573,964,160 bytes) · listing read 2026-10-21

Running K2 Horizon 7B locally

At Q4_K_M and 4K of context, K2 Horizon 7B needs about 6.5 GB — 5.3 GB of weights, 0.56 GB of KV cache and a 0.6 GB activation buffer. The smallest cards in this index that clear that comfortably are 8 GB ones — 25 of them, from the RTX 3050 8G up — and 119 of the 127 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs.

What longer context costs

Going from 4K to 32K adds about 3.94 GB, taking the total to 10.8 GB. Weights do not move with context — only the KV cache does, and it grows linearly, so this is the number to watch when planning for long documents. The model's native window is 512K; holding all of it at Q4_K_M would need about 85 GB.

Which build to download

This index only tracks K2 Horizon 7B in GGUF, across 4 levels (Q4_K_M, Q5_K_M, Q6_K, Q8_0). No per-level perplexity sweep has been published for this model, so the quality column is empty rather than estimated — within one model, more bits per weight is the only ordering the data supports. No throughput has been measured for this model on this site's hardware. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 — CUDA only, and now archived, so local use rather than serving.

Common questions

How much VRAM does K2 Horizon 7B need?
About 6.5 GB at Q4_K_M with 4K of context and batch 1, rising to roughly 10.8 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card.
Will K2 Horizon 7B run on a 8GB GPU?
Yes — at Q4_K_M and 4K context it needs about 6.5 GB, which leaves 1.5 GB spare on a RTX 3050 8G, or on any of the other 8 GB cards here (25 in all). That is the smallest size in this index that clears it comfortably; 119 of 127 do.
Which quantization of K2 Horizon 7B should I use?
No published quality comparison exists for this model, so pick by footprint: Q4_K_M is the level most people run, and a higher bits-per-weight level is more faithful. All 4 levels in the index are Q4_K_M, Q5_K_M, Q6_K, Q8_0.

Where this model fits

Sized at Q4_K_M with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory.

Ships in
GGUF
0.9B

K2 Horizon 0.9B

MBZUAI K2 Horizon

Consumer GPUMac / Apple Silicon
Q4_K_M1.0 GB—perplexity rise

The smallest member of MBZUAI IFM's K2 Horizon family, Apache 2.0 and released with its training data. It is called 0.9B and holds 1.08B parameters. At Q4_K_M it needs about 1.0 GB at 4K and 2.6 GB at 32K, so it runs on almost anything, including a CPU. Every layer keeps an ordinary cache, which is why its full 128K window needs about 8.4 GB. IFM's own GGUF repo names these files 1B; the sizes here are bartowski's files, and no per-level quality loss has been published.

3.7B

K2 Horizon 3.7B

MBZUAI K2 Horizon

Consumer GPUMac / Apple Silicon
Q4_K_M4.0 GB—perplexity rise

A small dense member of MBZUAI IFM's K2 Horizon family, Apache 2.0 and released with its training data. It is called 3.7B but holds 5.06B parameters: the 250K-token vocabulary's input and output tables add about 1.3B. At Q4_K_M it needs about 4.0 GB at 4K, comfortable on any card; at 32K it is about 8.3 GB, tight on an 8 GB card. Every layer keeps an ordinary cache, so 128K needs about 23.2 GB. IFM's own GGUF repo names these files 4B; the sizes here are bartowski's files, and no per-level quality loss has been published.

36B-A4B

K2 Horizon MoVA 36B-A4B

MBZUAI K2 Horizon

Consumer GPUPro GPU
Q4_K_M24.2 GB—perplexity rise

The mixture-of-experts member of MBZUAI IFM's K2 Horizon family: 37.5B parameters with about 4B active per token, Apache 2.0, released with its training data. Every one of its 48 layers keeps an ordinary KV cache, so context is not cheap: Q4_K_M is about 24.2 GB at 4K, which is tight on a 24 GB card, and comfortable on a 32 GB card up to 16K. The 512K window would need about 129 GB. llama.cpp runs it as `k2-horizon`. Sizes come from IFM's own GGUF files (bartowski's Q4_K_M is about 0.3 GB larger); no per-level quality loss has been published.

32B

K2 Horizon 32B

MBZUAI K2 Horizon

Consumer GPUPro GPU
Q4_K_M23.1 GB—perplexity rise

The dense 32B member of MBZUAI IFM's K2 Horizon family (34.8B counted, Apache 2.0, released with its training data). All 64 layers keep an ordinary KV cache with 8 KV heads: Q4_K_M is about 23.1 GB at 4K, tight on a 24 GB card and comfortable on a 32 GB card up to 16K; each extra 32K of context adds roughly 8.8 GB. llama.cpp runs it as `k2-horizon`. Sizes come from IFM's own GGUF files (bartowski's Q4_K_M is about 1 GB larger); no per-level quality loss has been published.

This page's figures change when the model or the runtime does.Last updated 2026-12-06 RSS → /feed.xml