The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
Realtime API benchmarks (#20074)
Ishaan Jaff3910161a0262
diff --git a/docs/my-website/docs/benchmarks.md b/docs/my-website/docs/benchmarks.mdindex 640212808bd..a1489081b4c 100644--- a/docs/my-website/docs/benchmarks.md+++ b/docs/my-website/docs/benchmarks.md@@ -48,6 +48,28 @@ In these tests the baseline latency characteristics are measured against a fake-- High-percentile latencies drop significantly: P95 630 ms → 150 ms, P99 1,200 ms → 240 ms.- Setting workers equal to CPU count gives optimal performance.+## `/realtime` API Benchmarks++End-to-end latency benchmarks for the `/realtime` endpoint tested against a fake realtime endpoint.++### Performance Metrics++| Metric | Value |+| --------------- | ---------- |+| Median latency | 59 ms |+| p95 latency | 67 ms |+| p99 latency | 99 ms |+| Average latency | 63 ms |+| RPS | 1,207 |++### Test Setup++| Category | Specification |+|----------|---------------|+| **Load Testing** | Locust: 1,000 concurrent users, 500 ramp-up |+| **System** | 4 vCPUs, 8 GB RAM, 4 workers, 4 instances |+| **Database** | PostgreSQL (Redis unused) |+## Machine Spec used for testingEach machine deploying LiteLLM had the following specs: