Guides / Walkthrough

A first run

Run an SLM locally in your browser.

WebSLM lets a text model answer on your computer without installing a desktop app. The first run downloads a model file; later chats use the file stored by your browser while it remains available.

What you need

A recent desktop browser, enough free storage for a model file, and an internet connection for the first visit and download. WebGPU can speed up inference; WebSLM can use the processor when WebGPU is unavailable.

The steps

  1. Open WebSLM on a laptop or desktop.

    The app checks the capabilities your browser reports, such as WebGPU and available storage. These checks happen on your device.

  2. Open the model picker and choose a light model.

    Start with the app’s suggested model or compare the sizes and licences in the picker. If your computer is older, choose a smaller download. The selection guide gives examples.

  3. Select “Download & start” and sign in if asked.

    Sign-in is free and uses a link sent to your email. Open that link in the same browser that requested it, then return to the app. WebSLM records your email and model downloads, as explained in its privacy policy.

  4. Wait for the download and loading to finish.

    The model file comes from Hugging Face and is stored locally by your browser. This can take a while, depending on file size, connection, hardware, and availability of the third-party download. Even a cached model takes time to load into memory.

  5. Type a short request and check the answer.

    For example, ask it to rewrite a paragraph in plain language. The model produces the answer on your device. Smaller models can still be wrong, so review any facts or decisions that matter.

Where do my words go?

Your chat prompts, answers, and attached document text are processed in your browser; WebSLM does not run a remote chat server. The first visit loads site files from Cloudflare Pages, the model download contacts Hugging Face, and sign-in uses external services. Those connections do not receive your chat prompts from the app. Read the full privacy policy before using sensitive material.

Can I use it offline later?

After the app files and a model are downloaded, WebSLM can keep chatting without a connection. Browser storage is not guaranteed forever: clearing site data or storage pressure can remove cached files, in which case you must download the model again. You can remove a model yourself in the picker or remove all downloaded models in Settings.

If the model does not start

  • Try a smaller model and check your free storage.
  • If WebGPU is unavailable, let the app use the processor and expect a slower response.
  • If a download fails, check your connection and try again later; model files are hosted by third parties.
  • If the sign-in link does not work, request a new one and open it in the same browser.

For model files outside the browser app, the independent WebSLM model directory links to publishers, Hugging Face model cards, licences, and download guidance. A directory listing does not mean that model runs in WebSLM’s browser app.