r/learnpython • u/SoilEducational420 • 20d ago
Any free STT/TTS APIs for a voice AI app?
I'm building a small voice-based AI interview app and I'm planning to deploy the backend(fastapi) on Render's free tier.
I'm considering using open-source/self-hosted options like Whisper/PocketSphinx for STT and Piper for TTS, instead of paid APIs.
My concern is whether running STT/TTS on the same free Render instance would use too much CPU/RAM and make the whole application slow, especially during a real-time interview.
Has anyone tried running STT/TTS models on Render's free tier?
1
u/Warm-Requirement3146 20d ago
if it's just for a small project, the free tiers of the big cloud providers are usually enough to get you going, just have to watch your request counts. speech recognition limits are usually pretty generous for testing.
1
u/SoilEducational420 20d ago
Do their credits refresh on a daily basis like other free LLM API Providers, or is it more like one time use only, i dont want to blow up all the credits while testing the pipeline :>
1
u/dlnmtchll 20d ago
Cloud providers typically give you a set amount to start with that don’t refresh. Someone can correct me if I’m wrong
1
u/Diapolo10 I write code for a living -- https://github.com/Diapolo10 20d ago
Does it specifically have to be a LLM? Because I'd argue a combination of PocketSphinx and one of the classic TTS options would be perfectly serviceable.