Instructions to use maelie-labs/reckoner-1.4b with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use maelie-labs/reckoner-1.4b with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-generation", model="maelie-labs/reckoner-1.4b", trust_remote_code=True) messages = [ {"role": "user", "content": "Who are you?"}, ] pipe(messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForCausalLM model = AutoModelForCausalLM.from_pretrained("maelie-labs/reckoner-1.4b", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use maelie-labs/reckoner-1.4b with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "maelie-labs/reckoner-1.4b" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "maelie-labs/reckoner-1.4b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker
docker model run hf.co/maelie-labs/reckoner-1.4b
- SGLang
How to use maelie-labs/reckoner-1.4b with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "maelie-labs/reckoner-1.4b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "maelie-labs/reckoner-1.4b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "maelie-labs/reckoner-1.4b" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "maelie-labs/reckoner-1.4b", "messages": [ { "role": "user", "content": "What is the capital of France?" } ] }' - Docker Model Runner
How to use maelie-labs/reckoner-1.4b with Docker Model Runner:
docker model run hf.co/maelie-labs/reckoner-1.4b
Reckoner-1.4B
Reckoner-1.4B is a research language model from Maelie Labs, trained from scratch. It has 1,446,786,048 parameters in 20 layers: 14 GDN-2 layers and 6 full-attention layers near both ends. GDN-2 is our gated delta-rule linear-attention layer, which keeps a fixed-size state instead of a cache that grows with the input. Its trained context length is 65,536 tokens.
It runs with the Reckoner Harness v1.1.3, which executes the model's tool calls during generation and serves an OpenAI-compatible API.
How it differs from standard tool calling
In most setups a tool call ends the model's turn: the model writes JSON, a client runs the tool, and a new request sends the conversation back. Reckoner keeps tools inside generation.
- No round trip. The model emits a control token such as
<|call:calc|>, and the harness runs the tool and writes the result into the same response. Generation resumes a median 31 ms after a tool call (BF16, one request at a time, 16 GB consumer GPU). - Exact results. Arithmetic, algebra, dates, strings, small programs and lookups run in deterministic tools. Each result is stored in a register, a numbered slot the model can refer to later.
- Short answers. On our own 880-task tool-use test, the BF16 build scores 586/880 with a median answer of 66.5 tokens (with a box request, one request at a time, 2,048-token budget). Under the same conditions, with thinking off and the same tools offered as JSON function calls (the best of three tool-prompt versions for each), Qwen3.5-2B scores 593/880 at a median of 583.5 tokens and Qwen3.5-0.8B scores 391/880 at 308 tokens.
How to read that comparison: the test covers the task types Reckoner was trained on, and its grader scores only the final answer inside \boxed{} (an answer without one counts as wrong). For Qwen, the box request is a system prompt that also says "Please solve the following problem step by step", and 140 of Qwen3.5-2B's 880 answers hit the 2,048-token budget, which raises its median length.
Math, logic, speed and behavior results are in EVALUATION.md.
About Reckoner
Reckoner is an open-weights model project from Maelie Labs. Its models hand exact work (arithmetic, algebra, small programs, lookups) to tools instead of approximating it in their weights. Each turn opens with a mode gate: answer right away (<|ready|>), call tools (<|act|>), think step by step (<|deliberate|>), or ask a clarifying question (<|clarify|>). Every model ships with open weights, its training recipe and its evaluations. Reckoner-1.4B is licensed under Apache-2.0.
- Reckoner-1.4B: trained from scratch; BF16, W8A16, W4A16, Base.
- More models: retrofits of existing open models, starting with Qwen3.5-2B, are in the works.
- Reckoner Harness:
maelie-labs/reckoner-harness(v1.1.3). - Maelie Labs on Hugging Face:
maelie-labs.
Builds
| Repository | Format | model.safetensors |
SGLang weight memory |
|---|---|---|---|
maelie-labs/reckoner-1.4b |
BF16 | 2.89 GB | 2.87 GB |
maelie-labs/reckoner-1.4b-w8a16 |
W8A16 (8-bit GPTQ) | 1.54 GB | 1.66 GB |
maelie-labs/reckoner-1.4b-w4a16 |
W4A16 (4-bit GPTQ) | 0.85 GB | 0.93 GB |
maelie-labs/reckoner-1.4b-base |
BF16, before SFT and post-training | 2.89 GB | not measured |
The three post-trained builds come from the same checkpoint. The quantized builds use group-128 GPTQ in compressed-tensors format and score close to BF16 (EVALUATION.md). Training is described in TRAINING.md.
How to run
# Needs Linux x86_64, an NVIDIA GPU with a CUDA 13 driver, Python 3.13, git and patch.
# Run all three terminals on the same host.
# 1. Get the repository and the harness binary
git clone https://github.com/maelie-labs/reckoner-harness.git && cd reckoner-harness
curl -LO https://github.com/maelie-labs/reckoner-harness/releases/download/v1.1.3/reckoner-harness-linux-amd64
curl -LO https://github.com/maelie-labs/reckoner-harness/releases/download/v1.1.3/SHA256SUMS
grep reckoner-harness-linux-amd64 SHA256SUMS | sha256sum -c -
install -m 755 reckoner-harness-linux-amd64 reckoner-harness
# 2. Install SGLang 0.5.22 and the plugin at the tested versions, apply the SGLang patch, download the weights
pip install "sglang==0.5.22" -e integrations/sglang -c integrations/sglang/sglang_reckoner/sglang_rl_env_lock.txt
SGL_SITE=$(python -c "import pathlib, sglang; print(pathlib.Path(sglang.__file__).resolve().parents[1])")
patch -p1 -d "$SGL_SITE" < integrations/sglang/patches/0001-inflight-extend.patch
hf download maelie-labs/reckoner-1.4b --local-dir ./reckoner-1.4b
# 3. Terminal 1: SGLang model server
python -m sglang_reckoner.server --model-path ./reckoner-1.4b --harness-bin "$PWD/reckoner-harness" \
--host 127.0.0.1 --port 30000 --context-length 66560
# 4. Terminal 2: the harness's OpenAI-compatible server (run from the reckoner-harness folder)
./reckoner-harness serve --profile reckoner-1.4b --sglang-addr http://127.0.0.1:30000 --host 127.0.0.1 --port 8080
# 5. Terminal 3: once Terminals 1 and 2 are running, ask a question
curl -s http://127.0.0.1:8080/v1/chat/completions -H "Content-Type: application/json" \
-d '{"messages":[{"role":"user","content":"What is the exact value of 987654321 * 123456789?"}]}'
Quantized builds: download maelie-labs/reckoner-1.4b-w8a16 or maelie-labs/reckoner-1.4b-w4a16 instead, point --model-path at it, and add --quantization compressed-tensors to the SGLang command. Other serving options are in the harness README.
Thinking control
Set reasoning_effort on the request. none or minimal turns thinking off; low, medium and high allow up to 256, 1,024 and 4,096 thinking tokens. Leaving it unset means medium. fast is an alias for low, careful and xhigh are aliases for high, and any other value is rejected.
Transformers (research only)
modeling_reckoner.py ships with the weights and loads with trust_remote_code=True (tested with Transformers 5.19.0). With flash-linear-attention on CUDA, the GDN-2 layers use its kernels; otherwise they fall back to a slower PyTorch recurrence with matching results. Tool calls still need the harness loop (see SPEC.md in the harness repository).
import torch
from transformers import AutoModelForCausalLM, AutoTokenizer
tok = AutoTokenizer.from_pretrained("maelie-labs/reckoner-1.4b", trust_remote_code=True)
model = AutoModelForCausalLM.from_pretrained(
"maelie-labs/reckoner-1.4b", trust_remote_code=True, dtype=torch.bfloat16
).eval()
Limitations
- English only. Non-English prompts often loop, end empty or get an English reply.
- Math word problems trail Qwen3.5-0.8B. With a box request, one request at a time, it solves 61 of 250 math-test problems, against 111 for Qwen3.5-0.8B without tools.
- Tools before planning. On math word problems it opens with a tool call on 212 of 250 problems instead of first writing out a plan.
- Register-notation prompts fail. On tool-use tasks whose prompt names intermediate results in register notation (
<|r0|>…), it scores 0/80, against 62/80 for Qwen3.5-2B and 42/80 for Qwen3.5-0.8B with tools. The cause is not yet known. - Needs the harness. It calls its built-in tools with control tokens and does not emit OpenAI-style JSON
tool_calls. - Limited knowledge. It can state wrong facts with confidence, and
lookupcovers only physical constants, chemical elements and planetary data. - Weak at following instructions and pushing back. In our behavior tests it followed 0 of 100 system-prompt restrictions and corrected 2 of 100 false premises.
- Over-refusal. It refused 49 and deflected 25 of 208 requests it should answer.
- Repetition loops. 14 of 100 loop-stress prompts loop under greedy decoding.
- Unasked boxes. It sometimes wraps a final math answer in
\boxed{}when not asked to. - Long inputs. Its trained context length is 65,536 tokens, but retrieval was checked with only one passkey prompt at 32K (all builds) and one at 64K (BF16 only); see EVALUATION.md. The base model recalls only 13 of 50 multi-key prompts at 64K.
- Not for code. It was not tuned or evaluated for code generation.
License
Apache-2.0. See NOTICE for software and training-data attributions.
Citation
@misc{maelielabs2026reckoner14b,
title = {Reckoner-1.4B},
author = {{Maelie Labs}},
year = {2026},
howpublished = {\url{https://huggingface.co/maelie-labs/reckoner-1.4b}}
}
- Downloads last month
- 28