0.86 µs
Triage check speed (simple rule path)
2 rules · p50
Half of Fair Housing Listing Guard checks finish faster than this — on the hot path.
Benchmarks
Your AI system gets a safety layer that costs less than 2 ms — even under load.
Real measurements from our validation engine and OpenAI-compatible layer — no LLM-as-judge latency, no hand-wavy slides.
Live Metrics: Automatically benchmarked on VMware VM every 48 hours. Last run: Aug 31, 2026.
Benchmark environment: VMware VM · Intel Xeon CPU E5-1620 v4 @ 3.50GHz | 8 vCPUs | 16 GiB RAM | Ubuntu 20.04.6 LTS | go1.26.7 linux/amd64
Headline comparison: 820 ms typical LLM completion vs 5.01 ms measured validation layer path (median of 5 runs; up to 218× faster integrity layer).
Deterministic rule checks on model output — measured with go test -benchmem on every template.
Updated Aug 31, 2026 · commit 4d8fe82e
0.86 µs
Triage check speed (simple rule path)
2 rules · p50
Half of Fair Housing Listing Guard checks finish faster than this — on the hot path.
3.6 µs
Heavy rule packs stay fast
Product Title Normalization
9 rules on a real template — still microsecond-scale.
1.0 µs
Employment Offer Language Guard
Typical check speed
4 rules on a real workload — measured on the validation hot path.
222k RPS
Engine RPS
4 rules
Sustained validation engine throughput for Calculation Validator.
Updated Aug 31, 2026 · commit 4d8fe82e
375.7 µs
Proxy return path
195.3 µs
Validation engine call
+0.05 ms
Output validation overhead
4.4k RPS
Sustained throughput
Full HTTP round trip — auth, rules, persist queue. Zero-latency mocked upstream (httptest); concurrency 1.
Multi-agent workflows via X-VG-Flow — measured end-to-end with mocked agent upstreams (make bench-orchestration).
Updated Jun 11, 2026 · commit 8998d7e
349.1 µs
3-step linear handoff
p50
Path: triage,compliance,reply,end_success · 3 validations
319.6 µs
Branch on validation pass
happy
Path: classify,draft_reply,end_success · 2 validations
238.4 µs
Branch on validation block
block
Path: classify,draft_reply,human_handoff,end_handoff · 3 validations
184.3 µs
JSON field route A + merge + finalize
route_a
Path: classify,path_a,merge_finalize,finalize,end_done · 3 validations
Live numbers from orchestration-bench at concurrency 1 — linear, branch, and fan-out + merge scenarios.
Per-template orchestration path — X-VG-Flow HTTP round trip with zero-latency mocked upstream at concurrency 1. Refresh with make bench-playbook-overhead-save every 1–2 days.
| Playbook | p50 overhead | Steps | vs model |
|---|---|---|---|
| Support Automation | 1.82 ms p50 | 3 | ~450× faster |
| Invoice Processing | 1.67 ms p50 | 4 | ~491× faster |
| Policy Answer Guarded | 1.35 ms p50 | 2 | ~609× faster |
| Lead Qualification | 1.38 ms p50 | 4 | ~595× faster |
| Parallel Extract Repair Fallback | 1.67 ms p50 | 6 | ~491× faster |
Same scale as above — 0.61% of one model call. That thin sliver is the point.
Up to ~218×
lower validation layer overhead vs model latency
Full playbook p50 0.35 ms — ~2,349× lower than model
Same scale, one glance. ValGuard guarded proxy path measured on a zero-latency mocked upstream (chat upstream guarded; median of 5 runs, headline uses best run).
LLM baseline is an industry median for GPT-4 class chat completions. Proxy latency is the median of 5 measured runs at concurrency 1 on the guarded single-agent path (input prompt guard + customer_support_reply output pack, no agent budget cap, no per-agent token cap, zero-latency mocked upstream). "Up to" uses the best run in that set.
You do not need to read microbenchmarks to get the point. Here is the practical takeaway for product, ops, and engineering leads.
Your app stays fast
Validation adds roughly a millisecond of infrastructure overhead — not hundreds of milliseconds like asking a second AI model to grade every reply.
Rules behave predictably
The same bad output is blocked every time. No “sometimes it passes” drift from prompt tweaks or model updates.
Costs stay flat as you scale
You are not paying for an extra LLM call on every completion. Validation runs as code on your layer path.
You can skip guardrail architecture science projects
Attach validator packs from the dashboard, run in shadow mode first, then enforce — without slowing down releases.
Multi-agent playbooks stay fast
Chain agents with X-VG-Flow — linear, branch, and merge paths measured in single-digit to low tens of milliseconds per run, not another LLM judge per step.
Many teams validate output by asking another model to score it. Here is how that approach compares to deterministic rules on the numbers above.
| Method | Latency | Determinism | Cost | Throughput |
|---|---|---|---|---|
| LLM judge | 5–50 ms | probabilistic | high | low |
| ValGuard | Validation engine: 0.5–3 µs Layer path: 1–2 ms | deterministic | near-zero | very high |
Benchmark environment
Four workloads teams deploy first — numbers pulled from the latest benchmark run.
Typical p50 on a four-rule pack — faster than most JSON parsers, with 1.2 µs · 4 rules · 16 B · 1 alloc
Fastest pathTwelve business rules — schema, totals, currency, required fields. Heavy pack, still 52 µs · 12 rules · 17 B · 1 alloc
Production-readyGrounding and citation checks against retrieved sources in 2.4 µs · 4 rules · 1098 B · 10 allocs
Ultra-fastPattern scan for sensitive data across five compliance rules in 16 µs · 5 rules · 21 B · 1 alloc
Compliance-readyValGuard is built for teams that need compliance-grade guardrails without turning reliability into a latency tax.