What Happened
Google released Gemini 3.8 Live and Gemini 3.8 Live Extended Thinking, two speech-to-speech models positioned for low-latency, interactive voice conversations similar in shape to OpenAI’s GPT-Live model family [1].
The implementation described in the research demonstrates a browser-based test UI that lets a user select the model and voice preset, add an optional system prompt, and run a live voice conversation with interrupt capability [1]. The client uses a direct WebSocket connection to Google’s Generative Language bidirectional streaming endpoint and the browser Web Audio API for capture and playback, with no external libraries [1].
The important infrastructure signal is that real-time voice AI is moving toward simpler client-to-model streaming patterns. Teams can now prototype natural voice agents with less middleware than older speech-to-text, LLM, text-to-speech pipelines required.
Why It Matters to Businesses
Real-time speech-to-speech models change the architecture and economics of customer-facing AI systems. Instead of stitching together separate ASR, LLM, orchestration, and TTS services, teams can use a unified streaming model for voice interaction. That can reduce latency and implementation complexity, but it also concentrates cost, reliability, privacy, and control risks into a single provider path.
- Lower latency: Bidirectional streaming over WebSockets supports more natural turn-taking and interruption, which matters for support, sales, training, field operations, healthcare intake, and internal copilots.
- Faster prototyping: A browser client using Web Audio APIs and a model WebSocket endpoint can validate experience quality quickly before committing to a full platform build [1].
- Different cost profile: Unified live models may reduce integration work, but streaming audio sessions can become expensive if always-on, poorly gated, or used for low-value interactions.
- Vendor dependency: Direct model APIs simplify early builds, but enterprises still need abstraction layers, observability, policy enforcement, and fallback routing for production.
- New governance surface: Voice adds biometric, consent, recording, retention, prompt injection, and real-time safety concerns that many text-only LLM platforms do not adequately cover.
Kimbodo Engineering Perspective
For production systems, we would not treat direct browser-to-model WebSockets as the final architecture except for controlled prototypes. It is useful for evaluating latency, audio quality, interruption behavior, and prompt design. It is not sufficient for enterprise deployment where API keys, policy controls, audit logs, tenancy isolation, and abuse prevention matter.
The main trade-off is speed versus control. A minimal browser implementation is fast and low-friction. A production implementation needs a broker layer between clients and model providers. That broker adds engineering effort and small latency overhead, but it gives the business enforceable security, observability, cost controls, and provider optionality.
The second trade-off is unified speech-to-speech versus composable pipelines. Unified live models are often better for natural conversation and reduced latency. Composable ASR plus LLM plus TTS pipelines can be better when enterprises need specialized transcription, domain vocabulary, deterministic redaction, custom voices, strict data routing, or granular cost optimization.
The third trade-off is model capability versus predictability. Extended thinking variants may improve reasoning for complex spoken tasks, but they can increase latency and cost. For many production voice workflows, the best architecture is not the smartest model everywhere. It is model tiering: fast models for greetings, routing, and short answers; stronger models for escalation, summarization, and complex reasoning.
How We Would Implement It
1. Start with an experience prototype
We would first build a thin browser prototype using the Web Audio API and bidirectional WebSocket streaming, similar to the demonstrated implementation [1]. The goal is not production readiness. The goal is to measure conversation quality, latency, barge-in behavior, noise handling, prompt compliance, and user acceptance.
- Test multiple voice presets and system prompts.
- Measure time to first audio, interruption latency, session duration, and failure modes.
- Run realistic domain scripts, not generic demos.
- Capture user feedback on trust, clarity, and task completion.
2. Insert a secure real-time AI gateway
For production, clients should connect to a company-controlled real-time AI gateway, not directly to the model provider. The gateway terminates client sessions, authenticates users, applies policy, injects approved system prompts, manages provider credentials, and opens outbound model WebSocket connections.
- Client: Browser, mobile app, kiosk, contact center desktop, or embedded device.
- Gateway: WebSocket server running in Kubernetes, Cloud Run, ECS, or equivalent managed compute.
- Policy layer: Tenant-aware prompt templates, tool permissions, content filters, and data residency rules.
- Provider adapter: Pluggable connector for Gemini Live, OpenAI live models, or future voice model providers.
- Observability: Structured session logs, latency traces, token and audio usage metrics, failure classification, and cost attribution.
3. Add orchestration only where it creates value
Not every voice session needs a heavy agent framework. For simple support, intake, or guided workflows, a state machine with tool calls is often safer and cheaper than an autonomous agent. For complex workflows, an agent runtime can be used behind the gateway, but it should have explicit permissions and bounded actions.
- Use deterministic routing for authentication, consent, escalation, and regulated disclosures.
- Use retrieval-augmented generation for knowledge answers, with citations and confidence thresholds.
- Use tool calling for CRM updates, ticket creation, appointment scheduling, and account lookup.
- Require human handoff for low confidence, user distress, regulated advice, or high-value transactions.
4. Design for model tiering and fallback
Production voice AI should assume model outages, rate limits, regional constraints, and quality regressions. The platform should support routing by use case, tenant, language, cost threshold, and risk level.
- Route low-risk conversations to lower-cost live models.
- Escalate complex reasoning to extended-thinking or stronger text models when latency allows.
- Fallback to text chat, human agents, or a composable ASR-LLM-TTS pipeline if live model sessions fail.
- Cache approved static responses for repetitive compliance language and onboarding flows.
5. Build MLOps around conversations, not just prompts
Voice AI evaluation needs more than prompt regression tests. Teams must evaluate audio quality, turn-taking, transcription fidelity if transcripts are generated, interruption handling, tool-call accuracy, and user outcome quality.
- Create golden conversation test suites from real business scenarios.
- Replay sessions against new prompts and model versions before rollout.
- Score task completion, policy compliance, hallucination rate, escalation correctness, and latency.
- Use staged deployment by tenant, region, or traffic percentage.
- Maintain rollback capability for prompt, model, gateway, and tool changes.
Risks, Costs and Security
Security and privacy risks
Voice systems handle sensitive data by default. Even when audio is not stored, live streams may include names, account details, health information, payment context, or employee data. The AI gateway should enforce authentication, authorization, encryption, redaction, and retention policy before any session reaches the model provider.
- API key exposure: Do not ship provider keys to browsers or mobile apps in production.
- Consent: Clearly disclose AI participation, recording behavior, and data use.
- Prompt injection: Treat spoken user instructions as untrusted input, especially when tools can access enterprise systems.
- Data leakage: Limit model context to the minimum needed for the task.
- Auditability: Store structured event logs for decisions, tool calls, escalation, and policy interventions.
Cost risks
Streaming voice AI can create unpredictable spend because cost is tied to session length, concurrency, model tier, and retry behavior. A small number of long-running or abandoned sessions can materially affect monthly cost.
- Set maximum session duration and idle timeouts.
- Apply tenant, user, and channel-level budgets.
- Track cost per completed task, not just cost per session.
- Use cheaper workflows for identity checks, FAQs, and routing.
- Monitor failed sessions separately because they create cost without business value.
Reliability risks
Real-time voice applications are less tolerant of latency and failure than asynchronous AI workflows. A two-second delay can feel broken. The production architecture should include regional routing, queue protection, connection health checks, graceful degradation, and human fallback.
- Measure end-to-end latency from microphone capture to audio playback.
- Set service-level objectives for connection success, interruption latency, and completed task rate.
- Use circuit breakers when provider latency or error rates cross thresholds.
- Keep a non-AI fallback path for critical business functions.
Recommended decision path
The right first step is a focused pilot, not a platform rewrite. Validate that live speech-to-speech improves the business process enough to justify production investment. If the use case proves valuable, build a secure gateway, add observability and cost controls, and only then expand into broader agentic workflows.
For enterprise teams, the winning architecture is not the simplest demo or the most complex AI platform. It is a controlled real-time AI layer that preserves the user experience benefits of live voice models while giving the business security, reliability, cost governance, and the ability to change providers over time.
Where Kimbodo Comes In
Kimbodo builds and operates this in production for businesses — see our AI Infrastructure & MLOps practice, or Estimate My Infrastructure.