LLM Workload Replay and Routing Audits: Testing Model Policies Safely (2026)
Switching a production app from a pinned frontier model to strict_cost or tighter max_latency_ms caps without testing on historical prompts is guesswork. SentioGate gives you an asynchronous POST /v1/workload/replay endpoint so you can evaluate candidate models on real traces before touching live user traffic.
As of 2026-10-31 (rechecked 2026-11-21).
Separating offline policy audits from live traffic
| Step | Endpoint | Effect on live /v1/chat/completions |
|---|---|---|
| 1. Submit sample prompts | POST /v1/workload/replay | None — runs asynchronously against your Vault keys |
2. Compare against baseline_model | Replay results | Shows candidate model selection, latency, and provider cost |
| 3. Inspect live telemetry | GET /v1/analytics | Tracks request counts, latency, failure rates, and routing decisions |
Submitting a workload replay job
curl -X POST https://api.sentiogate.dev/v1/workload/replay \
-H "Authorization: Bearer sg_live_your_gateway_key" \
-H "Content-Type: application/json" \
-d '{
"records": [
{
"messages": [{"role": "user", "content": "Extract company name and date from: Acme Corp launched v2 on Nov 20."}],
"baseline_model": "openai/gpt-4o"
}
]
}'
Replay audits vs human-graded eval suites
- Full human-annotation prompt eval suites: If your team primarily needs UI-driven human grading rubrics, dataset versioning, and prompt-template A/B editors, a dedicated observability and eval platform such as Helicone or Langfuse is a better fit. See Helicone alternative and Use SentioGate with Langfuse for how they complement each other.
FAQ
Does workload replay touch live production traffic?
No. POST /v1/workload/replay runs asynchronously on submitted records without altering live /v1/chat/completions traffic.
What metrics can I audit after a replay?
You can compare candidate model choices, response latency, and provider costs against your baseline model using GET /v1/analytics.
Do I need my own provider keys to run a workload replay?
Yes. Replay requires authenticated access and your configured Vault keys to evaluate candidate models on your workload.
Can I pair SentioGate routing with external trace tools?
Yes. You can export traces to Langfuse while using SentioGate for BYOK routing, failover, and budget/latency constraints.