Skip to content

How-ToGPU

How to Run Moondream Locally on Your PC

Moondream is a compact open vision language model that can caption images, answer questions about them and find objects on your own PC. We explain whether to run Moondream 3.1 or Moondream 2, the hardware and memory to plan for, how to install it with Photon, and the quicker Ollama option.

By , Systems & Technical Editor

3 min read

How to Run Moondream Locally on Your PC

This guide is based on Moondream's official documentation and model pages, checked on 6 December 2026. Memory figures marked as estimates are our own rough guidance, and we don't quote speed figures.

Moondream is a small vision language model from M87 Labs: you give it an image and it can caption it, answer questions about it, find objects and point to them. The current release is Moondream 3.1, and the older Moondream 2 is still available. Moondream's blog says the company was acquired by Prime Intellect in October 2026, but the open models and local tools are still published. If you'd rather start with general-purpose vision chatbots, our guide to using vision models in Ollama is a good alternative.

Which Moondream should you run?

  • Moondream 3.1 (9B-A2B) is a mixture-of-experts model with 9 billion parameters in total, of which about 2 billion are active at a time, according to M87 Labs. Most of its weights are stored in 8-bit FP8 format. Our estimate is that the weights alone take up roughly 10.5GB.

  • Moondream 2 has about 1.9 billion parameters stored at 16-bit precision, which by our estimate is roughly 3.9GB of weights. Its latest release is dated 21 June 2025.

Our Moondream 3.1 vs Moondream 2 comparison covers the differences in detail.

What you need

  • An NVIDIA graphics card (Ampere or newer) or an Apple Silicon Mac. Moondream's local engine, Photon, runs on NVIDIA GPUs on Windows (64-bit) or Linux, and on M-series Macs running macOS 13 or later. Moondream says any Ampere (RTX 30-series) or newer NVIDIA card should work, though its explicitly tested list is mostly data-centre and workstation cards.

  • Enough memory. Moondream doesn't publish a minimum for desktop graphics cards. Based on the weight sizes above, we'd plan on a 16GB card for Moondream 3.1, while Moondream 2 should fit comfortably on an 8GB card. On Macs, Moondream's own notes say a 16GB M4 Mac mini fits Moondream 2 but not Moondream 3, and list machines with 24GB or more for the larger model. Our best GPUs for Moondream guide goes into detail, and our guide to checking whether a model fits your GPU explains the maths.

  • Python 3.10 to 3.14.

  • No API key for the base models. Moondream says you only need a key from moondream.ai to run your own finetuned versions locally or to use its cloud service.

Step 1: Install Moondream with Photon

Moondream's Python package includes Photon. Install or update it with:

pip install --upgrade moondream

You may come across an older tool called Moondream Station. Moondream now marks it as deprecated and recommends Photon instead, so we'd skip it for new installs.

Step 2: Load the model

Moondream's quick-start loads Moondream 3.1 like this:

import moondream as md
from PIL import Image

model = md.photon("moondream3.1-9B-A2B")

To use the smaller model instead, replace the model name with "moondream2". The weights download from Hugging Face the first time you run it and are cached locally after that, so expect the first run to take a while. Running md.photon_models() lists the exact model names your installed version supports.

Step 3: Caption and ask questions

With an image loaded, the main skills are one line each:

image = Image.open("photo.jpg")
print(model.caption(image)["caption"])
print(model.query(image, "What's in this image?")["answer"])

Both caption and query can stream their answers word by word if you add stream=True. Moondream 3.1 can also handle text-only chat through model.chat.

Step 4: Find and point to objects

Moondream's party trick is returning structured positions rather than just text:

for obj in model.detect(image, "person")["objects"]:
    print(obj)
for point in model.point(image, "person")["points"]:
    print(point)

detect returns bounding boxes and point returns centre points. Photon also documents a segment skill that returns an outline as an SVG path. Not every model supports every skill, so Moondream suggests checking model.supports() before relying on one.

Easier option: Ollama

If you already use Ollama, ollama run moondream downloads a 1.7GB Moondream 2 build with a 2K context window. Be aware that the Ollama library page shows it was last updated two years ago, so it's an older version than the Hugging Face release, and the page doesn't document Moondream's detection and pointing skills. We'd use it for quick captions and questions.

Licence

Moondream 2 is Apache 2.0. Moondream 3.1 uses the Moondream Model License 1.0, which allows personal, internal and commercial use, fine-tuning and redistribution, but requires a separate licence if you offer general-purpose Moondream itself as a hosted service. Read the licence in full if you plan to build a product on it.

The bottom line

Moondream gives your PC a fast, compact vision model that can caption images, answer questions and return object positions. Install the moondream Python package, load Moondream 3.1 through Photon on an NVIDIA RTX 30-series or newer card (we'd plan on 16GB) or a Mac with 24GB or more, or choose Moondream 2 for 8GB cards and 16GB Macs. Ollama offers an older Moondream 2 build if you want the quickest start.

Sources

  1. 01Moondream, Run Moondream Locally (documentation)
  2. 02Moondream, Moondream 3.1 model page (Hugging Face)
  3. 03Moondream, Moondream 2 model page (Hugging Face)
  4. 04Moondream, Moondream Station page
  5. 05Moondream, Blog
  6. 06Moondream, Moondream Model License 1.0
  7. 07Ollama, moondream model library page

About the author

Marcus Thorne

Systems & Technical Editor

Marcus writes Forge PC's step-by-step build, troubleshooting and system optimisation guides. His background spans Windows kernel and power-state diagnostics, UEFI/BIOS configuration, NVMe storage arrays, ATX 3.1 power delivery and running local AI and LLM workloads on consumer graphics cards.

More from Marcus Thorne

Read next

PowerColor Confirms a Low-Profile Radeon RX 9050 8GB for Small PCs

News

PowerColor Confirms a Low-Profile Radeon RX 9050 8GB for Small PCs

PowerColor has confirmed a low-profile Radeon RX 9050 8GB with AMD's reference clocks, a three-fan dual-slot cooler and HDMI plus DisplayPort outputs. It still needs an 8-pin power connector, and there's no price or UK release date yet.

Eleanor Shaw2 min

Best GPUs for Running Moondream Locally in 2026

Best Picks

Best GPUs for Running Moondream Locally in 2026

Moondream 3.1 needs far more graphics memory than Moondream 2, and its Photon engine only supports NVIDIA cards from the RTX 30-series onwards on PCs. We pick the best GPUs for running Moondream locally, from 16GB RTX 5070 Ti and RTX 5060 Ti cards to an 8GB RTX 5060 and the 32GB RTX 5090.

Hannah Vance3 min

Moondream 3.1 vs Moondream 2: Which Local Vision Model to Run?

Versus

Moondream 3.1 vs Moondream 2: Which Local Vision Model to Run?

Moondream 3.1 is M87 Labs' newest local vision model, but the much smaller Moondream 2 is still popular. We compare their size, memory needs, capability claims, tool support and licences to help you decide which to run on your PC.

Callum Reid3 min

Best GPUs for Running Orpheus TTS Locally in 2026

Best Picks

Best GPUs for Running Orpheus TTS Locally in 2026

Orpheus TTS is built on a 3-billion-parameter language model, so it needs far more graphics memory than lightweight voice models. We pick the best NVIDIA GPUs for running it locally, from the 16GB RTX 5070 Ti and RTX 5060 Ti to a 12GB RTX 5070 and the 32GB RTX 5090 for finetuning.

Hannah Vance3 min