N NInfer / RTX 4090
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

ControlRecord
HardwareSame GPU, power, driver and host load
WeightsSame revision, comparable quantization; disclose differences
ContextSame tokenized prompt and generated length
ExecutionSampling, speculation, concurrency, cache and warmup
ResultsTTFT, decode, prefill, memory, quality and failures
RepetitionInterleaved 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 benchmark

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

EngineHTTP tok/sMean latency
NInfer v0.1.468.581.87 s
llama.cpp 14310190c59.852.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.

Full report