Qwen3-4B in GGUF format for llama.cpp, Ollama, LM Studio, and other GGUF runtimes. The MLX build for Apple Silicon is at LittleBitLLM/littlebit-qwen3-4b-mlx-4bit.
What this is: standard llama.cpp k-quant post-training quantization. It is not the sub-1-bit LittleBit-2 method. The sub-1-bit (0.55 bpw) Qwen3 builds are in progress; the training recipe is in LittleBitLLM/littlebit.
| File | Quant | Size | Use |
|---|---|---|---|
littlebit-qwen3-4b-Q4_K_M.gguf |
Q4_K_M | 2.5 GB | Recommended default. ~62 tokens/s on an M1 Max (llama.cpp, Metal) |
littlebit-qwen3-4b-Q5_K_M.gguf |
Q5_K_M | 2.9 GB | Higher quality, slightly larger |
littlebit-qwen3-4b-Q8_0.gguf |
Q8_0 | 4.3 GB | Near-lossless |
Q4_K_M is the usual default. Q5_K_M and Q8_0 trade size for quality closer to BF16. We have not run benchmark evals on these builds.
# llama.cpp
llama-cli -hf LittleBitLLM/littlebit-qwen3-4b-gguf:Q4_K_M
# Ollama
ollama run hf.co/LittleBitLLM/littlebit-qwen3-4b-gguf:Q4_K_M
Qwen3 thinks before it answers by default. Add /no_think to a message for a direct answer.
python convert_hf_to_gguf.py Qwen3-4B --outtype bf16 --outfile qwen3-4b-bf16.gguf
llama-quantize qwen3-4b-bf16.gguf littlebit-qwen3-4b-Q4_K_M.gguf Q4_K_M
Built with llama.cpp b10330.
Apache 2.0, inherited from Qwen3-4B by the Qwen team.
Qwen/Qwen3-4B