Voice assistant

Build an AI voice assistant

Voice agents chain speech-to-text, a language model and text-to-speech in real time. Latency is the main challenge, so use a framework built for streaming audio.

Recommended stack

Model

  • OpenAI GPT-6 Luna: ~$0.10 in / $0.50 out per 1M tokens (verified 2026-11-22)
  • OpenAI speech-to-text API: gpt-transcribe ~$0.0045/min (files); gpt-live-transcribe ~$0.017/min (streaming); whisper-1 $0.006/min shuts down 2027-02-26 (verified 2026-11-22)
  • ElevenLabs affiliate: Free plan with 10k credits/mo; paid from $6/mo (Starter) (verified 2026-11-22)

Framework

  • Pipecat: Free, open-source voice-agent framework

Hosting

  • Fly.io: No free tier (free trial: $1 of credit for 7 days); personal-org bills under $5/mo are waived; smallest always-on VM ~$2.19/mo (verified 2026-11-15)
  • Railway affiliate: Free $0 w/ $1/mo credit (plus $5 one-time trial credit); Hobby $5/mo incl. $5 usage (verified 2026-11-22)

No-code alternative

  • Voiceflow: Free trial (no card needed); usage-based billing, no public price list (checked 2026-11-15)

Rough monthly cost

$10–50/mo (speech minutes add up fast)Approximate. Tool prices checked 2026-11-15.

Difficulty

Advanced

Some links may be affiliate links. Disclosure

Why this stack

Step-by-step

  1. Run the Pipecat quickstart locally with your microphone.
  2. Swap in your own system prompt and a fast model.
  3. Measure end-to-end latency and keep replies short.
  4. Only then connect phone or Discord voice.

Common pitfalls

Customise this stack in the picker →

Related stacks

Last updated 2026-11-22.

📬 The Loadout

One weekly AI build loadout: a project idea, the stack to build it, and the tools worth knowing. Free, unsubscribe anytime.

Subscribe to The Loadout