STORY · VERKTOY_

WebLLM: high-performance AI inference directly in the browser

WebLLM is an open runtime for language models that runs directly in the browser with GPU acceleration via WebGPU, without server support. It supports OpenAI API compatibility and a range of models including Llama, Phi, Gemma, Mistral, and Qwen, with features like streaming, JSON mode, and structured generation.

WHY IT MATTERS

This makes it possible to run powerful language models locally on the user's device with full privacy and reduced latency, enabling AI assistants that work entirely offline in the browser.

SOURCES

MACHINE-GENERATED SUMMARY This summary is written by machine from the sources below. We sort and explain — but we are a way into the field, not the final word. Check the source when something matters to you.