โš™๏ธ

Local LLM Inference Engine Selector v2

Weighted scoring for Ollama, vLLM, SGLang, TensorRT-LLM, MLX, ExLlamaV2, KTransformers, and more. Pick by GPU, model size, quantization, batch size, and priority.

Scenario presets

Select a preset to auto-tune weights, batch size, and recommendation.

Your setup

Weight priorities (0โ€“5)

Last updated: 2026-08-07. See notes.

Top pick

Recommended engine

โ€”

Score: โ€”

VRAM needed

โ€”

Est. tok/s

โ€”

Select your setup to see a recommendation.

VRAM math

Model weights: โ€”

KV cache: โ€”

Total estimate: โ€”

GPU VRAM: โ€”

Engine rankings

Ollama

Score: โ€”

One-command local prototyping and personal agents.

VRAM

โ€”

Tok/s

โ€”

โ€”
OpenAI APIStructured outputGGUF

llama.cpp

Score: โ€”

Maximum hardware compatibility and edge deployment.

VRAM

โ€”

Tok/s

โ€”

โ€”
OpenAI APISpeculative decodingMulti-GPUGGUF

vLLM

Score: โ€”

High-throughput multi-user serving.

VRAM

โ€”

Tok/s

โ€”

โ€”
OpenAI APIContinuous batchingStructured outputSpeculative decodingMulti-GPUGGUFSafetensorsFP8AWQGPTQ

SGLang

Score: โ€”

Structured generation, batch programming, and fast multi-turn.

VRAM

โ€”

Tok/s

โ€”

โ€”
OpenAI APIContinuous batchingStructured outputSpeculative decodingMulti-GPUSafetensorsFP8AWQGPTQ

TensorRT-LLM

Score: โ€”

Maximum NVIDIA throughput with pre-compiled engines.

VRAM

โ€”

Tok/s

โ€”

โ€”
OpenAI APIContinuous batchingStructured outputMulti-GPUFP8AWQGPTQ

MLX (Apple Silicon)

Score: โ€”

Native Apple Silicon performance with unified memory.

VRAM

โ€”

Tok/s

โ€”

โ€”
Structured outputSafetensors

TabbyAPI

Score: โ€”

Fast single-GPU EXL2/GPTQ serving with OpenAI-compatible API.

VRAM

โ€”

Tok/s

โ€”

โ€”
OpenAI APIContinuous batchingStructured outputSpeculative decodingEXL2GPTQ

ExLlamaV2

Score: โ€”

Maximum 4-bit throughput on a single NVIDIA GPU.

VRAM

โ€”

Tok/s

โ€”

โ€”
Continuous batchingSpeculative decodingMulti-GPUEXL2GPTQ

Hugging Face Transformers

Score: โ€”

Reference implementation and newest models.

VRAM

โ€”

Tok/s

โ€”

โ€”
Multi-GPUSafetensorsFP8AWQGPTQ

llamafile

Score: โ€”

Portable single-file model distribution.

VRAM

โ€”

Tok/s

โ€”

โ€”
GGUF

KoboldCpp

Score: โ€”

Storytelling/roleplay with built-in web UI.

VRAM

โ€”

Tok/s

โ€”

โ€”
OpenAI APISpeculative decodingGGUF

Text Generation Inference (TGI)

Score: โ€”

Production serving of Hugging Face models with sharding.

VRAM

โ€”

Tok/s

โ€”

โ€”
OpenAI APIContinuous batchingStructured outputMulti-GPUSafetensorsFP8AWQGPTQ

KTransformers

Score: โ€”

Very large MoE and dense models with CPU+GPU offloading.

VRAM

โ€”

Tok/s

โ€”

โ€”
OpenAI APIMulti-GPUGGUFSafetensors

ONNX Runtime

Score: โ€”

Cross-platform deployment and optimized transformer models.

VRAM

โ€”

Tok/s

โ€”

โ€”
Multi-GPUONNX

Feature matrix

Engine Formats Platforms OpenAI API Batching Multi-GPU Structured License
Ollama GGUF Macos, Linux, Windows โœ… Basic โ€” โœ… MIT
llama.cpp GGUF Macos, Linux, Windows โœ… Basic โœ… โ€” MIT
vLLM Safetensors, PyTorch, AWQ, GPTQ, GGUF Linux, Windows โœ… Continuous โœ… โœ… Apache 2.0
SGLang Safetensors, PyTorch, AWQ, GPTQ, FP8 Linux โœ… Continuous โœ… โœ… Apache 2.0
TensorRT-LLM TensorRT-LLM engines Linux, Windows โœ… Continuous โœ… โœ… Apache 2.0
MLX (Apple Silicon) Safetensors, MLX Macos โ€” Basic โ€” โœ… MIT
TabbyAPI EXL2, GPTQ Linux, Windows โœ… Continuous โ€” โœ… AGPL
ExLlamaV2 EXL2, GPTQ Linux, Windows โ€” Continuous โœ… โ€” MIT
Hugging Face Transformers Safetensors, PyTorch Macos, Linux, Windows โ€” Basic โœ… โ€” Apache 2.0
llamafile GGUF Macos, Linux, Windows โ€” Basic โ€” โ€” Apache 2.0
KoboldCpp GGUF Windows, Linux, Macos โœ… Basic โ€” โ€” AGPL
Text Generation Inference (TGI) Safetensors, PyTorch Linux โœ… Continuous โœ… โœ… Apache 2.0/Hugging Face
KTransformers GGUF, Safetensors Linux, Windows โœ… Basic โœ… โ€” MIT
ONNX Runtime ONNX Macos, Linux, Windows โ€” Basic โœ… โ€” MIT

Frequently asked questions

What is the fastest local inference engine for a single RTX 4090?โ–ผ

For 4-bit quantized dense models, TabbyAPI / ExLlamaV2 or TensorRT-LLM are usually fastest. For native FP16/BF16 models, vLLM and SGLang extract the highest throughput thanks to continuous batching.

Which engine should I pick for a production API?โ–ผ

Use vLLM or SGLang for open-model serving with continuous batching and OpenAI-compatible endpoints. If you only serve NVIDIA and can pre-compile engines, TensorRT-LLM can squeeze out extra throughput. TGI is also a proven production option.

Can I run Mixtral 8x22B on a 24 GB consumer GPU?โ–ผ

Not fully loaded in FP16. Use KTransformers or llama.cpp with CPU/NVMe offloading, or quantize to Q4 GGUF. Expect lower tok/s because expert layers move through system memory.

What should I use on an Apple Silicon Mac?โ–ผ

MLX is purpose-built for M-series chips and gives the best tokens-per-watt. Ollama and llama.cpp are also excellent if you already have GGUF models.

Do I need continuous batching?โ–ผ

Only if you serve multiple concurrent users. Single-user chat or local agents rarely benefit; one of the simpler GGUF engines is often easier to set up.

Are the tok/s numbers exact?โ–ผ

No. The calculator uses directional multipliers based on memory bandwidth, quantization, and engine efficiency. Real numbers depend on drivers, prompt length, KV cache, and PCIe/NVLink topology.

Scores and tok/s estimates are directional, based on public benchmarks, release notes, and typical user reports. Real-world performance depends on driver version, quantization recipe, context length, batching, CPU overhead, and PCIe/NVLink topology.

๐Ÿš€ Get AI automation insights daily

15:00 MST. One-click unsubscribe.

Subscribe