# llama.cpp adds auto‑select quant option to hit target file size

> The new --target-bpw flag picks the best quantization type for a given size, saving users from manual tweaking.

Oossa · 2026-11-24 · https://oossa.com/en/llama-cpp-adds-auto-select-quant-option-to-hit-target-file-size

The llama.cpp 0.7.0 release (b12669) adds a --target-bpw option. It automatically chooses the quantization type that meets the file‑per‑bit target with the lowest error. The change also brings dozens of refactors and new heuristics for tensor importance.

## The facts

- Release tag b12669 was published on 2026‑11‑24.
- The new flag is named --target-bpw.

## Why it matters

It lets ordinary users shrink model files more easily, but the exact quality loss depends on each model.

## What it means for you

If you run llama.cpp on your own hardware, you can now add --target-bpw=4 to get a 4‑bit model without hunting for the right quant type yourself.

**Our take:** The feature removes a painful trial‑and‑error step, though its actual size‑error trade‑off will vary per model.

## Sources & references

1. [ggml-org/llama.cpp b12669](https://github.com/ggml-org/llama.cpp/releases/tag/b12669) – llama.cpp, 2026-11-24

Last updated: 2026-11-24
