RTX 4090 KNOWLEDGE BASE
NInfer vs llama.cpp, Ollama and vLLM
A framework for fair comparison of local inference engines without fabricated speed claims.
What NInfer is
A native C++/CUDA engine with converted .ninfer artifacts, local APIs and model-specific speculation. It is not a frontend for llama.cpp, Ollama or vLLM.
Fair benchmark controls
| Control | Record |
|---|---|
| Hardware | Same GPU, power, driver and host load |
| Weights | Same revision, comparable quantization; disclose differences |
| Context | Same tokenized prompt and generated length |
| Execution | Sampling, speculation, concurrency, cache and warmup |
| Results | TTFT, decode, prefill, memory, quality and failures |
| Repetition | Interleaved runs, variability and regressions |
A limited HTTP pilot is now available below. Matched long-context and quality comparisons remain pending; no universal performance winner is claimed.
Contribute a benchmarkFirst HTTP pilot: NInfer vs llama.cpp
RTX 4090, six identical chat requests per engine with 128 output tokens, no speculation, 8K context, NInfer BF16 KV versus llama.cpp F16 KV.
| Engine | HTTP tok/s | Mean latency |
|---|---|---|
| NInfer v0.1.4 | 68.58 | 1.87 s |
| llama.cpp 14310190c | 59.85 | 2.14 s |
Exact output strings differed for all six pairs. Conversion, cache format and execution paths differ. No comprehensive quality evaluation, interleaved comparison or vLLM measurements.