How to Run Ollama Offline on Windows

How to Run Ollama Offline on Windows

If you want to chat with an AI model on your Windows PC without an internet connection, you can use Ollama. Install it and download a local model while you’re online. After that, you can disconnect and use the same model to draft a message, tidy up your notes, or ask a question.

The confusing part is that Ollama also offers cloud models. So, before you download anything, let’s see how the two options work and which one you need for offline use.

What Is Ollama and How Does It Work?

Ollama is an app that downloads and runs AI models. Think of Ollama as the program you open and Llama or Gemma as the model that writes the reply. You can switch models without reinstalling the app. On Windows, you can use the desktop chat app or run commands in PowerShell.

When you choose a local model, Ollama stores the model files on your drive and runs them using your PC’s hardware. A cloud model runs on Ollama’s servers and needs an internet connection. In PowerShell, a model name ending in :cloud is one to avoid for this guide.

Is Ollama Free, and Do You Need an Account?

You can install Ollama, download the local model used here, and run it offline without an Ollama account or subscription. An account and usage limits apply to Ollama’s cloud service. If you see a sign-in prompt, check whether you’ve selected a cloud model.

Can Your Windows PC Run Ollama?

Ollama supports Windows 10 version 22H2 and newer, including Windows 11. Its Windows documentation lists at least 4 GB of disk space for the app itself. Leave some extra room for your models. Check the download size in the Ollama library before choosing a model.

You don’t need to buy a graphics card just to try Ollama. Start with the PC you already have and a small model. The CPU can run the model using system memory. A supported GPU can make replies faster, especially as you move to larger models.

Love BounceGeek?

Add BounceGeek as a preferred source to find more of our tech guides and troubleshooting articles on Google.

The download size tells you how much space the file takes up on your drive. You’ll also need memory to load the model and hold the conversation while it runs. Once you’ve sent a prompt, open another PowerShell window and run ollama ps. If PROCESSOR says 100% CPU, the model is using system memory. A split between CPU and GPU means it’s using both.

Start with a small text model if you just want to see how local AI works. Try a short prompt first. A small model can help with simple rewrites and lists, but check its answers before relying on them.

How to Install Ollama and Download a Model on Windows

  1. While you’re online, download the Windows installer from Ollama’s official download page. Click on Download Manually, and setup file will start downloading. Setup file size is around 1.8 GB.
  1. Open OllamaSetup.exe, start the installation.
  1. Once Installation gets completed, click on Continue.
Install Ollamma to run offline
  1. Next, it will ask you to create an account, click on “No thanks, I”ll use Ollama locally”.
  1. Now, it will ask you to run a command in terminal. Open Windows Terminal (Admin), Type Ollama and press Enter.
  1. You will now see multiple options. Select Chat with a model and press enter.
  1. You will now see multiple models to choose from, choose any model and press enter. There are some models which work works on cloud only and you will see cloud written. So, select only offline models.

Note: Before you select any model, make sure you have enough space for it to download offline.

  • qwen3.5:4b – 6 GB
  • gemma4:12b – 11 GB
  • qwen3.8:27b – 28 GB
Select a offline model to download
  1. Once you download any model of your choice you can start using it offline.
  2. If you find these models heavy and you don’t have enough space than you can also download old models like 3.2:1b and test it in your PC. You can use these prompts in terminal.
ollama pull llama3.2:1b
  1. Or, alternatively you can use this to download and start chatting. You can check official documentation to learn about this model.
ollama run llama3.2:1b

How to Check That Ollama Works Offline

  1. Turn off Wi-Fi and unplug Ethernet if your PC uses it.
  2. Select the downloaded model in Ollama and start a new chat. Try a fresh prompt like Turn these notes into a checklist: charge my laptop, pack the cable, copy my slides.
  3. If the model replies with your internet connection off, you’ve confirmed it runs locally on your PC.

You can do the same check in PowerShell. Replace MODEL_TAG with the exact name shown by ollama list, then type a fresh prompt when the chat opens. Type /bye when you’re done.

ollama run MODEL_TAG

How to Disable Ollama’s Cloud Features

You can use the downloaded model offline without changing a setting. If you also want Ollama to use only local models while your PC is online, you can turn off its cloud features. This also disables Ollama’s web search.

  1. From the Start menu, open Edit environment variables for your account.
  2. Under User variables, click New. If OLLAMA_NO_CLOUD already exists, select it and click Edit.
  3. Set the variable name to OLLAMA_NO_CLOUD and the value to 1. Click OK to save.
  4. Quit Ollama from the system tray and reopen it from Start. The background app needs to restart for the change to take effect.

What to Check If Ollama Isn’t Working

PowerShell says ollama isn’t recognized. Close PowerShell and open it again after installing Ollama. If the command still fails, check that the Windows installer finished and try opening Ollama from Start.

It works online but tries to download something offline. Run ollama list and compare the exact name and tag with your command. If the model is missing, reconnect and let the download finish before you test again. If you’re using the desktop app, check which model is selected.

The model download stalls before it finishes. Press Win + R, type %LOCALAPPDATA%\Ollama, and press Enter. Open server.log and look for the error recorded when the download stalled. This helps you see whether Ollama reports a timeout or another download error. Keep the PC online until the download completes and the model appears in ollama list.

Replies take too long or the model won’t load. Close apps that are using a lot of memory and retry with a smaller model or a shorter prompt. While the model is running, open another PowerShell window and type ollama ps. The PROCESSOR column shows whether it’s using the CPU, the GPU, or both.

Where Does Ollama Store Models on Windows?

By default, look in %USERPROFILE%\.ollama\models. You can paste that path into the File Explorer address bar to open it. If you’re short on space, run ollama list to see what you have, then use ollama rm MODEL_TAG with the exact name shown in the list to remove that download when you’re done with it. You’ll need to download it again if you want to use it later.

Do Your Prompts Leave Your PC?

Ollama says it doesn’t receive your prompts or replies when you use a local model. Cloud models process them on Ollama’s servers, and web search uses an online service. If you just want an offline chat, choose the model you downloaded and test a fresh prompt with Wi-Fi off.

If you’ve connected a separate chat app to Ollama, check that app’s settings as well. It may have its own web search or other online features, even when the model itself runs on your PC.

Before you take your PC offline, download the model you want and try a short prompt with Wi-Fi off. Once that works, you can open the same model again whenever you need it.

Akshya
Written by

I am a full-time blogger and part-time programmer. I enjoy helping people with their tech-related problems.

More articles by Akshya →

Leave a Reply

Your email address will not be published. Required fields are marked *