Madhuram-v0.6: Technical Overview

Madhuram-v0.6 pairs a 16,384-token context window with a 600 billion token training budget at 151 million parameters. Evaluated against models trained on two to nineteen trillion tokens, it leads its size class on knowledge benchmarks.

Published
July 2026
Parameters
151 million
Context window
16,384 tokens
Training data
600B tokens
Architecture
Perseus

Core Specifications

Madhuram-v0.6 is a 151 million parameter model built on the Perseus architecture and trained on 600 billion tokens of English text. It runs a 16,384-token context window, four times that of v0.5, and is designed to hold that window on consumer hardware rather than only in a datacentre.

Working With Long Context

A 16K window is roughly 12,000 words of input: a full research paper, a long support thread, several source files, or an afternoon of conversation. The model accepts all of it in a single pass, on the same weights that run on a phone.

Retrieval quality across that window is measured directly rather than asserted. The results are in the long-context section below, reported at every context length from 2K to 16K and set against three comparable models.

Commonsense Reasoning

All four models were run through the same harness with identical settings rather than quoting self-reported figures. Results are zero-shot on base checkpoints. Across the commonsense suite the four models sit within 1.07 points of each other.

ModelBoolQARC-EARC-CPIQASIQAWinoGrandeOBQAHellaSwagAverage
Madhuram-v0.660.4657.3729.7867.2539.5651.3832.4041.9747.52
SmolLM2-135M60.4358.8829.5268.4439.2553.3532.8043.1348.23
Gemma-3-270M58.4756.9428.1668.7739.9753.2030.4041.3347.16
LFM2.5-230M61.1059.6435.4163.7138.0254.3832.6039.3848.03

Zero-shot, evaluated using lm-evaluation-harness. Best scores in each category are set in bold.

Knowledge Benchmarks

The knowledge results are where the training-efficiency gap is clearest. Madhuram leads GPQA Diamond and SciQ outright, and beats both SmolLM2 and Gemma 3 on MMLU by five to seven points, despite a three to tenfold data disadvantage. LFM2.5 takes MMLU, CommonSenseQA and TriviaQA, broad factual recall being precisely where nineteen trillion tokens pay off.

ModelTraining TokensGPQA DiamondSciQMMLUCommonSenseQATriviaQA
Madhuram-v0.6600B30.8187.4031.7120.886.21
SmolLM2-135M2T20.7178.2024.4920.395.02
Gemma-3-270M6T21.2183.9026.0420.399.66
LFM2.5-230M19T29.2981.2040.1038.3312.88

Zero-shot on base checkpoints. Best scores in each category are set in bold.

Instruction-Tuned Performance

After supervised finetuning, Madhuram leads its size class on graduate-level science reasoning and multi-step reasoning, and roughly a third ahead of both size-class peers on instruction following. LFM2.5 holds substantial advantages on instruction following and mathematics, the return on nineteen trillion pretraining tokens combined with multi-stage reinforcement learning, and precisely the ceiling that additional data and compute raise.

ModelGPQA DiamondBBH (3-shot)IFEvalGSM8K (5-shot)
Madhuram-v0.629.3025.2040.907.24
SmolLM2-135M21.7023.2030.001.67
Gemma-3-270M26.3024.3031.003.41
LFM2.5-230M25.8024.0070.0029.90

BBH 3-shot, GSM8K 5-shot reported as the mean of the flexible-extract and strict-match parsers, GPQA and IFEval zero-shot. Best scores in each category are set in bold.

Long-Context Retrieval

The 16K window is validated with RULER needle-in-a-haystack evaluations, averaged across eight retrieval task variants at context lengths from 2K to 16K. Madhuram outperforms both size-class peers at every context length, and by a widening margin as context grows. SmolLM2-135M-Instruct cannot run 16K context at all. LFM2.5 leads throughout, holding above 90% recall across the full range.

  • Madhuram-v0.6
  • SmolLM2-135M-Instruct
  • Gemma-3-270M-IT
  • LFM2.5-230M
Needle in a haystack (RULER): average recall across eight tasks, by context length

Post-trained checkpoints. The vertical axis starts at 40. SmolLM2 has no 16K point because its maximum context is 8K.

Model2K4K8K16K
Madhuram-v0.687.5079.9066.3052.30
SmolLM2-135M-Instruct68.9060.8049.60-
Gemma-3-270M-IT71.5067.0055.4047.10
LFM2.5-230M96.9097.6097.1090.50

Average recall (%) across the eight RULER NIAH tasks , single 1 to 3, multikey 1 to 3, multiquery and multivalue, on post-trained checkpoints. SmolLM2 maximum context is 8K. Best scores in each category are set in bold.

On-Device Inference

Converted to GGUF and run through llama.cpp on a Nothing Phone (3a), Madhuram delivers the fastest decode of the four models tested while occupying the least storage. LFM2.5 leads on prefill; Madhuram leads on token generation, which is what dominates perceived latency in interactive use.

ModelPrefill (tok/s)Decode (tok/s)Size on disk
Madhuram-v0.6 (151M)452119100 MB
SmolLM2-135M230117104 MB
LFM2.5-230M64586151 MB
Gemma-3-270M29354247 MB

Nothing Phone (3a), Snapdragon 7s Gen 3. 4-bit quantisation, 4 threads, medians of 6 runs. Prefill measured on a 2048-token prompt. Same device, build and quantisation for all four models.

Deployment

The model serves as a versatile baseline for distributed intelligence, targeting environments where low latency and privacy are paramount:

  • On-Device: Converts to GGUF for llama.cpp, validated on consumer smartphone hardware.
  • Embedded Systems: Functional on resource-constrained IoT hardware.
  • Private Cloud: Deployable as a high-speed agent within secure enterprise firewalls.

Next Steps

Work in progress includes multilingual expansion, better long-context, and scaling-law studies to inform a larger model. For inquiries regarding specific evaluation results or research collaborations, please contact the lab.