> ## Content Index
> Fetch the complete content index at: https://locallabs-llm.org/llms.txt
> Use this file to discover other available public pages before exploring further.

# List Ollama models: downloaded vs running
- URL: https://locallabs-llm.org/ollama-list-models/
- Published: 2026-11-18T11:08:04.000Z
- Updated: 2026-11-27T09:55:55.000Z
- Description: Use ollama ls for downloaded models and ollama ps for loaded models. Check the same inventory through the local API.
- Author: Albert Curry
- Tags: Manage Ollama models

Use `ollama ls` to list downloaded [Ollama](https://docs.ollama.com/?ref=locallabs-llm.org) models and `ollama ps` to see which models are loaded. These lists answer different questions: a downloaded model can be idle, and an idle model can stay on disk for your next conversation.

## List models installed on this server

![GNOME Console with ollama ls entered at the shell prompt.](https://storage.ghost.io/c/e0/70/e070c514-431e-4a20-aa04-a641625f58e7/content/images/2026/11/ollama-list-models-ui-v3.webp)

Linux terminal: List downloaded models on the connected server. [View larger](https://storage.ghost.io/c/e0/70/e070c514-431e-4a20-aa04-a641625f58e7/content/images/2026/11/ollama-list-models-ui-v3.webp?ref=locallabs-llm.org)

```
ollama ls
```

The [CLI reference names ollama ls as the model listing command](https://docs.ollama.com/cli?ref=locallabs-llm.org#list-models). Read the complete model name and tag before choosing a model for another app or deleting a download.

This list belongs to the server your Ollama client is using. If you have changed `OLLAMA_HOST`, you may be looking at another server's inventory. Check the [local connection address](https://locallabs-llm.org/ollama-base-url/) before treating an unexpected list as a lost download.

## Check what is loaded in memory

```
ollama ps
```

The [running-model command](https://docs.ollama.com/cli?ref=locallabs-llm.org#list-running-models) shows loaded models. An empty running list does not mean that your downloaded models were deleted.

I check `ls` first when choosing a model and `ps` when investigating memory use. That avoids downloading a second copy merely because the first model isn't currently loaded.

## Get the inventory through the API

For an application that needs a structured list, [the local GET /api/tags endpoint](https://docs.ollama.com/api/tags?ref=locallabs-llm.org) returns model names and details. In PowerShell:

```
Invoke-RestMethod -Uri 'http://localhost:11434/api/tags'
```

In macOS Terminal or a Linux shell, the equivalent request is:

```
curl http://localhost:11434/api/tags
```

These examples query the default server on this computer. If your CLI uses a different host or port, replace the request's base address with that same server address before comparing inventories; curl and Invoke-RestMethod don't read OLLAMA\_HOST for you. If the request cannot connect, confirm that Ollama is running at the chosen address. The endpoint lists that server's available models, not every model in the online library.

For a model you don't have yet, [download its exact tag](https://locallabs-llm.org/ollama-download-model/). To remove an installed model, use the [single-model removal command](https://locallabs-llm.org/ollama-delete-model/).