Developer assembling a real-time voice agent
Backend or full-stack developerA backend developer integrates a voice agent into a customer support product. They wire a streaming WebSocket on the assemblyai-stt-3-7-realtime-agent model for speech recognition, the LLM Gateway for reasoning and the Text-to-Speech API for the spoken reply, relying on a LiveKit or Pipecat reference implementation. Cost breaks down per layer: $0.45/hr of session for the agent STT, plus LLM Gateway tokens (billed separately for input/output) and $15/1M characters for TTS. Keep in mind: streaming is billed on WebSocket connection duration, not on the audio actually sent — a connection left open during pauses between calls is billed. The WebSocket must be closed immediately at the end of each call, otherwise the bill drifts silently.