On-prem voice AI for insurance runs a whole claims or policy call inside the insurer's network, with the voice agent platform, local speech and language models, recordings and transcripts on its servers and calls arriving through its own PBX. Insurers can run Dograh, the open-source AI voice agent platform, there on open-weight models reaching claims systems through APIs they control.
Key Takeaways
- Self-hosting the platform is half the job, so run the models in-house too.
- NAIC Model Law #668 asks insurers to vet and bind third-party service providers.
- Dograh reaches claims systems through a thin API layer you write and control.
Insurers take some of the most sensitive calls any business handles, and many want them kept inside their network. We cover why, every place a call goes, an architecture on local models and the link to the claims system. The post closes on hardware and upkeep for running Dograh on-prem.
Why insurers keep policyholder calls in house
A first notice of loss call can carry health details, trauma and bank details in a few minutes, from a caller who is often upset. Policy calls add names, addresses and coverage. Every outside company that hears or stores those calls is one more party the insurer has to vet, contract with and keep checking.
Insurance regulators say so directly. Section 4F of the NAIC Insurance Data Security Model Law, Model #668, asks a licensee to exercise due diligence in selecting its third-party service providers and to require each one to protect the systems and nonpublic information it can reach or holds. It applies in the states that have adopted it.
The NAIC's AI model bulletin adds expectations for AI systems from third parties, which our guide to AI voice agents for insurance covers. In the EU, the Digital Operational Resilience Act (DORA) has applied since 17 January 2025 to insurers under Solvency II, including its rules on risk from outside technology providers. A voice platform and its model providers are exactly that kind of provider. Running the call inside your own network shrinks the list of outside parties, but it does not remove the duties these laws place on the insurer itself. How each rule applies depends on your licenses and the states and countries you serve, so confirm your position with counsel before you choose where calls run.
Every place a claims call goes
A claims call touches more systems than its recording. The carrier carries the audio to the voice platform, which streams it to a speech-to-text model, sends the words to a language model and speaks the reply through a text-to-speech model. Afterwards the call leaves a recording, a transcript and gathered answers, and possibly traces, webhooks to other systems and usage telemetry.
On full on-prem, everything except the carrier runs on the insurer's servers. The platform, the three models, the recording storage and the database all sit inside the network, traces go to a Langfuse server you run if you collect them, and telemetry can be switched off when you self-host. Webhooks go only to systems you name.
When a vendor hosts the stack, even one that runs its own models, the policyholder's call still sits on that vendor's servers. The difference is who holds the records and whether your own auditors can read the code that handles them. Our guide to AI voice agents for insurance claims walks through the six calls a claim usually involves.
The architecture with local models
The platform half is a set of containers. Dograh runs in Docker on an internal server, with PostgreSQL for transcripts and gathered answers, MinIO for recordings, Redis, nginx, the API and the UI. The Docker deployment guide asks for at least 8 GB of RAM and 4 vCPUs, and a server on a private IP gets a self-signed certificate.
The model half is a separate choice. Dograh runs the call flow, tools and telephony, while the speech and language models sit in their own layer that you pick. Hosted providers on your own keys still receive the caller's audio, because a key of your own puts the contract in your name while the audio still travels to the provider. Full data sovereignty needs open-weight models on your own servers, and the "Local Models (Speaches)" provider connects an OpenAI-compatible language model plus Speaches for speech-to-text and voices.
A stack that fits one 24 GB card is Qwen3.8 27B quantized to 4 bits for the language model and Parakeet TDT 0.6B v2 for speech-to-text, which together leave room on the card. For voices, Magpie TTS gives fixed voices under NVIDIA's own open model license, so it is open weights rather than open source, while Chatterbox, under MIT, can clone a voice. Our post on GPU sizing for self-hosted voice agents sizes cards by concurrent calls.
Open Source Alternative to Vapi / Retell
Self-hosted voice agent platform — no per-minute fees
dograh-hq/dograh
Star on GitHub
The phone path through your own PBX
The carrier is the one part of the call an insurer chooses rather than removes. An insurer with its own phone system can connect it to Dograh through Asterisk ARI, so calls go from its trunk straight to servers it runs, as 8 kHz mu-law audio. ARI works with Dograh Cloud as well, so the same phone setup carries over if you start hosted and move in later.
Transfer Call works on Asterisk ARI, as it does on Twilio, Telnyx, Plivo and Cloudonix. Dograh calls the destination first and connects the caller only when someone answers, so a policyholder who asks for an adjuster reaches a person on your own lines. Keep recording at the carrier and the PBX off where you can, and let the platform store the one recording on your servers.
Connecting the agent to the claims system
Dograh talks to a claims system through API calls you define, at three points in the call, and an on-prem insurer usually wants it that way. Before the greeting, Pre-Call Data Fetch at the bottom of the Start Call node sends a POST with the caller's details to an endpoint you run, which can return an open claim number and the adjuster's name. During the call, an HTTP API tool can look up a claim's status or open a first notice of loss record, and on a self-hosted install it can call addresses on your private network. After the call, a Webhook node posts the outcome and the gathered answers, adds a call_disposition key, and retries temporary failures, up to five attempts in all.
Put a small service of your own between the agent and the claims system. The agent receives the whole reply of every tool, so the service returns only the fields the call needs, holds the claims system's credentials and logs each request. Guidewire is a useful example of why. Its ClaimCenter Cloud API does not support basic authentication in production, so production callers use a bearer token from Guidewire Hub, issued for a client ID and secret, and API roles decide which endpoints each caller can reach.

If the claims system itself runs in a vendor's cloud, the call record stays on your servers, but every field the agent writes goes where that system lives. Keep documents out of the call too. When a claim needs photos or forms, the agent asks your system to send a secure upload link instead of taking details by voice.
Join the Dograh Community
Dograh is an OSS alternative to Vapi. Join our Slack community for queries, releases, best practices & community interactions.
Hardware, upkeep and who owns it
On-prem moves uptime, upgrades and backups to the insurer's own team. Plan for a platform server at or above the minimum, a GPU server for the models, and enough of both for your peak hour. A self-hosted install runs 10 concurrent calls by default, raised with one setting, while the servers and cards set the real ceiling.
Upgrades are yours to schedule. Pin a release, back up the database first and place test calls after each update, as our guide on how to update a self-hosted voice agent platform safely lays out. Back up PostgreSQL and the MinIO recordings on the same schedule as your other claims data, and set your own retention policy, since records stay until that policy deletes them. Monitoring needs a plan before launch. A QA node scores sampled calls step by step, and a Langfuse server you run keeps per-turn traces inside the network.
Your team can describe each agent in plain language to the Agent Builder and fine-tune it on the canvas. The builder runs on Dograh's models, so the install connects to a free Dograh account to use it, and on a closed network with no internet access your team builds on the blank canvas by hand. Our tutorial on how to deploy a voice agent on-prem, step by step covers the install, the models and what may reach the internet.
Support, cost and the Enterprise plan
When you self-host Dograh, there is no per-minute platform fee. Servers, GPUs and phone minutes still cost money, and with local models there are no model keys to pay for, but your team looks after the database, the models and upgrades. Support on the open-source version comes from the community.
Insurers that want a contract around on-prem can take Dograh's Enterprise plan, which covers on-prem deployment inside your data perimeter, SSO and SAML, audit logs and custom SLAs. Teams that start with a pilot on hosted models can also run Dograh Cloud for a 1¢-a-minute platform fee, then move the calls in-house once the flows are proven.
Glossary
- Third-party service provider
- Under NAIC Model Law #668, an outside company that can reach or holds an insurer's nonpublic information. A hosted voice platform or model provider can be one.
- First notice of loss
- The first report of a claim to the insurer, often a phone call soon after the loss, which opens the claim record and starts the claims process.
- Asterisk ARI
- The Asterisk REST Interface, which lets Dograh control calls on an insurer's own Asterisk phone system, so calls reach the agent without a hosted carrier platform in between.
- Bearer token
- A short-lived credential sent with each API request. Guidewire's Cloud API uses one from Guidewire Hub in production instead of a username and password.

