Browser compute guide

WebGPU vs WebAssembly for local Whisper transcription

Both backends keep inference on the current device. WebAssembly is the compatible default; WebGPU can use supported graphics hardware but is not available everywhere.

Short answer

Start with WebAssembly when you want the broadest browser compatibility. Try WebGPU on a supported desktop browser and GPU when local processing is too slow, then switch back if model loading or inference fails.

01

How do WebAssembly and WebGPU differ?

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
02

What still matters after you choose a backend?

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.

03

What should you try when a backend fails?

  • 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.

04

Questions about this guide

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.

Transcribe on this device

Choose a supported audio or video file.

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