Reference
Limits
Sizes and timeouts the router enforces, and the limits that come from your provider plan.
Router limits#
Sizes and timeouts the hosted router enforces. There is no cap on connections, requests or sentences per org.
| Limit | Value |
|---|---|
Text per segment, or per /v1/audio/speech input | 20,000 characters |
Request body, /v1/audio/speech and the HTTP drop-ins | 80,000 bytes |
| WebSocket message | 64 KB |
/v1/stream: no message while the router waits for input (between segments, or before flush) | Closed after 30 minutes |
| Sarvam WebSocket drop-in: no message | Closed after 60 seconds, as Sarvam does |
| 60db WebSocket drop-in: no message | Closed after 120 seconds, as 60db does |
| Every client WebSocket | Pinged every 20 seconds; closed if no pong comes within 20 seconds while the router is sending to it |
| Provider's first audio for a sentence | 10 seconds (OpenAI: 30, as its LiveKit plugin waits; Gemini: 120, as its 2.5 models send a sentence only once it is complete; Maya Open-Source: 5), then 10 seconds between chunks (Maya Open-Source: 5): provider_timeout |
| A whole REST reply from the provider (Sarvam above 24 kHz, the HTTP drop-ins) | 60 seconds |
Text over a limit is a bad_request (HTTP 400; on the drop-ins, the provider’s own shape). The LiveKit plugin keeps its pooled connections well inside the idle limit.
Your provider's limits#
Rate and concurrency limits are your provider plan's, on your provider key, exactly as when you call the provider directly.
- Each client connection to the router (a WebSocket, or one HTTP request) uses one connection to the provider and synthesizes one sentence at a time, so the provider counts your connections and concurrent requests as it would without the router. A cache hit makes no provider request.
- When the provider throttles your key, you get
provider_rate_limited(retryable), or the provider’s own error on the drop-ins. - Vaakini refuses a request while its model is at capacity; Sarvam limits WebSocket connections and REST requests per minute by plan; Raya publishes no limits; ElevenLabs limits concurrent requests by plan; OpenAI limits requests and tokens per minute by usage tier; Deepgram limits concurrent requests per project; xAI limits requests per second and concurrent WebSocket sessions per team; Soniox limits requests per minute, concurrent streams (3 by default) and open connections per organization; Smallest AI limits concurrent requests per account (1 by default, across REST, SSE and WebSocket) and open WebSocket connections (5); Cartesia limits concurrent requests by plan (2 on the free plan); Gemini limits requests and tokens per minute and requests per day per project, by usage tier; 60db limits concurrent text-to-speech sessions per workspace by plan (1 on Free, 5 on Starter, 10 on Creator, unlimited on Pro), and each open 60db WebSocket holds one.
- Maya Open-Source has no plan: it runs on our own GPU server, and when that is at capacity a request is refused before any audio with
provider_rate_limited. Retry after a moment. See Maya Open-Source. - Per connection, the router uses one Soniox stream, ElevenLabs context, xAI utterance, Cartesia context or Deepgram Flux turn at a time, as the providers’ LiveKit plugins do.
- The router keeps your org’s 60db WebSockets open between replies and closes each after 15 seconds unused, so it holds about as many of your 60db sessions as you have replies being spoken. See 60db.