Vapi model migration guide
The migration guide
A safe migration starts with a good evaluation set: tests you run on your current model and the new one, so regressions show up before callers hear them. If you don’t have one, we recommend building it as simulations from your real calls. The process below does that with your coding agent (such as Claude Code or Codex) and Vapi’s three migration skills from the VapiAI/skills repository, then tests the new model on copies of your assistant. Your live assistant is never edited. It works for any model change.
These simulations test only the model’s behavior, not interruptions, endpointing, latency, or voice.
Before you start: Set your organization’s private API key from the API keys page in the dashboard as VAPI_API_KEY in your agent’s terminal, never in its chat. Have your assistant or Squad ID (or a transient assistant’s configuration JSON), your metrics, and your target model ready, then install the skills:
1. Map how your calls go
First, use the migration-flow-map skill to map how your assistant is used today. It asks for your team’s metrics, reads your system prompt and about 300 production calls (only the prompt and config for transient assistants or zero data retention), and outputs a flow tree, a tool catalog, a baseline for each metric, and a list of scenarios to test. This step can take a while.
2. Build the simulation suite and run the baseline
Next, use the migration-simulations skill to turn that list into a suite at one of two levels:
- Critical: core workflows, every ending, and must-never-break rules (10 to 25 scenarios). Cheaper.
- All: comprehensive coverage of every path and variation, so it costs more.
The scenarios run in chat mode with every tool mocked, as many times per scenario as you choose. The skill asks before starting, then runs them on a copy on your current model as your baseline.
3. Create the new-model version
Then use the model-migration skill. It loads the model card for your target model: how that model behaves differently from your current one, the prompt changes that helped, and its recommended settings. Cards exist today for moving from GPT-4.1 to Sapien, 5.6 Terra and 6.1 Terra, and 5.6 Luna and 6 Luna. The skill checks your prompt and tools and makes a copy on the new model with the card’s settings. While it builds that copy, it applies the card’s prompt changes that fit your prompt and lists each one for you. Then it runs the same suite.
The skill and the model cards get you started with the main changes we found. Your assistant may still need a few rounds of testing and prompt changes, and the next step is built for exactly that.
4. Compare, fix, and roll out
The skill compares the copies on your metrics and must-never-break rules, fixes what still differs with wording changes from the model card, and reruns until your metrics hold. Then check 5 to 20 core scenarios in voice and roll out to a small share of traffic first.
Migration starter prompt
The fastest way to do this migration is with a coding agent such as Claude Code or Codex. Paste the prompt below into it. The agent stops at checkpoints and won’t go on until you say so: to set up your API key and share your assistant details, to approve the scenario list, before each simulation run, and at the end, when it hands you the rollout plan to ship yourself.