many-afternoon-9428
11/26/2025, 7:48 AMtall-airline-16756
11/26/2025, 7:48 AMtall-airline-16756
11/26/2025, 7:49 AMmany-afternoon-9428
11/26/2025, 7:49 AMtall-airline-16756
11/26/2025, 7:49 AMmany-afternoon-9428
11/26/2025, 7:50 AMtall-airline-16756
11/26/2025, 7:51 AMmany-afternoon-9428
11/26/2025, 7:52 AMtall-airline-16756
11/26/2025, 7:53 AMsync_transcription=True to time-align transcripts with playback when you want synchronized agent speech + text.
2) Separate STT plugin for low-latency captions (recommended for live captions)
• Run an STT plugin session (e.g., gpt-4o-transcribe or OpenAI STT plugin) alongside the Realtime model.
• Publish STT interim and final transcripts to the lk.transcription text stream so frontends can show captions with minimal latency.
3) Realtime-as-text mode (alternative)
• Configure the Realtime model for modalities: ["text"] and use a separate TTS service if you only need textual outputs from the model and control over transcription timing.
Frontend integration (receiving transcripts)
• Subscribe to textReceived events and filter for topic === "lk.transcription".
• Check data.attributes["lk.transcription_final"] === "true" to detect final vs interim segments.
• If you enabled sync, transcriptions will be time-aligned with playback; otherwise they arrive immediately.
Practical notes / limitations
• Realtime models may not provide reliable interim transcripts and can be delayed for user audio; do not rely on them alone for live captions.
• Combining a dedicated STT plugin with the Realtime model gives the best UX: immediate captions from STT, context/response generation from Realtime.
If you want, I can:
• Provide a short backend code example (Python or Node) showing MultimodalAgent + STT setup, or
• Estimate costs for STT + Realtime usage if you share expected monthly minutes and concurrent users.
Which would you like next — a code snippet (Python/Node) or a cost estimate?
Sources: OpenAI and LiveKit partner to turn Advanced Voice into an API | Text and transcriptions | LiveKit docs | OpenAI STT plugin guide | LiveKit Docs | OpenAI Realtime API plugin guide | LiveKit docs | Realtime model plugins | LiveKit Docsmany-afternoon-9428
11/26/2025, 7:55 AMtall-airline-16756
11/26/2025, 7:56 AMmany-afternoon-9428
11/26/2025, 7:56 AMmany-afternoon-9428
11/26/2025, 7:56 AMtall-airline-16756
11/26/2025, 7:57 AMgpt-4o-transcribe) may be necessary; STT billed by seconds — the Realtime rate above assumes using LiveKit Inference Realtime model. If you use a different STT model, the inference line item may change.
• Bandwidth depends on actual bitrate; lower bitrate (audio-only or lower-res video) reduces bandwidth cost.
• Build plan includes $2.50/month inference credit (~50 minutes)—small impact for this volume.
Would you like:
• A recalculation for audio-only (lower bitrate), or
• A version that assumes separate low-latency STT pricing (if you plan to run gpt-4o-transcribe specifically)?many-afternoon-9428
11/26/2025, 7:58 AMtall-airline-16756
11/26/2025, 7:59 AMgpt-4o-transcribe) may change the inference line item (billed by seconds) but totals will be comparable; tell me if you want that specific model priced.
Which variant should I finalize — (A) no LiveKit AI agents, (B) 2 LiveKit AI agents (as above), or (C) 2 AI instances each with their own Realtime model compute?many-afternoon-9428
11/26/2025, 7:59 AMtall-airline-16756
11/26/2025, 8:00 AMmany-afternoon-9428
11/26/2025, 8:09 AM