Local inference

Ollama

The simplest way to pull and run open-weight models locally, with an OpenAI-compatible endpoint.

Visit ollama.com ↗

Pricing
Open source
Runs
Runs locally
Interface
CLI, API
Source
Open source

What Ollama is

Ollama makes running a local model a single command: it handles download, quantisation choice, and memory sizing for you. It serves an OpenAI-compatible endpoint, so existing code can point at localhost with no other change, and runs on macOS, Linux, and Windows.

Best for

Anyone trying local inference for the first time, and for local development against a model that costs nothing per call.

Consider something else if

Optimised for one user at a time; serving concurrent production traffic wants a batching engine instead.

Ollama alternatives

The closest options in local inference, on the axes that actually separate them.

Ollama compared with 4 alternatives
ToolBest forPricingRuns
Ollamaopen sourceAnyone trying local inference for the first time, and for local development against a model that costs nothing per call.Open sourceRuns locally
LM StudioRunning models locally without the terminal, and comparing several quickly in one interface.Free tierRuns locally
llama.cppopen sourceSqueezing a model onto constrained hardware, and embedding inference into your own application.Open sourceRuns locally
vLLMopen sourceServing an open-weight model to real traffic on GPUs you operate.Open sourceSelf-hosted
MLXopen sourceGetting the most out of a Mac, and local fine-tuning on Apple silicon.Open sourceRuns locally

Choosing within local inference

One user or many

Single-user tools optimise for a fast start and easy model switching. Serving engines optimise throughput across concurrent requests via batching. Using the first for a production endpoint wastes most of your GPU.

Your hardware

Apple silicon, NVIDIA, and CPU-only are genuinely different targets. Some tools cover all three; others are built for one and are much faster on it.

The full guide to local inference →

Questions

What is Ollama?

Ollama makes running a local model a single command: it handles download, quantisation choice, and memory sizing for you. It serves an OpenAI-compatible endpoint, so existing code can point at localhost with no other change, and runs on macOS, Linux, and Windows. It is open source and runs locally.

What are the alternatives to Ollama?

The closest alternatives are LM Studio, llama.cpp, vLLM, MLX. They sit in the same category — local inference — and differ mainly on hosting model, pricing shape, and how much they abstract away.

Is Ollama the right choice?

Anyone trying local inference for the first time, and for local development against a model that costs nothing per call. The main caveat: Optimised for one user at a time; serving concurrent production traffic wants a batching engine instead.