Skip to content
Model

Whittle 9B

Whittle 9B is a ternary vision-language model: a 9-billion-parameter model whose layers’ weights are each -1, 0 or +1, so the whole model is one 2.5 GB file that runs on your own laptop or phone, with nothing sent to a server. It runs in three places: in a browser tab, on Apple silicon at full speed, and in llama.cpp.

  • Built from Qwen3.5-9B. Every linear layer’s weights are in {-1, 0, +1}, with a level for each group of 128 inputs and a scale for each row. Activations are coded as 8-bit integers, so each weight product is an exact integer sum.
  • One file. The model is a single .whittlebin (2.47 GB), or the same weights as a GGUF for llama.cpp (2.53 GB).
  • A multi-token-prediction (MTP) head, which drafts the next few tokens so one pass can check several at once (speculative decoding).
  • Thinking mode. The model can reason before it answers; each runtime lets you turn thinking off or limit it.
  • Images (optional). A second file holds Qwen3.5-9B’s own vision tower. The engine and llama.cpp read images with it; a text-only setup needs neither the file nor its memory.

Whittle 9B is on Hugging Face in three repositories, one for each kind of runtime:

RepositoryFileSizeFor
whittle-9bwhittle-9b-WTG2_0.whittlebin2.47 GBthe engine on a Mac, and the browser
whittle-9b-WTG1_0.whittlebin2.08 GBthe engine on an iPhone, or where memory is tight
whittle-9b-vision.whittlebin0.91 GBimages, with the engine (optional)
whittle-9b-ggufwhittle-9b-WTG2_0.gguf2.53 GBllama.cpp
mmproj-whittle-9b-bf16.gguf0.92 GBimages, with llama.cpp (optional)
whittle-9b-mlxthe whole folder2.64 GBMLX, in Python or Swift

Whittle 9B is gated: open its page on Hugging Face while signed in, accept the Literal Labs Non-Production Licence (access is granted straight away), then log in once in Terminal with hf auth login. The hf tool comes with pip install -U huggingface_hub. Then download what you need, with its checksums, into ~/models/whittle/:

hf download literal-labs/whittle-9b whittle-9b-WTG2_0.whittlebin SHA256SUMS --local-dir ~/models/whittle
(cd ~/models/whittle && shasum -a 256 -c --ignore-missing SHA256SUMS)

The tools look for the model in ~/models/whittle/ by default, so the guides put it there; set WHITTLE_MODELS to keep it somewhere else.

RuntimeRuns onChoose it forModel file
In the browserChrome with WebGPUprivate chat in a browser tab, nothing to install but the page.whittlebin
On Apple siliconMacs (M1 to M5) and iPhones, on Metalfull speed, an OpenAI-compatible server and a chat UI.whittlebin
With llama.cppthe CPU and Metal, through llama.cpp’s WTG weight typethe llama.cpp tools you already use: llama-cli, llama-server, llama-bench.gguf

All three run the same weights. The engine is the reference implementation: the llama.cpp fork’s outputs are checked against it, and agree within rounding.

Whittle 9B samples as its parent model’s card recommends. Greedy decoding (temperature 0) can loop in thinking mode, so in a runtime whose default is greedy, set these yourself.

Modetemperaturetop_ptop_kmin_ppresence penalty
Thinking1.00.952001.5
Thinking off0.70.82001.5

Whittle 9B and its three runtimes, the browser app, the engine and Literal Labs’ changes in the llama.cpp fork, are licensed under the Literal Labs Non-Production Licence (version 1.0): you may use them for research, testing, non-commercial development and internal evaluation, but not in production or for commercial gain. For any other use, contact service@literal-labs.ai. llama.cpp’s own code in the fork stays under its MIT licence, and each repository’s NOTICE lists the third-party code it includes.