SHORTLIST20
العربية
Englishالعربية中文日本語한국어EspañolFrançaisहिन्दी
الذكاء الاصطناعي

CPU language model inference runtimes compared

Model artifacts, processor scope, APIs, quantized paths and licences

آخر تحديث

لماذا نقارن بين هذه

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. 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. 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. 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. 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. 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. 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

قارن جنبًا إلى جنب

llama.cppOpenVINO GenAIONNX Runtime GenAITransformersOllamaMNN-LLM
Models
Model artifactGGUFOpenVINO IR; selected GGUF modelsOptimized ONNXSafetensors and integrated quantized formatsModel manifest backed by GGUF weightsConverted MNN model files
Hardware
CPU scopex86, Arm, Apple silicon, RISC-V and moreIntel x86-64 and supported Arm CPUsWindows, Linux, macOS and mobile CPUsPyTorch-supported CPUsmacOS, Windows and Linux hostsx86 and Arm desktop/edge CPUs
Integration
Primary APIsCLI, C/C++, local HTTP serverC++, Python and Node.jsC, C++, C#, Java and PythonPython pipeline and model classesCLI, REST API and official librariesC++ and Python examples
Compression
Quantized pathNative GGUF integer and mixed quantizationsNNCF INT4/NF4 weight compressionModel-specific INT4/INT8 ONNX artifactsbitsandbytes, AWQ, GPTQ, GGUF and othersQuantized models distributed through library/import4-bit and 8-bit model conversion
Use
LicenceMITApache-2.0MITApache-2.0MITApache-2.0

كيف يتم القياس

Official project documentation checked 2026-11-25; limited to open-source runtimes with a documented local language-model generation path on a CPU. Ordered by workflow from low-level portable runtime to packaged service and edge framework, not by benchmark speed.

المراجع

  1. Official CPU language-model runtime documentation, the runtime maintainers (facts). Checked 2026-11-25 07:21 UTC.
  2. llama.cpp repository, ggml-org, checked 2026-11-25.
  3. Inference with OpenVINO GenAI, Intel, checked 2026-11-25.
  4. Generate API documentation, Microsoft, checked 2026-11-25.
  5. Transformers CPU guide, Hugging Face, checked 2026-11-25.
  6. Ollama repository, Ollama, checked 2026-11-25.
  7. MNN repository and LLM examples, Alibaba, checked 2026-11-25.