Instructions to use udgamlabs/alder-1.6b-mlx-4bit with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- MLX
How to use udgamlabs/alder-1.6b-mlx-4bit with MLX:
# Make sure mlx-lm is installed # pip install --upgrade mlx-lm # Generate text with mlx-lm from mlx_lm import load, generate model, tokenizer = load("udgamlabs/alder-1.6b-mlx-4bit") prompt = "Write a story about Einstein" messages = [{"role": "user", "content": prompt}] prompt = tokenizer.apply_chat_template( messages, add_generation_prompt=True ) text = generate(model, tokenizer, prompt=prompt, verbose=True) - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- LM Studio
- MLX LM
How to use udgamlabs/alder-1.6b-mlx-4bit with MLX LM:
Generate or start a chat session
# Install MLX LM uv tool install mlx-lm # Interactive chat REPL mlx_lm.chat --model "udgamlabs/alder-1.6b-mlx-4bit"
Run an OpenAI-compatible server
# Install MLX LM uv tool install mlx-lm # Start the server mlx_lm.server --model "udgamlabs/alder-1.6b-mlx-4bit" # Calling the OpenAI-compatible server with curl curl -X POST "http://localhost:8080/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "udgamlabs/alder-1.6b-mlx-4bit", "messages": [ {"role": "user", "content": "Hello"} ] }' - Atomic Chat
Alder-1.6B (MLX 4-bit for Apple Silicon)
Native 4-bit MLX (4.50 bpw, 854 MB) quantisation of udgamlabs/alder-1.6b — a 1.59B-parameter open language model trained from scratch in the open by Udgam Labs (founded by Jitesh K Prasad) for $702.96 direct training and $980.28 all-in across all 173 runs.
Uses stock qwen3 architecture with 32,768 native context (rope_theta = 2,000,000) and embedded chat_template.jinja. For virtually lossless quality on Apple Silicon, see the 8-bit build at udgamlabs/alder-1.6b-mlx-8bit (1.6 GB, 85.8 tok/s).
Alder-1.6B Release Ecosystem (All Apache-2.0)
| Resource | Link | What's inside |
|---|---|---|
| Try in browser + Model page | udgamlabs.com/models/alder | In-browser WebAssembly chat runner, full benchmarks & quickstart |
| Technical Report (HTML + PDF) | udgamlabs.com/research/alder | Complete architecture, math export proof, ablations & every failure |
| Plain-English Blog Post | udgamlabs.com/blog/alder | How we built Alder, strengths, limits & how to run it |
| Live Build Log | udgamlabs.com/live/alder | Real-time training curves, stage log & $980.28 cost breakdown |
| Final Chat Model (HF bf16) | udgamlabs/alder-1.6b | Native Qwen3ForCausalLM bf16 (3.0 GB) + Q8_0/Q4_K_M GGUFs |
| Base Model (25.4B tok) | udgamlabs/alder-1.6b-base | Finished base step_012100 (2K context, 0.6720 bpb panel) |
| GGUF Suite (Ollama / llama.cpp) | udgamlabs/alder-1.6b-GGUF | F16, Q8_0, Q6_K, Q5_K_M, Q4_K_M, Q3_K_M + Ollama Modelfile |
| Apple Silicon MLX (8-bit / 4-bit) | alder-1.6b-mlx-8bit · alder-1.6b-mlx-4bit | 85.8 tok/s (1.6 GB, 1.79 GB peak RAM) and 854 MB 4-bit |
| All 41 Checkpoints | udgamlabs/alder-1.6b-checkpoints | All 33 pre-training + all 8 post-training stage checkpoints |
| Code, Evals & Spend Ledger | github.com/udgamlabs/alder | Full training code, converter, benchmark harness, CHAT.md, SPEND.md |
Quick Start (mlx-lm)
CLI
pip install mlx-lm
python -m mlx_lm generate \
--model udgamlabs/alder-1.6b-mlx-4bit \
--prompt "Who are you and how were you trained?" \
--max-tokens 200 --temp 0.6
Local OpenAI-Compatible Server
python -m mlx_lm server --model udgamlabs/alder-1.6b-mlx-4bit --port 8080
Python
from mlx_lm import load, generate
model, tokenizer = load("udgamlabs/alder-1.6b-mlx-4bit")
messages = [{"role": "user", "content": "Explain why inflation happens in 3 short bullet points."}]
prompt = tokenizer.apply_chat_template(messages, tokenize=False, add_generation_prompt=True, enable_thinking=False)
print(generate(model, tokenizer, prompt=prompt, max_tokens=200))
Benchmarks & Honest Limitations
Evaluated head-to-head against udgamlabs/alder-1.6b-base (step_012100) on 32,169 standard public multiple-choice items, 1,319 GSM8K test problems, 904 verifiable RL held-out tasks, and 4K–32K needle-in-a-haystack retrieval.
Standard Public Benchmarks (Base -> Alder-1.6B)
| Benchmark | Metric | Alder-1.6B-Base | Alder-1.6B (Final) | Delta |
|---|---|---|---|---|
| ARC-Easy (0-shot, n=2,376) | acc / acc_norm | 65.15% / 58.16% | 65.15% / 60.40% | +2.24 pp (norm) |
| ARC-Challenge (0-shot, n=1,172) | acc_norm | 33.28% | 35.58% | +2.30 pp |
| HellaSwag (0-shot, n=10,042) | acc_norm | 51.46% | 51.53% | +0.07 pp |
| WinoGrande (0-shot xl, n=1,267) | acc | 56.75% | 56.99% | +0.24 pp |
| MMLU (5-shot, n=14,042) | acc | 24.34% | 26.38% | +2.04 pp |
| BoolQ (0-shot, n=3,270) | acc | 62.63% | 59.02% | -3.61 pp |
| GSM8K test (0-shot think, no tool, n=1,319) | exact numeric | — | 3.34% (96.5% closed think) | — |
Verifiable Skills & Honest Declines (904-Item Held-Out Suite)
| Capability | After 32K SFT | After RL (400 steps) | Alder-1.6B (Final) |
|---|---|---|---|
| Mean RL reward | +0.085 | +0.389 | +0.389 |
| Honest decline accuracy (unanswerable items) | 30.2% | 48.1% | 59.1% |
| Tool calling (exact JSON) | 93.5% | 96.8% | 95.7% (0% malformed) |
| Tool decline (when no tool fits) | 78.4% | 87.6% | 86.6% |
| Passage-grounded QA | 53.0% | 97.0% | 86.0% |
| Passage decline (missing fact) | 42.0% | 96.0% | 93.0% |
Arithmetic with calculator (calc) |
59.0% | 87.0% | 73.0% |
Arithmetic decline (calc_missing) |
0.0% | 7.0% | 50.0% |
Long-Context Single-Needle Recall (Chat Mode, 5 Depths Each)
4K: 80% · 8K: 100% · 16K: 60% · 24K: 100% · 32K: 80% (84.0% mean across 4K–32K).
Comparison Against Peer 1.1B–1.9B Open Models
Alder-1.6B numbers below are [MEASURED] in our Step 8 harness; peer multiple-choice numbers are [EXTERNAL] published author figures for context alongside token counts and compute scale.
| 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 | 1× | 65.2% | 51.5% | 57.0% | 26.4% | 3.3% (no tool) |
| nanochat d32 (~$800–$1,000, 2K ctx) | Published | 1.9B | ~38B | 1.5× | ~68–73% | — | — | ~40–43% | ~13–20% (Python) |
| Pythia-1.4B | Published | 1.4B | 300B | 12× | 54–57% | 52.0% | 57.4% | ~31.5% | — |
| OLMo-1B | Published | 1.2B | 2.0T | 79× | 57–60% | 56–62% | 56–63% | ~32.2% | — |
| TinyLlama-1.1B | Published | 1.1B | 3.0T | 118× | 55.3% | 59.2% | 59.1% | ~32.8% | — |
| SmolLM2-1.7B-Instruct | Published | 1.7B | 11.0T | 433× | ~60+ | 66.1% | 59.4% | ~48.8% | 48.2% (5-shot) |
| Qwen2.5-1.5B-Instruct | Published | 1.5B | 18.0T | 709× | ~75+ | ~75.0% | 65.0% | 60.9% | ~50.8% |
On our own same-harness 14-tape 3-shot reasoning suite (eval/rivals/RIVALS_V3_2026-11-19.md), even Alder-1.6B-Base (-0.971 mean net score across all 14 tapes) outperformed nanochat d32 (-1.414 on the 8 new tapes) while trailing trillion-token Qwen3-1.7B-Base (-0.526).
Where Alder Falls Short
- Not a frontier trillion-token 1.5B rival: Modern 1.5B–1.7B models (
SmolLM2-1.7B,Qwen2.5-1.5B,Qwen3-1.7B) train on11T–36Ttokens (433×–1,417×more tokens than Alder's25.4B). Alder is strongest per-dollar and on structured tool-calling, passage-grounded lookup, and honest abstention. - Pure-text math without tools (
GSM8K 3.34%): Multi-step arithmetic without a calculator tool is weak at25.4Bpre-training tokens; pair Alder with tools or passages. - Greedy repetition: Under greedy decoding (
temperature=0), long open-ended explanations can occasionally repeat paragraphs; light sampling (temperature=0.6,repeat_penalty=1.08) prevents this. - No dedicated safety round: Trained for honest abstention, not adversarial safety refusals (1/30 unseen identity prompts followed a direct verbatim prompt-injection override). English only.
Full Transparent Cost Accounting ($980.28 All-In Across All 173 Runs)
A. Direct Model Training & Final Eval (Steps 1–8 · 34 runs · $702.96)
| Step | Stage | Summary | Cost (USD) |
|---|---|---|---|
| 1 | Base pre-training, part 1 | 20.9B tokens, 2K context (trunk) | $444.23 |
| 2 | Base pre-training, part 2 | +4.4B tokens cooldown (25.4B total, 0.6720 bpb panel) |
$105.63 |
| 3 | First SFT (sft1) + data |
2K chat/tool/think proof-of-concept + data build | $6.37 |
| 4 | Long-context (lc1) + data |
Staged 8K -> 32K -> 64K (734M tok); selected 32K (+0.0008 bpb) |
$79.04 |
| 5 | 32K SFT (sft2) + data |
272M tokens at 32K with zero-leak masking (-42.4% val loss) | $35.18 |
| 6 | Verifiable RL (rl1) |
400 GRPO steps on tools, passages, calc & declines | $25.55 |
| 7 | Preference & identity (dpo1 + dpo2) |
Pure DPO failed identity ($3.01); micro-SFT + light DPO passed ($2.38) | $5.39 |
| 8 | Final benchmarks (aldereval3) |
32K-item MC suite + GSM8K + 904 RL + 32K NIAH + 36 chat prompts | $1.57 |
| Direct Training & Eval Subtotal | What it takes to reproduce Alder end-to-end | $702.96 |
B. R&D, Data Prep, Experiments, Rehearsals & Probes (139 runs · $277.32)
| Category | Runs | What was tested / built | Cost (USD) |
|---|---|---|---|
| Pre-training rehearsals | 3 | Full-scale 8×H100 dress rehearsals (2 failed attempts caught save/check bugs before #3 passed) | $97.59 |
| Small architecture, lever & speed experiments | 46 | Control vs. 5 ablations, throughput/batch/precision tuning | $59.58 |
| 4-way data recipe comparison | 9 | Head-to-head screening of 4 pre-training data recipes to pick the winner | $48.79 |
| Mid-run LR & cooldown probes | 6 | Short rate-schedule & cooldown checks off intermediate checkpoints | $25.01 |
| Pre-training corpus & tokenizer prep | 26 | Building & validating the 25.4B pre-training corpus and tokenizer | $21.90 |
| Rival baselines & base-model eval | 15 | Scoring peer small models and Alder base (aldereval1) |
$17.66 |
| Pool checks, envpack builds & smoke tests | 34 | Environment builds, spot/pool health & kernel parity checks | $6.79 |
| R&D & Prep Subtotal | 139 | Every prep run, experiment & failed attempt from Day 1 | $277.32 |
| ALL-IN PROJECT GRAND TOTAL (A + B) | 173 | Still $19.72 under $1,000 all-in | $980.28 |
License & Citation
Released under Apache-2.0.
@misc{prasad2026alder,
title={Alder-1.6B: Training a 1.59B Reasoning and Tool-Use Language Model from Scratch in the Open for \$980 All-In},
author={Prasad, Jitesh K and {Udgam Labs}},
year={2026},
url={https://udgamlabs.com/research/alder}
}
- Downloads last month
- -
4-bit