Measured evidence

Inference and RAG benchmarks

Same-host local engine comparisons and end-to-end Java RAG measurements, including local and hosted inference.

Published
Loading...
Controlled host
Loading...

Local inference

Models compared with native engines

The table contains the qualified artifacts with controlled cross-engine studies. Each row uses identical artifact files, prompts, and generation controls for every engine compatible with that format. llama.cpp and Ollama are comparators where applicable, not ModelJars runtime dependencies.

Model Status TTFT p95 Prompt p50 Decode p50 Models decode ratio Evidence
Models llama.cpp Ollama Models llama.cpp Ollama Models llama.cpp Ollama vs llama.cpp vs Ollama
Loading inference evidence...

Controls

CPU-only retained runs pin processor limits, context, sampling, warmups, and trial counts in their evidence. Every row compares identical prompts and artifact bytes.

Qualification

Profiled rows are exact ModelJars launch profiles. A validated candidate passed output checks but is not an automatic runtime recommendation.

Launch qualification

Production RAG qualification by artifact

Every listed artifact completed the published Models Java workload with the exact ModelJar SHA on the controlled host. The summary and table are generated directly from the qualification ledger.

Model and backend RAG use TTFT p95 TPOT p95 End to end p95 Decode p50 Raw quality Final quality Fallback Loop stops Peak RSS Requests Evidence
Loading qualification evidence...

Usability gate

Qualified rows completed every request with at least 90% grounded quality, 100% unsupported-query abstention, p95 TTFT at or below two seconds, and p95 end-to-end latency at or below ten seconds.

What Guarded RAG means

Guarded RAG uses the model when its answer passes citation and grounding checks. When it does not, Models returns a deterministic extract from the retrieved sources, or abstains when the sources do not support an answer. Raw model quality and fallback frequency remain visible in every row.

What the other evidence tiers mean

The catalog's Evidence filter offers one tier per qualification policy, and they do not all measure the same kind of thing. Each tier names the policy it was measured under, and every entry carries its own numbers.

  • Guarded RAG — production-rag-model-contribution-v6. The model's own contribution, not the pipeline's: how often it answered, and how often those answers were correct, plus decode throughput and end-to-end latency against an authoritative engine.
  • Semantic search — oracle-equivalence-v1. That our embeddings reproduce the publisher's runtime, to around 1e-6 cosine. It is an implementation-parity result and not a retrieval-quality one: no corpus, no queries, no relevance judgments.
  • Second-stage reranking — reranking-exact-artifact-and-latency-v3. Logit parity against ONNX Runtime, agreement on top-k order, and latency. Also parity rather than ranking quality: the top-k check is agreement with the oracle, not correctness against ground truth.
  • Text-to-speech — speech-oracle-streaming-latency-v1. That the waveform reproduces the publisher's own implementation — PCM cosine and a signal-to-difference bound in dB — together with streaming behaviour: first audio before completion, p95 real-time factor, and p95 time to first audio. Parity and latency rather than listening quality.
  • Schema classification — schema-classification-upstream-v2. Numerical parity with the upstream runtime, a bounded quality loss against it, and verification on a released build.
  • Ranked decisions and Typed decisions — decision-calibration-v2. Accuracy over a pinned cohort against chance, per question type, with calibration error reported. Ranked decisions publish an ordering; only a calibrated tier may be thresholded on the probability beside the answer.
  • Tool calling — needle2-tool-conformance-v2. Structured-output rate, tool-selection accuracy, schema validity and argument accuracy over an upstream suite.
  • Qualified hybrid — activated-adapter-component-v1. A component measured on the base artifact it activates against, with both identities pinned.

Three of these — semantic search, second-stage reranking and text-to-speech — measure faithfulness to a reference implementation rather than how good the result is. That is a real guarantee, and it is a different one from quality; where it applies it is said so above rather than implied. Adding retrieval and ranking quality to the embedding and reranking gates is tracked in integrallis/models#352 and #353.

Evidence identity

Model bytes, raw report bytes, Models revision, backend version, policy, host, JVM, and every reported metric are preserved in versioned ModelJar metadata.

Application workload

RAG from the same Java application

Nine retrieval cases compare in-process Models, local native servers, and hosted providers under one Java 25 benchmark harness.

Engine and model Execution Retrieval p95 TTFT p95 TPOT p95 End to end p95 Decode p50 Strict quality Audited quality API cost / 1K Data egress Evidence
Loading RAG evidence...

Workload

One warmup and three measured iterations over nine cases at concurrency one.

Quality audit

Strict quality is the unchanged automated evaluator. Audited quality accepts two semantically correct referral paraphrases that did not contain the literal expected phrase.

Cost and privacy

Local rows keep retrieved context in the process or on the same host and incur no API charge. Hosted rows send context to a provider; costs reflect this measured token and cache mix, not a fixed price quote.