AI & Machine Learning · Machine Learning Infrastructure
Ollama
Run open models locally, or call them through Ollama Cloud
Ollama is a Go-based desktop, command-line, and API runtime for downloading and serving open models on personal hardware. It targets developers who want local inference with an optional hosted path. The code is MIT licensed, local execution has no usage charge, and Ollama Cloud offers free and paid plans with usage credits.
Key facts
- License
- MIT
- Main language
- Go
- Maintainer
- Ollama, Inc.
- First released
- 2023
- Latest release
- v0.40.8, October 21, 2026
- GitHub stars
- 184k, October 2026
- Hosted option
- Ollama Cloud, Free plan, Max from $20/month, Team $500/month
What Ollama is
Ollama is a Go-based runtime, desktop application, command-line tool, and REST API for running open models locally or through Ollama Cloud. Michael Chiang and Jeffrey Morgan started the project after their earlier company, Kitematic, was acquired by Docker in 2015. The repository was created on June 26, 2023, and Ollama, Inc. maintains it. The repository listed 184,249 stars and named contributors including mxyng, dhiltgen, and jmorganca. Ollama says it serves 8.9 million developers and is used by 85% of Fortune 500 companies. In July 2026, the company announced $88 million raised from Benchmark, Theory Ventures, 8VC, Y Combinator, and angel investors.
How it works
The normal workflow takes a few commands. Install the application or command-line tool, pull a model from the library, run it, and call the local REST API from an application. Users can create Modelfiles, set prompts and parameters, stream chat or generation responses, and use chat, generation, and embedding endpoints. Python and JavaScript libraries support application integration. The README lists integrations with Claude Code, Codex, Copilot CLI, DeepSeek Harness, Droid, and OpenCode. Ollama can also launch supported coding tools. Local requests use the service on localhost, while signed-in users can select cloud models without downloading their weights. The CLI and application therefore cover both local model files and remote inference.
Architecture and recent releases
Ollama is primarily written in Go and uses the llama.cpp project as a supported backend. The repository also contains C, C++, TypeScript, JavaScript, and other build or interface languages. Official Docker images support container deployment. The project lists CPU execution, Apple Metal, NVIDIA CUDA, AMD ROCm, MLX, and selected ARM or Jetson packages. Release v0.40.0, dated September 25, 2026, made MLX the default runtime for supported Apple Silicon architectures. Release v0.40.8, dated October 21, added Recursive Flint, while the v0.40.9 release page showed a pre-release on October 22. Ollama's core local runtime does not require PostgreSQL, Redis, or object storage.
License and pricing
The Ollama repository uses the MIT license, which permits commercial use, modification, redistribution, private operation, and sale, subject to retaining the license notice. Downloaded model weights can have separate publisher terms. Local inference has no usage charge. Ollama Cloud has a Free plan with starter credits, Max plans at $20 or $100 per month, and Team at $500 per month. The pricing page describes Enterprise as volume usage pricing. Cloud requests use token-based credits, and running models on personal hardware remains unlimited. Ollama says cloud prompts and responses are not logged or used to train models. Cloud infrastructure is primarily in the United States, with possible routing to Europe.
Limitations and how it compares
Ollama is a Go-based runtime, desktop application, command-line tool, and REST API for running open models locally or through Ollama Cloud. Users can install it, pull models, run them, customize prompts and parameters with Modelfiles, and connect applications through chat, generation, embedding, and streaming endpoints. It supports Python and JavaScript libraries, CPU execution, Apple Metal, NVIDIA CUDA, AMD ROCm, MLX, and selected ARM or Jetson builds. The MIT license permits commercial use, modification, and redistribution with the notice retained. Local inference has no usage charge, while Ollama Cloud offers free and paid plans. Performance varies with model size, architecture, memory, and hardware. Protect the unauthenticated local API before exposing it beyond a trusted host.
Main features
- Local model serving. Download and run supported language, vision, embedding, and tool-capable models on a workstation or server.
- Simple model workflow. Pull models from the library, run them with one command, and customize prompts, parameters, and templates through Modelfiles.
- REST API. Expose chat, generation, embeddings, and streaming endpoints for applications using Ollama clients or compatible integrations.
- OpenAI compatibility. Connect applications built for OpenAI APIs to Ollama cloud models through supported compatible client interfaces.
- Hardware acceleration. Use CPU, Apple Metal, NVIDIA CUDA, AMD ROCm, MLX, and selected ARM or Jetson builds.
- Cloud inference. Run larger models remotely from the command line, desktop application, or authenticated cloud API without downloading model weights.
Self-hosting Ollama
Install Ollama with the Linux, macOS, or Windows installer, the installation script, Homebrew, a package manager, or the official Docker image. Community deployment options include a Helm chart. The core service does not require PostgreSQL, Redis, or object storage. Reserve disk space for downloaded model files and sufficient memory or compatible GPU capacity for the selected model. Keep the local API on localhost unless a trusted network boundary provides protection. Back up model files when downloads are costly, and preserve Modelfiles and application configuration separately. Upgrade the binary or container through its normal package or image process, then check models and clients after upgrades.
Strengths
- The local REST API is easy to script and has Python and JavaScript libraries.
- The MIT license permits commercial use, modification, and redistribution with the notice retained.
- One workflow supports local models and Ollama Cloud models.
- Official installers cover macOS, Windows, Linux, and Docker.
Drawbacks
- Large models can require substantial memory, GPU capacity, disk space, and download time.
- The local API has no authentication by default.
- Cloud usage introduces accounts, credits, concurrency limits, and regional processing.
What teams replace with it
Teams usually evaluate Ollama when they want to move off OpenAI API, Anthropic API, LM Studio.
For side-by-side commercial comparisons, browse our alternatives hub.
Frequently asked questions
Is Ollama free?
The Ollama software and local model execution are free to use, and the repository is MIT licensed. Ollama Cloud has a Free plan with starter credits and paid Max and Team plans with additional credits and capabilities. Model publishers can apply separate terms to downloaded weights. Running a model on personal hardware does not consume cloud credits.
Can businesses use Ollama commercially?
Yes. The Ollama repository uses the MIT license, which permits commercial use, modification, private operation, and redistribution when the license notice remains included. That permission applies to Ollama's code, not automatically to downloaded model weights. Review the license attached to each model before redistributing weights or embedding one in a product.
How do I self-host Ollama?
Install the macOS, Windows, or Linux package, use the installation script or package manager, or run the official Docker image. Pull a model and call the local service through its REST API. CPU execution is supported, while larger models can benefit from compatible NVIDIA, AMD, Apple, MLX, ARM, or Jetson acceleration. Protect the API before remote access.
How does Ollama compare with LM Studio?
Ollama emphasizes a command-line workflow, scriptable REST API, Modelfiles, and developer integrations. LM Studio emphasizes a graphical desktop interface, model discovery, and interactive local chat. Both run local open models, while Ollama also offers a first-party cloud path. Choose LM Studio when graphical model management matters more than command-line automation.
Does Ollama keep prompts private?
Local prompts remain on the machine unless an application sends them elsewhere. Cloud requests are processed by Ollama's hosted infrastructure. Ollama says cloud prompts and responses are not logged or used to train models, and says providers must maintain no-logging, no-training, and zero-retention policies. Disable cloud features when processing must remain local.
Similar projects to compare
- llama.cppMITllama.cpp is an MIT-licensed C and C++ inference runtime for language and vision-language models on CPUs, GPUs, phones, and servers. Maintained by the ggml community under ggml-org, it has more than 131,000 GitHub stars. No hosted service is required, while llama.app offers optional installation and related cloud access.
- LocalAIMITLocalAI is a free, MIT licensed runtime for serving language, vision, audio, image, and video models on local or on premises hardware. It provides OpenAI compatible, Anthropic Messages, and Open Responses interfaces, plus built in agents with tools, retrieval augmented generation, and MCP services. Developers and operators can install models from galleries or other supported sources, select separate backends, and use CPU or GPU acceleration. Docker, Podman, binaries, and launchers support deployment, while distributed mode adds workers, routing, model sharding, and horizontal scaling. LocalAI has no required hosted subscription, but operators manage hardware, storage, authentication, network controls, model compatibility, and separate model or backend licenses.
- GPT4AllMITGPT4All is a Nomic-maintained desktop application, Python SDK, and local API for running open-weight language models on Windows, macOS, and Linux. Its repository uses the MIT license, and the application is free to use. No hosted GPT4All plan or paid GPT4All tier is published, although v3.10.0 can connect to remote Groq, OpenAI, and Mistral providers.
- AgentaMITAgenta is an agent workspace for teams that build, share, schedule, and monitor AI agents through chat, connected tools, and messaging apps. Its repository README describes the project as MIT licensed. Agenta offers a hosted Cloud service with a free Hobby tier and paid plans from $29 per month, plus a free self-hosted edition.
- Arize PhoenixElastic License 2.0 (source-available)Arize Phoenix is a self-hosted platform for tracing, evaluating, testing, and debugging LLM applications, aimed at developers and AI engineering teams. It uses Elastic License 2.0, a source-available license, and has no Phoenix license fee. Arize offers the separate AX service with a free tier, a $50 per month Pro tier, and custom Enterprise pricing.
- DeepnoteApache-2.0Deepnote is a Jupyter-compatible data notebook for analysts, data scientists, developers, and teams using Python, R, and SQL. Its repository uses Apache-2.0, permitting commercial use under the license terms. Deepnote Cloud provides hosted collaboration, managed compute, AI features, integrations, and deployable data apps through Free, Team, and Enterprise plans.
Sources
- Ollama repository
- Ollama releases
- Ollama license
- Ollama pricing
- Ollama cloud documentation
- Ollama funding announcement
Last updated 2026-10-22.