
API / SDK Vapi
Vapi
Developer platform for building phone and web voice agents that combine speech-to-text, an LLM and text-to-speech.
What it is
Vapi is a developer platform for voice AI agents. Each assistant combines a transcriber, a language model and a voice from providers you choose, and Squads hand a call between several assistants while keeping context. You connect phone numbers or a web client and manage everything through the API, SDKs, a CLI or an MCP server.
What it's useful for
Building an inbound phone agent that answers customer questions and books appointments using your own prompt and tools.
Key features
- Assistants (one prompt plus tools and structured outputs) and Squads (multi-assistant transfers)
- Pick providers per layer, e.g. Deepgram or Gladia, OpenAI, Anthropic or Google, ElevenLabs
- Client SDKs (Web, React Native, Flutter, iOS) and server SDKs (TypeScript, Python, Java, Ruby, C#, Go)
- Hosted MCP server (https://mcp.vapi.ai/mcp, OAuth) to manage assistants, numbers and calls
- Vapi CLI and a docs MCP server
How to use it
Before you start
- Vapi account
- Vapi API key
npm install @vapi-ai/server-sdkpip install vapi_server_sdknpm install @vapi-ai/webcurl -sSL https://vapi.ai/install.sh | bashCommands are copied from the official documentation. Check the docs for the latest version before running them.
Limitations to know
- $0.05/min Vapi hosting fee plus provider costs (models pass through at cost; Twilio, Vonage and Telnyx bill telephony directly)
- The pay-as-you-go option has 4 concurrent calls; Core ($29/mo), Pro ($999/mo minimum) and Premier raise limits and add support SLAs
- Only $5 of free credits; there is no recurring free plan
Alternatives
ElevenLabs' platform for building, testing and deploying voice and chat agents for websites, apps and phone lines.
Platform to build, test, deploy and monitor AI voice and chat agents for phone calls, web calls and SMS.
REST API for ElevenLabs voice AI: text-to-speech, speech-to-text, voice cloning, sound effects, music and voice agents.
Real-time voice API: Sonic text-to-speech, Ink speech-to-text, voice cloning and Managed Agents for voice agents.
MCP servers for this
HubSpot's remote MCP server that lets agents read and update CRM records, activities and marketing content.
Related resources
Text-based video and podcast editor with the Underlord AI co-editor, Studio Sound, AI voices and an MCP connector.
OpenAI's proprietary GPT model family, with frontier, efficient, image and speech variants served through the OpenAI API.
Google's multimodal model family covering reasoning, image generation, speech, video and embeddings.
Fast hosted inference for open models, including LLMs and Whisper speech-to-text, through an OpenAI-compatible API.