You don’t need a ChatGPT subscription or an expensive computer to experiment with AI models. Ollama makes it possible to download and run AI models directly on your Windows PC.
It comes with a desktop application that provides a ChatGPT-like interface, supports cloud-hosted models, and allows you to connect local models to AI coding assistants such as Cline. In this guide, we’ll install Ollama, download and run a model, explore its desktop features, and connect it to coding tools.
What Is Ollama?
Ollama is a tool for downloading, running, and managing AI models on your computer. It supports popular model families such as Qwen, Gemma, Llama, and many others. When you run a model locally, your computer performs the processing using its CPU and GPU. Once downloaded, the model can be used without an internet connection.
You can also use Ollama’s cloud-hosted models. These run on remote servers, allowing you to experiment with larger models without needing powerful hardware.
System Requirements and Limitations
You don’t necessarily need a dedicated graphics card to run Ollama. It supports CPU-based inference, although performance depends on your hardware and the model you choose.
Here are a few things to consider:
- RAM: Larger models require more memory. Smaller models are more suitable for computers with limited RAM.
- Processor: A capable CPU can run local models, but response generation may take longer than with GPU acceleration.
- Graphics card: A compatible dedicated GPU can significantly improve response speed, particularly when it has sufficient VRAM.
- Storage: Models can occupy several gigabytes of disk space. Larger models require considerably more.
The actual difference between CPU and GPU performance depends on the processor, graphics card, model size, and available memory. Even a computer with a dedicated GPU may need to use system RAM when the model doesn’t fit entirely into VRAM.
For an ordinary computer, start with a smaller model and increase the size according to your hardware. If your PC struggles with larger models, Ollama Cloud is another option.
1. Install Ollama on Windows
Download the Windows installer from the official website:
Run the installer and follow the instructions. Once installed, Ollama runs in the background and makes its command-line tools available through PowerShell and Command Prompt.
Open the Ollama application to access its desktop interface.
The application has three main sections:
- Apps: Browse integrations with coding assistants and other AI applications.
- Chat: Download models and interact with them through a conversational interface.
- Settings: Configure cloud access, network access, model storage, and context length.

2. Download an AI Model and Start Chatting
You don’t have to use PowerShell to download every model. Ollama’s desktop application includes a model selector directly inside the Chat section.
Open Chat and click the model selector near the message box. You’ll see a list of available models.
The list contains local models as well as cloud models identified by a cloud icon.
Choose a local model and send your first message. If it hasn’t been installed, Ollama automatically downloads it before generating a response.
Once the download is complete, you can chat with the model just as you would with ChatGPT.

What If the Model You Want Isn’t in the List?
The model selector displays only a selection of available models, not the entire Ollama library.
Visit the Ollama Model Library to browse other options. Open the model you want and copy its command from the CLI section.
For example, to download Qwen 3.5 4B using PowerShell:
ollama pull qwen3.5:4b
To download and immediately start chatting with a model, use:
ollama run qwen3.5:4b
The run command automatically downloads the model if it isn’t already installed. Once downloaded, it can also be selected in the Ollama desktop application.
Here are some other useful commands:
List downloaded models:
ollama list
Check currently running models:
ollama ps
Remove a model you no longer need:
ollama rm qwen3.5:4b
Replace the model name with the exact tag you want to manage.
Model downloads can also appear in multiple progress stages. During my Qwen 3.5 4B download, Ollama first displayed approximately 644 MB and then started another download of around 2.5 GB. The first progress indicator wasn’t the complete model download.
3. Configure Ollama Settings
Open the Settings section to access a few useful options.
Model Location
Ollama stores downloaded models on your computer. The Settings page displays the current storage location and lets you change it.
The default Windows location is:
C:\Users\YourUsername\.ollama\models
You can move model storage to another drive if your system drive has limited space. Use the Model location option in Settings and select the new folder.
Context Length
Context length determines how much information a model can consider at one time. This includes your current prompt, previous conversation and information supplied by other applications.
Ollama uses a default context length of 4K tokens. You can adjust it using the slider in Settings.
For normal conversations, 8K tokens is a reasonable starting point. For coding assistants and longer tasks, you may need 32K or more, provided your hardware has enough memory.
Larger context windows increase memory requirements. Setting the maximum value doesn’t automatically improve every response, so choose a value that suits your workload.
When connecting Cline, also check its Model Context Window setting. It should be consistent with the context length available from Ollama. Don’t simply copy a very large value from another configuration.

Expose Ollama to the Network
By default, Ollama is accessible only from the computer on which it is installed. Its local API uses:
http://localhost:11434
The Expose Ollama to the network option allows other devices and services on your local network to connect to the Ollama server.
Enable it when you want to use models hosted on one computer from another device. Windows may display a Microsoft Defender Firewall prompt asking whether Ollama should be allowed to communicate over the network.
On a trusted home network, allow access to Private networks only. Leave Public networks unchecked.
You don’t need to enable this option when using Ollama and Cline on the same PC.
Security note: Ollama’s local API does not require authentication by default. Don’t expose it to public networks or forward port 11434 directly to the internet.
4. Use Larger Models with Ollama Cloud
Your computer may not have enough memory or processing power to run a larger AI model comfortably. Rather than upgrading your hardware, you can use Ollama’s cloud-hosted models.
Open Settings and enable the Cloud option. Sign in to your Ollama account if prompted.
Return to Chat and open the model selector. Choose a model marked with a cloud icon.
Unlike local models, cloud models are processed on Ollama’s servers. You don’t need to download their model files or have a powerful GPU, but an internet connection is required.
Ollama provides different cloud usage options, with pricing depending on the model and usage. For occasional experimentation, token-based billing can work out to a fraction of the cost of some monthly AI subscriptions. Check the current Ollama pricing before choosing a model.
Remember that cloud prompts are processed remotely, unlike local models that run on your own computer.
5. Connect Ollama to Cline and other AI Tools
Ollama isn’t limited to its built-in chatbot. You can also use downloaded models with AI coding assistants.
The Apps section provides integrations with several tools, including Cline, Codex CLI, OpenCode, and others.
There are two ways to use Cline with Ollama: through its command-line interface or through the Visual Studio Code extension.
Using Cline CLI Through the Ollama Apps Section
Open the Apps section in Ollama and select Cline. Ollama provides the following command:
ollama launch cline
Open PowerShell in your project folder and run the command. If Cline CLI isn’t installed, Ollama uses npm (Node Package Manager) to install it. PowerShell may ask for permission to proceed with the installation.
After installation, Cline asks you to choose a model. Select your downloaded local model to start using it.
Cline opens directly inside the terminal. You can give it instructions to inspect your project, create files, modify code, and perform other development tasks.

Important: The ollama launch cline command installs or launches Cline CLI. It does not install the Cline extension inside Visual Studio Code. These are two separate ways of using Cline.
Also, Cline may enable automatic approval of actions. If you prefer to review changes and approve file operations or terminal commands manually, switch off Auto-approve all using the toggle shown in the CLI. The terminal interface indicates that this can be toggled with Shift + Tab.
Using the Cline Extension in Visual Studio Code
If you prefer working inside Visual Studio Code, you can install the Cline extension separately.
- Open Visual Studio Code.
- Press
Ctrl + Shift + Xto open Extensions. - Search for Cline and install the extension.
- Open Cline from the VS Code sidebar.
- Open Cline’s API Configuration settings.
- Select Ollama as the API Provider.
- Configure the local server address and select your downloaded model.
For the base URL, use:
http://127.0.0.1:11434
You can leave the Ollama API Key field empty when connecting to a local installation. Select the exact model name shown by ollama list.
Check the Model Context Window setting and make sure it doesn’t exceed the context available from Ollama. You can also increase the Request Timeout if your computer takes longer to generate responses.

Ollama can work with the VS Code extension for simple coding tasks as well. In my test, the local Qwen 3.5 4B model created an HTML page with CSS and JavaScript through Cline.
The results depend on the model you choose. Smaller models may handle simple file creation and code changes but struggle with complex instructions or larger projects. Models that support tool calling are particularly important for agent-based coding.
If you want to use a different coding assistant, check whether it supports Ollama or its compatible local API.
Can You Use Ollama Without an Internet Connection?
Yes. Once you have downloaded a local model, you can disconnect from the internet and continue chatting with it.
An internet connection is required to download new models and use Ollama Cloud. Some features of applications connected to Ollama may also require internet access.
Final Thoughts
Ollama makes it easier to experiment with AI models on your own computer. You can use its desktop application for everyday conversations, download models through PowerShell, access larger models through the cloud, or connect local models to coding assistants.
The model you choose and your available hardware will determine how well it performs. Start with a model that suits your PC, adjust the context length according to your needs, and explore the available integrations.



