/browser-llm

Browser LLM demo working on JavaScript and WebGPU

Primary LanguageTypeScript

Browser LLM demo working on JavaScript and WebGPU

WebGPU is already supported in Chrome, Safari, Firefox, iOS (v26) and Android (check)

Demo, similar to ChatGPT https://andreinwald.github.io/browser-llm/

Screenshot

  • No need to use your OPENAI_API_KEY - its local model that runs on your device
  • No network requests to any API
  • No need to install any program
  • No need to download files on your device (model is cached in browser)
  • Site will ask before downloading large files (llm model) to browser cache
  • Hosted on Github Pages from this repo - secure, because you see what you are running