Internative Logo

What Is Ollama? Running Open LLMs on Your Own Machine

What Is Ollama? Running Open LLMs on Your Own Machine

Trying a large language model used to mean one of two things: send your data to a cloud API, or spend a day compiling inference code, downloading weights and fighting GPU drivers. Ollama removed most of the second path. One install and one command, ollama run followed by a model name, downloads an open-weight model and starts a chat with it on your own laptop, with no data leaving the machine.

This article explains what Ollama is, how it works, where it fits in an AI project, where it stops being the right tool, and how it compares with vLLM, llama.cpp and LM Studio.

What is Ollama?

Ollama is an open-source tool for downloading, running and managing large language models on your own hardware. It runs on macOS, Windows and Linux, and exposes the models through a command line, a desktop app and a local REST API that other software can call.

The project was started by Jeffrey Morgan and Michael Chiang, and the company behind it is backed by Y Combinator. Ollama is not a Meta product, although Meta's Llama models were among the first it ran. The first release, v0.0.1, appeared on GitHub on 8 July 2023, and the code is published under the MIT licence.

Since then the project has grown with the open-model ecosystem: Windows support and an OpenAI-compatible API arrived in February 2024, tool calling in July 2024, structured outputs in December 2024, and a new engine for multimodal models in May 2025. A desktop app followed in July 2025, and in September 2025 Ollama added cloud models, which run larger models on Ollama's servers through the same interface.

How Ollama works

A model registry and a local runtime. Ollama keeps a library of open-weight models, such as Llama, Gemma, Qwen, Mistral and DeepSeek, in several sizes. ollama pull downloads a model, ollama run starts it, and ollama list and ollama rm manage what is stored. The developer experience will feel familiar to anyone who uses Docker: names and tags instead of manual file handling.

Quantised models that fit ordinary hardware. Most models in the library are quantised, which means their weights are stored at lower precision. A model that would need a data-centre GPU in full precision can then run on a laptop with enough memory, at some cost in quality. Ollama detects the hardware and uses NVIDIA or AMD GPUs, Apple Silicon or the CPU.

The Modelfile. A Modelfile describes a custom model: the base model, parameters such as temperature and context length, and a system prompt. It works like a recipe for a model variant that a whole team can share.

A local API. Ollama runs a small server, on port 11434 by default. Applications call it over HTTP, either through Ollama's own API or through OpenAI-compatible endpoints, so code written for a cloud provider can often point at a local model by changing the base URL. Frameworks such as LangChain and LlamaIndex, and automation tools such as n8n, have Ollama integrations.

Key features

  • One-command setup for running open-weight models locally.
  • Offline and private: prompts and documents stay on the machine.
  • OpenAI-compatible API, alongside Ollama's own REST API and Python and JavaScript libraries.
  • Tool calling and structured outputs, for agents and for answers that must match a JSON schema.
  • Embedding models for building retrieval-augmented generation (RAG) prototypes locally.
  • Multimodal models that read images as well as text.
  • Optional cloud models for models too large for local hardware.

Where Ollama is used

  • Proofs of concept that test whether a use case works before anyone signs up for an API or buys GPUs.
  • Offline demos and workshops, where a laptop with no internet connection runs a capable model in front of the audience.
  • Development and testing of LLM features against a local model, without API costs or rate limits.
  • Privacy-sensitive experiments with documents that should not leave the company network.
  • Personal coding assistants and tools that connect to a local model through the API.

When to choose Ollama, and when not to

Choose Ollama when:

  • You want to try several open models quickly and compare them on your own data.
  • Data must stay on the machine during exploration.
  • Developers need a local model for building and testing without per-token cost.
  • You are preparing a demo that has to work without a network.

Look elsewhere when:

  • You are serving many users concurrently in production. A serving engine such as vLLM, with continuous batching and higher throughput on GPUs, is built for that.
  • You need the strongest frontier models. The largest proprietary models are only available through their providers' APIs, such as OpenAI.
  • You need fine-grained control of inference internals. llama.cpp directly, or a full serving stack, gives more knobs.
  • The team prefers a graphical model browser over a command line. LM Studio fills that niche.

Ollama and its alternatives

ToolTypeStrengthBest fit
OllamaLocal model runner, CLI, API and appSimplest setup, model libraryPrototypes, demos, local development
llama.cppC/C++ inference engineMaximum control, very portableCustom builds, embedded and edge use
LM StudioDesktop applicationGraphical model browsing and chatIndividual users who prefer a GUI
vLLMProduction serving engineHigh throughput, many concurrent usersSelf-hosted LLMs in production
Hosted APIs (OpenAI and others)Cloud serviceStrongest models, no hardwareProducts that accept sending data to a provider

The comparison that matters most in projects is Ollama vs vLLM. Ollama optimises for one person getting a model running in minutes; vLLM optimises for serving many requests on dedicated GPUs. They are complementary: explore with Ollama, serve with vLLM. We describe that path in Gemma 4 in production: cloud vs self-hosted vLLM, and the wider question of keeping AI on your own servers in On-premise LLM: when to keep AI on your own servers. Models themselves are also found on Hugging Face, which Ollama can pull GGUF models from.

How we use Ollama at Internative

We use Ollama for fast LLM proofs of concept, offline demos and client workshops. Showing a client a laptop that runs a language model entirely without the internet changes the conversation about what is possible with their own data. Most of our discovery-phase work starts with Ollama; for production we move workloads to vLLM on dedicated inference infrastructure.

If you want to find out whether an open model can handle your use case before committing to infrastructure, our AI integration consulting team can help you run that test.

Frequently asked questions

Is Ollama free?

Yes. Ollama is open source under the MIT licence, and running models locally costs nothing beyond your hardware and electricity. Check each model's own licence before commercial use. Ollama's cloud models are a separate, optional service.

Is Ollama like ChatGPT?

Not quite. ChatGPT is a hosted product that runs OpenAI's models on OpenAI's servers. Ollama is a tool for running open models yourself, mostly on your own machine. Its desktop app offers a chat window, but the models are usually smaller than the frontier models behind ChatGPT.

Is Ollama made by Meta?

No. Ollama is an independent company founded by Jeffrey Morgan and Michael Chiang. It runs models from many developers, including Meta's Llama, Google's Gemma, Alibaba's Qwen, Mistral and DeepSeek.

How does Ollama work?

Ollama downloads a quantised model, loads it onto your GPU or CPU, and serves it through a local API on port 11434. You talk to it from the command line, the desktop app or any program that sends HTTP requests, including code written for OpenAI-compatible APIs.

Related services

Where this topic becomes an engagement.

Keep reading

The articles that follow this one.