How to use from
llama.cpp
Install (macOS, Linux)
curl -LsSf https://llama.app/install.sh | sh
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf udgamlabs/alder-1.6b:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf udgamlabs/alder-1.6b:Q4_K_M
Install from WinGet (Windows)
winget install llama.cpp
# Start a local OpenAI-compatible server with a web UI:
llama serve -hf udgamlabs/alder-1.6b:Q4_K_M
# Run inference directly in the terminal:
llama cli -hf udgamlabs/alder-1.6b:Q4_K_M
Build from source code
git clone https://github.com/ggml-org/llama.cpp.git
cd llama.cpp
cmake -B build
cmake --build build -j --target llama-app
# Start a local OpenAI-compatible server with a web UI:
./build/bin/llama serve -hf udgamlabs/alder-1.6b:Q4_K_M
# Run inference directly in the terminal:
./build/bin/llama cli -hf udgamlabs/alder-1.6b:Q4_K_M
Use Docker
docker model run hf.co/udgamlabs/alder-1.6b:Q4_K_M
Quick Links

Alder-1.6B

Alder-1.6B is a 1.59B-parameter open language model for reasoning and tool use, with a native 32K context, trained from scratch in the open by Udgam Labs (founded by Jitesh K Prasad). On our 904-item held-out suite it makes exact tool calls 95.7% of the time and declines 86.6% of the time when no tool fits.

Every weight, all 41 intermediate checkpoints, quantisations, evaluation transcripts, and training scripts for Alder are released openly under Apache-2.0.

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 & full cost breakdown
Launch Film (YouTube) Alder-1.6B on YouTube The training run, the cost and Alder running, in one film
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

Architecture & Compatibility

  • Parameters: 1,590,731,520 (1.59B dense Transformer)
  • Geometry: 24 layers, hidden_size=2304, 18 query heads / 6 KV heads (3:1 GQA), head_dim=128, SwiGLU 6144, RMSNorm + QK-Norm, untied embeddings
  • Context & Position Encoding: 32,768 native context (RoPE base = 2,000,000)
  • Tokenizer: gpt2-ctl16 (GPT-2 BPE + 16 reserved chat/reasoning/tool control tokens, vocab 50,273)
  • Lossless Native Qwen3ForCausalLM: Mathematically converted (max_abs_logit_diff = 1.43e-4 in fp32, 100% identical argmax across all 24 layers, 100% exact chat_template.jinja parity) โ€” zero trust_remote_code required. Runs natively in transformers, vLLM, llama.cpp, Ollama, LM Studio, and MLX.

Quick Start

transformers (no trust_remote_code)

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": "Who are you and how were you trained?"}]
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, do_sample=True, temperature=0.6, repetition_penalty=1.08)
print(tok.decode(out[0][inputs["input_ids"].shape[1]:], skip_special_tokens=True))

Set enable_thinking=True to elicit step-by-step reasoning inside <|think|>...</think>.

Ollama / llama.cpp / Apple Silicon MLX

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

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

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

# Apple Silicon MLX (85.8 tok/s, 1.79 GB peak RAM)
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

Tool calling

Alder reads its tools from the system message, not from an API's tools field. The shipped chat template does not render tools yet, so a standard OpenAI-style tools request reaches the model without any tools, and the model may then answer from its own guesses. Use the format it was trained on:

  1. Offer tools in the system message: the line Tools:, then one JSON object per line, each {"name", "description", "parameters"} (the inner function object of an OpenAI tool, with parameters as JSON Schema).
  2. Read calls from the reply: each call is <|tool_call|>{"name": "...", "arguments": {...}}</tool_call>. Keep special tokens when decoding (skip_special_tokens=False in transformers), or the markers are stripped.
  3. Send results back as a tool message whose content is the result; the template wraps it in <|tool_response|>โ€ฆ</tool_response>. Pass the assistant's reply back unchanged as its content.

When no tool fits, Alder says so in plain text instead of calling one.

# Any OpenAI-compatible server: llama-server -hf udgamlabs/alder-1.6b-GGUF:Q8_0 --port 8089
import json, re, urllib.request

URL = "http://127.0.0.1:8089/v1/chat/completions"
TOOLS = [{"name": "get_weather", "description": "Current weather for a city",
          "parameters": {"type": "object", "properties": {"city": {"type": "string"}}, "required": ["city"]}}]

def system_with_tools(tools, text=""):
    lines = "\n".join(json.dumps(t, ensure_ascii=False) for t in tools)
    return (text + "\n\n" if text else "") + "Tools:\n" + lines

def chat(messages):
    body = json.dumps({"messages": messages, "temperature": 0.6, "max_tokens": 256}).encode()
    req = urllib.request.Request(URL, body, {"Content-Type": "application/json"})
    return json.load(urllib.request.urlopen(req))["choices"][0]["message"]["content"]

def tool_calls(text):
    return [json.loads(m) for m in re.findall(r"<\|tool_call\|>(.*?)</tool_call>", text, re.S)]

messages = [{"role": "system", "content": system_with_tools(TOOLS)},
            {"role": "user", "content": "What's the weather in Pune right now?"}]
reply = chat(messages)
calls = tool_calls(reply)            # [{'name': 'get_weather', 'arguments': {'city': 'Pune'}}]
if calls:
    result = {"city": "Pune", "temp_c": 24, "sky": "clear"}     # run the tool yourself
    messages += [{"role": "assistant", "content": reply}, {"role": "tool", "content": json.dumps(result)}]
    print(chat(messages))            # "The current weather in Pune is clear with a temperature of 24ยฐC."
else:
    print(reply)                     # no tool fits: a plain-text answer or decline

Tested 28 Nov 2026 on llama-server with the released Q8_0: the weather call was clean 3 of 3 and used the result correctly; a currency request with only this weather tool was declined 3 of 3. A chat template that renders the standard tools field is planned.

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 it 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 on 11Tโ€“36T tokens (433ร—โ€“1,417ร— more tokens than Alder's 25.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 at 25.4B pre-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}
}

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 we build free, open and useful AI models, and we publish them with honest numbers and a plain account of where each one falls short. Udgam (เค‰เคฆเฅเค—เคฎ) is Sanskrit for origin.

udgamlabs.com/models/alder ยท udgamlabs.com

Udgam Labs ยท AI research from first principles

Downloads last month
1,466
Safetensors
Model size
2B params
Tensor type
BF16
ยท
Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for udgamlabs/alder-1.6b

Finetuned
(1)
this model
Quantizations
5 models

Space using udgamlabs/alder-1.6b 1

Collection including udgamlabs/alder-1.6b