Aligning Ollama, llama.cpp, vLLM and MLX Settings

Compare precision budgets for one model while separating file formats, context, cache and backend support.

Analytical estimates, not measurements · 2.5.0 · catalog-2026-11-17

Capacity at Matched Settings

One GPU, 32GB host RAM, one request; each row specifies OS, precision and context or resolution. Peaks are planning estimates, not backend certification. Baseline reports use fixed Q4 / 8k settings, separately from custom scenarios.

Hardware / ModelPrecision / SettingsWeight MemoryCache / ConditioningEstimated PeakCapacity VerdictConfiguration
NVIDIA GeForce RTX 4090
Qwen3-8B
Q4_K_M · windows
8192 tokens · FP16 KV
4.99 GB1.19 GB7.98 GBEstimated Memory FitAdjustBaseline Report
NVIDIA GeForce RTX 4090
Qwen3-8B
AWQ_4BIT · windows
8192 tokens · FP16 KV
4.73 GB1.19 GB7.72 GBEstimated Memory FitAdjustBaseline Report
NVIDIA GeForce RTX 4090
Qwen3-8B
FP16 · windows
8192 tokens · FP16 KV
17.2 GB1.19 GB20.19 GBEstimated Memory FitAdjustBaseline Report
Apple M4 Pro (24GB Unified)
Qwen3-8B
Q4_K_M · macos
8192 tokens · FP16 KV
4.99 GB1.19 GB7.58 GBEstimated Memory FitAdjustBaseline Report

Match the Actual Checkpoint First

GGUF Q4_K_M, AWQ, EXL2 and MLX files are not interchangeable. Check the actual repository, version and precision; the same model name does not establish identical configuration.

Then Match the Runtime Budget

Backends differ in context allocation, concurrency, cache types and reserved memory. This table uses common analytical settings, not a measured four-runtime comparison. Deployment commands still need a matching checkpoint.

Validate Mac and CUDA Separately

Mac unified memory and Metal/MLX are not equivalent to discrete-GPU CUDA or other backends just because quantization names match. Check architecture and OS support, start with a short request and increase workload gradually.

Sources and Limits

A config check is not a checkpoint, runtime or speed measurement. Quantization implementations change actual memory use; validate the full workload before deployment.

Methods and Assumptions