WebLLM

Run LLMs entirely in the browser with WebGPU

访问官网

概览

Every LLM feature you ship usually comes with a server bill and your users' prompts leaving their machine. The browser tab, meanwhile, is sitting on a GPU doing nothing.

WebLLM runs the model right there in the page. This high-performance in-browser LLM inference engine runs models directly in the browser via WebGPU, with no server-side processing at all — and it still speaks the API shape your code already expects.

What you get

  • In-browser inference via WebGPU, no server required
  • OpenAI-compatible API for drop-in integration
  • Streaming output and JSON mode for real app behavior
  • Custom models alongside many open model families

How it runs

Everything executes on the visitor's own device: prompts are processed locally in the browser, never sent to a server for inference.

Who it's for

Developers who want LLM features in web apps without inference servers, per-token bills, or user data leaving the browser.

  • Turn ordinary WiFi signals into real-time spatial intelligence

    Edge On Device Inference
  • Edge-native MoE serving engine for frontier-scale open models on consumer hardware

    Edge On Device Inference
  • Open-source inference engine optimized for Apple silicon Macs

    Edge On Device Inference