vllm.cpp is the LocalAI team’s C++20 port of vLLM: the same continuous-batching scheduler, paged KV cache and automatic prefix caching, with no Python at inference time. LocalAI serves it through the native vllm-cpp backend, which loads either a HuggingFace safetensors directory or a .gguf file and applies the chat template, tool-call parsing and reasoning split inside the engine.
This page covers installing the backend and the models LocalAI ships ready to run on it. For the full engine_args reference (KV sizing, scheduling policy, speculative decoding, LMCache), see the vllm.cpp section of the text generation guide.
Strata runs very large mixture-of-experts models, such as a 125B Qwen, on one machine with a GPU, a lot of RAM and a lot of disk. Strata is a separate project. LocalAI wraps it in the experimental strata backend, which starts the Strata engine as a child process and talks to it over the engine’s line protocol.
Warning This backend is experimental. LocalAI’s tests have not run the Qwen gallery entries against a real Strata engine and model, and the pack build has not been run on a real model file. The Hy4-Flash and Inkling 2 Mini entries have not been run on real hardware either: the backend was tested against a stub engine and against the real tokenizer data of the model file. The speed, memory and quality figures on this page are Strata’s own.
colibri runs very large mixture-of-experts models, from about 300B to 1T parameters, on one machine with little RAM. It keeps the dense weights in memory and reads the experts from disk while it generates, with a cache of the experts that a model uses most. colibri is a separate project. LocalAI wraps it in the experimental colibri backend.
Warning This backend is experimental. LocalAI has tested it on a CPU with a small model (Qwen3-0.6B): load, chat, streaming, reasoning, cancel and the restart after a crash. LocalAI has not run a large model with it yet. The speed and memory figures of colibri are colibri’s own. Expect a few tokens per second, or less, when the experts are read from disk.
audio.cpp is a GGML audio inference framework covering roughly thirty model families in one engine. LocalAI exposes it through the native C++ audio-cpp backend, so a single installed backend can serve text to speech, voice cloning, transcription, forced alignment, voice activity detection, speaker diarization, source separation, voice conversion and music generation, depending only on which model you point it at.
audio.cpp is developed by ShugoAI LLC, not by the LocalAI project. Model packages live in huggingface.co/audio-cpp/audio.cpp-gguf.
NeMo-Speech.cpp is NVIDIA’s Apache-2.0 C++/ggml runtime for the Nemotron Speech models. LocalAI exposes it through the native nemo-speech-cpp backend, which serves four model families from one installed backend: transcription, speaker diarization, speech synthesis and text translation.
NeMo-Speech.cpp is developed by NVIDIA, not by the LocalAI project.
Installing local-ai backends install nemo-speech-cpp Or install it from the Backends page in the web UI. nemo-speech-cpp is a preference-only backend: LocalAI never picks it automatically during model import, because the family is decided by the GGUF’s general.architecture key, which cannot be read from a remote repository, and because a translation model carries an ordinary LLM architecture with no NeMo-specific marker at all. Set backend: nemo-speech-cpp in the model YAML, or select it explicitly in the import form.
Run Whisper-Medusa speech-to-text checkpoints with LocalAI
Subsections of Engines
LocalAI docs > Models and backends > Engines
vllm.cpp backend
vllm.cpp is the LocalAI team’s C++20 port of
vLLM: the same continuous-batching scheduler, paged KV cache and automatic prefix
caching, with no Python at inference time. LocalAI serves it through the native
vllm-cpp backend, which loads either a HuggingFace safetensors directory or a
.gguf file and applies the chat template, tool-call parsing and reasoning split
inside the engine.
This page covers installing the backend and the models LocalAI ships ready to run
on it. For the full engine_args reference (KV sizing, scheduling policy,
speculative decoding, LMCache), see the
vllm.cpp section of the text generation guide.
Installing
local-ai backends install vllm-cpp
Or install it from the Backends page in the web UI. Images are published for
CPU, CUDA 13, Vulkan, Metal and Jetson L4T.
Which GPUs the CUDA images cover
The CUDA images are currently built for Blackwell-family architectures only:
sm_120a (RTX 50 series, RTX PRO 6000 Blackwell) and sm_121a (GB10 / DGX
Spark) on x86-64, and sm_121a alone on arm64. CUDA 13 is required, so there is
no CUDA 12 variant.
That is narrower than vllm.cpp itself, which builds ten architectures. On an
Ampere, Ada, Hopper, Jetson Orin or Jetson Thor GPU the CUDA backend installs
successfully and then fails at the first request with no kernel image is available for execution on the device. Until the build widens, use the Vulkan
or CPU image on those cards: vulkan-vllm-cpp builds with CUDA off entirely and
gives them a GPU path, without the NVFP4 and Marlin kernels.
Ready-made models
The model gallery carries a curated set of vllm.cpp configurations. Each one
arrives with the engine settings already applied, so tool calling, the reasoning
split and speculative decoding work without hand-editing YAML.
Gallery entry
Model
Size
Needs
qwen3.6-27b-nvfp4-vllm-cpp
Qwen3.6-27B, NVFP4
25 GB
Blackwell GPU
qwen3.6-27b-nvfp4-mtp-vllm-cpp
the same, with MTP speculative decoding
25 GB
Blackwell GPU
qwen3.6-27b-nvfp4-dflash-vllm-cpp
the same, with DFlash speculative decoding
28 GB
Blackwell GPU
qwen3.6-35b-a3b-nvfp4-vllm-cpp
Qwen3.6-35B-A3B MoE, NVFP4
23 GB
Blackwell GPU
qwen3.6-35b-a3b-nvfp4-mtp-vllm-cpp
the same, with MTP speculative decoding
23 GB
Blackwell GPU
qwen3-coder-30b-a3b-vllm-cpp
Qwen3-Coder-30B-A3B, bf16
57 GB
Blackwell GPU, or CPU
qwen3-4b-vllm-cpp
Qwen3-4B, bf16
8 GB
CPU, Metal, Vulkan, Blackwell GPU
qwen3-0.6b-vllm-cpp
Qwen3-0.6B, bf16
1.4 GB
CPU, Metal, Vulkan, Blackwell GPU
local-ai models install qwen3-0.6b-vllm-cpp
The two small bf16 entries are the ones that run anywhere the backend does,
including CPU. The NVFP4 entries need a Blackwell-class NVIDIA GPU on two counts:
NVFP4 has no kernel on older architectures, and the CUDA images are built only
for Blackwell in any case.
Sizing note: every entry sets num_blocks to give roughly one to four full
contexts of KV cache, which is a starting point rather than a tuned value. KV is
not free; the 4B entry, for instance, spends 144 KiB per token, so its 1024
blocks are about 4.5 GB on top of the weights. Raise num_blocks for more
concurrency, lower it on a small box.
Why the 27B entries pin a revision
The Qwen3.6-27B entries pin their weights to a specific HuggingFace commit rather
than tracking the repository’s default branch. This is deliberate and worth
understanding before you copy one of these configs.
The upstream repository was later re-quantized in place, under the same name, from
NVFP4 to FP8 W8A8. A config that names the repository without a revision therefore
resolves to entirely different weights, with different numerics and different
performance, and nothing about the load reports that anything changed. Pinning is
what makes the entry reproducible:
The same reasoning applies to any quantized community repository you depend on.
Choosing between the speculative variants
Speculative decoding trades memory for decode throughput. All three Qwen3.6-27B
entries serve the same weights and produce the same quality; they differ only in
how tokens are proposed.
Entry
Method
Extra weights
Extra memory
qwen3.6-27b-nvfp4-vllm-cpp
none
none
none
qwen3.6-27b-nvfp4-mtp-vllm-cpp
MTP, depth 1
none, the draft head ships inside the checkpoint
about 3.6 GB
qwen3.6-27b-nvfp4-dflash-vllm-cpp
DFlash, 16-token blocks
a separate 3.5 GB drafter
drafter plus draft cache
MTP drafts one token per step from a head that already lives in the target
checkpoint’s own mtp.* tensors, so it costs no extra download. DFlash drafts a
whole 16-token block in one non-autoregressive pass from a separate drafter, which
is the larger win at the cost of a second checkpoint on disk.
Start with the plain entry if you are short on memory, and with the DFlash entry
if you are not.
Tool calling
Every entry above sets use_tokenizer_template: true and disables LocalAI’s
Go-side grammar path, so tool calls are detected and parsed by the engine’s own
streaming parsers and arrive as real tool_calls on the OpenAI response.
The parser is normally auto-detected from the chat template, but one case cannot
be: Qwen3-Coder’s tool dialect is byte-identical on the wire to another family’s,
so template sniffing would pick the wrong parser. The
qwen3-coder-30b-a3b-vllm-cpp entry therefore names it explicitly, and any
Qwen3-Coder config you write yourself should do the same:
engine_args:tool_parser:qwen3_coder
Overriding config.json keys (hf_overrides)
engine_args.hf_overrides is a JSON object of top-level config.json keys that
the backend merges over the model directory’s own config.json before the
engine loads it, like vLLM’s --hf-overrides. The main use is to opt a published
checkpoint into an engine adapter that its config does not name. For example,
the Tev1 repositories declare Qwen3_5ForConditionalGeneration, and vllm.cpp
serves them as decision models only when the architecture is Tev1Model:
The downloaded model files do not change. At load the backend creates a private
temporary directory. It writes the merged config.json there and adds a
symlink for each other entry of the model directory (weights, tokenizer files,
a tokenizer/ subdirectory). Then it gives that directory to the engine. When
the model unloads, the backend removes the directory.
Rules:
The merge is top-level only. An override key replaces the whole value of that
key, including a nested object such as text_config.
The model must be a directory that contains a config.json. A .gguf file
or a directory without config.json fails the load.
A value that is not a JSON object (an array, a scalar, or JSON that does not
parse) fails the load. The backend does not ignore it, because loading the
unchanged config would serve a different architecture than the one you
configured.
An empty object ({}) does nothing.
Named entity recognition (GLiNER2.5)
The vllm-cpp backend serves GLiNER2.5,
a zero-shot NER and structured-extraction model. Point the backend at the
safetensors directory and the backend exposes the TokenClassify gRPC method,
which LocalAI maps to its standard NER API surface.
Labels are supplied at inference time, not baked into the model config. Set
them in engine_args:
ner_labels is a comma-separated list. When omitted, the backend falls back to
a built-in default set (person, organization, location, date, time,
money, quantity). ner_threshold is the sigmoid cutoff (default 0.5);
ner_max_width is the maximum span length in tokens (default 12).
The model runs the DeBERTa v2 encoder with disentangled attention on the host
forward, which is the required contract for pooling models in vllm.cpp. A
device-resident forward is tracked as a performance optimization, not a
correctness gap.
Decisions API
The vllm-cpp backend serves the kev-compatible SystemOne endpoints (the Decisions API): typed
choice, noul and score questions over a state text, answered by a
non-generative decision model in one pass. A decision model declares
known_usecases: [decisions]. See Decisions API
for the request shape, the models you can install and the access rules.
Endpoint
Method
Description
/v1/systemone
POST
Answer all questions in one pass
/v1/systemone/permute
POST
Re-run one choice question under n_perm option orders
/v1/systemone/separate
POST
Answer each question in its own pass (N passes)
The GLiNER2.5 zero-shot NER model (token_classify) also serves
/v1/systemone, through the NER path, and it is the model to use for
/v1/systemone/permute and /v1/systemone/separate, which decision models
refuse with a 400. It derives its NER labels from the question definitions, so
no ner_labels configuration is needed.
Beyond text generation
MiniMax-H3, which generates video and audio jointly, is supported through the
stable-diffusion.cpp backend (the -ggml gallery entries), not through
vllm-cpp. The vllm-cpp video path has no gallery entries because it does not
finish a clip in a practical time. See
Video generation.
RKLLM runs converted language
models on supported Rockchip NPUs. Its server already exposes an
OpenAI-compatible chat-completions API, so LocalAI can put its authentication,
routing, usage tracking, and web UI in front of the board with the
cloud-proxy backend.
This integration does not install or convert RKLLM models. Model conversion is
a separate host-side step using RKLLM-Toolkit, and the resulting .rkllm file
must match the target SoC.
Requirements
A Linux Rockchip board supported by the installed RKLLM runtime. Upstream
RKLLM 1.3.0 accepts rk3588, rk3576, rv1126b, and rk3562 in its server
demo.
A model converted to .rkllm for that target.
The upstream RKLLM Flask server running on the board and reachable from
LocalAI.
RK3566 boards, including Quartz64 models with that SoC, are not in the current
upstream RKLLM server target list. LocalAI cannot add support for a SoC that the
RKLLM runtime does not support.
Start the RKLLM server
Follow the upstream
rkllm_server_demo
instructions to deploy the runtime library, server, and converted model to the
board. For example, from an RKLLM checkout on the host:
The helper starts the server on port 8080. Confirm it is reachable before
configuring LocalAI:
curl http://ROCKCHIP_BOARD_IP:8080/v1/models
Configure LocalAI
Create models/rkllm.yaml:
name:rockchip-rkllmbackend:cloud-proxyproxy:mode:passthroughprovider:openaiupstream_url:http://ROCKCHIP_BOARD_IP:8080/v1/chat/completionsupstream_model:rkllmrequest_timeout_seconds:600# The upstream is on the local network, so cloud-egress PII filtering is not# enabled by default in this example. Enable it if your deployment needs it.pii:enabled:false
No API key setting is required by the upstream demo server. If you expose the
board beyond a trusted network, put an authenticated reverse proxy in front of
it and configure the corresponding key through api_key_env or api_key_file.
Start LocalAI, then use the local model name with any OpenAI-compatible client:
LocalAI forwards the request and the streaming response without translating
the wire format. Sampling fields supported by the upstream server, including
temperature, top_p, top_k, max_tokens, repeat_penalty, and
enable_thinking, pass through unchanged.
Limitations
The upstream demo serves chat completions and model listing only. Embeddings,
image generation, audio APIs, and legacy text completions are not available.
Model conversion and runtime installation remain upstream RKLLM operations.
Upstream serializes inference for a loaded model and returns HTTP 503 while
it is busy. Scale with multiple boards and LocalAI routing if concurrent
inference is required.
The upstream demo returns model-generated tool calls as markup in
message.content; passthrough mode does not convert that markup into OpenAI
message.tool_calls. Clients that use tools must parse the model-specific
format or put an adapter in front of the RKLLM server.
See Cloud passthrough proxy for the
full proxy configuration, authentication, routing, and PII options.
LocalAI docs > Models and backends > Engines
Strata backend (experimental)
Strata runs very large mixture-of-experts models, such as a 125B Qwen, on one machine with a GPU, a lot of RAM and a lot of disk. Strata is a separate project. LocalAI wraps it in the experimental strata backend, which starts the Strata engine as a child process and talks to it over the engine’s line protocol.
Warning
This backend is experimental. LocalAI’s tests have not run the Qwen gallery entries against a real Strata engine and model, and the pack build has not been run on a real model file. The Hy4-Flash and Inkling 2 Mini entries have not been run on real hardware either: the backend was tested against a stub engine and against the real tokenizer data of the model file. The speed, memory and quality figures on this page are Strata’s own.
Qwen entries, Tencent Hy4-Flash and Inkling 2 Mini take text and images.
RAM and disk as listed for the model in Models. Even the smallest Qwen entry downloads about 24 GB, and the largest ones more than 250 GB. Tencent Hy4-Flash needs at least 64 GiB of RAM and about 130 GB of disk. Inkling 2 Mini is much smaller: from about 9 GB of disk, and a 4 GiB GPU is enough to start.
An SSD or NVMe drive for the larger entries, because the n-gram table is read from disk.
Installing
local-ai backends install strata
LocalAI picks the image that fits the machine. The image already contains everything the
backend needs: the engine, a portable Python (with numpy) for the tokenizer helper and the pack
tool, and the Strata Python modules. You do not build or download an engine yourself.
Supported hardware
Hardware
Image
Notes
NVIDIA GPU, CUDA 12 (x86_64)
cuda12-strata
GTX 10 and newer. NVIDIA driver 575 or newer.
NVIDIA GPU, CUDA 13 (x86_64)
cuda13-strata
RTX 20 series and newer. NVIDIA driver 580 or newer.
NVIDIA DGX Spark (arm64, CUDA 13)
cuda13-nvidia-l4t-arm64-strata
The engine is built for the GB10 chip (sm_121) only. Needs glibc 2.39 or newer.
AMD Radeon (x86_64, Linux)
rocm-strata
RX 9000 and Radeon AI PRO R9700, RX 7000, Strix Halo, and RX 6000. The image holds one engine per GPU family and the launcher picks the one that matches the card. Only the amdgpu kernel driver is needed, not a ROCm install. RX 6000 is built upstream but not tested on a real card.
Intel Arc (x86_64, Linux)
intel-strata
SYCL engine. Install the Intel compute runtime on the host (libze1, intel-opencl-icd). Tested upstream on Arc A-series only.
Apple Silicon
metal-strata
macOS 15 or newer.
These targets have no Strata engine, so there is no image for them: CPU only, Vulkan,
NVIDIA Jetson (JetPack 6, CUDA 12 on arm64), other AMD GPU families, and Intel Macs. On
those hosts local-ai backends install strata reports that no variant fits the machine.
The images are large because each engine package carries its own GPU runtime libraries
(CUDA, ROCm or oneAPI). The ROCm image carries four engines, one per GPU family. Each image
also carries the same set of engines for Tencent Hy4-Flash and for Inkling 2 Mini, which run on their own
engine programs (strata-hy4 and strata-inkling) and have their own packages; the launcher picks the one
that matches the card, as it does for the Qwen engine. Upstream publishes both engines for the same targets as above.
Licensing
The engine and the Strata Python modules are MIT licensed. The engine packages published
by Strata also bundle runtime libraries from NVIDIA (CUDA), AMD (ROCm) and Intel (oneAPI),
which keep their own licences. The images ship the upstream packages unchanged.
Models
Strata does not run a single GGUF file. A model is a directory that holds the GGUF files and
a Strata pack (an index, the dense weights and the tokenizer). The model gallery installs all
of them in one step, with the strata backend, the model’s own chat template, and the vision
projector for images. Every file is pinned to a Hugging Face commit and checked by SHA-256.
For the GGUF models the gallery downloads only the GGUF files. The backend builds the pack
with Strata’s own tools the first time the model loads (the pack_gguf option; see
the backend README). This takes a few minutes and a few GB of disk. A finished pack
is never built again. If the build fails, the load fails with the last lines of the tool. Deleting the model removes the pack too.
Qwen3.8-Flash-Next (125B parameters, mixture of experts, Qwen Community License 1.0). The
n-gram table (about 29 GB in the ISTA-DASLab files) is read from disk, so use an SSD. RAM is
what the experts need plus about 10 GB; with less RAM it still runs, at lower speed. Add --resident-experts to engine_args to copy
the experts into RAM when there is room.
Gallery name
Source and format
Download
Memory
qwen3.8-flash-next-ista-q2_0
ISTA-DASLab GSQ-RCO Q2_0, the fastest
67 GB
about 38 GB
qwen3.8-flash-next-ista-iq2_xs
ISTA-DASLab IQ2_XS
69 GB
about 39 GB
qwen3.8-flash-next-ista-iq3_xxs
ISTA-DASLab IQ3_XXS
77 GB
about 47 GB
qwen3.8-flash-next-ista-iq3_s
ISTA-DASLab IQ3_S, the best quality
85 GB
about 55 GB
qwen3.8-flash-next-coder-iq1_m
ISTA-DASLab Coder IQ1_M, half the experts, for code
59 GB
about 32 GB of RAM
qwen3.8-flash-next-unsloth-ud-iq1_m-v3.1
Unsloth UD-IQ1_M (Dynamic v3.1), the smallest download
68 GB
about 45 GB
qwen3.8-flash-next-unsloth-ud-q2_0-v3.1
Unsloth UD-Q2_0 (v3.1)
71 GB
about 47 GB
qwen3.8-flash-next-unsloth-ud-iq2_xs-v3.1
Unsloth UD-IQ2_XS (v3.1)
76 GB
about 52 GB
qwen3.8-flash-next-unsloth-ud-q2_k_xl-v3.1
Unsloth UD-Q2_K_XL (v3.1)
80 GB
about 56 GB
qwen3.8-flash-next-unsloth-ud-iq3_xxs-v3.1
Unsloth UD-IQ3_XXS (v3.1)
84 GB
about 60 GB
qwen3.8-flash-next-unsloth-ud-q3_k_xl-v3.1
Unsloth UD-Q3_K_XL (v3.1)
90 GB
about 66 GB
qwen3.8-flash-next-unsloth-ud-iq4_xs-v3.1
Unsloth UD-IQ4_XS (v3.1), a newer file than the one below
94 GB
about 70 GB
qwen3.8-flash-next-unsloth-ud-iq4_xs
Unsloth UD-IQ4_XS
95 GB
about 72 GB for all experts
qwen3.8-flash-next-unsloth-ud-q4_k_xl
Unsloth UD-Q4_K_XL
112 GB
about 88 GB
qwen3.8-flash-next-unsloth-ud-q5_k_xl
Unsloth UD-Q5_K_XL
159 GB
about 108 GB
qwen3.8-flash-next-unsloth-ud-q6_k_xl
Unsloth UD-Q6_K_XL
170 GB
about 118 GB
qwen3.8-flash-next-unsloth-q8_0
Unsloth Q8_0, the reference
189 GB
about 136 GB
qwen3.8-flash-next-gyro-s
agentionai Gyro-S, the smallest
59 GB
about 28 GB
qwen3.8-flash-next-gyro-m
agentionai Gyro-M
93 GB
about 35 GB
swift-1.5-qwen3.8-flash-next-iq2_xs
UkisAI Swift 1.5 fine-tune, IQ2_XS
69 GB
about 39 GB
swift-1.5-qwen3.8-flash-next-iq3_xxs
Swift 1.5, IQ3_XXS
77 GB
about 47 GB
swift-1.5-qwen3.8-flash-next-iq3_s
Swift 1.5, IQ3_S
85 GB
about 55 GB
qwen3.8-flash-next-nvfp4-gptq
NVFP4 experts (GPTQ), ready Strata pack
129 GB
about 80 GB of RAM
qwen3.8-flash-next-nvfp4-nvidia
NVIDIA’s NVFP4 checkpoint, ready Strata pack
129 GB
about 80 GB of RAM
The ISTA-DASLab, Unsloth and Gyro files are those of the Hugging Face repositories of the same
names. The -v3.1 entries are the Unsloth “Dynamic v3.1” files of 2026-11-04. They are new builds, not
re-uploads of the older entries, and the Hugging Face files of those older entries stay pinned
as they were. Upstream Strata has run some of these sets on real hardware; LocalAI has not run
them yet. The Unsloth and Gyro files need the
pack tool’s --compat-bf16 option, which the entries set. NVFP4 packs run on NVIDIA GPUs only.
The MTP draft layer is not configured in any entry. The context size is 32768 tokens by
default; set context_size for more. For less RAM with the Unsloth files, add
--resident-budget-gib N to engine_args, as described in the
Strata model guide.
The memory columns come from Strata’s guides. They are a minimum, and Strata does not state them the same way for every model.
Qwen3.6-35B-A3B (35B parameters, 3B active, Apache License 2.0). Unsloth’s GGUF with the
MTP layer, which the engine uses for speculative decoding. It runs on NVIDIA and AMD GPUs; the
Intel Arc and Apple builds of Strata do not run it. The engine keeps every expert it can in
VRAM and computes the rest on the CPU. On the first load the backend only exports the tokenizer
from the GGUF file (pack_tool:tokenizer).
Gallery name
Format
Download
Memory
qwen3.6-35b-a3b-ud-q4_k_xl-strata
Unsloth UD-Q4_K_XL
24 GB
about 32 GB
qwen3.6-35b-a3b-ud-q6_k_xl-strata
Unsloth UD-Q6_K_XL
34 GB
about 44 GB
qwen3.6-35b-a3b-q8_0-strata
Unsloth Q8_0
39 GB
about 52 GB
Tencent Hy4-Flash (220B parameters, 12B active per token, 1M tokens of context, text and
images in, Tencent Hy License 1.0). Strata publishes three quantizations of it as .strata files
(not GGUF) with a shared Engram file that is read from disk while the model answers, and a small vision file.
A model entry downloads the build, the Engram file and the vision file. The three entries use one
directory, so the Engram and vision files are downloaded once and shared. There is no pack to build: the
backend reads the tokenizer and the chat template from the build file on the first load (seconds).
local-ai models install hy4-flash-sq-64-strata
Gallery name
Made for
Download
Memory in use
hy4-flash-sq-64-strata
64 GiB of RAM and a GPU with 8 GiB or more
about 130 GB
about 59.4 GiB
hy4-flash-sq-96-strata
96 GiB of RAM, close to the full model
about 157 GB
about 85.1 GiB
hy4-flash-sq-128-strata
128 GiB of RAM, the closest to the full model
about 181 GB
about 107.5 GiB
The download is the build plus the 67.6 GB Engram file and the 0.93 GB vision file. Memory in use is
RAM and GPU memory together. All figures in this table are the model author’s and Strata’s own, not
measured by LocalAI. Use a fast SSD or NVMe drive: the Engram file is read at random while the
model answers. The entries set a context of 131072 tokens, Strata’s default for this model; lower
context_size on a card with little memory. Speculative decoding (DFly2) is built into the engine
and is on by default. Strata’s recommended sampling is temperature 0.9, top_p 1.0 and no top_k; the entries
set it. The reasoning effort of a request can be none, or any of the usual words, which the backend
maps to the model’s no_think, high and max.
Options of the Hy4-Flash entries (set in options:; the backend README lists all options):
Option
Meaning
family:hy4
Selects the Hy4-Flash engine and file layout.
native, engram, vision
The build file, the Engram file and the vision file, relative to the model directory. vision:off turns images off; the other two are required.
drafter
dfly2 (default) or off. The drafter is used only if the engine says it has one.
vram_experts_gb, ram_experts_gb
Engine flags that cap how many gigabytes of experts go to the card and to RAM. Strata’s own launcher computes them for a card; the entries set none, so the engine decides. Set them if the model does not fit your card.
The engine takes no logprobs and no logit bias, and the backend refuses a request for them.
Inkling 2 Mini (Thinking Machines Lab, 26.4B parameters, 3.4B active per token, up to 1M tokens of
context, text and image input, tool calling, Apache 2.0). It has no thinking mode and answers directly.
It is much smaller than the models above, and it runs on its own engine, strata-inkling. There are two
kinds of entry. The Strata builds (.strata files, by Strata) carry their own DSpark drafter. The Unsloth
GGUF files are read as they are, with no conversion step, and use the DSpark drafter file that Unsloth
publishes. All entries use one directory, so the vision file (0.64 GB), the tokenizer files and the drafter
file are downloaded once. There is no pack to build: the backend makes the tokenizer from the model files on
the first load (seconds). A Strata build has the chat template inside it and needs the published
tokenizer.json; a GGUF needs the published tokenizer.json and chat_template.jinja. The entries download them.
a 12 GiB card or a 16 GiB Mac, whole in memory; mixed RAM and GPU from a 4 GiB card
inkling-2-mini-sq-15-strata
Strata SQ-15
about 15 GB
a 16 GiB card or a 24 GiB Mac; mixed on a 12 GiB card
inkling-2-mini-sq-20-strata
Strata SQ-20 (lossless)
about 20 GB
a 24 GiB card or more, or 32 GiB or more of unified memory
inkling-2-mini-ud-q8_k_xl-strata
Unsloth UD-Q8_K_XL
about 24 GB
24 GiB or more of GPU memory, or 32 GiB or more of RAM
inkling-2-mini-ud-q4_k_xl-strata
Unsloth UD-Q4_K_XL
about 19 GB
a 16 to 24 GiB card
inkling-2-mini-ud-q4_k_m-strata
Unsloth UD-Q4_K_M
about 18 GB
a 16 to 24 GiB card
inkling-2-mini-ud-iq4_xs-strata
Unsloth UD-IQ4_XS
about 17 GB
a 16 GiB card
inkling-2-mini-ud-q3_k_xl-strata
Unsloth UD-Q3_K_XL
about 15 GB
a 12 to 16 GiB card
inkling-2-mini-ud-iq3_xxs-strata
Unsloth UD-IQ3_XXS
about 13 GB
an 8 to 12 GiB card
inkling-2-mini-ud-q2_k_xl-strata
Unsloth UD-Q2_K_XL
about 10 GB
a 4 to 12 GiB card with about 16 GiB of RAM
inkling-2-mini-ud-iq2_xxs-strata
Unsloth UD-IQ2_XXS
about 10 GB
a 4 to 8 GiB card with about 16 GiB of RAM
inkling-2-mini-ud-iq1_m-strata
Unsloth UD-IQ1_M
about 9 GB
a 4 to 8 GiB card
inkling-2-mini-ud-iq1_s-strata
Unsloth UD-IQ1_S
about 9 GB
a 4 to 8 GiB card
The sizing column is Strata’s own guidance, not measured by LocalAI. The entries set a context of 32768 tokens
(the model reads up to 1M, and the cache grows with the context) and the model card’s sampling, temperature 1.0 with no
truncation. LocalAI already has inkling-2-mini entries on the llama-cpp backend; these run the same model on Strata.
Options of the Inkling 2 Mini entries (set in options:; the backend README lists all options):
Option
Meaning
family:inkling
Selects the Inkling engine and file layout.
native, vision
The model file and the vision file, relative to the model directory. vision:off turns images off.
dspark
The drafter file of a GGUF entry. A Strata build carries its own drafter.
drafter
dspark (default) or off. The drafter is used only if the engine says it has one.
vram_experts_gb, ram_experts_gb
Engine flags that cap how many gigabytes of experts go to the card and to RAM. The entries set none, so the engine decides.
The engine takes no logprobs and no logit bias, and the backend refuses a request for them.
Licences. Qwen3.8-Flash-Next models are under the Qwen Community License 1.0: free use, but it
asks for a separate licence from Qwen if you run a Model as a Service or AI Work Assistant
business with it, and for the model name to be shown in products above its user and revenue
limits. Swift 1.5 adds UkisAI’s Swift Open License 1.0. The NVIDIA checkpoint adds the NVIDIA
Open Model License Agreement. Qwen3.6 and Inkling 2 Mini are Apache 2.0. Tencent Hy4-Flash is under the Tencent Hy
License 1.0, derived from Apache 2.0 with extra commercial terms for very large Model as a
Service businesses. Read the LICENSE file of the repository
before you offer a model to other people. The ISTA-DASLab model cards also carry an Apache 2.0
tag; their text says the weights inherit the base model’s licence, and the entries follow the
text.
DeepSeek V4.1-Flash is not supported: Strata v0.2.15 removed it, and the backend refuses family:deepseek41.
Not in the gallery:
NVIDIA’s retrained FP4 checkpoint (NVFP4-QAD). Strata converts NVIDIA’s 102 GB of files on
the user’s machine with a tool that needs a heavy Python stack.
OrcaRouter’s uncensored IQ3_XXS. Upstream documents it as a manual conversion.
You can still run these by building the pack with Strata and writing a model config by hand
(see the backend README).
Vision
For vision chat requests with template.use_tokenizer_template: true, send images as
image_url content parts on their conversation messages. LocalAI adds one placeholder
per decoded image to that message before Strata applies the model’s chat template,
including images in earlier turns. There is no need to insert media_marker into the
text or change the model’s chat template. The backend’s optional media_marker setting
changes the placeholder used between LocalAI and Strata.
Limits
The backend has no embeddings, no grammar and no video or audio input, and it serves one request at a time. Qwen entries support images, logprobs, tool calls and reasoning. Hy4-Flash supports images, tool calls and reasoning, and no logprobs. Inkling 2 Mini supports images and tool calls, has no thinking mode, and no logprobs. The backend README has the full list.
Versions
Upstream versions each platform on its own, and a release doesn’t always hold every package. One release can have the NVIDIA engine at one version and another platform’s engine at an older one. Mixed versions are normal.
backend/go/strata/Makefile pins every package on its own: the release tag it comes from, its version and its SHA-256 (STRATA_ENGINE_TAG_<package>, STRATA_ENGINE_VERSION_<package> and STRATA_ENGINE_SHA256_<package>). The download URL is built from the package’s own tag. STRATA_VERSION and STRATA_COMMIT name the newest release, and the backend’s Python modules are fetched at that commit.
The Hy4-Flash and Inkling engine packages have their own pins of the same kind (STRATA_HY4_TAG_<package>, STRATA_HY4_VERSION_<package> and STRATA_HY4_SHA256_<package>, and the same with STRATA_INKLING_), and the same job moves them.
A nightly job (bump-strata in .github/workflows/bump_deps.yaml, script .github/bump_strata.sh) takes each package from the newest release that has it and opens one pull request when any pin changes. If a package is missing from the newest release, the job takes it from an older one and logs a notice. If a package is in no release, it keeps its pin and prints a warning. The job fails when a SHA-256 in the release’s SHA256SUMS.txt differs from the digest GitHub computed for the uploaded file. The pull request lists each package that changed, with its old and new tag and version. The backend speaks an unversioned line protocol, so review each bump against the backend README.
LocalAI docs > Models and backends > Engines
colibri backend (experimental)
colibri runs very large mixture-of-experts models, from
about 300B to 1T parameters, on one machine with little RAM. It keeps the dense weights in
memory and reads the experts from disk while it generates, with a cache of the experts that a
model uses most. colibri is a separate project. LocalAI wraps it in the experimental colibri
backend.
Warning
This backend is experimental. LocalAI has tested it on a CPU with a small model (Qwen3-0.6B):
load, chat, streaming, reasoning, cancel and the restart after a crash. LocalAI has not run a
large model with it yet. The speed and memory figures of colibri are colibri’s own. Expect a few
tokens per second, or less, when the experts are read from disk.
How it works
The backend starts colibri’s own server, coli serve, as a child process. The server listens
on a free port on 127.0.0.1 only, with a random API key, so other users of the machine
cannot use it. The backend sends the requests to the OpenAI-compatible API of that server.
colibri renders the chat template of the model and reads the tool calls in the model’s own
format. LocalAI sends the structured chat (the messages, the tools, tool_choice and the
reasoning settings) and gets back the answer, the reasoning and the tool calls as separate
parts. This is the same flow as the llama.cpp backend with use_tokenizer_template. A request
with a plain prompt goes to colibri’s completions endpoint.
Installing
local-ai backends install colibri
LocalAI picks the image that fits the machine. The image contains everything the backend
needs: the colibri release (the engines and coli serve, pinned and checked by SHA-256) and a
portable Python 3, which coli serve needs. You do not install colibri or Python yourself.
Hardware
Image
Notes
CPU, Linux x86_64 and arm64
cpu-colibri
The default.
NVIDIA GPU, CUDA 12, Linux x86_64
cuda12-colibri
Ampere and newer (sm_80, 86, 89, 90, 120), with a PTX fallback for newer cards.
NVIDIA GPU, CUDA 13, Linux x86_64
cuda13-colibri
The same targets, plus GB10 (sm_121).
NVIDIA arm64, CUDA 13
cuda13-nvidia-l4t-arm64-colibri
Jetson AGX Orin (sm_87), Jetson Thor (sm_110) and DGX Spark (sm_121).
Vulkan GPU, Linux x86_64 and arm64
vulkan-colibri
Sets COLI_VULKAN=1. An engine that finds no Vulkan device runs on the CPU.
Apple Silicon
metal-colibri
macOS on arm64. Not tested by LocalAI yet.
colibri publishes no Linux CUDA build. The CUDA images compile colibri’s engines from the
source of the pinned release (tag and commit) with colibri’s own CUDA=1 build option, and use
the release archive for everything else. colibri’s own CI only checks that its CUDA code
compiles on Linux, and its releases build CUDA only for Windows, so the Linux CUDA path is less
tested upstream than the CPU and Vulkan paths. LocalAI has not run these images on a GPU yet.
The CUDA images turn on colibri’s CUDA backend: COLI_CUDA=1, CUDA_DENSE=1 (the dense
layers on the GPU), CUDA_EXPERT_GB=auto (a cache of experts that fills the free VRAM) and,
for DeepSeek V4, DSV4_CUDA=1. Set any of them in the model’s env to change it, for example
CUDA_EXPERT_GB: "20" to leave VRAM for other models, or COLI_CUDA: "0" to run on the CPU.
The engines without a CUDA backend (Qwen-Image, Laya and GLiNER-Decide) are the CPU builds of
the release.
The pins move with colibri’s releases: a scheduled job opens a pull request that updates the
release tag, its commit and the SHA-256 of every archive together.
Models
The backend accepts two kinds of model:
A GGUF file. On the first load the backend runs coli import once. This writes a small
colibri model directory next to the GGUF file, named after it (Model-Q4_K_M.gguf gives
Model-Q4_K_M.colibri). The directory points at the GGUF file; the weights are not copied.
For a split GGUF, give the first part.
A colibri model directory (it has a config.json), for example one made by coli import or
coli convert.
colibri supports only the model families it has an engine for (GLM-5.x, Qwen3.6, Qwen3.8,
DeepSeek V4, Kimi K3, MiMo, Inkling, OLMoE and others). See the
colibri README for the list.
The model gallery has the models that colibri’s own setup offers (coli setup), with every
file pinned to a Hugging Face commit and checked by SHA-256. Install one with:
local-ai models install qwen3.6-35b-a3b-colibri
Gallery name
Model
Download
RAM: minimum, as measured
qwen3.6-35b-a3b-colibri
Qwen3.6-35B-A3B, colibri int4 container
23 GB
10 GB, 20 GB
qwen3-coder-30b-a3b-colibri
Qwen3-Coder-30B-A3B, colibri int4 container
19 GB
8 GB, 18 GB
inkling-2-mini-ud-q4_k_xl-colibri
Inkling-2-Mini, Unsloth UD-Q4_K_XL GGUF
18 GB
6 GB, 21 GB
inkling-2-mini-ud-iq2_xxs-colibri
Inkling-2-Mini, Unsloth UD-IQ2_XXS GGUF
9 GB
4 GB, 12 GB
qwen3.8-flash-next-ud-iq2_xs-colibri
Qwen3.8-Flash-Next, Unsloth UD-IQ2_XS GGUF with the MTP head
80 GB
16 GB, 54 GB
qwen3.8-flash-next-ud-iq3_xxs-colibri
Qwen3.8-Flash-Next, Unsloth UD-IQ3_XXS GGUF with the MTP head
88 GB
16 GB, 62 GB
deepseek-v4-flash-reap-150b-colibri
DeepSeek V4 Flash REAP 150B, official weight format
85 GB
16 GB, 32 GB
deepseek-v4-flash-colibri
DeepSeek V4 Flash 284B, official checkpoint
167 GB
16 GB, 32 GB
qwen3.8-flash-next-fp8-colibri
Qwen3.8-Flash-Next, official FP8 checkpoint
186 GB
24 GB, 32 GB
mimo-v2.6-flash-colibri
MiMo-V2.6 Flash 309B, official checkpoint
172 GB
32 GB, 52 GB
glm-5.3-colibri
GLM-5.3 744B, colibri int4 container
419 GB
16 GB, 24 GB
glm-5.2-colibri
GLM-5.2 744B, colibri int4 container with the MTP head
429 GB
16 GB, 24 GB
inkling-colibri
Inkling 975B, colibri container
514 GB
120 GB, 128 GB
mimo-v2.6-pro-colibri
MiMo-V2.6 Pro 1.02T, official checkpoint
564 GB
54 GB, 64 GB
The RAM figures are colibri’s (coli setup’s catalog): the minimum to start the model, and the
amount at which colibri measured it. For the models larger than RAM, put them on a fast NVMe SSD:
colibri reads the experts from disk while it answers. LocalAI has not run these entries yet.
colibri’s Kimi K3 entries are not in the gallery, because they need a tokenizer step after the
download that the backend does not run, and its Qwen-Image entries are not, because this backend
generates text only.
To use a GGUF model from the import form, choose colibri as the backend. A model config by
hand:
use_tokenizer_template: true makes LocalAI send the structured chat to colibri.
grammar.disable: true is necessary for tool calls: colibri reads the model’s own tool-call
format and does not accept LocalAI’s grammars.
Options
Model config
coli serve flag
What it does
context_size
--ctx
Context size in tokens. Without it, colibri chooses from the free memory.
threads
OMP_NUM_THREADS
Number of CPU threads. An OMP_NUM_THREADS in env takes priority.
options: [parallel:N] (or kv_slots:N)
--kv-slots
Number of conversations that the engine keeps at the same time.
options: [ram:N]
--ram
RAM budget in GB, which sets the size of the expert cache.
options: [cap:N]
--cap
Expert cache slots per layer.
options: [gpu:...]
--gpu
auto, none, or a device list such as 0,1.
options: [vram:N]
--vram
VRAM budget in GB.
options: [policy:...]
--policy
quality, balanced or experimental-fast.
options: [effort:...]
--effort
Default reasoning effort: minimal to xhigh.
options: [think:true]
--think / --no-think
Reasoning on or off by default.
options: [ngen:N]
--ngen
Maximum tokens of an answer when a request does not set it.
options: [max_queue:N], [queue_timeout:S]
--max-queue, --queue-timeout
colibri’s request queue.
options: [start_timeout:S]
Time to wait for coli serve to start. Default 600 seconds.
options: [import_dir:PATH]
Where coli import writes the model directory.
env
Environment variables for colibri, for example COLI_VULKAN: "0". See colibri’s environment variables.
Requests
The backend sends these request fields to colibri: the messages (with tool calls, tool results
and earlier reasoning), tools, tool_choice, max_tokens, temperature, top_p, stop
(colibri accepts up to four), logit_bias, logprobs and top_logprobs, and the reasoning
settings enable_thinking and reasoning_effort.
colibri refuses what it cannot do with an error, and the backend passes that error on. For
example, colibri gives log probabilities only for some engines and not while streaming, and it
does not support a non-empty logit_bias.
The backend refuses these requests itself:
A request with a grammar, which includes response_format with json_object or
json_schema.
Images, video and audio in the request.
Tools in a request without structured messages (no use_tokenizer_template).
colibri has no setting for top_k, min_p, the repeat, presence and frequency penalties,
typical_p, tfz, mirostat and seed. LocalAI fills some of these with defaults on every
request, so the backend cannot tell a default from a value that you set. It does not send them.
Tool calls work only when the model writes the tool-call format of its colibri family. A model
that colibri runs with the engine of another family can write a format that colibri does not
read. Then the call is returned as text. LocalAI’s test with Qwen3-0.6B, which runs on the
Qwen3.6 engine, had this result.
Embeddings and tokenization are not supported.
When colibri stops
coli serve restarts its own engine when the engine stops. When coli serve itself stops, the
request that was in progress fails with the last lines that colibri wrote. The next request
starts coli serve again from the same configuration. If that fails too, the model stays in an
error state until it is loaded again, and each request returns the reason. The model status
shows the real state of the process.
Licensing
colibri is licensed under the Apache License 2.0. The images contain the upstream release
archive without changes (the CUDA images replace its engines with ones compiled from the same
release’s source), a portable CPython from
python-build-standalone, and in the
CUDA images the NVIDIA CUDA runtime and cuBLAS libraries, which keep their own licence. Each
model in the gallery has its own licence, which its entry names.
LocalAI docs > Models and backends > Engines
audio.cpp backend
audio.cpp is a GGML audio inference framework
covering roughly thirty model families in one engine. LocalAI exposes it through the
native C++ audio-cpp backend, so a single installed backend can serve text to speech,
voice cloning, transcription, forced alignment, voice activity detection, speaker
diarization, source separation, voice conversion and music generation, depending only on
which model you point it at.
Or install it from the Backends page in the web UI. audio-cpp is a
preference-only backend: LocalAI never picks it automatically during model import,
because the only reliable signal for an audio.cpp model is the audiocpp.model_spec.family
key stored inside the GGUF, which cannot be read from a remote repository, and the
upstream GGUF repository hosts every family in one place. Set backend: audio-cpp
in the model YAML, or select it explicitly in the import form.
The bundled audio-cpp gallery entries set backend:best in options to select
an available compute backend, with CPU as the fallback. To force CPU execution,
replace that option with backend:cpu. Model configurations that omit this
option still default to CPU, unless the AUDIOCPP_DEFAULT_BACKEND
environment variable is set on the backend process, which supplies the
fallback for exactly those models (an explicit backend: option always
wins). Set it to best in a deployment to give hand-written model
configurations the same accelerator selection the gallery entries get.
Sortformer installation
Install the Sortformer model for speaker diarization from the gallery:
If installation fails with SHA mismatch, compare the reported metadata checksum
with the current gallery entry. An outdated gallery checksum can reject a complete
download. Report a persistent mismatch with both checksum values and the model name.
Stable Audio SFX installation
Install the Stable Audio 3 Small SFX model for text-to-sound generation:
The gallery pins the Q8_0 file to an immutable upstream revision that matches
its SHA256 checksum. Changes to the upstream main branch do not change this
download. Use this model with /v1/sound-generation and set duration_seconds
to control the sound length.
What it serves
One model serves one family, and a family advertises the tasks it can perform. The
backend routes each LocalAI endpoint onto an audio.cpp task and refuses, with the
family’s real capability list in the message, when the loaded model cannot serve it.
LocalAI endpoint
gRPC RPC
audio.cpp tasks tried
/v1/audio/speech, /tts
TTS, TTSStream
tts, clon (voice cloning), vdes (voice design)
/v1/audio/transcriptions
AudioTranscription, AudioTranscriptionStream
asr, align (forced alignment, when a prompt is supplied)
/v1/realtime live transcription
AudioTranscriptionLive
asr in streaming mode
/v1/vad
VAD
vad
/v1/audio/diarization
Diarize
diar
/v1/sound-generation
SoundGeneration
gen
/audio/transform, /audio/transformations
AudioTransform
sep (separation), vc (voice conversion), svc, s2s
A supplied speaker clip routes TTS to clon; free-form instructions route it to vdes.
Singing voice conversion (svc) is never chosen automatically, because no request signal
means “this input is singing”; pin it with task:svc.
Not served, and why
These RPCs return UNIMPLEMENTED with an explanation rather than a degraded answer:
AudioEncode / AudioDecode: audio.cpp has no codec task kind, so no family can be
asked to turn PCM into codec frames or back.
AudioTransformStream: no family advertises streaming for any task
AudioTransform routes to (sep, vc, svc, s2s). Upstream advertises streaming for
tts, asr and vad only, so a streaming transform here would be a buffered offline
call in disguise.
AudioToAudioStream: LocalAI’s contract is an OpenAI-Realtime shaped audio
conversation with a system prompt and a tool loop. audio.cpp’s s2s is offline
clip-to-clip processing against a target voice.
VoiceEmbed: no family advertises the spk (speaker recognition) task, so nothing in
the engine can produce a speaker embedding. Use the
voice recognition backends instead.
Model YAML
None of the option names are guessable, so here is the full shape:
name:supertonicbackend:audio-cppparameters:model:supertonic-3-orig.ggufknown_usecases:- FLAG_TTSoptions:# Optional for an audio.cpp GGUF: the family is read from the file's# audiocpp.model_spec.family metadata. REQUIRED for a safetensors file or a# package directory, which carry no such key.- family:supertonic# Optional: pins the audio.cpp task instead of routing it from the RPC.- task:tts# ggml compute backend inside audio.cpp (not the LocalAI backend above).- backend:cuda- device:0- threads:8# Give up on a queued request instead of piling up behind a wedged run.- busy_timeout_ms:120000# Per-family knobs, passed through to the upstream loader and session.- load.vibevoice.lora:/models/my-adapter- session.seed_vc.weight_type:q8_0
Every entry is key:value, split on the first colon so values may contain more
(paths, for instance). An unknown key fails the load with INVALID_ARGUMENT and a message
listing the keys that exist, rather than being silently ignored.
Option reference
Option
Default
Meaning
family:<name>
read from the GGUF
The audio.cpp family. Optional for a standalone audio.cpp GGUF, which embeds audiocpp.model_spec.family. Required for a safetensors file or a package directory. Setting it explicitly also overrides the embedded value.
task:<name>
routed from the RPC
Pins the task. One of gen, tts, clon, vc, svc, s2s, asr, align, vad, diar, sep, vdes, spk. A pinned task is honoured exactly: if the family cannot serve it, the request is refused rather than rerouted.
backend:<name>
cpu
ggml compute backend: cpu, cuda, hip (rocm is an alias), vulkan, metal, best. Must match the backend image you installed (a hip value needs the ROCm image).
device:<n>
0
GPU index for the selected compute backend. Non-negative integer.
threads:<n>
runtime default
CPU threads. 0 leaves the choice to the runtime.
busy_timeout_ms:<n>
0 (unbounded)
Bounds the wait for the model’s single inference lane. A request that arrives while a run has already been in flight longer than this fails immediately with UNAVAILABLE instead of queueing, and a request that waits this long without the lane freeing up fails the same way. 0 waits indefinitely.
live_idle_timeout_ms:<n>
30000
How long AudioTranscriptionLive waits for the next audio frame before cancelling the stream and releasing the lane. That RPC holds the lane for the whole stream, so a peer that stops sending without closing would otherwise block every other request against this model. 0 disables the limit.
model_spec_override:<path>
unset
A model spec JSON file, or a directory containing <family>.json, used instead of the spec embedded in the GGUF. The path must exist at load time.
load.<key>:<value>
none
Forwarded to the upstream loader with the load. prefix stripped.
session.<key>:<value>
none
Forwarded to the upstream session with the session. prefix stripped.
Numeric options are validated at load time: a non-integer or negative value is refused
before the model is read, not after.
The load. and session. namespaces
Upstream families advertise their own options in two buckets, and the prefix decides which
bucket an entry lands in. The key that follows the prefix is passed through verbatim, and
upstream names those keys after the family, so both segments are needed:
The names each family accepts are declared upstream in its loader, and audio.cpp’s own CLI
prints them under “Model session options” and “Model load options” when asked for a model’s
help. Options that upstream lists as request options are not configurable here: they come
from the API request, not from the model YAML.
Voice activity detection with no download
The backend package ships upstream’s silero_vad and marblenet_vad assets, so VAD works
with nothing to fetch. bundled:<name> resolves to the asset directory inside the installed
backend. Those assets are directories rather than GGUF files, so the family cannot be
inferred and family: is required:
Separation families such as htdemucs and mel_band_roformer produce several named
outputs from one
run. Running inference once per stem would cost a full separation each time, so the backend
runs once, writes every stem to a sibling file next to the main output, and puts the
selected one in the response body. params[stem] picks which one:
Without params[stem] the body carries vocals when the model produces it, and the first
output otherwise. An unknown stem name is refused with a message listing the stems the model
really has, rather than quietly returning a different one. Every stem, including the one in
the body, is listed in the X-Audio-Stems response header. See
Audio Transform for the full endpoint contract.
params[stem] against a model that produces a single unnamed output is refused rather than
ignored.
Text-conditioned transforms
s2s is a text-and-prosody route, not an audio-only one: vevo2 resynthesises a line in
another voice and reads the line itself, refusing the run without it. AudioTransform has
no text field, so the text arrives as params[text] (or params[target_text], the name
vevo2’s own option table uses) and the backend lifts it into the engine’s text input.
params[language] rides along when the line is not English.
curl http://localhost:8080/audio/transformations \
-F model=audio-cpp-vevo2-speech-to-speech \
-F audio=@source.wav -F reference=@target-speaker.wav \
-F 'params[text]=The quick brown fox jumps over the lazy dog.' -o converted.wav
A model that takes no text ignores the keys, so separation and plain voice conversion are
unaffected.
Pinned tasks
The upstream turn task performs turn detection. LocalAI has no RPC for this
task, so requests to a model that only advertises turn are refused. It is not
routed through voice activity detection (vad).
The upstream wake (wake-word detection) and cls (audio classification) tasks
are reported in capability diagnostics. They cannot serve LocalAI audio RPCs,
including VAD, even when selected with the task option.
Two routes are unreachable by auto-routing and need task: in the model config, because
nothing in a request distinguishes them from a task the same family also advertises:
task:svc for singing voice conversion. seed_vc and vevo2 advertise both svc and
ordinary vc, and no request signal means “this input is singing”, so vc always wins.
task:s2s for speech to speech, for the same reason against the same vc.
The gallery entries that ship these routes carry the pin already. Removing it gives plain
voice conversion from the same weights.
Family notes
Fish Audio voice cloning: save a reference clip with its transcript in the
Voice Library (the Voice add-on, Speech voices), then select Use in Text to Speech. The backend accepts
params.ref_text as an alias for params.reference_text in both ordinary and
streaming speech requests. If you supply both parameters, reference_text
takes precedence. For direct requests with a reference file in voice, supply
its transcript in one of these parameters.
YuE2: the audio-cpp-yue2-3b gallery entry installs a model
directory containing the Q8_0 main model, the F16 VAE, and four required
sidecar files. Each request requires a non-empty params.style string. Set
the params.cot string to off, melody, or full. The model and GGUF
package are licensed under CC-BY-NC-4.0 for non-commercial use.
Supertonic: use the orig GGUF package, whose weights are f32. The f16 package was
observed to reach ggml_concat with mismatched operand types and take the backend
process down with SIGABRT on the first request, rather than returning an error.
Upstream’s docs/gguf.md leaves supertonic’s 16-bit column untested and records its
q8_0 as “No (unsupported weight dtype)”, which says the format is unusable rather than
that it crashes. The backend refuses both at load time with a message naming the
offending tensor, so neither reaches that abort.
Live transcription latency: AudioTranscriptionLive needs a family advertising asr
in streaming mode. At the pinned upstream revision that is nemotron_asr,
higgs_audio_stt and voxtral_realtime. higgs_audio_stt and voxtral_realtime decode
incrementally and emit partial text as chunks arrive. nemotron_asr only buffers in its
chunk handler and decodes everything in finalize(), so with that family every delta
arrives after the client closes its send side. Pick accordingly if you need partials
during speech.
Voice conversion vs singing: seed_vc and vevo2 advertise both vc and svc, and
automatic routing always picks vc. Pin task:svc for singing voice conversion.
Cloning-only families: chatterbox advertises clon and vc, and no plain tts at
all, so every /v1/audio/speech request against it must carry a reference clip in
voice. Without one the request is refused with INVALID_ARGUMENT naming that field,
rather than failing deep inside the model.
Acceleration
Variant
Platform
CPU
linux/amd64, linux/arm64
CUDA 12
linux/amd64
CUDA 13
linux/amd64
ROCm 10.1
linux/amd64
Metal
darwin/arm64
The ROCm image includes kernels for these GPU targets:
gfx908, gfx90a, gfx942, gfx950, gfx1030, gfx1100, gfx1101, gfx1102,
gfx1103, gfx1150, gfx1151, gfx1152, gfx1153, gfx1200 and gfx1201. Set the model option to backend:hip or
backend:rocm. There is no Vulkan image because the container would have no Vulkan ICD.
BUILD_TYPE=vulkan still works when you build the backend yourself.
LocalAI docs > Models and backends > Engines
NeMo-Speech.cpp backend
NeMo-Speech.cpp is NVIDIA’s Apache-2.0
C++/ggml runtime for the Nemotron Speech models. LocalAI exposes it through the native
nemo-speech-cpp backend, which serves four model families from one installed backend:
transcription, speaker diarization, speech synthesis and text translation.
NeMo-Speech.cpp is developed by NVIDIA, not by the LocalAI project.
Installing
local-ai backends install nemo-speech-cpp
Or install it from the Backends page in the web UI. nemo-speech-cpp is a
preference-only backend: LocalAI never picks it automatically during model import,
because the family is decided by the GGUF’s general.architecture key, which cannot be
read from a remote repository, and because a translation model carries an ordinary LLM
architecture with no NeMo-specific marker at all. Set backend: nemo-speech-cpp in the
model YAML, or select it explicitly in the import form.
How the family is chosen
The backend reads general.architecture from the GGUF at load time and picks the family
from it. Nothing else in the config selects it.
general.architecture
Family
Serves
asr
Transcription
/v1/audio/transcriptions, the same endpoint with stream=true, and the realtime live-transcription path
sortformer
Diarization
/v1/audio/diarization
magpietts
Text to speech
/v1/audio/speech, /tts, including streamed audio
nemo-nano-codec, vad, pnc
(none)
Auxiliary assets. Loading one directly is refused.
anything else
Translation
/v1/chat/completions and /v1/completions
Two rows need explaining.
The auxiliary architectures are converted NeMo components that attach to a primary
model and cannot run on their own. Pointing parameters.model at one fails the load with
a message naming the option it belongs on: the codec belongs on codec_model of a
magpietts model, the VAD on vad_model of an asr model, the punctuation model on
pnc_model of an asr model.
Everything else is translation, and that is deliberate rather than a fallback that
happens to catch it. Riva-Translate GGUFs are produced by llama.cpp’s converter and carry
an ordinary LLM architecture such as qwen3, so there is no NeMo-specific string to match
on. Selecting this backend explicitly is the signal that the model is meant for it.
A request for the wrong family is refused with UNIMPLEMENTED naming the family the model
was loaded as, rather than failing somewhere inside the runtime.
Model YAML
Options are key:value entries in the options: list, split on the first colon so a
value may contain more. Every path option is resolved relative to the models directory
when it is not absolute. An unknown key is ignored rather than rejected, so a config
written for a newer backend still loads on an older one.
Transcription
name:nemotron-asrbackend:nemo-speech-cppparameters:model:asr.ggufknown_usecases:- FLAG_TRANSCRIPToptions:# All optional. Each attaches a converted NeMo component to the recognizer.- vad_model:vad.gguf- pnc_model:pnc-bert-base-en.q8_0.gguf- itn_dir:sparrowhawk_grammars- diar_model:diarization.gguf- language_code:en-US# GPU device index. Omit it, or set -1, to run on the CPU.- gpu:0
Attaching diar_model is what turns on per-word speaker tags: the backend asks for
diarization only when the recognizer was created with a diarization model, because the
runtime refuses a request for it otherwise. Transcript segments are then cut at each
change of speaker. Without it there is a single unlabelled segment. Word-level timings are
returned only when the request asks for them with
timestamp_granularities[]=word, following the OpenAI contract.
language_code is the model-level default. A per-request language wins over it, and
both may be left empty, which the runtime reads as the model’s own default.
Diarization
A sortformer model is standalone: this pipeline has no ASR in it, so segments carry
speaker labels and timings but no text.
Sortformer is end to end and its speaker capacity is fixed by the checkpoint, so
num_speakers, min_speakers, max_speakers and clustering_threshold have nothing to
map onto and are logged and dropped. include_text is dropped for the same reason: there
is no ASR in this pipeline. min_duration_on and min_duration_off are honoured. To get
speaker labels on a transcript, use an asr model with diar_model instead.
Text to speech
name:magpie-ttsbackend:nemo-speech-cppparameters:model:magpie-tts/magpietts.ggufknown_usecases:- FLAG_TTSoptions:# Both are required, and both are auto-discovered when unset (see below).- codec_model:magpie-tts/nanocodec.gguf- tokenizer_dir:magpie-tts/extracted# Optional Sparrowhawk text-normalization grammars applied to the input text.- tn_dir:tts_grammars- language_code:en-US- gpu:0
codec_model and tokenizer_dir are both required, and both are discovered from the
model’s own directory when they are not set: a sibling file whose name contains
nanocodec or nano-codec becomes the codec, and a sibling directory named extracted
becomes the tokenizer directory. If discovery finds nothing, the load fails naming the
option to set. That is a hard error rather than a warning because the alternative is a
synthesizer that loads and emits noise.
Voices are selected by the request’s voice field. A non-negative integer is used as a
speaker index; anything else is passed through as a voice name. MagpieTTS conditions on a
speaker, not on a prose style, so instructions has nothing to map onto and is logged and
ignored. Per-request params are read for seed, steps, top_k, temperature and
cfg_scale; anything else is left at the synthesizer’s configured value.
The TTS runtime has a three-way CPU/CUDA/auto preference rather than a device index, so
gpu with a non-negative value means “let the runtime choose” here, and any negative
value (-1 is the default) pins it to the CPU.
Both flags run through the same pair of RPCs, Predict and PredictStream, which is why
both are listed for this backend in core/config/backend_capabilities.go. FLAG_COMPLETION
is the plain shape: prompt in, translation out. FLAG_CHAT adds three things, and each
turn of the conversation is translated on its own: the model becomes eligible as the
default chat model when a request names none, it appears in the web UI’s chat model
picker, and it stays visible under the gallery’s Chat filter (completion is not a
gallery filter, chat is). Neither flag gates a request that names the model explicitly.
Option reference
Option
Family
Default
Meaning
vad_model:<path>
ASR
unset
Converted Silero VAD GGUF, attached to the recognizer.
pnc_model:<path>
ASR
unset
Punctuation and capitalization BERT GGUF.
diar_model:<path>
ASR
unset
Sortformer GGUF. Setting it is the opt-in that enables per-word speaker tags.
itn_dir:<path>
ASR
unset
Sparrowhawk grammar directory for inverse text normalization, or a parent directory whose children are named per language (en, es, …). Linux only, see the limitations below.
language_code:<code>
ASR, TTS
unset
Model-level default language. A per-request language overrides it.
codec_model:<path>
TTS
auto-discovered
NanoCodec GGUF. Required.
tokenizer_dir:<path>
TTS
auto-discovered
Directory holding the extracted MagpieTTS tokenizer assets. Required.
tn_dir:<path>
TTS
unset
Sparrowhawk text-normalization grammars applied to the input text. Linux only, see the limitations below.
source_language:<code>
Translation
unset
Default source language. May be overridden per request.
target_language:<code>
Translation
unset
Default target language. A request with neither this nor a per-request override is refused.
gpu:<n>
all
-1 (CPU)
Device index. -1 selects the CPU. A value that is not an integer is ignored with a warning and the model runs on the CPU.
Translating
Translation is reached through the text endpoints: the prompt is the text to translate,
and the languages come from source_language and target_language.
curl http://localhost:8080/v1/chat/completions -H "Content-Type: application/json" -d '{
"model": "riva-translate",
"messages": [{"role": "user", "content": "The quick brown fox jumps over the lazy dog."}]
}'
A leading [src->tgt] prefix on the prompt overrides the configured pair for that one
request:
{"role":"user","content":"[en->zh-cn] The quick brown fox jumps over the lazy dog."}
Either side may be left out to keep the model-level default for it, so [->de] changes
only the target. Three-segment pair tags such as en-zh-cn, en-pt-br and zh-tw-en
parse correctly. The prefix is stripped before the text reaches the model.
The C API takes a source and a target language and has no free-form generation entry
point, so there is no prompt in the LLM sense. Sampling parameters, tools, grammars and
attached media have no equivalent and are ignored; the structural ones (grammar,
tools, images, videos, audios, negative_prompt, logprobs) are named in the log
when a request sets them. Streaming works, but the runtime returns the finished
translation in one piece, so the whole result arrives as a single chunk rather than token
by token.
Streaming transcription
Streaming transcription and the realtime live path both emit a delta per finalized
utterance. Interim hypotheses are produced by the runtime and deliberately dropped: the
wire contract defines delta as newly finalized text that consumers concatenate, and the
runtime rewrites a final rather than extending its interims (it runs ITN and formatting
stripping on the final only). Forwarding interims would assemble “he”, “hell”, “hello”,
“Hello.” into hehellhelloHello. rather than into the transcript, and no diffing trick
recovers it.
The cost is latency: the first delta of an utterance arrives at its endpoint rather than
mid-word. That is the trade this backend takes.
Acceleration
Variant
Platform
CPU
linux/amd64, linux/arm64
CUDA 12
linux/amd64
CUDA 13
linux/amd64
Vulkan
linux/amd64, linux/arm64
NVIDIA Jetson (L4T), CUDA 12
linux/arm64
NVIDIA Jetson (L4T), CUDA 13
linux/arm64
Metal
darwin/arm64
There is no AMD ROCm and no Intel SYCL support, because upstream NeMo-Speech.cpp has
no HIP and no SYCL backend, so there is nothing to build against. A host reporting either
capability gets the CPU build, which is the honest answer rather than a broken image. If
you want NeMo ASR on an AMD or Intel GPU, use
parakeet-cpp instead, which is described on the
Audio to text page.
Limitations
Text normalization is Linux only. The macOS build ships without it: the
Sparrowhawk/OpenFST stack assumes a GNU toolchain, and the gcc-12 pin it needs (OpenFST’s
templates fail to compile on gcc-13 and gcc-14 at -O2) has no macOS equivalent. One
build flag covers both directions, so on macOS bothitn_dir (inverse text
normalization on ASR output) and tn_dir (text normalization on TTS input) do nothing.
A tn_dir set on a macOS build logs a warning and carries on with normalization
disabled. pnc_model is unaffected: punctuation is always compiled in.
Interim streaming results are suppressed, as described above. This costs latency.
Translation runs at the library’s default limits: 1024 tokens of context and 256
new tokens per call. Neither is configurable from the model YAML, because both are
create-time settings on the translator and raising the context costs one context-sized
KV cache per pooled context. The two limits fail differently. Input longer than the
context is rejected, with nmt: prompt too long (N tokens) for context 1024
surfacing as a failed request, so you will know. Output longer than 256 tokens is
silently cut: generation simply stops at the limit and the truncated translation is
returned as if it were complete. Translate a sentence or a paragraph at a time rather
than a whole document.
Converting models
Upstream has a single conversion entry point for every family. SOURCE may be a .nemo
archive, an extracted NeMo checkpoint, a local Hugging Face directory, or a Hugging Face
repository ID.
Copy the resulting GGUF into your models directory and write the YAML above against it.
Text to speech is the one family that needs more than a single conversion. It loads two
GGUFs, the MagpieTTS token generator and the NanoCodec decoder, and it needs the tokenizer
assets that live inside the MagpieTTS .nemo archive rather than in the GGUF. Extract the
archive and keep the extracted directory next to the converted model, so that
tokenizer_dir (or the extracted/ auto-discovery) has something to point at, and put the
codec GGUF in the same directory so codec_model (or its auto-discovery) finds it.
# 1. MagpieTTS: download the .nemo, extract it for the tokenizer, convert ithf download nvidia/magpie_tts_multilingual_357m --revision v2602 \
--local-dir /models/magpie-tts
mkdir -p /models/magpie-tts/extracted
tar -xf /models/magpie-tts/magpie_tts_multilingual_357m.nemo \
-C /models/magpie-tts/extracted
python3 convert_model.py /models/magpie-tts/extracted \
--outfile /models/magpie-tts/magpietts.gguf
# 2. NanoCodec: no tokenizer, it is a codec decoder. The filename carries# "nanocodec" so the auto-discovery in the YAML above picks it up.hf download nvidia/nemo-nano-codec-22khz-1.89kbps-21.5fps \
--local-dir /models/magpie-tts/nano-codec
python3 convert_model.py \
/models/magpie-tts/nano-codec/nemo-nano-codec-22khz-1.89kbps-21.5fps.nemo \
--outfile /models/magpie-tts/nanocodec.gguf
Skipping the codec leaves the model unloadable: the backend fails with
no NanoCodec GGUF found next to ... naming the codec_model option.
Translation additionally uses the pinned llama.cpp converter, which has to be initialized
first:
The whisper-medusa backend serves aiola’s Whisper-Medusa checkpoints through
LocalAI’s OpenAI-compatible audio transcription endpoint. Whisper-Medusa uses
multiple decoding heads to predict several tokens per decoding step.
Model configuration
Install the whisper-medusa backend from the backend gallery, then create a
model configuration such as:
language in the request overrides the configured default. The regulation
options control the exponential length penalty passed to upstream generation.
Warning
The upstream Whisper-Medusa repository is archived. Its implementation accepts
clips of at most 30 seconds and expects 16 kHz audio; LocalAI resamples input to
16 kHz and rejects longer clips. The LibriSpeech checkpoints are optimized for
English. Use aiola/whisper-medusa-multilingual for supported multilingual
audio.
The backend currently ships Linux CPU and NVIDIA CUDA 12 images. It is not
advertised for macOS, ROCm, Intel GPU, or Jetson because upstream pins PyTorch
2.2.2 and has not published compatibility for those platforms.