Cancel Copilot: a free, private coding assistant in VS Code on your own laptop
No subscription, no usage limits, no code sent to anyone. Continue puts chat, one-instruction edits and grey autocomplete into VS Code, powered by two small models running on your own laptop.
- Real timings from an ordinary laptop with no graphics card, and the one setting that stops suggestions being cut off halfway
- An upgrade path to a stronger coding model when you have the hardware for it
- Ollama with
gemma4:e2bdownloaded. Not done that yet? Do Run a ChatGPT-style AI on your own laptop first (15 minutes). Gemma 4 needs Ollama 0.20.7 or newer: check withollama --version. - VS Code (free), and a folder of code to try it on. Any small project works.
- About 1GB of disk space for the autocomplete model and 230MB for Continue
- 16GB of RAM recommended: you'll have two small models loaded at once
Download the two local models
One model for chatting and editing, a tiny fast one for autocomplete. Both run in Ollama on your machine.
If you've done the Ollama lesson you already have Ollama and Gemma 4. If not, install Ollama first:
Windows (skip if you have Ollama)winget install --id Ollama.Ollama -eMac / Linux (or download the app from ollama.com/download)curl -fsSL https://ollama.com/install.sh | shNow download the chat model (skip if you have it) and a small model made for code completion. Qwen2.5-Coder 1.5B is the one Continue's own docs recommend for local autocomplete:
Terminalollama pull gemma4:e2b ollama pull qwen2.5-coder:1.5bThe coder model is 986MB, about a minute on a normal home connection. Check both are there:
Terminalollama listOutputNAME ID SIZE MODIFIED qwen2.5-coder:1.5b d7372fd82851 986 MB Less than a second ago gemma4:e2b b37049369adf 4.6 GB About an hour agoTipWhy two models? Autocomplete fires every time you pause typing, so it needs to be tiny and quick. Chat and edits need a model that's better at following instructions, and can afford to take longer.TipGot a graphics card or 32GB of RAM? Continue's docs list Qwen2.5-Coder 7B as the stronger open model for autocomplete. Runollama pull qwen2.5-coder:7b(4.7GB), then in step 3 changeqwen2.5-coder:1.5btoqwen2.5-coder:7bin config.yaml. On a laptop with no graphics card, start with 1.5B: the 7B model is several times bigger and noticeably slower to suggest.
ollama list shows both qwen2.5-coder:1.5b and gemma4:e2b.