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.

Updated August 30, 2026
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.

Choose a recording
01

The practical differences

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

Backend choice does not remove model cost

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

Use observable device behavior to choose

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.

Choose a file