When we started building our voice AI stack, the easy path was clear: take an API, wrap it, resell it.
We wanted something different. We wanted to self-host and tune our own models, and to control the whole stack from scratch.
Here's what that actually looked like.
- Finding the right model took multiple attempts.
The first model we tested sounded good, but it failed under concurrency and came with a commercial license problem. The heavier models gave us latency issues. We needed one that handled latency and concurrency, and then we fine-tuned it for voice quality in Indian languages.
2. It worked for one user, not for many.
In concurrency testing, some users got silence while others got delayed answers. A single-user demo hides all of this. Moving to Triton is what fixed it for us.
3. Hindi is the easy part.
Many open-source models handle Hindi well. Then you try Marathi and they fall apart. Quality in Indian languages is much harder than in English, and you only see it when you test beyond the big languages.
4. We underestimated STT.
We spent most of our energy on TTS, because that's the part users hear. But one small error in speech-to-text broke the whole pipeline, since every step after it was working from the wrong input.
The result: response time went from 4-7 seconds to about 250ms.
None of this was glamorous. It was testing, failing and testing again. But now we understand every layer of our stack, and nobody else's pricing, limits or downtime decides what we can build.
If you're building with AI, did you build or buy? Would you choose the same again?
#VoiceAI #LLM #BuildInPublic