watch Llama Cpp · Research

llama.cpp v1.1.0: target_size Quantization, Inkling 2 Support and the llama_batch Deprecation

Data graphic: llama.cpp v1.1.0's --target-size flag picks a quant type per tensor through a six-step pipeline to fit a 23.85 GiB file-size budget; the author reports it won 195 of 238 KLD tests 26 ties, 16 losses, 1 NA . It needs a new imatrix, takes 5x to 10x longer to quantize, and llama_batch is deprecated.
OP

AI security researcher · Published Nov 26, 2026, 1:44 PM EST

llama.cpp v1.1.0 adds --target-size quantization, Inkling 2, Hy4 flash and RAON-1-mini-preview support, and deprecates llama_batch. What to test and migrate.

llama.cpp v1.1.0, released on 26 November 2026, changes three things for anyone who builds GGUF files, embeds libllama or runs models through Ollama. The quantizer can now fit a model to a size budget, the week's new open models load on day one, and the old llama_batch API is deprecated. Two jobs follow from that: test --target-size against your current quants before switching, and start moving batch code to llama_batch_ext now, while it is a warning and not an error.

What to do

  • Try --target-size on a copy of your quant pipeline. Regenerate the imatrix first, then compare KLD or perplexity against the quant you ship today.
  • Audit code that calls llama_batch and plan the move to llama_batch_ext.
  • Check CI for the new deprecation warnings before you turn on fatal warnings.
  • On Ollama, expect Inkling 2 speed-ups on Metal; do not expect the other new models or --target-size yet.

target_size: quantize to a budget

The headline feature is --target-size (with --target-bpw) on the quantize tool. Instead of one quant type for the whole model, it picks a type per tensor to hit a file size or a bits-per-weight target at the lowest estimated error. That turns "what fits in my VRAM" into one flag. The pull request, #15550 by EAddario, was opened in August 2025 and merged on 23 November 2026. Its examples are --target-size 23.85g, which produces a 23.85 GiB file, and --target-bpw 4.5678.

How it decides:

  1. Sample rows from each tensor.
  2. Measure each candidate quant type's error, weighted by the imatrix.
  3. Drop types that cost size without cutting error enough.
  4. Spread the bit budget across tensors with a Lagrangian optimization.

A --state-file lets an interrupted run resume, and lets later runs at other sizes reuse the work. --dry-run previews the result. The C API follows: llama_model_quantize_params gains target_bpw, target_size, state_file and an abort callback.

The caveats in the PR thread matter:

  • The PR says quantizing this way can take 5x to 10x longer.
  • The optimizer works on estimated per-tensor error, not perplexity, so the result is not guaranteed to be the best possible quant.
  • It needs an imatrix made by llama-imatrix from commit 0504396 or newer.
  • A reviewer reported that the thread count is dropped when the target flag is used, and that one model, granite4-h-small, lost at most sizes by a large margin.

The author's own table covers 238 KLD tests: 195 wins, 26 ties, 16 losses and one not applicable. Those are author-reported results, not an independent benchmark. For background on picking a format by hand, see our quantization format guide and our worked example of which GGUF quant fits 16, 24 and 128 GB.

New models

The release adds:

  • The Inkling 2 family: base, Mini and DSpark.
  • Hy4 flash: 220B total parameters, 12B active, text and vision.
  • RAON-1-mini-preview: a 30B-A4B MoE. This is the mini preview, not a full Raon-1.
  • Others: Domyn Edge 4B, Zaya1 8B and MiniMax-M3.1, plus speech models including Kokoro (TTS) and Kyutai Hibiki (full-duplex voice).

API changes to plan for

The release notes deprecate the old llama_batch API in favour of llama_batch_ext. The deprecation PR, #32306, merged on 16 November 2026, and a migration guide is due in a separate PR, #32163. It is a deprecation, not a removal, and we found no removal date. Expect compiler warnings, which matters for builds with -DLLAMA_FATAL_WARNINGS=ON.

Also new:

  • llama_model_meta_arr_n() and llama_model_meta_arr_str() read GGUF string arrays.
  • The server accepts OpenAI-style named tool_choice.
  • The server adds GET /models/sse in single-model mode.

What Ollama picked up

Data graphic: Timeline of the llama.cpp v1.1.0 release cycle. The llama_batch deprecation merged 16 Nov and --target-size 23 Nov. Ollama 0.40.18 shipped on build b12651 on 24 Nov, and llama.cpp v1.1.0 followed on 26 Nov 2026. The gaps are 7, 1 and 2 days, so the deprecation landed 10 days before the release.

How the release came together: Ollama 0.40.18 shipped two days before llama.cpp v1.1.0, on build b12651. Sources: llama.cpp and Ollama release notes, PRs #15550 and #32306.

Ollama 0.40.18, released on 24 November 2026, moved its bundled llama.cpp to build b12651 and removed jetpack5 support. It also fused Inkling residual mixing on Metal and sped up Inkling 2 decode, prefill and draft rounds on Metal. Its notes do not mention Hy4 flash, RAON-1-mini-preview or --target-size. b12651 is a build number, so do not assume it is the same code as v1.1.0, which shipped two days later.

Sources

Keep reading

All latest →
  1. watchResearchInkling 2 Mini vs Raon-1 mini: Which Open MoE Fits Your 24–32 GB GPU5 min
  2. watchResearchGPT-6.2 Astra Cuts API Prices 20%, but Ultrafast Overage Doubles on 1 March4 min
  3. elevatedResearchGemini 4 Neon Is GA at $3/$15 and Undercuts Carbon and Argon From 1 December4 min
  4. elevatedResearchGemini 4 Carbon vs Hydrogen: Which Google Plan Gets Which Model, and the API Price That Doubles 1 December5 min
  5. elevatedResearchClaude Fable 5.2 Costs 20% Less at $8/$40, but Which Plans Actually Include It?5 min
  6. watchResearchQwen4-Max Preview Is Token Plan Only and Retires 25 Nov: Build on qwen4-max Instead4 min