Ollama Free: Run Open AI Models Locally With One Command
Free open-source tool to download and run open-weight language models locally on macOS, Windows and Linux, with a command line, desktop app and local API
Verified offer specifications
- Current version
- v0.40.19 stable, released November 26, 2026; v0.40.20-rc0 pre-release November 28, 2026
- License
- MIT License for the engine, CLI and app; each model's weights carry their own license
- Platforms
- macOS, Windows, Linux and Docker
- Install
- Install scripts for macOS, Linux and Windows on the Ollama site; manual downloads also available
- Model runtimes
- llama.cpp, with MLX as the default runtime on Apple Silicon since v0.40.0
- Local API
- OpenAI-compatible local API on port 11434; Anthropic-compatible messages endpoint; Python and JavaScript libraries
- Commands
- ollama run, pull, list, ps, cp, rm, show; Modelfile for custom models; ollama launch for Claude Code, Codex, Pi, OpenCode and ChatGPT
- Model storage
- Models stored under .ollama/models on your machine
- Models
- Llama 4 Scout and Maverick, Kimi K2.6, Qwen 3.6, DeepSeek, Gemma 4, gpt-oss, LFM3, Ripple Preview 65B, MiMo V2.6, AutoTrust, d1, d3
- Scale
- 9M+ installs a month, 1B+ model downloads, 200T+ tokens served
- GitHub stars
- 188,655 stars on December 1, 2026
Ollama is a free, open-source tool that downloads and runs open-weight language models on your own computer, with no account, no subscription and no per-token cost for local use. The current stable release is v0.40.19, published on November 26, 2026. It runs on macOS, Windows and Linux, plus Docker, and one command starts a chat with a model: ollama run llama4, or any other model from the library.
The idea is simple. Instead of sending your prompts to a hosted service, you download a model once and run it on your own machine. Your prompts are never stored or trained on, which is what the Ollama homepage promises, and the models keep working with no internet connection once they are downloaded. The homepage reports more than 9 million installs a month, more than 1 billion model downloads, and more than 200 trillion tokens served, and it names Apple, NVIDIA, Microsoft, Meta, Adobe, Intel, NASA, Netflix, IBM, Nike, Visa and Mercedes-Benz among the companies using it.
One command, and the model runs on your machine
Ollama is a single program with a command line. ollama pull downloads a model, ollama run starts a chat with it, and ollama list, ollama ps, ollama cp and ollama rm manage what is installed. Models are stored under ~/.ollama/models on your machine, and a Modelfile lets you build a custom model from a base model with your own system prompt, temperature and context size, in the same style as a Dockerfile.
Under the hood Ollama is built on llama.cpp, with MLX as the default runtime on Apple Silicon since v0.40.0, released on September 25, 2026. There is also a desktop app and a Docker image, so you can run it as a background service that other apps on your machine talk to.
The models you can run
The library covers the current open-weight models. For general chat there is Llama 4 Scout and Maverick, Kimi K2.6, Qwen 3.6, DeepSeek, Gemma 4 and gpt-oss. For small machines there is Liquid AI's LFM3 family, including a 1.7B text model with a 256K-token context window, plus versions that add image understanding, speech, and all three in one model. Recent releases added Ripple Preview, a 65B dense model built for agentic coding, and Xiaomi's MiMo V2.6, a 9B model for code and agent workflows.
Ollama also ships decision models that answer a different kind of question. AutoTrust, d1 and d3 read text, and sometimes an image, and return a choice, a yes or no probability, or a score for the question you supply, which suits triage and routing work. The library also includes vision models that accept image input, embeddings models for search, and reasoning models for harder problems.
Built for apps and coding agents, not just chat
Ollama is a runtime as much as a chat tool. It serves models through a local REST API that is compatible with OpenAI clients, and it offers an Anthropic-compatible endpoint for clients that speak that protocol. Python and JavaScript libraries let you call it from your own application, and the documentation covers integrations with editors and agents.
The ollama launch command connects the local models to coding agents: it supports Claude Code, Codex, Pi, OpenCode and ChatGPT, so the agent you already use can run against a model on your machine. Recent releases added speech generation on macOS, so ollama run can read a reply aloud as it is generated, and the /v1/responses endpoint now respects the truncation setting instead of cutting a reply short without saying so.
What it costs, and what it needs from your computer
Local use is free forever. There is no account, no card and no per-token charge when you run a model on your own hardware, and the engine, the command line and the app are all MIT licensed. Ollama Cloud is a separate option for running models on Ollama's servers, with its own pricing, and the documentation lets you choose cloud models or local models from the same library.
The real cost is hardware. Models need disk space for the download and enough memory to hold the model while it runs. A small model runs on an ordinary laptop, while a 65B or 70B model needs a machine with plenty of RAM or a good GPU, and it will answer slowly on modest hardware. Pick a model size to match your machine rather than downloading the largest one first. Two other limits are worth knowing: each model's weights carry their own license, so not every model is open in the same way, and the newest models sometimes launch on Apple Silicon first, with PC support following in a later release.
Who this suits
Ollama suits developers who want to build with open models, and anyone who wants AI without sending their text to a cloud service: writers working on private drafts, people with slow or metered internet who want AI that works offline, and anyone curious about open-weight models who wants to try several without paying per token. If you want an AI that just works with no setup, a hosted service is simpler, and ChatGPT Free and Claude Free both run in the browser. If you want a friendlier desktop app for the same local models, LM Studio Free wraps them in a graphical interface with a chat window and a built-in agent.
Important limitations
- Local models need disk space for the download and enough memory to hold the model while it runs; large models answer slowly on modest hardware.
- Each model's weights carry their own license, so not every model is open in the same way.
- The newest models sometimes launch on Apple Silicon first, with PC support following in a later release.
- Ollama Cloud is a separate paid option; local use is free, but hosted models are not.
- Ollama is a tool for running models, not a model itself; you download a model before you can chat.
How to claim
- Download Ollama for macOS, Windows or Linux from the official site, or pull the Docker image ollama/ollama.
- Install it and run ollama run llama4, or any other model from the library.
- Wait for the model to download, then chat in the terminal or connect an app to the local API.
- Use ollama pull to add more models, and ollama list to see what is installed.
What you need
- A computer running macOS, Windows or Linux, or Docker.
- Enough disk space for the model download and enough memory to run the model you pick.
Common questions
Is Ollama really free?
Yes. Local use is free forever, with no account, no card and no per-token cost. Ollama Cloud is a separate paid option.
Do my prompts leave my computer?
No. The Ollama homepage says your prompts are never stored or trained on when you run models locally.
What is the current version?
The current stable release is v0.40.19, published on November 26, 2026.
Can I use it in my own app?
Yes. Ollama serves a local REST API with OpenAI and Anthropic compatibility, plus Python and JavaScript libraries.
Does it work offline?
Yes, once a model is downloaded, it runs with no internet connection.