Client side audio transcription using Parakeet v3 and WebGPU

Client side audio transcription using Parakeet v3 and WebGPU

https://ift.tt/pyJGAw5

Converting audio to text typically involves sending personal data to a remote server. This has always unsettled me due to privacy concerns and ongoing API costs. As browser technology evolved in recent years, I began exploring how to perform speech recognition entirely on-device, without relying on external servers.

Whisper from OpenAI appeared some time ago and quickly established the standard for open-source transcription. Developers did outstanding work porting it to run in the browser with WebAssembly and WebGPU. I initially tried building my project around Whisper. The accuracy is impressive, but the hardware demands are substantial.

Running Whisper locally in a browser tab often causes the entire page to freeze or lag. It requires a dedicated GPU to reach reasonable speeds. On a typical laptop CPU, a medium Whisper model can take longer to transcribe than the audio itself, which leads to a frustrating experience when someone just wants to transcribe a ten-minute meeting.

Transcrisper — Free Unlimited Audio & Video AI Transcription

I started looking for lighter options and found NVIDIA Parakeet v3. This highly optimized acoustic model is engineered for speed and efficiency. To make it work in a web environment, I built a library called parakeet.js. This change completely reshaped the performance dynamics of my project. The most noticeable difference versus Whisper in the browser is the raw execution speed: Parakeet processes audio far faster. Because the model architecture is considerably more efficient, it does not rely solely on heavy WebGPU compute pipelines and can run at a respectable pace on a standard CPU.

This is a major win for web development. Most web users do not own a dedicated graphics card. The ability to transcribe an hour of audio on a modest office laptop using only the CPU makes on-device machine learning far more accessible to the average person.

Transcrisper — Free Unlimited Audio & Video AI Transcription

The Parakeet solution also scales down well on mobile devices. Running Whisper in a phone browser typically crashes the tab due to tight memory limits from mobile OSes. Parakeet uses a much smaller memory footprint. I tested it on several recent smartphones, and the models load and run reliably. You can record a voice memo on your phone and transcribe it directly in your mobile browser without uploading anything to a cloud provider.

I built a web app called Transcrisper to showcase this technology. The goal was a simple interface where anyone can drop an audio or video file and receive text. The entire pipeline runs locally, so your media never leaves your device. No server uploads, and no backend databases are storing private conversations.

Transcrisper — Free Unlimited Audio & Video AI Transcription

I added speaker diarization so the output shows exactly when different people are speaking. This capability is often hidden behind costly subscriptions on commercial platforms. The app also exports standard text files and SRT subtitle files. Since the heavy processing happens on the user’s device, there are no server compute costs, allowing me to offer the tool completely for free with no artificial limits on file size or duration.

Managing browser memory remains the main challenge when building client-side tools. The browser must download the model weights on the first visit. I used the Cache API to store these files locally on disk. On subsequent visits, the model loads directly from the browser cache, making the application ready to use instantly without re-downloading megabytes of data.

You also must be careful with garbage collection in JavaScript when passing large audio buffers around. I spent a lot of time optimizing how the audio chunks feed into the model so the tab does not run out of memory on long podcast episodes.

Moving machine learning to the client side addresses major privacy concerns and eliminates expensive server costs. I expect many more applications to adopt this local-first approach as browser standards improve. You can try it here. I am eager to hear how it performs on various hardware setups, especially older CPUs and mobile devices. Share your thoughts in the comments.

HI-FI News

via DEV Community https://dev.to

April 16, 2026 at 12:14PM