DroidCrunch
  • About
  • Blog
  • Categories
    • Automation
    • Tech
    • SEO
    • WordPress
    • Software
    • Hosting
    • Proxy
  • AI
    • AI Writing
    • AI Image
    • AI Tool
    • AI Video
  • Deals
  • Contact
Subscribe
No Result
View All Result
DroidCrunch
  • About
  • Blog
  • Categories
    • Automation
    • Tech
    • SEO
    • WordPress
    • Software
    • Hosting
    • Proxy
  • AI
    • AI Writing
    • AI Image
    • AI Tool
    • AI Video
  • Deals
  • Contact
Subscribe
DroidCrunch

What Is Ollama? How to Run AI Models on Your Own Computer 2026

Lokesh Kapoor by Lokesh Kapoor
December 1, 2026
3
0

Ollama is a free, open-source tool that runs AI language models on your own computer. You download a model once, then chat with it in the terminal or connect apps to it through a local API, with no cloud account and no per-message cost. Your prompts never leave the machine.

We ran Ollama 0.40.18 on an 8-core Linux machine with no graphics card and tested three models. Below are the real speeds, memory use and answers, plus an install snag and its fix.

What Ollama is

Large language models normally run in a company’s data centre: you type into ChatGPT or Claude, and the work happens on their servers. Ollama flips that. It downloads an open model, such as Llama, Qwen, Gemma or Mistral, and runs it locally. For background on how these models work, see our explainer on generative AI.

QuestionAnswer
PriceFree and open source
Runs onmacOS, Windows and Linux
Needs a GPU?No, but a GPU or Apple Silicon makes it much faster
Internet needed?Only to download models; chatting works offline
ModelsLlama, Qwen, Gemma, Mistral, DeepSeek and many more, plus any GGUF file
How apps connectA local API on port 11434, including an OpenAI-compatible endpoint
Ollama at a glance.

Under the hood, Ollama is a friendly wrapper around llama.cpp, the open-source engine that runs compressed models efficiently on ordinary hardware. Ollama adds the parts people actually want: one-command model downloads, a model library, a chat prompt, automatic memory management and an API that apps can call.

What we tested

We wanted numbers a reader with a normal computer could use, so we deliberately tested without a GPU.

ItemWhat we used
Ollama version0.40.18, Linux release
Processor8-core Intel Xeon virtual CPU
Memory15.6 GB
Graphics cardNone; CPU only
ModelsLlama 3.2 1B, Llama 3.2 3B and Qwen 2.5 7B, all Q4_K_M
Date24 November
Our Ollama test machine.

We gave each model the same four prompts: a factual question, a small maths problem, a short coding task and a question about Karnataka. We measured generation speed in tokens per second, loading time, memory use and whether the answers were right.

Our results: speed, memory and answer quality

ModelFile sizeMemory in useLoad timeGeneration speedMaths answer
Llama 3.2 1B0.8 GB1.2 GB1.6 s28 to 34 tokens/sWrong ($8.04)
Llama 3.2 3B2.0 GB2.8 to 2.9 GB4.9 s12 to 13 tokens/sRight ($8), muddled working
Qwen 2.5 7B4.7 GB4.9 to 5.2 GB6.4 s5 to 6 tokens/sRight, with correct working
Ollama on an 8-core CPU with no GPU, 24 November. Speeds are generation only; prompt reading ran 58 to 831 tokens per second.

A token is roughly three-quarters of a word. For reading along comfortably, around 10 tokens per second feels fine; below 5, you’ll wait for longer answers.

What the numbers mean

  • The 1B model is fast but unreliable. It answered in a couple of seconds and used about 1.2 GB of memory, but it got the maths wrong and invented a detail about Bengaluru.
  • The 3B model is the sweet spot for laptops without a GPU. About 12 tokens per second is comfortable reading speed, and it needed under 3 GB.
  • The 7B model gave the best answers but felt slow. At 5 to 6 tokens per second on CPU alone, a 100-token answer took over 20 seconds. With a GPU or an Apple Silicon Mac, the same model runs several times faster.
  • Loading is a one-time cost. The first prompt included 1.6 to 6.4 seconds of loading. Ollama keeps the model in memory for five minutes by default, so follow-up prompts start instantly.

What the answers looked like

Prompt1B3B7B
What is a VPN kill switch?CorrectCorrectCorrect and concise
12 pens at 3 for $2$8.04 after rounding each pen to $0.67$8, but showed (2/3) x 4 as the working$8, with 12 x 2/3 worked correctly
Python word-count functionCorrectCorrectCorrect
Capital of KarnatakaBengaluru, but called Holi one of the city’s famous festivalsBengaluru, but said the city is famous for coffee plantationsSaid Bangalore was “formerly known as Bengaluru”, which is backwards
How each model handled our four prompts.

The pattern matters more than any single answer. Small local models are fluent and confident, and they make factual slips that sound plausible. Use them for drafting, summarising, coding help and private documents, and check facts the way you would with any AI tool.

Ollama model sizes compared: small, medium and large models with speed and memory trade-offs
Smaller models are faster; larger ones give better answers but need more memory.

How to install Ollama

Ollama runs on macOS, Windows and Linux.

The steps at a glance

  1. 1
    Step 1 of 5

    Download Ollama

    Get the installer for macOS or Windows from the official site, or use the install script or release archive on Linux.

  2. 2
    Step 2 of 5

    Start it

    The desktop apps start the background service automatically. On Linux, run ollama serve if it isn’t running.

  3. 3
    Step 3 of 5

    Run a first model

    Type ollama run llama3.2 in a terminal. It downloads the model, about 2 GB, and opens a chat.

  4. 4
    Step 4 of 5

    Check memory use

    Run ollama ps in another terminal to see how much memory the model uses.

  5. 5
    Step 5 of 5

    Try a bigger or smaller model

    Move up or down in size until speed and quality suit you.

Mac, Windows and Linux differences

  • Mac: Ollama installs as an app with a menu bar icon. On Apple Silicon (M-series chips), it uses the GPU through unified memory, so a Mac with 16 GB can run 7B to 8B models far faster than our CPU-only test.
  • Windows: A standard installer sets up the background service and the ollama command. It uses NVIDIA and AMD graphics cards when present and falls back to the CPU otherwise.
  • Linux: The official script installs Ollama as a system service, which needs administrator rights. If you can’t or don’t want to use it, download the release archive and run the binary from your own folder, which is what we did. The archive is large, about 1.6 GB compressed, because it bundles GPU libraries.

The install snag we hit, and the fix

On our test machine, the usual ollama pull llama3.2:3b failed with this error:

ollama pull llama3.2:3b Plain text
Error: max retries exceeded: Get "https://...r2.cloudflarestorage.com/ollama/docker/registry/v2/blobs/...":
redirect target not allowed: ...r2.cloudflarestorage.com resolves to non-public 198.18.0.1

The cause was our machine’s network, which routes traffic through a gateway that answers DNS with a private address. Ollama refuses to follow a download redirect to a private address, which is a sensible security check. You might see the same error behind some corporate proxies, VPNs or filtering DNS services.

The fix is to download a model file yourself and import it. Ollama can build a model from any GGUF file, the standard format for compressed models, which most models on Hugging Face offer:

terminal Bash
# 1. download a GGUF file (Llama 3.2 3B, Q4_K_M, about 2 GB)
curl -L -o llama-3.2-3b-q4_k_m.gguf \
  https://huggingface.co/bartowski/Llama-3.2-3B-Instruct-GGUF/resolve/main/Llama-3.2-3B-Instruct-Q4_K_M.gguf

# 2. describe the model
printf 'FROM ./llama-3.2-3b-q4_k_m.gguf\nPARAMETER temperature 0.2\n' > Modelfile

# 3. build and run it
ollama create llama3.2-3b-local -f Modelfile
ollama run llama3.2-3b-local

Creating the model took 6 seconds, and Ollama read the chat template from the file automatically. After that, it behaved exactly like a pulled model.

How to use Ollama

In the terminal

Run ollama run with a model name to chat. Type /bye to exit. These are the commands you’ll use most:

CommandWhat it does
ollama run llama3.2Downloads the model if needed and starts a chat
ollama pull qwen2.5:7bDownloads a model without starting it
ollama listShows downloaded models and their sizes
ollama psShows loaded models and memory use
ollama stop llama3.2Unloads a model to free memory
ollama rm llama3.2Deletes a downloaded model
ollama create name -f ModelfileBuilds a model from a GGUF file or custom settings
ollama show llama3.2Shows a model’s size, context length and settings
Everyday Ollama commands.

Through the API

Ollama runs a local server on port 11434. Any app or script on your computer can send it prompts, which is how chat apps, coding assistants and automation tools connect.

terminal Bash
curl http://127.0.0.1:11434/api/generate -d '{
  "model": "llama3.2-3b-local",
  "prompt": "In two sentences, what is a VPN kill switch?",
  "stream": false
}'

# OpenAI-compatible endpoint
curl http://127.0.0.1:11434/v1/chat/completions -H 'Content-Type: application/json' -d '{
  "model": "llama3.2-3b-local",
  "messages": [{"role": "user", "content": "Hello"}]
}'

It also offers an OpenAI-compatible endpoint, so tools built for the OpenAI API can point at Ollama instead by changing the base URL. We tested it: a request to /v1/chat/completions answered correctly and reported token usage like the real thing.

With other apps

Because of that API, many apps can use Ollama as their AI engine: chat interfaces such as Open WebUI, code editors, note-taking apps and automation tools. Our tutorial on building a RAG chatbot on your own docs in n8n shows the kind of workflow a local model can power, and you can swap a cloud model for Ollama in tools that support it.

Customising a model with a Modelfile

A Modelfile is a short recipe that tells Ollama how to build a model: which weights to use, default settings and a system prompt. We used one to import our model files, and the same format lets you make a specialised assistant in a few lines.

Modelfile Plain text
FROM llama3.2-3b-local

SYSTEM """You help write SEO titles and meta descriptions.
Keep titles under 60 characters and descriptions under 155.
Use British English."""

PARAMETER temperature 0.2
PARAMETER num_ctx 8192

Three settings are worth knowing:

  • SYSTEM sets standing instructions, such as tone, language or format. It’s applied to every chat with that model.
  • num_ctx sets the context window: how much text the model can consider at once. Ollama’s default in our test was 4,096 tokens, about 3,000 words. Raising it lets the model handle longer documents but uses more memory.
  • temperature controls randomness. Lower values, such as 0.2, give steadier, more repeatable answers; we used 0.2 for every test.

Build it with ollama create seo-helper -f Modelfile, then run it like any other model. The original model file isn’t copied, so custom versions cost almost no extra disk space.

Practical uses for a local model

Based on how our test models behaved, these are the jobs we’d give a local model, and the ones we wouldn’t:

Good fitWhyPoor fitWhy
Summarising private documentsNothing leaves your machineFact lookupsSmall models invent details
Drafting emails and outlinesFluency is strong even at 3BMaths and pricingOur 1B model got simple maths wrong
Coding help on small functionsAll three models got our code task rightLegal, medical or financial adviceErrors sound confident
Bulk classification and taggingNo per-request costLong reasoning chainsLarger cloud models are far stronger
Offline use while travellingWorks with no connectionAnything needing current informationModels only know their training data
Where a local model helps and where it falls short.

Local models also suit agent experiments, where an AI calls tools in a loop and racks up thousands of requests. Our explainer on AI agents covers how those loops work, and our guide to scraping websites for LLMs shows how to turn pages into clean text a local model can read.

What it costs to run Ollama

Ollama and the models are free, so the costs are hardware and electricity.

CostWhat to expect
Software and modelsFree
Hardware you already ownFine for 1B to 7B models with 8 to 16 GB of memory
Upgrades for bigger modelsMore RAM or a GPU with more video memory
ElectricityA CPU or GPU under load draws noticeably more power while generating
Renting insteadGPU cloud services bill by the hour while the machine runs
What running Ollama actually costs.

For a light user, a local model rarely saves money over a $20 subscription, because the cloud model is better and the hardware may need an upgrade. The economics flip for heavy, repetitive work: classifying thousands of emails or summarising a large archive costs nothing extra once the model runs locally.

Sharing Ollama on your network

By default, Ollama only accepts connections from the same computer. To use it from another device, such as a laptop calling a desktop with a better GPU, set OLLAMA_HOST=0.0.0.0 before starting the server so it listens on your network.

Do that only on a network you trust. Ollama’s API has no password, so anyone who can reach port 11434 can use your models and your hardware. For access from outside your home or office, put it behind a VPN or a reverse proxy with authentication rather than opening the port to the internet.

Which model should you run?

The right model depends almost entirely on your memory. As a rule of thumb from our tests, a model needs about its file size plus 0.5 to 1 GB of working memory.

Your memoryModel size to tryExamplesWhat to expect
8 GB1B to 3BLlama 3.2 1B or 3B, Gemma small modelsQuick drafting and summaries; check facts
16 GB3B to 8BLlama 3.2 3B, Qwen 2.5 7B, Llama 3.1 8BGood everyday quality; 7B is slow on CPU only
32 GBUp to about 14BQwen 2.5 14B and similarNoticeably better reasoning; a GPU helps a lot
64 GB or more30B and largerLarger Qwen, Llama and Mistral modelsClose to older cloud models for many tasks
Which model size fits your memory, based on our measurements of about file size plus 0.5 to 1 GB.

Memory is the hard limit; speed depends on your processor. On a Mac with Apple Silicon, Ollama uses the GPU automatically and runs much faster than our CPU-only numbers. On a PC, an NVIDIA or AMD graphics card with enough video memory makes the biggest difference.

Popular open model families

FamilyMade byKnown for
LlamaMetaThe most widely supported open models, from 1B upwards
QwenAlibabaStrong reasoning, coding and multilingual answers for the size
GemmaGoogleEfficient small models that run well on laptops
MistralMistral AIFast, capable models with permissive licences on some versions
DeepSeekDeepSeekReasoning-focused models; small distilled versions run locally
PhiMicrosoftVery small models tuned for reasoning on limited hardware
Open model families you can run in Ollama.

Model names follow a pattern: the family, a version and the size, such as qwen2.5:7b. Sizes in the billions of parameters are a rough guide to capability and memory need. Newer, smaller models often beat older, larger ones, so don’t judge by size alone.

Quantization, briefly

Model files come in compressed versions marked with codes like Q4_K_M or Q8_0. The number is roughly the bits per weight: lower means smaller and faster, with some quality loss. Q4_K_M, which we used for every test, is the common default because it keeps most of the quality at about a quarter of the original size.

Ollama vs LM Studio vs llama.cpp

OllamaLM Studiollama.cpp
InterfaceTerminal plus a local APIDesktop app with chat windowCommand line and a server
Ease of setupEasyEasiestTechnical
Model downloadsOllama library or any GGUF fileBuilt-in Hugging Face browserDownload files yourself
API for other appsYes, including OpenAI-compatibleYes, including OpenAI-compatibleYes, via llama-server
Runs as a background serviceYesOptionalManual
PriceFreeFreeFree
Best forDevelopers and app integrationsBeginners who want a GUIFull control and tinkering
Three popular ways to run AI models locally.

We didn’t test LM Studio on this machine because it’s a desktop app and our test box has no screen session for it. We did run llama.cpp’s own server, which ships inside Ollama, on the same 3B model file: it generated 12.0 tokens per second against Ollama’s 12.3. Ollama adds convenience, not overhead.

The practical choice: pick LM Studio if you want a polished app with a model browser and no terminal. Pick Ollama if you want a background service that other apps and scripts can use. Use llama.cpp directly only if you need fine control over every setting.

Ollama vs LM Studio vs llama.cpp: terminal service, desktop app and command-line engine
Three ways to run models locally, built on the same kind of engine.

Ollama vs cloud AI: when local makes sense

Local with OllamaCloud AI such as ChatGPT
PrivacyPrompts stay on your machineSent to the provider
CostFree after the hardwareSubscription or per-token billing
Offline useYesNo
Answer qualityGood on small tasks; more mistakesBest available
SpeedDepends on your hardwareFast on any device
ExtrasWhatever you connectWeb search, images, voice and more
Local models compared with cloud AI.

Local models win on privacy, offline use and cost at volume. Cloud models win on raw quality, speed without special hardware and features such as web search. Many people use both: a local model for private documents and quick tasks, a cloud model for hard problems.

If you need a powerful open model but don’t have the hardware, renting a GPU by the hour is the middle ground. Our Runpod review covers one option, and Runpod lets you run Ollama on a rented GPU and pay only while it’s on.

Troubleshooting

ProblemLikely causeFix
redirect target not allowed … resolves to non-publicProxy, VPN or filtering DNS on your networkDownload the GGUF file yourself and use ollama create
Very slow answersModel too big for your hardware, or running on CPUTry a smaller model or a lower quantization
Out of memory or the model won’t loadNot enough RAM or video memoryClose other apps, stop loaded models, use a smaller model
ollama ps shows a GPU share but you have no GPUDisplay quirk; the server log shows the real deviceCheck the server log’s inference compute line
Apps can’t connectOllama isn’t running, or it’s on another portStart ollama serve and check port 11434
Answers lose track of long documentsDefault context window is smallRaise the context length in a Modelfile, memory permitting
Common Ollama problems and fixes.

Is Ollama worth trying?

Yes. It’s free, takes minutes to set up, and even a laptop without a graphics card can run a useful 3B model at reading speed. Start with a small model, see whether it handles your tasks, and move up in size only if your memory allows.

Just don’t treat a small local model as a source of facts. In our tests, every model made at least one confident mistake. Use local AI where privacy and cost matter most, and check anything important.

Heads-up: our Runpod link is an affiliate link. If you sign up through it, DroidCrunch may earn a commission at no extra cost to you. Ollama is free.

Is Ollama safe to use?

Ollama itself is open source and widely used, and by default its API only listens on your own computer. Be careful about exposing port 11434 to a network, since anyone who can reach it can use your models. Download models from well-known publishers.

Does Ollama send my data anywhere?

Your prompts and answers stay on your computer when you use local models. Ollama contacts the internet to download models and check for updates. It also offers optional cloud models, which do run remotely, so check which kind you’ve selected.

Can Ollama run on a phone?

Not officially. Ollama targets macOS, Windows and Linux. Some Android users run it through terminal apps, but phones lack the memory for anything beyond tiny models. A phone app connecting to Ollama on your computer over your home network is more practical.

Can I use Ollama for commercial work?

Ollama is MIT-licensed, so the software is fine for commercial use. Each model has its own licence, though. Llama, Qwen, Gemma and Mistral models have different terms, so read the licence of any model you build a product on.

How much disk space does Ollama need?

The app itself takes a few gigabytes, mostly for GPU libraries. Each model adds roughly its file size: about 0.8 GB for a 1B model, 2 GB for 3B and 4.7 GB for 7B at the common Q4_K_M compression. Remove models you don’t use with ollama rm.

Can Ollama read my PDFs and documents?

Not on its own. Ollama runs the model; reading documents needs an app on top, such as Open WebUI or a retrieval workflow that feeds relevant passages to the model. Our n8n RAG tutorial shows one way to build that.

Is Ollama better than ChatGPT?

For answer quality, no. Cloud models are larger and more accurate. Ollama is better when privacy, offline access or cost matter more than peak quality, such as summarising private files or running thousands of small tasks without a bill.

Summarize this article with AI

Get the key points in seconds. Pick an assistant and it opens in a new tab, ready to go.

ChatGPTClaudePerplexityGoogle AIGrokMistral

Opens in a new tab. Nothing is shared until you pick an assistant.

Share4Tweet2Share1Share
Previous Post

What Is an MCP Server? How It Works, With One We Built 2026

Lokesh Kapoor

Lokesh Kapoor

I am Lokesh Kapoor who loves to write blogs, create videos and watch sci-fi movies on Netflix and Jio Cinema. DroidCrunch is my first love and a crucial part of my life.

Related Posts

What is an MCP server: an AI app connected to tools and data through a server

What Is an MCP Server? How It Works, With One We Built 2026

December 1, 2026
298
What is an LLM: title card showing a chat reply being built one predicted word at a time

What Is an LLM? How Large Language Models Work 2026

December 1, 2026
297
WordPress malware removal: title card showing a site being scanned and cleaned

WordPress Malware Removal: How to Clean a Hacked Site, Step by Step 2026

November 30, 2026
298
ERR_SSL_PROTOCOL_ERROR: title card with a browser window showing a broken padlock and a failed connection to a server

ERR_SSL_PROTOCOL_ERROR: What Causes It and How to Fix It 2026

November 29, 2026
301
Load More

Leave a Reply Cancel reply

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

I agree to the Terms & Conditions and Privacy Policy.

DroidCrunch

Tested first. Then written.

Independent software reviews since 2016. Search the archive, or start with a topic.

WordPressAI toolsHostingVPNSEO
  • 650+reviews, comparisons and guides
  • 243product reviews
  • 36topics covered
  • 2016publishing since
home

An independent tech blog and YouTube channel. We use every tool before we rate it, and we always tell you the catch.

Topics

  • WordPress
  • AI tools
  • Hosting
  • SEO
  • VPN
  • Proxies
  • Automation

Company

  • About DroidCrunch
  • Editorial policy
  • Affiliate disclaimer
  • Write for us
  • Contact

Explore

  • All articles
  • Reviews
  • Deals and coupons
  • Black FridayLive
  • Facebook group
  • Help and support

Recently scored

  • miniOrange Secure MCP Server75%
  • Royal MCP80%
  • WPVibe76%
  • Zapier82%
All reviews

Reader-supportedWhen you buy through our links, we may earn a commission at no extra cost to you. It never changes our verdicts. Read our affiliate disclaimer.

© 2026 DroidCrunch. Independent since 2016.

  • Privacy policy
  • Terms
  • Cookie policy
  • Your GDPR rights
  • RSS
Back to top

Welcome Back!

Login to your account below

Forgotten Password?

Retrieve your password

Please enter your username or email address to reset your password.

Log In

Add New Playlist

No Result
View All Result
Subscribe
  • About
  • Blog
  • Categories
    • Automation
    • Tech
    • SEO
    • WordPress
    • Software
    • Hosting
    • Proxy
  • AI
    • AI Writing
    • AI Image
    • AI Tool
    • AI Video
  • Deals
  • Contact

© 2026 DroidCrunch - Best Place for Tech NomadPrivacy PolicyTerms & ConditionsCookie PolicyGDPR RightsAffiliate Disclosure

DroidCrunch Giveaway

Amazon Gift Card worth $15

Participate now and get a chance to become a lucky winner to receive the reward.​

Join Giveaway