Summary
Define and implement availability and latency SLOs for the public LLM InferenceServices on Lift Wing (llm-qwen3-14b, llm-qwen36-27b & llm-qwen38-27b, llm-gpt-oss-safeguard-20b in the llm namespace), served with vLLM and exposed through the REST Gateway at api.wikimedia.org.
Follow the same process as the Jina Embeddings SLO ({439245}) and implement it with Sloth, with the difference that here we will be focusing on token specific latency which is a better indicator that end to end request latency.
Technical notes
A fixed end-to-end latency threshold does not work for generative models of varied output sizes and would not be a good metric to measure for the service. We therefore split latency into time to first token (responsiveness) and per-request time per output token (streaming speed), both of which are independent of requested output length.
Proposed SLIs/SLOs (90-day window, availability measured server-side at the Istio ingress gateway, latency measured from vLLM metrics):
- Availability SLI: percentage of all requests that receive a non-error (non-5xx) response. SLO: 95%
- TTFT SLI: percentage of streaming requests whose first token is emitted within 2.5 s, from vllm:time_to_first_token_seconds. SLO: 90%
- TPOT SLI: percentage of successful requests whose mean time per output token is within 100 ms, from vllm:request_time_per_output_token_seconds. SLO: 90%
References:
- SLO process: https://wikitech.wikimedia.org/wiki/SLO/Template_instructions
- Existing Lift Wing SLO draft: https://wikitech.wikimedia.org/wiki/SLO/Lift_Wing
- LLM platform docs: https://wikitech.wikimedia.org/wiki/Machine_Learning/LiftWing/Large_Language_Models
- Sloth docs: https://wikitech.wikimedia.org/wiki/Sloth
- Sloth manifests repo: https://gitlab.wikimedia.org/repos/sre/slothslos
- vLLM metrics: https://github.com/vllm-project/vllm/blob/main/docs/design/metrics.md
Acceptance criteria
- Wikitech page SLO/LiftWing_LLM is written by the ML team
- Load test rerun on the new 24 GB/96GB GPU partitions configuration to validate the TTFT and TPOT targets
- Sloth manifest for all SLOs is merged in the slothslos repo and data shows in the Sloth Grafana dashboards