# Ollama

CreateWithAI Hub page: https://createwithaihub.com/open-source/ollama
Latest version of this file: https://createwithaihub.com/open-source/ollama.md

- Type: Library · Category: Libraries & Open Source
- Publisher: Ollama
- Pricing: Free plan plus paid plans · License: MIT
- Runs on: macOS, Windows, Linux, Docker / self-hosted

Open-source tool to download and run open models locally with one command, plus optional cloud models.

Ollama is an open-source application for running open models on your own machine, with installers for macOS, Windows and Linux and an official Docker image. It provides a CLI, a local REST API and compatibility with OpenAI and Anthropic client libraries, and can launch coding agents such as Claude Code or Codex against local models. Running models on your own hardware is free; Ollama also offers paid cloud models.

Useful for: Trying open models locally in a few minutes, pointing coding agents or apps at a private local model, or building apps with the Ollama Python or JavaScript libraries.

## Key features

- One-command install and model run
- Local REST API at http://localhost:11434/api
- OpenAI-compatible (/v1) and Anthropic-compatible APIs
- Model library with coding, vision, embedding and reasoning models
- 'ollama launch' integrations for coding agents
- Official Python and JavaScript libraries

## Connection

- Language: Go
- Focus: Inference / serving, Run models locally

## Install steps from the official documentation

macOS / Linux:

```
curl -fsSL https://ollama.com/install.sh | sh
```

Windows (PowerShell):

```
irm https://ollama.com/install.ps1 | iex
```

Python library:

```
pip install ollama
```

JavaScript library:

```
npm i ollama
```

## Limitations

- Cloud models are billed per token; only local use is free

## Official links

- Website: https://ollama.com
- Source repository: https://github.com/ollama/ollama
- Documentation: https://docs.ollama.com
- Source: https://github.com/ollama/ollama (Install commands, libraries, launch integrations, llama.cpp backend; MIT; not archived)
- Source: https://docs.ollama.com/api (Local API base URL, OpenAI- and Anthropic-compatible APIs)
- Source: https://docs.ollama.com/ (Cloud models, model library categories)
- Source: https://ollama.com/pricing (Local use free and unlimited; cloud usage billed per token)
