Research preview

Private AI that runs on your own computer

WebSLM at webslm.org is a research-preview browser app for running open small language models locally on your computer. There's nothing to install, and your chats stay on your device.

Work in progress. The browser app works today for local chat, model downloads, and questions about your files. We are still testing model reliability, tool behavior, and device compatibility. Features may change; check important answers. Share feedback.

11 light models · 150 MB to 1 GB · WebGPU · free to use

The WebSLM app: a chat list on the left and Liquid LFM2.5 1.2B writing a polite email to a landlord, running on this device.

A real session: Liquid LFM2.5 1.2B on a laptop with integrated graphics, 8.5 tokens per second, all on the device.

What is WebSLM?

WebSLM is a free browser app for running small language models on your own computer. It downloads third-party models to your device, where you can chat and ask questions about your files. Its browser core runs llama.cpp through wllama.

Built by the WebSLM Studio project at webslm.org.

See WebSLM in one minute

A captioned walkthrough of the browser app, using screenshots from real sessions.

The video is silent and has captions on screen. It shows model choice, chat, a document question, and settings. Explore the open-source browser core.

Everything stays on your machine

A full chat app in a browser tab, built for everyday writing and reading, with no account needed to keep your words.

A chat with lease.pdf attached, asking for the rent, pet deposit and notice period. The model answers $1,450, $300 and 60 days.

Ask about your own documents

Attach a PDF, a Word document or a text file and ask questions about it. Your browser reads the file. It's never uploaded anywhere.

  • PDF, Word (.docx), Markdown, CSV, JSON, code and more
  • Drag and drop, paste, or use the paperclip
  • Long files are trimmed to what the model can read, and the app tells you
The model picker: recommended models with their size, quantization and licence, and Download or In use beside each.

11 light models, checked

Models from Google, Microsoft, Meta, IBM, Mistral AI, Alibaba Qwen, Liquid AI and Hugging Face, from 150 MB to 1 GB, so they run on most devices. Every file is verified before it's offered.

  • The app checks your device and suggests a model that fits
  • Each model shows its size and licence
  • Switch models any time, and remove them to free the space
The chat list, grouped into Today, Previous 7 days and Earlier. Settings: theme, run on processor or graphics chip, thinking, creativity, answer length, memory, and chat export and import.

Your chats, kept in this browser

Pick up where you left off. Chats are saved on this device only, with search, rename and delete, and you can export them to a file whenever you like.

  • Works offline once a model is downloaded
  • Tune creativity, answer length and memory
  • Runs on your graphics chip with WebGPU, or your processor

Why WebSLM

Useful AI shouldn't require giving away your words

Most AI asks you to hand over what you write

Using an AI assistant today usually means sending your text to a company's servers. For a client file, a medical note, a tenant's letter or an employee review, that's a step many people shouldn't take, and many workplaces don't allow it.

Small models became good enough

Models from a few hundred million to a few billion parameters are now genuinely useful for rewriting, summarizing, translating and drafting, and small enough to run on an ordinary laptop.

The browser became a real computer

WebAssembly and WebGPU let a web page run demanding code at close to native speed. llama.cpp, the open engine behind much of local AI, now runs in the browser.

So we put the two together

Open a page, pick a model and chat. The model runs on your machine, with a free sign-in before your first download.

Pick the model that fits

Not every computer is the same. WebSLM checks WebGPU, memory and storage, suggests a model that fits and flags any that may be slow.

Honest about the limits

Small models aren't the largest cloud models. They make mistakes and know less, so check the facts they give you. For a large share of everyday writing, they're the right tool.

How it works

Three steps, all on your machine

  1. 1

    Choose a model

    The app checks your device and suggests one of 11 light open models, from about 150 MB to 1 GB. Each shows its size and licence.

  2. 2

    Download to your device

    Your browser fetches the model file from Hugging Face and stores it locally while space is available. Later runs can skip the download, though loading still takes time.

  3. 3

    Chat privately

    llama.cpp runs the model on your device, using WebGPU when available and your processor otherwise.

Models

11 light models in the catalog

Models small enough to run in a browser tab on a laptop or desktop. We check their files on Hugging Face when we update the catalog. Downloads also depend on Hugging Face being available. WebSLM doesn't bundle or modify them.

Smallest first. Scroll for more. The app also offers 10 larger models for powerful computers.

Privacy

What stays on your device, and what doesn't

Never leaves your device

  • Your messages and the model's answers
  • Files you attach: PDF, Word and text (read by your browser, never uploaded)
  • Your chat history (stored in this browser; export it yourself)

What we keep

  • Your email address, for the free sign-in
  • Which models you download, with a coarse device class
  • Anonymous page visits (no cookies, Do Not Track respected)

The full details are in the privacy policy.

Before you start

Good to know: free software, open models

Free, and provided as is

WebSLM is free to use and provided "as is", without warranties of any kind. There is no paid support or uptime guarantee.

Answers can be wrong

Small models can produce confident text that is incorrect, outdated, incomplete or biased. Review everything before you rely on it or share it.

Not professional advice

Don't use WebSLM in place of medical, legal, financial or other professional advice, or to make decisions that significantly affect people.

Each model has its own licence

The models are made by Google, Microsoft, Meta, IBM, Mistral AI, Alibaba Qwen, Liquid AI, Hugging Face and others, not by WebSLM. You are responsible for following each model's licence and usage policy. For example, Liquid AI's LFM licence is free only for organizations under US$10M in annual revenue.

Your device does the work

A model takes about 150 MB to 1 GB of storage and more memory while it runs. Generating text keeps your processor or graphics card busy and drains battery faster. Use Wi-Fi for the first download if your data plan is limited. You can remove models at any time in the app.

Chats are saved in this browser

Your chat history stays in this browser only, until you delete chats or clear site data. You can export chats to a file to back them up or move them. On a shared computer, delete your chats when you're done.

Other services you connect to

Loading this site contacts Cloudflare Pages, downloading a model contacts Hugging Face, and signing in uses Supabase, which stores your email, your model downloads, and feedback you choose to send. If you choose an email link, Resend delivers it and Cloudflare Turnstile checks the form. If you choose Google or GitHub, that provider helps sign you in. Anonymous visit counts go to GoatCounter. Your prompts are not sent to any of them.

Built on open work

WebSLM runs models with llama.cpp through wllama, reads PDFs with pdf.js and Word files with mammoth. Its browser core and small demo are open source under Apache-2.0; the hosted site's account and feedback code is maintained separately.

FAQ

Questions

What does “research preview” mean?

You can use the browser app now, but WebSLM is still being developed and tested. Model answers, tools, and device support can vary, and features may change as we learn from use. Check important answers and send feedback when something fails.

Is it really private?

Your prompts and the model's answers are computed in your browser and never sent to us, because we don't run a chat server at all. What we do keep: your email address (for sign-in), a record of which models you download, and feedback you choose to send. Loading the site uses Cloudflare Pages, and models come from Hugging Face.

Why do I need to sign in?

So we can see how many people use WebSLM and which models they download, which tells us where to focus. Sign-in is free. Use an email link, or Google or GitHub when available. Models you've already downloaded keep working without signing in, and your chats are never part of it.

Can I attach files?

Yes: PDFs, Word documents (.docx) and text files such as .txt, .md, .csv, .json, .html, subtitles, logs and code. Click the paperclip, drag a file onto the message box, or paste it. Your browser reads the file; it's never uploaded. Scanned PDFs (images of text) can't be read yet. Small models can only read so much at once, so for long files the app tells you when only the first part fits, and you can raise Memory in Settings.

What does it cost?

Nothing. WebSLM is free to use.

What do I need?

A recent desktop browser on a laptop or desktop. Browsers with WebGPU (such as Chrome and Edge) are fastest; without it, WebSLM uses your CPU through WebAssembly. Light models are about 150 MB to 1 GB to download. Larger ones (1 to 2 GB) are offered for powerful computers only.

Which model should I download?

The app checks your device first: whether WebGPU is available, roughly how much memory your browser reports, your CPU threads and your free storage. It suggests a model and marks each one as a good fit, possibly slow, or too big for your free storage. These checks happen on your device. As a rule of thumb, start with Liquid LFM2.5 1.2B on a recent laptop and with LFM2.5 350M or SmolLM2 360M on older machines.

What happens when I switch models?

The current model is unloaded from memory but stays downloaded, and the new one loads (from your browser if you've used it before). Your conversation carries on: the new model sees the chat so far, and each answer is labelled with the model that wrote it. You can't switch while an answer is being written; press Stop first.

How do I remove a downloaded model?

Open the model picker at the top of the app: each downloaded model has a Remove link, and Settings has Remove all downloaded models. Removing a model frees the space right away and keeps your chats.

Is it as capable as the big cloud assistants?

No, and it isn't trying to be. Small models are best at rewriting, summarizing, translating and drafting. They can be wrong, so check facts.

Can I use it at work?

The WebSLM browser core is Apache-2.0. Each model has its own licence, shown next to it in the app. For example, Liquid AI's LFM models are free for organizations under US$10M in annual revenue, while Granite, Qwen3 and SmolLM2 are Apache-2.0. Check the licence and your organization's policies.

Does it work offline?

Yes. After your first visit and model download, the app and the model are cached by your browser, so you can keep chatting without a connection.

Something else? Send feedback.

WebSLM

Free to use. Runs in Chrome, Edge and other modern browsers on your laptop or desktop.