# Alder-1.6B: training a 1.59B language model from scratch in the open for $980 all-in

Canonical: https://udgamlabs.com/blog/alder · Updated: 2026-11-28

> We trained Alder-1.6B from random weights across pre-training, 32K long context, SFT, verifiable RL and preference tuning — $703 direct training, $980 all-in across 173 runs. Benchmarks, how to run it locally, and where it falls short.

Release · 2026-11-28 · By Jitesh K Prasad

Most small open language models today are trained on 10 to 36 trillion tokens at six- or seven-figure compute budgets. They are genuinely useful, but they leave a basic question unanswered for small teams: **what can you actually build from scratch on \$1,000, from random weights all the way to a chat, long-context, tool-calling model — and what breaks along the way?**

We built **Alder-1.6B** in the open to find out. Direct training and final evaluation across all eight stages cost **\$702.96**. Counting every early experiment, four-way data recipe test, corpus build, mid-run probe, rival baseline, and failed rehearsal from day one adds **\$277.32**, bringing the **all-in project total to \$980.28 across 173 GPU runs** — still under \$1,000.

Everything for Alder is released publicly under **Apache-2.0**: final weights, the base model, all 41 intermediate pre-training and post-training checkpoints, six GGUF quantisations, Apple silicon MLX builds, evaluation transcripts, spend logs, and the full training code.

## How we trained it (in short)

Rather than spending the whole budget on one long pre-training pass, we split Alder into eight deliberate steps so it would learn practical skills — reading long documents, calling tools cleanly, and admitting when it does not know the answer:

1. **Pre-training from scratch (\$549.86, 25.4B tokens):** Starting from random weights, Alder read 20.9 billion tokens in Part 1 and 4.4 billion more in a cooldown pass (Part 2), producing `Alder-1.6B-Base`.
2. **First fine-tuning pass (\$6.37):** A short 2K-context test pass to teach chat formatting, optional step-by-step thinking, tool calls, and declines. It worked (10 of 11 format checks passed) and exposed three bugs — forgetting, conversation packing leaks, and slow evaluation — that we fixed before scaling up.
3. **Long-context extension (\$79.04):** We stretched Alder from 2K tokens to 32K native context (and tested 64K). The 32K checkpoint kept virtually zero forgetting (+0.0008 bits per byte on our base panel) and reached 100% needle recall through 24K (80% at 32K).
4. **32K fine-tuning (\$35.18):** A full 272M-token fine-tuning pass at 32K context with strict document-boundary masking (0 of 24 packing leaks). Held-out loss dropped 42% and 32K needle recall climbed to 90%.
5. **Verifiable reinforcement learning (\$25.55):** 400 GRPO steps on tasks with exact, checkable answers — JSON tool calls, passage lookups, calculator arithmetic, and unanswerable twins where the right move is to decline. Mean reward rose 4.6x with essentially zero forgetting.
6. **Preference and identity tuning (\$5.39):** Our first pure-DPO pass failed to teach Alder its own name and lab (0% Udgam Labs attribution). Switching to a 75-step micro-SFT pass followed by 66 light DPO steps fixed it cleanly: 30/30 valid format, 29/30 unseen identity attribution, and higher RL reward.
7. **Full benchmarks and standard export (\$1.57 + \$0 local):** We evaluated base vs. final across 32,169 public multiple-choice items, 1,319 GSM8K problems, all 904 RL held-out tasks, and 4K–32K needle recall, then mathematically converted the model to stock `Qwen3ForCausalLM` so it runs everywhere with zero custom code.

The remaining **\$277.32** covered all the real-world prep work that usually stays hidden: three full-scale dress rehearsals (\$97.59, two of which failed and caught save bugs before the main run), 46 small architecture and speed experiments (\$59.58), a 4-way data recipe comparison (\$48.79), mid-run learning-rate probes (\$25.01), corpus and tokenizer builds (\$21.90), rival baselines (\$17.66), and environment/pool smoke checks (\$6.79).

## Benchmarks: honest numbers

We scored `Alder-1.6B-Base` and final `Alder-1.6B` head to head in the same harness:

| Benchmark | Items | Alder-1.6B-Base | **Alder-1.6B (Final)** | Change |
|---|---:|---:|---:|---:|
| ARC-Easy (0-shot, norm / raw) | 2,376 | 58.2% / 65.2% | **60.4% / 65.2%** | +2.2 pp norm |
| ARC-Challenge (0-shot, norm) | 1,172 | 33.3% | **35.6%** | +2.3 pp |
| HellaSwag (0-shot, norm) | 10,042 | 51.5% | **51.5%** | +0.1 pp |
| WinoGrande (0-shot, xl) | 1,267 | 56.8% | **57.0%** | +0.2 pp |
| MMLU (5-shot) | 14,042 | 24.3% | **26.4%** | +2.0 pp |
| BoolQ (0-shot) | 3,270 | 62.6% | **59.0%** | -3.6 pp |
| GSM8K test (0-shot think, no tool) | 1,319 | — | **3.3%** (96.5% closed think) | — |

On our 904-item verifiable RL held-out suite, the post-training pipeline made a large practical difference:

| Capability (904-item held-out suite) | After 32K SFT | After RL | **Alder-1.6B (Final)** |
|---|---:|---:|---:|
| Exact JSON tool calling | 93.5% | 96.8% | **95.7%** (0% malformed) |
| Declining when no tool fits | 78.4% | 87.6% | **86.6%** |
| Passage-grounded QA | 53.0% | 97.0% | **86.0%** |
| Declining missing-fact passages | 42.0% | 96.0% | **93.0%** |
| Arithmetic with calculator | 59.0% | 87.0% | **73.0%** |
| Overall honest decline accuracy | 30.2% | 48.1% | **59.1%** |

And after all of SFT, RL, and DPO, single-needle recall across long contexts held at **84% average from 4K to 32K** (`4K: 80%`, `8K: 100%`, `16K: 60%`, `24K: 100%`, `32K: 80%`).

### How Alder compares to similar-size open models (1.1B–1.9B)

Comparing models of similar parameter count requires separating compute-matched builds from trillion-token lab releases. Alder-1.6B numbers below are measured in our Step 8 harness; peer multiple-choice numbers are published external figures from their authors for context:

| Model | Source | Params | Pre-train tokens | vs Alder | ARC-E | HellaSwag | WinoGrande | MMLU | GSM8K |
|---|---|---:|---:|---:|---:|---:|---:|---:|---:|
| **Alder-1.6B** (\$703 train / \$980 all-in) | Measured | 1.59B | 25.4B | 1x | **65.2%** | 51.5% | 57.0% | 26.4% | 3.3% (no tool) |
| nanochat d32 (~\$800–\$1,000, 2K ctx) | Published | 1.9B | ~38B | 1.5x | ~68–73% | — | — | ~40–43% | ~13–20% (Python) |
| Pythia-1.4B | Published | 1.4B | 300B | 12x | 54–57% | 52.0% | 57.4% | ~31.5% | — |
| OLMo-1B | Published | 1.2B | 2.0T | 79x | 57–60% | 56–62% | 56–63% | ~32.2% | — |
| TinyLlama-1.1B | Published | 1.1B | 3.0T | 118x | 55.3% | 59.2% | 59.1% | ~32.8% | — |
| SmolLM2-1.7B-Instruct | Published | 1.7B | 11.0T | 433x | ~60+ | 66.1% | 59.4% | ~48.8% | 48.2% (5-shot) |
| Qwen2.5-1.5B-Instruct | Published | 1.5B | 18.0T | 709x | ~75+ | ~75.0% | 65.0% | 60.9% | ~50.8% |

> **Where Alder sits.** With 25.4B pre-training tokens, Alder beats older 300B-to-3T-token open bases like Pythia-1.4B, OLMo-1B and TinyLlama-1.1B on ARC-Easy (65.2% vs 55–59%) and matches Pythia-1.4B on WinoGrande and HellaSwag. On our own same-harness 14-tape reasoning suite, even Alder-1.6B-Base (-0.971 mean net score) beat nanochat d32 (-1.414 on the 8 new tapes) while trailing trillion-token Qwen3-1.7B-Base (-0.526). Against nanochat d32, the difference is deliberate budget allocation: d32 spent more tokens on 2K pre-training (winning on MMLU trivia), while Alder invested \$153 into 32K context, exact JSON tool calling, and verifiable RL abstention.

## Strengths and weaknesses

### What Alder does well
- **Tool calling and grounded reading:** Reliable JSON tool calls (95.7%, zero malformed outputs) and strong retrieval from provided passages (86%).
- **Knowing when to say "I can't tell":** Unlike most small models that confidently guess on unanswerable prompts, Alder declines cleanly on 93% of missing-fact passages and 86.6% of mismatched tool requests.
- **32K context and fast local execution:** Drops directly into `transformers`, `vLLM`, `llama.cpp`, Ollama, LM Studio, and MLX with zero custom code. Runs at **79 tok/s** (GGUF Q8_0, 1.6 GB) and **85.8 tok/s** (MLX 8-bit) on Apple silicon.
- **Full transparency:** Every intermediate checkpoint, failure mode, bug fix, and dollar spent is open for anyone to inspect or build on.

### Where Alder falls short
- **World knowledge and pure-text math:** At 25.4B tokens, MMLU (26.4%) and tool-free GSM8K (3.3%) are far behind trillion-token 1.5B models. Give it a passage or a calculator tool rather than relying on memorised facts or mental arithmetic.
- **Greedy repetition:** At `temperature = 0`, long open-ended explanations can occasionally repeat paragraphs. Light sampling (`temperature = 0.6`, `repeat_penalty = 1.08`) avoids this.
- **No dedicated safety round:** Alder was trained for honest abstention, not adversarial safety refusals. One of 30 unseen identity prompts also followed a verbatim prompt-injection override. Do not deploy it directly to end users without a moderation layer.
- **English only.**

## Try Alder locally right now

Try Alder directly in your browser on the [Alder-1.6B model page](https://udgamlabs.com/models/alder#try), or run it out of the box in Ollama, `llama.cpp`, MLX, and `transformers` — no custom code needed.

### Ollama
```bash
# Recommended 8-bit build (1.6 GB, ~79 tok/s on Apple silicon)
ollama run hf.co/udgamlabs/alder-1.6b-GGUF:Q8_0

# Lightweight 4-bit build (931 MB, ~122 tok/s on Apple silicon)
ollama run hf.co/udgamlabs/alder-1.6b-GGUF:Q4_K_M
```

### llama.cpp
```bash
llama-cli -hf udgamlabs/alder-1.6b-GGUF:Q8_0
```

### Apple silicon (MLX)
```bash
pip install mlx-lm
python -m mlx_lm generate --model udgamlabs/alder-1.6b-mlx-8bit \
  --prompt "Who are you and how were you trained?" --max-tokens 150 --temp 0.6
```

### Python (`transformers`)
```python
from transformers import AutoModelForCausalLM, AutoTokenizer
import torch

model_id = "udgamlabs/alder-1.6b"
tok = AutoTokenizer.from_pretrained(model_id)
model = AutoModelForCausalLM.from_pretrained(model_id, dtype=torch.bfloat16, device_map="auto")

messages = [{"role": "user", "content": "Explain why inflation happens in 3 short bullet points."}]
prompt = tok.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)
inputs = tok(prompt, return_tensors="pt").to(model.device)
out = model.generate(**inputs, max_new_tokens=200, temperature=0.6, do_sample=True, repetition_penalty=1.08)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))
```

## Links and full technical report

- **Model page & in-browser runner:** [/models/alder](https://udgamlabs.com/models/alder)
- **Technical report (every mistake, bug fix, ablation and cost row):** [/research/alder](https://udgamlabs.com/research/alder)
- **Live training record:** [/live/alder](https://udgamlabs.com/live/alder)
- **Models on Hugging Face:** [Alder-1.6B](https://huggingface.co/udgamlabs/alder-1.6b) · [Alder-1.6B-Base](https://huggingface.co/udgamlabs/alder-1.6b-base) · [GGUF suite](https://huggingface.co/udgamlabs/alder-1.6b-GGUF) · [MLX 8-bit](https://huggingface.co/udgamlabs/alder-1.6b-mlx-8bit) · [MLX 4-bit](https://huggingface.co/udgamlabs/alder-1.6b-mlx-4bit) · [All 41 checkpoints](https://huggingface.co/udgamlabs/alder-1.6b-checkpoints)
- **Code, evals and full spend ledger:** [github.com/udgamlabs/alder](https://github.com/udgamlabs/alder)

---

## About Udgam Labs

Udgam Labs is an independent AI research lab. We work from first principles: before we build, we understand why things work, whether we are training a model, fine-tuning one or applying AI to a new problem. Today that means open models such as Gargi, a 384M-parameter language model that comes within 2 points of Qwen2.5-0.5B on three reasoning benchmarks with about 1,000× less training data. Next come products, custom models for businesses, and AI in the physical world. Udgam (उद्गम) is Sanskrit for origin.

Udgam Labs · AI research from first principles · https://udgamlabs.com
