# Four voice platforms in six weeks, and why we went back to the expensive one

> Building a voice agent that runs survey interviews meant testing OpenAI, Vapi, LiveKit and ElevenLabs on the same real flow. The cheap options kept costing us in quality.

- Client: A research & insights startup
- Role: Voice agent lead, full-stack
- Period: Oct → Dec 2025
- Stack: React, TypeScript, Supabase Edge Functions, ElevenLabs Agents, OpenAI Realtime, Vapi, LiveKit Agents (Python), Deepgram, Cartesia
- URL: https://premshah.in/work/conversational-voice-research

## Key numbers

- **4**: voice platforms built & tested on the same survey flow
- **~6 wks**: from first prototype to the production voice agent

## The problem

Survey forms get shallow answers. Human interviews get great answers but don't scale. The product: a voice agent that interviews respondents like a good researcher. It walks through the survey step by step, asks follow-ups and turns the conversation into structured insights.

The voice _is_ the product here. If it mispronounces a term, lags or sounds robotic, respondents drop off and the data gets worse.

## The journey

### 0. ElevenLabs: great, but pricey

ElevenLabs was the obvious first look and it sounded excellent. But per-minute costs add up fast for long interviews, so I set out to find something cheaper that was good enough.

### 1. OpenAI Realtime: fast to build, weak at speaking

The first working prototype used OpenAI's realtime agents SDK, with a custom audio pipeline, transcription display and progress tracking through the survey. It was quick to wire up, but the **TTS struggled with numbers and domain terms**. For surveys full of scales, percentages and product names, that ruled it out.

### 2. Vapi: lots of providers, lots of hops

Next I pivoted the survey-taking agent to **Vapi**. Vapi orchestrates many providers, ElevenLabs included, and I moved the survey logic server-side:

- Tool calls run on Supabase Edge Functions. I started with separate tools (_get current step_, _move to next step_), then **merged them into a single orchestration tool**, which the model used far more reliably.
- I switched from transcription events to voice-input and model-output events for tighter control of the conversation.

Even with good providers underneath, **both speech-to-text and text-to-speech misfired, and the extra hops added latency** you could feel in a conversation.

### 3. LiveKit: self-hosted, still not human

Then I built a **self-hosted LiveKit agent server**: a Node prototype first, then Python. It had Deepgram Nova-3 for STT, an OpenAI model for reasoning, Cartesia for TTS, Silero VAD, a multilingual turn-detection model, noise cancellation, and Supabase integration with survey-completion logic.

**Owning the infrastructure was a real plus.** But latency was still a problem, and the **voice came out robotic and unnatural**, which matters a lot when you're asking people how they feel about something.

### 4. Back to ElevenLabs

The conclusion after all that: **ElevenLabs is the best voice stack on the market. It's also the most expensive, and for this product it's worth it.**

There was a bonus: ElevenLabs also offered **UI components for voice apps** (an animated orb, a live waveform, a mic selector, a voice button, conversation and message views). They looked great and saved weeks of front-end work. The final agent runs on ElevenLabs with survey context passed into each conversation, and has a clean voice UI.

## Key takeaways

- **Latency _is_ the UX.** Every provider hop shows up as an awkward pause.
- **Test on your real script, not their demo.** Numbers, acronyms and domain terms break TTS in ways a polished demo never shows.
- **Fewer, smarter tools beat many small ones.** One orchestration tool made the agent much more reliable than several narrow ones.
- **Cheap voice gets expensive.** Every dropped respondent and garbled answer costs something. Choose the premium option on purpose and design the unit economics around it.
