Migrate
Migrate to PyAI from Vapi, Deepgram, or ElevenLabs
Each guide shows the before/after code, the exact field mapping, and the honest caveats. The first test is usually a base URL, a key, and a model id, then you replay real calls.
Switch from ElevenLabs to PyAI Speak
Same text-to-speech API shape - telephony-native, with free cloning.
Read the guideSwitch from OpenAI TTS to PyAI Speak
A genuine drop-in: change three lines, keep your code.
Read the guideSwitch from Deepgram to PyAI Hear
Streaming transcription tuned for 8 kHz call audio.
Read the guideSwitch from Bland AI to PyAI
Keep the phone-agent outcome. Lose the opaque bill.
Read the guideSwitch from Vapi to PyAI Omni
One engine instead of four vendors stitched together.
Read the guideSwitch from Retell to PyAI Omni
Keep the agent, drop the per-vendor plumbing.
Read the guideSwitch from OpenAI Realtime to PyAI Omni
Keep your agent logic. Adapt the realtime transport to Omni.
Read the guideSwitch from a Twilio DIY voice stack to PyAI
Keep the phone rails if you want. Stop building the AI loop yourself.
Read the guideOpenAI-compatible path
If your current stack already looks like OpenAI, the first test is usually four changes.
Most migration risk is not the SDK. It is proving quality, latency, and cost on real calls. Start with the smallest code change, then replay production-like traffic before switching the route.
Change the API surface
Point `base_url` at `https://api.pyai.com/v1`, pass a PyAI key, and map the model and voice ids shown in each guide.
Replay real calls
Compare latency, transcript quality, barge-in, audio format, and outcome rate on examples from your own business before moving live traffic.
Control spend before launch
Use free credits and test keys first, then add usage alerts and pick Omni API, the Agents feature, Hear, or Speak based on the job you are replacing.
FAQ
How long does a Deepgram to PyAI migration take?
Hear is OpenAI-compatible. Change the base URL and key, then replay real calls. Fifteen minutes is a representative first test, not a guarantee for every stack.
Can I migrate from Vapi without a rewrite?
Keep prompts, tools, and business logic. Adapt realtime audio and control events to Omni's native WebSocket. Start on one call path with a test key.
Where do I compare all-in price before I switch?
Use the compare pages and the Vapi, Retell, or Bland calculators. Packaged platforms advertise a platform fee; the all-in includes STT, LLM, TTS, and telephony.
Keep your code. Change your provider.
Start free with $50 in free credits - most migrations are a base URL, a key, and a model id.