Skip to main content
Local Inference & ServingStart here

Ollama

ollama / ollama

Pull and run local models with one command, with a built-in model library and an OpenAI-compatible API.

187.6k stars 19146 forks Go Language MIT License Last push 2026-11-18

Why choose it

  • The model library and one-command pull remove setup friction.
  • The OpenAI-compatible endpoint works with existing clients.
  • Good for laptops and small servers, not just demos.

Not for

You need multi-node serving at production throughput.
You require fine-grained control over batching and scheduling.

Minimum setup

  1. Install it and pull a small quantised model.
  2. Call the OpenAI-compatible endpoint with one prompt.
  3. Watch memory and token throughput before choosing a larger model.

Dependencies and cost

Check runtime, model weights and external service dependencies in the README.

License and usage boundaries

Code is MIT; model weights, training data and generated content may have separate terms — check each before commercial use.

Open source is not automatically commercial-use friendly: GPL / AGPL are copyleft; code, model and output licenses are separate. Read the LICENSE and model card before launch, and involve legal when needed.

Alternatives and neighbors

  • llama.cpp — Local-first,A C/C++ inference engine that runs on CPUs, Apple Silicon and consumer GPUs, with a wide range of quantisation formats.
  • LocalAI — Local-first,A local OpenAI-compatible API supporting text, image and speech backends.
  • Text Generation WebUI — Local-first,A local LLM web UI supporting llama.cpp, Transformers and ExLlama backends, with model loading, chat and extensions on one page.

Next steps

  • Open GitHub and read the README, LICENSE, latest release and issues first.
  • Make an onboarding checklist for deployment dependencies, VRAM, data, network and permissions.
  • Run a small sample first, then decide on production; never start with production data.

GitHub repository ↗ Docs ↗ Add to compare

Snapshot: stars / forks / language / license / pushed_at come from the GitHub API snapshot on 2026-11-20; later changes are not written back. Tags and “fit / not fit” are editorial judgments, not GitHub metadata.
No endorsement: this site only indexes and flags risks; it does not audit code, guarantee security or make license decisions for you. Review repository scripts and model weights yourself.