Migration Assistance - Get expert help migrating your business workloads to Neon.
Case Studies

How Vapi Uses Neon to Power the Next Generation of Voice Agents

Let AI handle your conversations. Build it with Vapi

Post image

The time is now: you can build voice AI apps that converse with humans using just a few API calls. With Vapi, you can create voice AI agents that donā€™t just understand users but also respond naturally and dynamically, just like a human. Check this recording out, where James schedules a plumber via Sam (the AI):

Another šŸ¤Æ one, where an AI Healthcare Assistant gives a patient tips for her migraine:

Building something like this is much easier than you think thanks to Vapi. They integrate state-of-the-art language models, text-to-speech engines, and telephony infrastructureā€”all so you can focus on building without the complexity.

Adding an AI voice to your apps

A few ideas of cool things you could build:

  • 24*7 customer support. Create AI-driven voice agents to handle routine queries, manage call routing, and provide on-demand assistanceā€”drastically reducing wait times so your support team can focus on complex issues.
  • Product onboarding. Embed a voice agent into your SaaS platform to onboard new users and answer their initial questions.
  • Sales roleplay. Train your sales team with AI-driven calls for practicing pitches, objection handling, and customer engagement scenarios.
  • AI recruiter. Automate candidate screenings with voice interviews that adapt questions based on responses, ensuring consistent evaluation while freeing recruiters to nurture screened candidates.
  • AI health assistants. Manage personal wellness and chronic care through voice-enabled health tracking, from daily routines to medication reminders.
  • AI storytime. Design playful, interactive apps for kids that respond to their questions and commands to create dynamic stories.
  • Executive coaching. Build a training app that simulates tough conversationsā€”like performance reviews or negotiation trainingā€”for managers.

What sets Vapi apartĀ 

Advanced voice capabilities

Vapi goes beyond conversation. Its function-calling feature enables voicebots to perform tasks like booking appointments or retrieving data. With multilingual support for 100+ languages, you can serve a global audience without rebuilding your entire voice flow.

Real-time performance

Vapi is also built for speed. Its proprietary endpointing model ensures conversations flow naturally, without awkward pauses or cut-offs. WebRTC streaming, combined with a private internet backbone, keeps call quality consistently high.

Massive scalability with flexible deployments

When itā€™s time to scale to millions of concurrent calls, Vapiā€™s infrastructure has you covered. Vapi also offers on-prem deployments, allowing you to run it in your own cloud.

Scaling voice agents with NeonĀ 

ā€œNeonā€™s serverless model is a perfect fit for us. Some of our AI voice agents handle thousands of calls in an instant, and then traffic drops off just as fast. With Neon, we donā€™t have to think about scalingā€”it just happensā€ (Tejas Siripurapu, Founding Engineer at Vapi.ai)Ā 

Now, letā€™s take a look at Vapiā€™s database layer.Ā 

Vapiā€™s AI voice agents handle dynamic, unpredictable workloads. Some of Vapiā€™s customers have a steady flow of interactions, while others trigger massive spikes (like outbound sales campaigns or a rise in customer service requests) that can generate thousands of concurrent calls.Ā 

This load variability makes traditional database provisioning very inefficient. For this reason, Vapi turned to Neon (serverless Postgres) to support their workload.

Autoscaling for spiky workloads

Neon now powers all of Vapiā€™s business-critical Postgres workloads. While Vapiā€™s database workload is primarily read-driven, write operations spike in real time as calls are processed. Call metadataā€”such as events, status updates, and token usageā€”is written to Neon instantly. The database scales up when demand surges and scales down when traffic dips.

Vapi migrated from Supabase to Neon for exactly this reason: real-time autoscaling. With Neonā€™s serverless architecture and compute and storage autoscaling, the Vapi team no longer has to worry about overprovisioning or hitting performance ceilings.

ā€œDatabase migrations are always a headache, but the Neon team made it a smooth process. Their support helped us troubleshoot performance issues and get everything running fastā€ (Tejas Siripurapu, Founding Engineer at Vapi.ai)

Reliable connection pooling

Connection pooling is critical for Vapi. To efficiently manage their thousands of concurrent voice interactions, Vapi uses Neonā€™s connection pooler, built on PgBouncer. Like all resources in Neon, concurrent connections scale automatically with load: as compute autoscales up and down, the pooler adjusts dynamically, supporting up to 10,000 concurrent calls.

ā€œWe love that Neon just uses PgBouncer under the hoodā€”no unexpected behavior, no surprises. It keeps our database connections stable, even under heavy loadā€ (Tejas Siripurapu, Founding Engineer at Vapi.ai)

Streaming replication to ClickHouse via PeerDBĀ 

Postgres isnā€™t the only data store in Vapiā€™s stack. To support log analysis and reporting, Vapi streams data from Neon to ClickHouse via PeerDB.Ā 

Some logs are written directly to ClickHouse, while others pass through Neon first before being replicated. This setup allows Vapi to correlate structured call data with raw logs, providing a more comprehensive view of interactions.

Start buildingĀ 

Vapi makes it easy to add real-time voice AI to your apps. Try it out and share what you build on X and Linkedin. Vapi is also hiring for plenty of positionsā€”check out their open roles here.


Neon is a serverless Postgres platform with autoscaling and built-in connection pooler, perfect for applications with spiky traffic patterns like Vapi. Get started today with Neonā€™s Free Plan, and scale from there all the way to production.