SAVRN
Search Contact SAVRN

Open-weight model · Text generation

K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v

by Matthew P Barnson txgsync/K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v

K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v is an open-weight model for text generation from Matthew P Barnson, released under Apache License 2.0. It has 19.2B parameters and a 524,288-token context. At 16-bit it needs about 46.1 GB of GPU memory, which fits on 1x MI300X from $1.85 an hour, at the lowest prices in the SAVRN Index.

An experimental NanoSeedLM (SeedLM) compression of IFM/K2-Horizon-MoVA-36B-A4B for Apple Silicon Macs with 32 GB of unified memory.

Parameters19.2B
Context524,288
Weights22.8 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads—

Runs On

What it takes to serve K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v (19.2B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 38.4 GB 46.1 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 19.2 GB 23.0 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 9.6 GB 11.5 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Oct 7, 2026.

K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v on every accelerator the SAVRN Index prices, at every precision

Model Card

By Matthew P Barnson, published under apache-2.0, revision 9c353df666b6.

An experimental NanoSeedLM (SeedLM) compression of IFM/K2-Horizon-MoVA-36B-A4B for Apple Silicon Macs with 32 GB of unified memory. SeedLM keeps each block of 8 weights as a 16-bit seed of a linear feedback shift register (LFSR), 4 coefficients and an exponent. The GPU makes the weights again from the seed at run time. The paper used an FPGA for this. This model uses Metal kernels on the Mac GPU. This is a research proof of concept. It is not a replacement for a calibrated quantization. - Six safetensors shards (22.76 GB in total, at most 4.5 GB each) and model.safetensors.index.json. The other files are config.json, the tokenizer files of the base model and nanoseedlmk2.py, the MLX loader.…

Read Matthew P Barnson's full model card

K2-Horizon-MoVA-36B-A4B — NanoSeedLM p4mx-q4v (22.76 GB)

An experimental NanoSeedLM (SeedLM) compression of IFM/K2-Horizon-MoVA-36B-A4B for Apple Silicon Macs with 32 GB of unified memory.

SeedLM keeps each block of 8 weights as a 16-bit seed of a linear feedback shift register (LFSR), 4 coefficients and an exponent. The GPU makes the weights again from the seed at run time. The paper used an FPGA for this. This model uses Metal kernels on the Mac GPU.

This is a research proof of concept. It is not a replacement for a calibrated quantization.

This upload

  • Six safetensors shards (22.76 GB in total, at most 4.5 GB each) and model.safetensors.index.json. The other files are config.json, the tokenizer files of the base model and nanoseedlm_k2.py, the MLX loader.
  • Routed FFN experts (100 per layer, layers 3-47): SeedLM P=4, 4.5 bits per weight. Data-free LFSR basis, activation-weighted seed search over all 65,535 seeds.
  • Value experts (MoVA, 64 per layer): affine Q4, group 64.
  • Attention, shared experts, dense layers 0-2, embedding, LM head: affine Q8, group 64.
  • Routers and norms: BF16.
  • Seed tensors are stored as NAME.seeds (U16), NAME.coefs (U16), NAME.codes (U8) and NAME.exp_bias (I32). Q8 and Q4 tensors use MLX's layout (NAME.weight, NAME.scales, NAME.biases).

Results

Measured on one M4 Max (128 GB). KLD is against MLX BF16 logits (held-out text / chat).

Model Size KLD held-out / chat Decode, C engine, 1k / 4k ctx
BF16 74.89 GB reference 35.8 / 34.0 tok/s
Affine Q4 experts, Q8 rest 26.53 GB 0.0233 / 0.0110 60.2 / 55.9 tok/s
SeedLM P=4 experts, Q8 rest (p4mx) 26.53 GB 0.0195 / 0.0095 49.5 / 46.5 tok/s
This model (p4mx-q4v) 22.76 GB 0.0260 / 0.0126 50.9 / 48.0 tok/s
  • GPU memory in the C engine: 23.3 GB at 1k context, 23.9 GB at 4k. This fits the default GPU memory of a 32 GB Mac to approximately 4k tokens of context.
  • Generations: four blind judges compared 80 outputs against BF16. 27 of 28 checkable answers were correct. Two outputs (one prompt, greedy and sampled) fell into a loop. The 26.53 GB p4mx model passes all checks; this smaller model does not.
  • In oMLX on the same Mac: decode 41 tok/s, against 52 tok/s for the Q4 model in the same path.

Use

NanoSeedLM engine (C99 and Metal)

git clone https://github.com/mbarnson/nanoseedlm && cd nanoseedlm && make
hf download txgsync/K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v --local-dir K2-NSLM
out/bin/nslm-chat --model K2-NSLM "Why do tide pools matter?"
out/bin/nslm-serve --model K2-NSLM --port 8080      # OpenAI-compatible API with tool calling

oMLX

Put the folder in the oMLX model directory, or download it to the Hugging Face cache. Enable Trust Remote Code for the model: config.json names nanoseedlm_k2.py (the MLX loader with the seed kernels) in model_file. oMLX supplies the K2-Horizon model code.

Settings

The chat template has three reasoning levels: high (default), medium and low. Stop tokens are <|ifm|endoftext|> and <|ifm|im_end|>. Native context is 524,288 tokens. On a 32 GB Mac, the KV cache limits context to approximately 4k tokens.

Why this model

  • Mixture of Values. MoVA routes the attention value projection through 64 experts. Together with 100 FFN experts, expert matrices hold most of the weights. Seeds go there.
  • Open. IFM publishes the training data, the training code and the intermediate checkpoints.
  • A quiet corner. The K2-Horizon family has few users. Experiments here do not disturb popular models.

How it was made

The full story is in NanoSeedLM. In short:

  1. All weights of K2-Horizon-0.9B as 4.0-bit seeds: fail.
  2. GPU seed search and fast decode kernels: search 25x faster.
  3. MoVA expert gate and up projections as seeds: outputs hold, KLD worse than Q4.
  4. All routed experts as seeds, the rest Q8: 24.87 GB, two failures.
  5. A C99 and Metal engine that matches MLX.
  6. Kernel work: seeds at 8-11% behind Q4 decode.
  7. 4.5-bit blocks with 4 coefficients: Q4 size, lower KLD than Q4.
  8. Value experts in Q4: 22.76 GB. This model.

Limits

  • Decode is 14-21% slower than the affine Q4 model (C engine and oMLX).
  • Prefill in oMLX decodes one layer's experts to BF16 for a short time: approximately 2 GB more peak memory.
  • Calibrated quantizations (for example imatrix K-quants) are strong. On small dense models they beat seeds.
  • The seed tensors run in the NanoSeedLM engine and in MLX through nanoseedlm_k2.py (oMLX). Transformers cannot run them.

License and attribution

The base model is licensed under Apache-2.0 by IFM. This model is a modified version: the weights are compressed as described above. The license is in LICENSE.

@misc{k2horizon2026,
  title  = {Introducing K2 Horizon: Frontier Performance, Radically Open},
  author = {{IFM Team}},
  year   = {2026},
  url    = {https://ifm.ai/blog/k2/}
}
@inproceedings{shafipour2025seedlm,
  title     = {SeedLM: Compressing LLM Weights into Seeds of Pseudo-Random Generators},
  author    = {Shafipour, Rasoul and Harrison, David and Horton, Maxwell and Marker, Jeffrey and Bedayat, Houman and
               Mehta, Sachin and Rastegari, Mohammad and Najibi, Mahyar and Naderiparizi, Saman},
  booktitle = {International Conference on Learning Representations},
  year      = {2025}
}

Configuration

Architecture
K2HorizonForCausalLM
Context length (tokens)
524,288
Layers
48
Hidden size
2,560
Feed-forward size
6,144
Attention heads
32
Key/value heads
8
Head dimension
128
Vocabulary size
250,624
Experts
100
Experts active per token
8
Model type
k2_horizon

Identity and Version

Repository
txgsync/K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v
Publisher
Matthew P Barnson
Task
Text generation
Modality
Text
Library
mlx
Parameters
19.2B parameters
Languages
en
Revision
9c353df666b65c310f16f5beb24534bd82978767
First published
2026-10-07
Last updated
2026-10-07

Files and Weights

17 files, 22.8 GB in total. The weights are 6 files totalling 22.8 GB in safetensors.

Weights6 files · 22.8 GB
Configuration5 files · 185.2 KB
Tokenizer2 files · 29.2 MB
Documentation2 files · 16.7 KB
Other1 file · 51.0 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00006.safetensorsWeights4.5 GB 70a5fc1d809c
model-00002-of-00006.safetensorsWeights4.5 GB b0956547b0cf
model-00003-of-00006.safetensorsWeights4.4 GB 6128f891f320
model-00004-of-00006.safetensorsWeights4.5 GB 1737b8befd5d
model-00005-of-00006.safetensorsWeights4.2 GB 3e89a7ba07a4
model-00006-of-00006.safetensorsWeights681.7 MB c68027298779
config.jsonConfiguration5.6 KB —
generation_config.jsonConfiguration81 B —
model.safetensors.index.jsonConfiguration170.6 KB —
nanoseedlm_k2.pyConfiguration8.9 KB —
special_tokens_map.jsonConfiguration79 B —
LICENSEDocumentation10.8 KB —
README.mdDocumentation5.9 KB —
chat_template.jinjaOther51.0 KB —
.gitattributesRepository1.6 KB —
tokenizer.jsonTokenizer29.2 MB 2fa69519ff1e
tokenizer_config.jsonTokenizer253 B —

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
22.8 GB
Download from Matthew P Barnson

Released by Matthew P Barnson through its official repository on Hugging Face. Read the license.

Built From

  • Derived from IFM/K2-Horizon-MoVA-36B-A4B
  • Described by arXiv:2410.10714
  • Quantized from IFM/K2-Horizon-MoVA-36B-A4B
  • Trained on (disclosed) IFM/K2-Horizon-Midtrain-Data
  • Trained on (disclosed) IFM/K2-Horizon-Pretrain-Data

Memory Requirements

PrecisionWeights in memory
As published22.8 GB
16-bit38.4 GB
8-bit19.2 GB
4-bit9.6 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Questions About K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v

How much GPU memory does K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v need?

About 46.1 GB at 16-bit and 11.5 GB at 4-bit: the weights (19.2B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v commercially?

Yes. K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is K2-Horizon-MoVA-36B-A4B-NSLM-p4mx-q4v's context length?

524,288 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text generation

Ornith-1.5-35B-A3B-NVFP4

Ornith

Chirp Chirp! We are introducing Ornith-1.5, a major step toward building foundation models through end-to-end self-improvement. Ornith-1.5 extends Ornith-1.0 (which was developed on top of Qwen3.5 and Gemma4 with additional continued pretraining, mid-training, and post-training) by expanding the self-improvement loop from scaffold and rollout optimization to jointly optimizing task generation, scaffold construction, and solution rollouts. Rather than relying on a fixed set of human-curated tasks and manually designed harnesses, Ornith-1.5 continuously generates new training tasks, discovers effective strategies for solving them, and improves the policy through reinforcement learning. For…

Open weights mit 19.5B parameters 262,144 tokens transformers

Model · Text generation

Qwen3.6-35B-A3B-NVFP4

NVIDIA

The NVIDIA Qwen3.6-35B-A3B-NVFP4 model is the quantized version of Alibaba's Qwen3.6-35B-A3B model, which is an auto-regressive language model that uses an optimized transformer architecture. For more information, please check here. The NVIDIA Qwen3.6-35B-A3B-NVFP4 model is quantized with Model Optimizer. This model is ready for commercial/non-commercial use. This model is not owned or developed by NVIDIA. This model has been developed and built to a third-party’s requirements for this application and use case; see link to Non-NVIDIA (Qwen3.6-35B-A3B) Model Card from Alibaba. Global Developers looking to take off-the-shelf, pre-quantized models for deployment in AI Agent systems, chatbots…

Open weights apache-2.0 18.7B parameters 262,144 tokens Model Optimizer

Apache-2.0 This repository contains an NVFP4 quantization of VeriLoop E2, an open 27B post-trained model built on Qwen3.8-27B for code, mathematics, and physics. Its core reasoning discipline is VeriLoop-Governed Recurrence (VGR): candidate states are recursively proposed, externally checked, and retained only when the protected evidence state improves without regression. Quantized by Rodrigo Ramos. Produced with NVIDIA Model Optimizer using the canonical NVFP4W4A4WEIGHTLOCALHESSIANCFG recipe: static per-block 4-bit weights (group size 16) + dynamic 4-bit activations, FP8 attention, local-Hessian calibration with MSE and fp8 scale sweep. The linearattn (Gated Delta Net) blocks and the…

Open weights apache-2.0 18.3B parameters 262,144 tokens transformers

Model · Text generation

NVIDIA-Nemotron-3-Nano-30B-A3B-NVFP4

NVIDIA

September 2025 \- December 2025 The post-training data has a cutoff date of November 28, 2025\. The pre-training data has a cutoff date of June 25, 2025\. Nemotron-Nano-3-30B-A3B-NVFP4 is a quantized version of Nemotron-Nano-3-30B-A3B and is a large language model (LLM) trained from scratch by NVIDIA, and designed as a unified model for both reasoning and non-reasoning tasks. It responds to user queries and tasks by first generating a reasoning trace and then concluding with a final response. The model's reasoning capabilities can be configured through a flag in the chat template. If the user prefers the model to provide its final answer without intermediate reasoning traces, it can be…

Open weights other 18.2B parameters 262,144 tokens transformers

The pre-training data has a cutoff date of September 2025. The post-training data has a cutoff date of May 2026. NVIDIA Nemotron™ is a family of open models with open weights, training data, and recipes, delivering leading efficiency and accuracy for building specialized AI agents. NVIDIA-Nemotron-3.5-Lightning-30B-A3B-NVFP4 is a large language model (LLM) trained by NVIDIA. The model employs a hybrid Mixture-of-Experts architecture, utilizing interleaved Mamba-2 and MoE layers, along with select Attention layers. The Lightning 3.5 model is released alongside a number of speculative decoding methods for faster text generation. The model has 3B active parameters and 30B parameters in total.…

Open weights other 17.8B parameters 1,048,576 tokens transformers

Model · Text generation

gpt-neox-20b

EleutherAI

GPT-NeoX-20B is a 20 billion parameter autoregressive language model trained on the Pile using the GPT-NeoX library. Its architecture intentionally resembles that of GPT-3, and is almost identical to that of GPT-J- 6B. Its training dataset contains a multitude of English-language texts, reflecting the general-purpose nature of this model. See the accompanying paper for details about model architecture (including how it differs from GPT-3), training procedure, and additional evaluations. Model](https://arxiv.org/abs/2204.06745). For details about the training dataset, see the Pile paper, and its data sheet. Discord](https://discord.gg/zBGx3azzUn), and post them in #release-discussion. Please…

Open weights apache-2.0 20.7B parameters 2,048 tokens transformers