How to run a local AI model with Ollama and check its limits
Install Ollama, start a terminal chat and use a small, checkable example. The guide also explains memory, privacy and cleanup.
In this article
A computer can answer a writing prompt without sending that prompt to a hosted model, provided the model and the software to run it are on the machine. Ollama supplies a local route: install its app, download a model and open a chat in a terminal. Its quickstart also describes cloud models, so choosing the local route matters.
The steps below follow Ollama's documentation, checked on 24 November 2026. Model downloads, requirements and interfaces can change; confirm them on the linked official pages before installing. A language model is software trained to generate text; Ollama is the application that downloads and runs it. A terminal is a text window for entering commands.
Before you install
Ollama's quickstart provides downloads for macOS, Windows and Linux. Its local example uses gemma4:e2b: according to the page as checked on 24 November 2026, the download is about 7.2 GB and the recommendation is 8 GB of available graphics memory, or unified memory on a Mac. Those are recommendations for this example, not requirements for every model. Leave enough disk space for the download as well as working room for your computer.
Graphics memory, often called VRAM, is memory available to the graphics processor. Ollama says it can use system RAM when there is less VRAM, though responses may be slower. Longer context windows also need more memory. A context window is the amount of text a model can consider at once; the context window guide explains why a long conversation can exceed it.
Install and start your first chat
These steps use the terminal route in Ollama's quickstart rather than a connected third-party app. The commands and model name below are the documented example, not a promise that it will suit every computer. You need an internet connection to obtain the application and download the model initially.
- Visit the Ollama quickstart, follow its download link for your operating system, and install and open Ollama.
- Open a terminal on macOS or Linux, or a terminal such as PowerShell on Windows. On Linux, if the Ollama server is not already running, start it with
ollama serve. - In a terminal, enter
ollama run gemma4:e2b. Ollama says this downloads the model and starts a chat on your computer. Wait for the download to finish. - At the chat prompt, enter the example below, or replace it with a short task using text you are comfortable sharing on that computer.
- Read the answer and compare it with the source text. Ask a follow-up if a point is missing or unclear.
- Enter
/byeto leave the chat. To see downloaded models afterwards, enterollama lsin the terminal.
If the command cannot connect on Linux, first check that the server is running; the quickstart specifically calls for ollama serve when needed. If the download has not completed, check the connection and available storage before trying again. Ollama's FAQ says model pulls use the internet. An incomplete download is not evidence that a model has answered your prompt.
Try a prompt you can check
Use a small piece of text with an answer you already know. This example asks for a transformation, not facts from the internet. The answer should preserve the two tasks and their owners; it should not invent a deadline. The prompt is an example written by Auratro, not a recorded exchange with the model.
Turn these notes into two action items. Keep the owners and do not invent deadlines. If a deadline is missing, write 'not specified'.Notes: Sam will update the draft. The design team will check the diagram. ```
Read the result against the two sentences. If the answer adds a date, assigns the draft to the design team, or omits the diagram, correct it or ask for a revision. This is a practical check, not a benchmark of model quality. For more ways to make instructions explicit, use the five-part prompt template.
Check memory and manage downloads
The Ollama CLI reference distinguishes the models stored on disk from models currently loaded. After leaving the chat, ollama ls lists downloaded models. Run ollama ps to list models currently loaded; Ollama's FAQ says its Processor column identifies whether a model is in graphics memory, system memory or both. An empty running list therefore answers a different question from an empty downloaded list.
To stop a loaded example model, the CLI reference provides ollama stop gemma4:e2b. To remove its downloaded files, use ollama rm gemma4:e2b only when you no longer need that copy; check the name shown by ollama ls first. These commands do different jobs: stopping a model is not the same as deleting its download. A later run after removal needs the model again.
What local means for privacy
Ollama's local FAQ says it does not see prompts or data when a model runs locally. It separately describes cloud-hosted models, where Ollama processes prompts and responses to provide the service. The same application offers both routes, so installing Ollama alone does not establish where every future request goes. The quickstart labels the example in this article as a local model.
For a stricter local-only configuration, Ollama documents OLLAMA_NO_CLOUD=1 or disable_ollama_cloud in its server configuration, followed by a restart. Its FAQ says this disables Ollama cloud models and web search. That setting concerns Ollama's cloud features; assess any separate app or integration and the security of your own computer before putting sensitive information into a workflow.
Limits and what to check
A local answer is not automatically accurate or current. A model can produce a plausible claim that is wrong, and this basic terminal example does not establish that the answer was checked against a source. For facts that matter, compare the response with the original document or another reliable source; the hallucination checking guide offers a practical process.
Hardware compatibility, model names, download sizes and interface details can change. Ollama's quickstart and hardware documentation are the place to verify the current example and your machine's support. If the example is too large or slow, consult the model's current documentation before choosing another; a smaller download alone does not tell you whether its answers are adequate for your task.
Sources & further reading
Written by the Auratro desk with AI assistance and checked against the sources listed above before publication. See how we work, or report an error. Editorial policy · Contact


