How Open WebUI uses Azure AI Speech for voice
A team that wants voice input in Open WebUI has to settle one question before anything else: whether sending recordings to Azure cloud speech fits its data rules. Open WebUI supports a documented route for this. It can send each recording to Azure AI Speech's fast transcription API for speech-to-text. That path needs an Azure Speech resource in a region that offers fast transcription, so the region you pick is a compliance decision as much as a technical one. Confirm the current list of supported regions in Azure's documentation and check it against where your recordings are allowed to travel before you create the resource.
The integration covers both directions of voice. Speech-to-text turns a user's spoken prompt into text the model can read. Text-to-speech reads model replies aloud. Open WebUI documents a companion Azure text-to-speech guide alongside the transcription guide, so the two can be configured separately. Treat them as two data flows with two sets of questions. Recordings sent for transcription are user audio, which often contains personal or confidential content. Reply text sent for synthesis is model output, which may repeat sensitive material from the chat. Map both flows in your data inventory, and record which Azure resource, key and region each one uses.
The reader's first action is to write down the decision, not to deploy. Ask whether your policy allows audio, not only text, to leave your infrastructure, and whether it allows that for every user group or only some. If the answer is no for any group, Azure speech may suit the rest, and a self-hosted speech server may suit the sensitive group. Self-hosted speech keeps audio on your own servers, which is the trade-off to weigh against the operating effort of running it. The companion page on self-hosted speech-to-text and text-to-speech covers that route in detail. Confirm the Azure data handling terms, retention settings and resource ownership with your cloud and legal teams before the first pilot.
What you need before you configure Azure Speech in Open WebUI
Four things have to be in place before any audio setting in Open WebUI can work: an Azure Speech resource in a qualifying region, a Open WebUI version whose release notes confirm the Azure option, outbound network access from the host to Azure, and an administrator account to change audio settings. Check each one in order, because a gap in the first two usually shows up later as a silent failure.
Azure Speech resource and region
Fast transcription is only available in certain Azure regions, so the Speech resource must be created in one of them. Open WebUI sends each recording to the fast transcription API, which means the region you pick determines whether transcription works at all. Confirm the current region list in the Azure documentation before you create the resource, since availability can change. Record the region name exactly as Azure shows it, because you will need it during configuration.
Azure STT docsOpen WebUI version check
The Azure speech-to-text integration depends on the Open WebUI release you run, so confirm that your version includes it before planning the work. Check the release notes for the version you intend to deploy, and compare against the latest releases on the project's GitHub page. Upgrading to a newer release is a separate change, so test the audio path in a non-production copy first.
- Latest release checked
- v0.12.3
Outbound network egress to Azure
The Open WebUI server, not the user's browser, calls the Azure endpoint, so the host needs outbound HTTPS access to the Azure Speech endpoint for your region. Firewalls, egress proxies and private DNS rules in regulated networks often block this by default. Ask your network team to confirm the exact hostnames and ports from the Azure documentation, and test from the same host and container network that runs Open WebUI.
API key handling
The Speech resource issues keys that Open WebUI stores in its configuration to authenticate each request. Treat the key as a secret: keep it out of compose files and version control, and store it in your secrets mechanism. Confirm with the Azure documentation how key rotation works for Speech resources so you can replace a key without an outage. Decide who holds the key in Azure and who can view it in Open WebUI.
Administrator access for audio settings
Audio options such as the speech-to-text engine and its credentials are set in the Open WebUI admin area, so the person configuring them needs an administrator account. Regular users cannot change these settings, and a shared admin login makes later audit trails hard to read. Use a named admin account, confirm it works before you start, and record which administrators are allowed to change speech providers.
Data handling review
Recordings sent for transcription leave your infrastructure and go to Azure, which changes the data flow your privacy and security teams review. Before enabling the feature, confirm with your compliance owner whether voice data is in scope and whether Azure's processing terms match your requirements. If that review rules out cloud processing, plan a self-hosted speech server instead.
Configuring speech-to-text and text-to-speech step by step
This sequence connects Open WebUI to an Azure Speech resource so that voice input is transcribed by Azure AI Speech fast transcription and replies can be read aloud with Azure text-to-speech. It ends with a tested transcript in chat and audible playback on a reply, which confirms both directions work before users depend on them.
Confirm the region supports fast transcription
Before creating anything, check that the Azure region you plan to use offers fast transcription, because the Open WebUI integration needs a Speech resource in a region that supports it. The cloud administrator who owns the subscription should check the current regional list in Microsoft's documentation and confirm that your data residency rules allow that region. Done when the chosen region is written down with the approval from your compliance or privacy owner.
Create or select the Azure Speech resource
The cloud administrator creates a new Speech resource in the approved region or selects an existing one. From the resource's key management page, they copy one of the keys and the region name, then store both in your team's secrets manager, not in tickets, chat threads or shared documents. Done when the resource shows the expected region and the key is stored where the Open WebUI administrator can retrieve it.
Enter speech-to-text settings in admin audio options
An Open WebUI administrator opens the admin audio settings and selects Azure AI Speech as the speech-to-text engine. They enter the Speech key and region, then save. The Azure speech-to-text guide in the Open WebUI documentation lists the exact field names and any optional values to confirm before saving. Done when the settings save without an error and the region and key fields show the values you recorded.
Test fast transcription with a short recording
From a test account, record a short sentence using the microphone button in the chat input, using wording that contains no personal or confidential data, because each recording is sent to Azure for transcription. Send the recording and watch whether the transcript appears in the message input. Done when the transcript matches what was said. If it stays empty or errors, check the key, the region, and whether the Open WebUI server can reach the Azure endpoint through your outbound network path.
Configure text-to-speech with the companion guide
Follow the companion Azure text-to-speech guide in the Open WebUI documentation to set up read-aloud output, using the same Speech resource and region if your policy allows it. Choose the voice and any language settings the guide describes, then save the audio configuration. Done when you send a short prompt, receive a reply, and the read-aloud control plays audio that matches the reply text.
Record the data path and sign-off
Document which audio leaves your environment, which Azure region processes it, which user groups can use voice input and output, and where the keys are stored and rotated. Your privacy, security and compliance owners review and approve the record, and it is filed with the change ticket. Done when the approved record exists and the group permissions match what it describes, so the team can explain the setup to an auditor or customer.
How a voice recording travels from the browser to Azure
The diagram starts in the user's browser, which sends a voice recording to the Open WebUI server inside your network. The server reads the Azure Speech key from its own configuration and sends the recording to the Azure AI Speech fast transcription endpoint, which sits across the trust boundary in Azure. The transcript returns to the server and is stored in the chat history. For spoken replies, the server sends reply text to Azure text-to-speech and passes the audio back to the browser. Check which Azure region hosts your Speech resource, and confirm who can read the key and the transcripts.
Voice input and output cross the boundary to Azure; keys stay on the server.
Which settings and data each speech service receives
This table maps the Open WebUI audio settings for Azure to the Azure resource values they need, and shows what leaves your environment in each direction. Read it before you create the Speech resource, because region and key choices decide where recordings and generated audio are processed. Confirm field names against your Open WebUI version, since the admin settings screens change between releases.
| Setting | What it takes | What leaves your environment |
|---|---|---|
| Azure region | Region of the Speech resource, which must offer fast transcription for speech-to-text | Each recording is sent to the Azure region you select, so choose it against your data residency needs |
| Resource key | Key from the Azure Speech resource, entered in the Open WebUI audio settings | The key authenticates requests; it is not user content, but it must be stored as a secret |
| Speech-to-text engine | Set Open WebUI to use Azure AI Speech fast transcription as the STT engine | Each voice recording is uploaded to Azure for transcription, and the transcript returns to Open WebUI |
| Speech-to-text language | Language or locale setting used for transcription, as exposed in your version | The language setting accompanies the audio request; confirm whether any user metadata is included |
| Text-to-speech voice | Azure voice name selected in the audio settings for reply playback | The reply text is sent to Azure text-to-speech, and synthesized audio returns to the browser |
| Text-to-speech region and key | Usually the same Speech resource or a region you have confirmed in the companion guide | Reply text leaves the environment for synthesis, so apply the same residency review as for recordings |
| Transcript and metadata | Transcripts are stored by Open WebUI according to your chat retention settings | Confirm with Microsoft what Azure logs or retains for each request in your chosen region |
Securing Azure speech keys, recordings and transcripts
Voice input sends user audio to a cloud speech service, so the key, the people who can change audio settings, the content of recordings and the stored transcripts all carry risk. The cards below cover each of these controls in the order a security review usually raises them.
Store the Azure key as a secret
The Azure Speech key lets anyone who holds it call your Speech resource and bill its usage. Put it in your secrets manager or as a Kubernetes secret, then inject it into the Open WebUI environment at runtime, rather than saving it in the admin audio settings page or in a Compose file committed to source control. Check that the key does not appear in container logs, backups or exported configuration, and plan a rotation step that updates every replica at once.
Azure STT docsLimit who can change audio settings
Audio configuration decides where recordings go, which Azure region receives them and which key is used. Restrict changes to a small admin group and keep those accounts on SSO with multi-factor authentication. Use Open WebUI's role-based access control to decide which groups may use voice input at all, and review the admin role list after each onboarding wave. Treat any change to the speech endpoint or region as a change request with an owner.
Review what recordings contain
Voice input captures whatever a user says, including names, account numbers, patient details or legal matters, and the recording leaves your network for transcription. Before enabling the feature, define which teams may use it and what they may dictate, then test with realistic but synthetic phrases to see what the transcript keeps. Document this review as part of your data inventory so the privacy and security teams can approve the processing purpose.
Set transcript retention in chat history
Once a recording becomes text, the transcript is stored like any other chat message and stays in the database until someone deletes it. Decide how long chat history is kept, who may export it and whether users can delete their own conversations. Check backup retention too, because deleted transcripts may remain in older database snapshots. Confirm these settings in a test instance before the feature reaches production users.
Confirm residency for the cloud speech service
Audio sent to Azure AI Speech is processed in the Azure region that hosts your Speech resource, so the region choice is a data residency decision. Confirm with your legal and privacy teams whether that region and Microsoft's terms meet your obligations, and confirm that the region you pick offers fast transcription. If the answer is no for a class of data, keep that data on self-hosted speech servers instead of the Azure path.
Know when self-hosted speech fits better
A cloud speech service suits teams that accept the residency terms and want managed accuracy with little operations work. Self-hosted speech servers suit sensitive recordings, because the audio never leaves your infrastructure. The trade-off is that your team carries the model hosting, capacity planning and patching. Decide per user group where each path applies, and document that split before rollout.
When a self-hosted speech server suits sensitive data better
Azure keeps the speech models managed, but every recording leaves your infrastructure for a cloud service. A self-hosted speech server that exposes an OpenAI-compatible transcription and speech interface keeps audio inside your own network, at the cost of running the models yourself. Choose between them by asking where the audio may legally and contractually go, not by which product sounds more capable. Start with the data classes your users will actually speak about. Recordings that contain regulated personal information or health information, customer account data, or privileged legal discussion are the usual cases where the security or compliance team will ask for the audio to stay in-house.
Azure suits organizations whose speech use is general, whose data classification allows cloud processing under an agreed contract, and whose teams prefer a managed service to operating model servers. Confirm with your privacy and legal teams which contractual terms, data residency commitments and retention settings apply to the Azure Speech resource you would create, and check the current Azure documentation for them. A self-hosted route fits better when your data classification or customer contracts prohibit sending audio to a third-party cloud, when you already run GPU capacity and model operations, or when you need every voice interaction logged and governed within your own audit boundary. Its costs are the hardware, the model lifecycle and the people who keep it patched and available, so ask your own platform team to estimate those before you commit.
The self-hosted route is covered in its own sibling topic on speech-to-text and text-to-speech with OpenAI-compatible servers, so this page does not walk through that build. Use this decision as a gate: if a sensitivity review rules out cloud audio for any user group, route those users to the self-hosted option or disable voice for them, and document that choice in your data flow records. Where the answer is unclear, run a short pilot with synthetic recordings and review it with your security team before any real speech reaches Azure.
Why Azure speech fails in Open WebUI and how to fix it
This table pairs each common failure with its likely cause, the fix, and a check you can run yourself. Work through the rows in order, because region and key problems hide the later symptoms. The main takeaway is that most failures are configuration mismatches you can confirm from the Open WebUI host and the browser before changing anything else.
| Symptom | Likely cause | Fix and check |
|---|---|---|
| Transcription fails for every recording | The Speech resource sits in a region that does not offer fast transcription | Confirm the resource region against Microsoft's current fast transcription region list, then create or move the resource to a supported region and update the region setting in Open WebUI |
| Authentication errors on the first request | The key and region belong to different Speech resources | Copy the key and region from the same resource in the Azure portal, then test the pair with a single curl request from the Open WebUI host before saving it in the admin settings |
| Requests time out or cannot connect | The Open WebUI host cannot reach the Azure Speech endpoint because of egress firewall, proxy or DNS rules | From the container or VM, resolve and reach the regional Speech endpoint over HTTPS, and check the proxy variables Open WebUI inherits; allow outbound HTTPS to that endpoint in your firewall policy |
| Microphone button does nothing or shows no recording | The browser blocked microphone access, or the page is not served over HTTPS | Check the browser site permissions for the Open WebUI address, confirm the site loads over HTTPS with a valid certificate, and test the microphone on a second browser profile |
| Recording uploads but the service rejects the audio | The browser recorded a container or codec the fast transcription API does not accept | Record a short test clip, inspect its format and sample rate, and compare it with the formats listed in the Azure fast transcription documentation; change the recording path or convert audio before sending |
| Read-aloud works but transcription does not | Text-to-speech and speech-to-text use separate settings, so one may be configured and the other not | Verify the speech-to-text engine is set to Azure in the audio admin settings and that its key and region are filled in, then compare them with the working text-to-speech values |
| Works for some users but not others | Browser or device permissions differ per user, or a policy restricts microphone use | Ask an affected user to check the microphone prompt and the device input selection, and confirm no managed browser policy blocks audio capture |
| Errors appear only after a recent change | A key was rotated, the resource was recreated, or the environment variables were not reloaded | Compare the configured key and region with the current resource in Azure, then restart the Open WebUI process so the new values load and retest with a short recording |
Common questions about Azure AI Speech in Open WebUI
How much effort does setting up Azure AI Speech in Open WebUI take?
The configuration in Open WebUI itself is small, but the effort sits around it: provisioning an Azure Speech resource in a region that offers fast transcription, deciding who holds the key, and testing recordings across browsers and languages. Effort rises with the number of user groups, the languages your staff speak, and whether text-to-speech is also needed, since Open WebUI has a separate companion guide for it. Your Azure administrators and the team running Open WebUI will each carry a share. Ask any partner for a written scope that lists the Azure resources, the Open WebUI settings changed, and the test cases covered before agreeing a fee or timeline.
Can our own team set this up without outside help?
Often yes, if you already run Open WebUI and have someone comfortable with Azure resource management, keys and environment configuration. The steps follow Open WebUI's Azure speech-to-text documentation. The parts teams most often underestimate are region selection, secret handling, and proving that recordings go where you expect. If nobody on your team has deployed Azure services before, or your Open WebUI installation runs across several replicas, a partner review of the configuration may save time. Either way, document who owns the Azure resource and who can rotate its keys.
What do we need to provide for an Azure AI Speech integration?
Plan to provide four things before work starts:
- An Azure subscription where your team can create or use a Speech resource in a supported region.
- An administrator for Open WebUI who can change environment settings and restart the service.
- A named owner on the Azure side for keys, access roles and billing alerts.
- A test plan that lists languages, microphone types, expected transcripts and users who will try the feature.
Without the test plan, acceptance becomes a matter of opinion. Agree the plan with your security and privacy contacts so that sign-off covers both accuracy and data handling.
Does sending voice recordings to Azure meet our data protection rules?
That depends on your obligations, not on the feature alone. With this integration, each recording is sent to Azure AI Speech's fast transcription API, so the audio leaves your infrastructure and is processed by a cloud provider. Check the data processing terms, data residency commitments and retention settings that apply to your Azure agreement, and compare them with your classification rules for voice content. Speech often contains personal or client data, so involve your privacy and compliance leads early. DeployOpen can prepare the configuration and evidence for your review, but the approval decision stays with your organization and its auditors.
What drives the Azure cost of speech-to-text, and where do we get the figures?
Your Azure bill depends on how much audio you transcribe and which Azure speech features you use. Usage volume, the number of active users, and whether text-to-speech is enabled are the main drivers. Each deployment also carries setup work, which is a one-time cost, and ongoing review of usage, keys and access, which recurs. Get current rates and any regional differences directly from Azure's pricing pages or your Azure account representative, because they change. Ask any implementation partner to show the assumed usage volume behind its quote so you can rerun the numbers yourself.
When should we run a self-hosted speech server instead of Azure AI Speech?
Choose a self-hosted speech server when audio must not leave your infrastructure, when your data rules forbid external processing for certain groups, or when you need to keep voice data inside a network you control. Open WebUI can point at OpenAI-compatible transcription and speech servers that you run yourself, which is the approach described in its self-hosted speech documentation. Expect more operational work with a self-hosted option: you own model hosting, capacity planning, updates and accuracy testing for your languages. Azure is usually the simpler route for teams without that capacity, provided its data terms meet your requirements.
What should we test after the Azure AI Speech integration goes live?
Test the path a real user takes, then the parts that fail quietly. Check transcription accuracy in each language your staff use, behavior with long recordings and poor microphones, and what happens when the Azure key is invalid or the region is unreachable. Confirm that logs do not store audio or transcripts beyond your retention policy, and that only authorized groups can use voice input. Repeat the checks after Open WebUI upgrades and after any change to the Azure key or region, since either can break the integration without an obvious error in the chat window.
Where to confirm the Azure speech integration details
The next read for this integration is the Open WebUI documentation page on Azure AI Speech for speech-to-text. It explains how each recording is sent to the Azure AI Speech fast transcription API, which settings in the Open WebUI admin area hold the Speech resource details, and what the companion Azure text-to-speech guide covers. Read it against your own Open WebUI version, since audio settings can move between releases, and keep a copy of the exact version you tested so later upgrades can be compared against it.
Confirm two things before you commit to this design: that your Azure Speech resource sits in a region that offers fast transcription, and what Azure charges for the transcription and speech services you plan to use. Check region availability and pricing in Azure's own documentation for the Speech service, then confirm them with your Azure account team, who can also explain committed-use or enterprise terms. Record the answers with the date you checked them, because both region lists and rates change. Also confirm where audio data is processed and retained under your Azure agreement, since that decides whether this option fits your data classification.
How DeployOpen scopes and delivers Open WebUI voice integrations
DeployOpen treats Azure AI Speech as one part of a wider Open WebUI deployment, so the speech path is scoped with the identity, data handling and network controls around it. We plan the Azure Speech resource, region and connection settings, then build, test and document the integration inside your own infrastructure. Engagements are fixed-scope, with the written scope agreed before work starts.
How we scope
- Confirm which speech flows are in scope: speech-to-text, text-to-speech, or both, and which user groups use them.
- Check that an Azure Speech resource exists in a region that offers fast transcription before committing to the design.
- Record what audio leaves your network, how long recordings are retained, and who may access them in Azure.
- Agree the scope, deliverables and timeline in writing before any configuration begins.
How we build
- Configure the Open WebUI speech-to-text settings for Azure AI Speech fast transcription using your resource and region.
- Set up the companion Azure text-to-speech path and confirm which voices and languages your users need.
- Test transcription accuracy, latency and failure handling with recordings representative of your users, including error responses.
- Review secrets handling for Azure keys, and confirm that keys are stored outside code and shared configuration files.
How we hand over
- Document the resource, region, configuration keys and the data flow of every recording sent to Azure.
- Provide a runbook covering key rotation, quota checks and what users see when the Azure service is unavailable.
- Walk your platform, security and compliance teams through the data handling design so they can review it.
How we support
- Offer ongoing support, upgrades and continuous testing for the speech integration as a retainer.
- Retest voice features after Open WebUI upgrades, since speech settings can change between releases.
- Advise on when a self-hosted speech server fits sensitive data better, and scope that alternative separately if you choose it.

