WebGPU vs WebAssembly for Whisper

Both run Whisper on your device. The choice changes which hardware does the work, browser compatibility and how you recover from failures.

Start with WebAssembly, the default backend. Try WebGPU on supported hardware if you want to compare processing speed. Switch back if model loading or transcription fails.

CPU or GPU: the practical differences

WebAssembly and WebGPU in Whisper Web
QuestionWebAssemblyWebGPU
Primary computeCPU through the browser runtimeSupported GPU through the browser
CompatibilityBroader fallbackDepends on browser, OS, driver and hardware support
Setup in Whisper WebDefault Tiny Q8 pathOptional backend selected by the user
Best first choiceUnknown or constrained deviceSupported desktop device that needs more throughput
Failure recoveryTry a smaller model or another supported fileReturn to WebAssembly if initialization fails

Model size still matters

Tiny, Base and Small models differ in download size, memory use and processing time. WebGPU may improve throughput on supported hardware, but it does not make every model suitable for every device.

The first run downloads the selected model. Whisper Web can reuse the browser cache later, unless the browser clears it or storage is unavailable.

Recover from a failed run

  • If WebGPU is unavailable

    Use WebAssembly. The transcription task does not require WebGPU.

  • If the device runs out of memory

    Choose a smaller model and close other heavy tabs before retrying.

  • If the first run appears slow

    Separate model-download time from transcription time before comparing backends.

Common questions

Is WebGPU required for Whisper Web?

No. WebAssembly is available as the compatible local fallback.

Is WebGPU always faster?

No. Performance depends on the browser, GPU, driver, model and recording. Compare on the device you actually plan to use.

Do both backends keep audio local?

Yes. In Whisper Web local mode, both backends process the selected media on the current device.

Put the guide into practice.

Your privacy choices

Allow Google Analytics and Plausible to measure visits and tool usage? Optional analytics stays off until you agree. Your files and transcripts are not included in product events. The tools work either way. Privacy Policy

Send feedback

Submitting sends your message, optional email, this page’s path and interface language to Whisper Web, stored with Cloudflare. Please leave out recordings, transcripts and sensitive information. Privacy Policy