ollama logo

ollama

Get up and running with Kimi-K2.6, GLM-5.2, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

Website GitHub

What is it?

What it is

Ollama lets you run large language models locally on your machine. Pull models like Llama, Mistral, and Gemma with a single command and interact via CLI or API.

Why it exists

Developers needed a simple way to run LLMs locally without configuring CUDA, model weights, or inference servers manually.

Who should use it

Developers prototyping LLM apps, teams with data privacy requirements, or anyone wanting offline AI inference.

Who should avoid it

Production workloads needing multi-GPU clustering, or teams without sufficient RAM/VRAM for target models.

How it works

A quick walkthrough in plain English

How Ollama runs AI on your machine

Step 1 of 4

You send a prompt

Type in the terminal, use a chat UI, or call the API from your code.

Features

One-command model pull and run
REST API compatible with OpenAI format
macOS, Linux, and Windows support
GPU and CPU inference
Modelfile for custom models
Library of pre-built models

Advantages

  • Dead simple local LLM setup
  • No cloud API costs for development
  • Data stays on your machine
  • Works with LangChain, n8n, Open WebUI

Disadvantages

  • Limited by local hardware
  • Not designed for high-concurrency production
  • Model quality depends on chosen weights

Installation

docker

docker run -d -v ollama:/root/.ollama -p 11434:11434 --gpus all ollama/ollama

native

# macOS
brew install ollama
ollama serve
ollama pull llama3.2
ollama run llama3.2

FAQ

What hardware do I need?

7B models need ~8GB RAM. 13B needs 16GB+. GPU dramatically speeds inference.

Can I use Ollama with OpenAI SDK?

Yes. Point the OpenAI client to http://localhost:11434/v1 with any API key.

Ollama vs LM Studio?

Ollama is CLI/API focused. LM Studio has a GUI. Both run models locally.

Loading documentation…
View on GitHub

Featured in Videos

YouTube tutorials and walkthroughs for ollama

RAG from Scratch with LangChain

Starts at 02:45

Share

Run LLMs Locally with Ollama

Starts at 02:45

Share

Alternatives

Similar projects ranked by category, topics, and text overlap.

Compare
ollama | MushyBook