CPU language model inference runtimes compared
Model artifacts, processor scope, APIs, quantized paths and licences
Mis à jour
Pourquoi comparer ceux-ci
CPU inference can mean a portable command-line binary, a Python model API, a hardware-specific optimizer or a ready local service. This table separates those workflows and the model artifacts they expect before you choose a runtime.
-
1
l
llama.cpp
A dependency-light runtime with optimized kernels for x86, Arm and other CPU architectures plus a local CLI and server.
Portable C and C++ runtime for GGUF models
-
2
O
OpenVINO GenAI
OpenVINO GenAI provides LLM pipelines for CPU execution after model export and weight compression through the OpenVINO toolchain.
Intel-focused generative AI pipelines
-
3
O
ONNX Runtime GenAI
Microsoft's generation API loads optimized ONNX models and exposes C, C++, C#, Java and Python interfaces across supported platforms.
ONNX generation loop across desktop and mobile CPUs
-
4
T
Transformers
Transformers runs text-generation pipelines on CPU by default and integrates multiple quantized checkpoint formats and CPU backends.
Direct model loading with a Python-first API
-
5
O
Ollama
Ollama wraps local model execution in a model library, command-line workflow and HTTP API for macOS, Windows and Linux.
Packaged local model service and CLI
-
6
M
MNN-LLM
MNN's LLM examples target local inference on x86 and Arm devices with quantized models and C++ or Python entry points.
Alibaba MNN runtime for desktop and edge CPUs
Comparer côte à côte
| llama.cpp | OpenVINO GenAI | ONNX Runtime GenAI | Transformers | Ollama | MNN-LLM | |
|---|---|---|---|---|---|---|
| Models | ||||||
| Model artifact | GGUF | OpenVINO IR; selected GGUF models | Optimized ONNX | Safetensors and integrated quantized formats | Model manifest backed by GGUF weights | Converted MNN model files |
| Hardware | ||||||
| CPU scope | x86, Arm, Apple silicon, RISC-V and more | Intel x86-64 and supported Arm CPUs | Windows, Linux, macOS and mobile CPUs | PyTorch-supported CPUs | macOS, Windows and Linux hosts | x86 and Arm desktop/edge CPUs |
| Integration | ||||||
| Primary APIs | CLI, C/C++, local HTTP server | C++, Python and Node.js | C, C++, C#, Java and Python | Python pipeline and model classes | CLI, REST API and official libraries | C++ and Python examples |
| Compression | ||||||
| Quantized path | Native GGUF integer and mixed quantizations | NNCF INT4/NF4 weight compression | Model-specific INT4/INT8 ONNX artifacts | bitsandbytes, AWQ, GPTQ, GGUF and others | Quantized models distributed through library/import | 4-bit and 8-bit model conversion |
| Use | ||||||
| Licence | MIT | Apache-2.0 | MIT | Apache-2.0 | MIT | Apache-2.0 |
Références
- Official CPU language-model runtime documentation, the runtime maintainers (facts). Checked 2026-11-25 07:21 UTC.
- llama.cpp repository, ggml-org, checked 2026-11-25.
- Inference with OpenVINO GenAI, Intel, checked 2026-11-25.
- Generate API documentation, Microsoft, checked 2026-11-25.
- Transformers CPU guide, Hugging Face, checked 2026-11-25.
- Ollama repository, Ollama, checked 2026-11-25.
- MNN repository and LLM examples, Alibaba, checked 2026-11-25.

