Skip to content

How-ToGPU

How to Talk to a Local AI With Open WebUI Voice Mode

Open WebUI's Voice Mode turns a chat with a local model into a spoken conversation. Here's how to set it up with Ollama, local Whisper and Kokoro voices, use your GPU sensibly and fix microphone problems.

By , Systems & Technical Editor

6 min read

How to Talk to a Local AI With Open WebUI Voice Mode

Open WebUI's Voice Mode lets you hold a spoken conversation with a language model running on your own PC: you talk, it transcribes you with Whisper, the model replies, and a text-to-speech voice reads the answer back. This guide shows how to set it up with Ollama, local Whisper and the Kokoro voice engine (including British English voices), how to use your GPU, and how to fix the most common problems. Menu names can change between versions, so check the linked docs if something looks different.

What you need

  • Open WebUI connected to Ollama. If you haven't set this up yet, follow our guide to installing Open WebUI with Ollama first. These steps assume it runs in Docker.

  • A chat model. A small, quick model makes conversation feel more natural, because the first sentence is spoken only once it has been written. Our list of the best local LLMs for 16GB of VRAM is a good place to look.

  • A microphone and a supported browser. Open WebUI's troubleshooting notes say Chrome typically has the best support for web audio.

  • Optional: an NVIDIA graphics card for GPU-accelerated Kokoro. Everything below can also run on the CPU.

The model, Whisper and Kokoro all share your PC's resources. If your card's memory is already full with the chat model, keep Whisper on the CPU (the default) and use Kokoro's CPU version. See how much VRAM you need if you're unsure.

Step 1: Set up speech-to-text with local Whisper

Voice Mode always transcribes your speech on the server, using the speech-to-text engine the admin has chosen. The default engine is local Whisper, which needs no API key.

  1. Sign in to Open WebUI as an admin and open Admin Panel > Settings > Audio.

  2. Make sure the speech-to-text engine is the default local Whisper option, not Web API. If it is set to Web API, the Voice mode button is hidden.

  3. Optionally, tune Whisper with environment variables on the Open WebUI container, then recreate it:

  4. WHISPER_MODEL sets the Whisper model size. The default is base.

  5. WHISPER_LANGUAGE=en forces English, which the docs suggest if recognition is poor.

  6. WHISPER_MULTILINGUAL=true is needed for languages other than English, because the English-only model is used by default.

  7. WHISPER_COMPUTE_TYPE defaults to int8, the CPU default. The docs recommend float16 for CUDA GPUs.

Open WebUI's own documentation points out that for smaller Whisper models, CPU mode often performs comparably to the GPU, and that its :cuda image mainly speeds up document embeddings rather than speech-to-text. So you don't need the CUDA image just for Voice Mode. For more on Whisper itself, see our guide to transcribing audio locally with Whisper.

Step 2: Run Kokoro-FastAPI for natural voices

Your browser's built-in voices work, but a local neural voice sounds far better. Kokoro-FastAPI wraps the Kokoro-82M text-to-speech model in an OpenAI-compatible API, and Open WebUI's docs include a guide for it. Note that the Open WebUI team marks that guide as a community contribution rather than something it supports.

For an NVIDIA GPU:

docker run --gpus all -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-gpu

For CPU only:

docker run -p 8880:8880 ghcr.io/remsky/kokoro-fastapi-cpu

For the GPU version you may need to install the NVIDIA Container Toolkit first. Once it's running, Kokoro-FastAPI has its own web interface at localhost:8880/web, which is a quick way to check it works.

If you'd rather not run another server, there's a lighter option: pick Kokoro.js (Browser) as your text-to-speech engine under Settings > Audio. It generates speech inside your browser, using the GPU when the browser offers one and the CPU otherwise.

Step 3: Connect Kokoro to Open WebUI

In Admin Panel > Settings > Audio, set the text-to-speech options as follows:

Setting

Value

Text-to-Speech Engine

OpenAI

API Base URL

http://host.docker.internal:8880/v1 (Docker Desktop on Windows or Mac)

API Key

not-needed

TTS Model

kokoro

TTS Voice

bf_emma

According to Kokoro's voice list on Hugging Face, bf_emma, bf_isabella, bm_george and bm_lewis are British English voices, while af_bella and am_adam are American English. To hear the server's voice rather than your browser's, leave your personal Text-to-Speech Engine under Settings > Audio set to Default. If Open WebUI can't reach Kokoro, it's usually a Docker networking problem: on Docker Desktop use host.docker.internal rather than localhost, and if both containers are in the same Docker Compose file, use the service name, for example http://kokoro-fastapi-gpu:8880/v1.

While you're here, leave Response Splitting on Punctuation (the default). Voice Mode then speaks one sentence at a time as the reply streams, so a long answer starts playing before the model has finished writing it.

Step 4: Start a voice conversation

  1. Open a new chat and select one model. Voice Mode only talks to a single model at a time.

  2. Leave the message box empty. The Voice mode button takes the place of the send button.

  3. Click Voice mode and allow microphone access when the browser asks.

  4. Speak, then pause. Voice Mode sends what you said after about two seconds of silence, and the status line changes from Listening to Thinking.

  5. To stop the model mid-reply, tap its picture or the status line. Press M to mute your microphone.

  6. Click End call when you're done. The whole conversation stays in the chat as text.

To interrupt simply by talking over the model, turn on Allow Voice Interruption in Call under Settings > Interface. It's off by default; with it off, the microphone ignores everything while the model is speaking. If you switch it on, headphones help stop your speakers' sound being picked up as speech.

Step 5: Make it sound like a conversation

  • Voice Mode Prompt. While a call is on, Open WebUI adds instructions to the system prompt asking for short, warm, conversational answers. Admins can switch it off or write their own under Settings > Interface > Voice Mode Prompt.

  • Per-model voices. In Workspace > Models, you can give a model its own TTS Voice, which overrides your personal choice.

  • Speed. Speech Playback Speed in Settings > Audio changes how fast replies are read.

  • Show it things. Click Camera during a call to attach a still frame each time you finish speaking, or pick Screen Share to send your screen instead. This only helps with a model that can read images; see how to use vision models in Ollama.

Fixing common problems

  • Permission denied when accessing media devices. Browsers only allow microphone access on HTTPS or localhost, so opening Open WebUI by IP address from a phone or another PC usually fails. Use HTTPS, or open it on the PC itself. Our guide to sharing Ollama on your local network covers the networking side.

  • Select only one model to call. Remove the extra models from the chat.

  • No Voice mode button. The speech-to-text engine is set to Web API, or your account lacks the Allow Call permission (Admin Panel > Users > Groups).

  • It keeps listening and never sends. Steady background noise can keep it recording. Mute while it's noisy or move somewhere quieter.

  • Requested int8 compute type error. Your GPU doesn't support int8 for Whisper. Set WHISPER_COMPUTE_TYPE=float16 (or float32), or switch from the :cuda image to the standard one.

  • Poor recognition. Set the language explicitly with WHISPER_LANGUAGE=en.

If you'd like a lower-delay alternative that runs its own speech models on a 16GB NVIDIA card, compare Unmute vs Open WebUI Voice Mode, or see our round-up of the best local AI voice chat apps.

The bottom line

In Open WebUI's admin Audio settings, keep speech-to-text on local Whisper (not Web API), run Kokoro-FastAPI in Docker and connect it as an OpenAI text-to-speech engine at host.docker.internal:8880/v1 with the kokoro model and a voice such as bf_emma, then open a chat with one model, leave the message box empty and click Voice mode. Keep Whisper on the CPU if your graphics card's memory is needed for the chat model, use HTTPS or localhost so the browser allows the microphone, and consider headphones if you turn on voice interruption.

Sources

  1. 01Open WebUI documentation, Voice Mode
  2. 02Open WebUI documentation, Speech-to-Text configuration
  3. 03Open WebUI documentation, Speech-to-Text environment variables
  4. 04Open WebUI documentation, Kokoro-FastAPI using Docker
  5. 05Open WebUI documentation, Audio troubleshooting
  6. 06Hugging Face, hexgrad/Kokoro-82M voices list

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

How to Fix a Stretched or Blurry Screen Resolution in Windows 11

How-To

How to Fix a Stretched or Blurry Screen Resolution in Windows 11

A stretched, fuzzy or letterboxed screen in Windows 11 usually means your monitor isn't running at its native resolution. Here's how to fix it in Display settings, when to use Scale instead, and what to check if the right resolution is missing.

Marcus Thorne4 min

Best Free System Information Tools to See Exactly What's in Your PC (2026)

Best Picks

Best Free System Information Tools to See Exactly What's in Your PC (2026)

The best free system information tools for seeing exactly what's in your PC: HWiNFO, CPU-Z, GPU-Z, CrystalDiskInfo, Windows' built-in msinfo32, Speccy and Coreinfo, chosen from official developer pages, with advice on which to use for upgrades, used PCs and troubleshooting.

Hannah Vance5 min