Run this model with HF Jobs
Run allenai/Molmo3-4B on Hugging Face's managed compute, monitor its progress, and retrieve the results when it's done.
Paste one of these prompts into your coding agent:
Fine-tune on my dataset
Use HF Jobs and TRL to fine-tune https://huggingface.co/allenai/Molmo3-4B. Ask me which dataset to train on, then push the fine-tuned model to a new model repo. Run `hf jobs --help` first to learn the CLI.
Run batch inference
Use HF Jobs to run batch inference with https://huggingface.co/allenai/Molmo3-4B on the inputs in a mounted HF Bucket. Ask me which Bucket to use, then write the outputs back to it and keep each input ID. Run `hf jobs --help` first to learn the CLI.
Evaluate on a benchmark
Use HF Jobs to evaluate https://huggingface.co/allenai/Molmo3-4B. Ask me which benchmark to run, then save the scores and the per-example results to a new dataset repo. Run `hf jobs --help` first to learn the CLI.
Quantize for lower memory use
Use HF Jobs to create a 4-bit version of https://huggingface.co/allenai/Molmo3-4B. Push it to a new model repo, then reload it from there and report its memory footprint. Run `hf jobs --help` first to learn the CLI.
Instructions to use allenai/Molmo3-4B with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use allenai/Molmo3-4B with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("image-text-to-text", model="allenai/Molmo3-4B", trust_remote_code=True) messages = [ { "role": "user", "content": [ {"type": "image", "url": "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/p-blog/candy.JPG"}, {"type": "text", "text": "What animal is on the candy?"} ] }, ] pipe(text=messages)# pip install -U transformers accelerate # Load model directly from transformers import AutoModelForImageTextToText model = AutoModelForImageTextToText.from_pretrained("allenai/Molmo3-4B", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
- Local Apps Settings
- vLLM
How to use allenai/Molmo3-4B with vLLM:
Install from pip and serve model
# Install vLLM from pip: pip install vllm # Start the vLLM server: vllm serve "allenai/Molmo3-4B" # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:8000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "allenai/Molmo3-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker
docker model run hf.co/allenai/Molmo3-4B
- SGLang
How to use allenai/Molmo3-4B with SGLang:
Install from pip and serve model
# Install SGLang from pip: pip install sglang # Start the SGLang server: python3 -m sglang.launch_server \ --model-path "allenai/Molmo3-4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "allenai/Molmo3-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }'Use Docker images
docker run --gpus all \ --shm-size 32g \ -p 30000:30000 \ -v ~/.cache/huggingface:/root/.cache/huggingface \ --env "HF_TOKEN=<secret>" \ --ipc=host \ lmsysorg/sglang:latest \ python3 -m sglang.launch_server \ --model-path "allenai/Molmo3-4B" \ --host 0.0.0.0 \ --port 30000 # Call the server using curl (OpenAI-compatible API): curl -X POST "http://localhost:30000/v1/chat/completions" \ -H "Content-Type: application/json" \ --data '{ "model": "allenai/Molmo3-4B", "messages": [ { "role": "user", "content": [ { "type": "text", "text": "Describe this image in one sentence." }, { "type": "image_url", "image_url": { "url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg" } } ] } ] }' - Docker Model Runner
How to use allenai/Molmo3-4B with Docker Model Runner:
docker model run hf.co/allenai/Molmo3-4B
Molmo3-4B
Molmo3 is a family of fully open vision-language models from the Allen Institute for AI (Ai2), focused on spatial and 3D understanding and grounding. It brings geometric perception, 2D and 3D grounding, spatial reasoning, and embodied reasoning into one model, while keeping the general image, video, and multi-image abilities of Molmo2. Molmo3 is trained on publicly available third-party datasets and a set of new datasets we will release. Molmo3 also has an 8B variant. Molmo3-4B can:
- Estimate low-level 3D properties: camera field of view, metric depth at a point, surface normals, and corresponding points across views
- Ground in 2D and 3D: points, segmentation masks, points with depth or a surface normal, and 3D bounding boxes, all from free-form referring expressions
- Reason about space and actions: affordance pointing, step-by-step instructions grounded in points and motion directions (DoPoints), trajectories, and spatial and embodied QA
- Understand images, videos and multiple images: QA, captioning, counting, video pointing and tracking
Table of Contents
Using Molmo3 ยท Examples ยท vLLM ยท Evaluations ยท License and Use ยท Model Details ยท Uses ยท Training Details ยท Evaluation Details ยท Technical Specifications ยท Citation ยท Glossary ยท More Information ยท Model Card Authors ยท Model Card Contact
Using Molmo3
Molmo3 runs with Transformers through trust_remote_code: this repo holds the model and processor code (modeling_molmo3.py, processing_molmo3.py, configuration_molmo3.py) alongside the weights.
A transformers implementation is in progress.
Setup Environment
conda create --name molmo3 python=3.11
conda activate molmo3
pip install torch torchvision "transformers>=5.2" numpy pillow
pip install torchcodec # for video; falls back to PyAV (`pip install av`)
We tested with transformers 5.5.3 and PyTorch 2.11.
Load the model
All examples below use this setup:
import io, json, urllib.request
import torch
from PIL import Image
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "allenai/Molmo3-4B"
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
model = AutoModelForImageTextToText.from_pretrained(
model_id, trust_remote_code=True, dtype=torch.bfloat16).cuda().eval()
def generate(messages, images=None, videos=None, video=None, max_new_tokens=512):
"""Run one chat and decode the answer, including its points and masks."""
inputs = processor.apply_chat_template(
messages, images=images, videos=videos, tokenize=True).to("cuda")
out = model.generate(**inputs, max_new_tokens=max_new_tokens, do_sample=False,
return_dict_in_generate=True)
ids = out.sequences[0, inputs["input_ids"].shape[1]:]
answer = processor.decode(ids, out.grounding[0], images=images, video=video)
return answer, processor.answer_message(ids, out.grounding[0])
def load_image(name):
url = f"https://raw.githubusercontent.com/scikit-image/scikit-image/v0.19.3/skimage/data/{name}"
return Image.open(io.BytesIO(urllib.request.urlopen(url).read())).convert("RGB")
Grounding output
Molmo3 uses separate heads for pointing and segmentation instead of writing coordinates as text.
generate(..., return_dict_in_generate=True) returns the heads' output in out.grounding
alongside the tokens, with one entry per chat in the batch.
The heads output location ids. To get human-readable output, processor.decode combines the heads' output,
the output tokens, and preprocessing metadata to build a structured JSON document that includes the
grounding elements.
For example:
image = load_image("coffee.png")
messages = [{"role": "user", "content": [{"type": "image"}, {"type": "text", "text": "Point to the spoon."}]}]
inputs = processor.apply_chat_template(messages, images=[image], tokenize=True).to("cuda")
out = model.generate(**inputs, max_new_tokens=64, do_sample=False, return_dict_in_generate=True)
ids = out.sequences[0, inputs["input_ids"].shape[1]:] # the generated tokens
document = processor.decode(ids, out.grounding[0], images=[image])
print(json.dumps(document))
Shows:
{"text": "<points id=\"1\">spoon</points>",
"multi_modal": [{"type": "points", "label": "spoon", "grounding_id": 1, "confidence": 0.999,
"coordinates": [{"mm_ix": 0, "x": 366.8, "y": 281.5, "x_norm": 0.611, "y_norm": 0.704}],
...}],
"type": "text"}
The text in the text field will include an XML marker for each grounding element, such as <points id="N">
(other types use <points3d>, <pointsn>, <tracks>, <seg> and <box3d>).
The multi_modal field contains those grounding elements in JSON format.
Grounding elements include these fields:
grounding_idan id that matches the ids in the XML markers.typewhich shows the type of grounding it islabelgiving the element a text labelconfidencea score between 0 and 1 showing how confident the model is the object exists in the imagecoordinatesspecify the grounding, it is different for different grounding typesmasksfor segmentation, a list of the COCO RLE encoding of the masks
The grounding types include:
type |
coordinates entries |
|---|---|
points |
mm_ix (image index), x, y |
points_3d |
mm_ix, x, y, depth (meters; negative means unmeasurable) |
points_normal |
mm_ix, x, y, nx, ny, nz (camera coordinates: x right, y down, z into the scene; null when there is no valid normal) |
video_points |
mm_ix, time (seconds), x, y |
video_tracks |
mm_ix, object_id, time, x, y |
segmentation |
no coordinates; the element has masks (one COCO RLE per mask) and mm_ids (each mask's image index) instead |
bounding_boxes_3d |
one box each: center_2d, depth, size, rotation, and center in camera coordinates when the camera is known |
camera_intrinsics |
mm_ix, hfov, vfov in degrees, for the camera the model predicts before 3D boxes |
x and y are in pixels of the original image (or video frame), and each has an x_norm/y_norm companion that is divided by the image width or height.
The first element's confidence is the model's probability that the answer grounds anything.
Grounding input
The model can accept grounding elements as input. To do this, build your own document object and pass it into
processor.encode_document. It returns the prompt text with the points rendered as tags, and a
grounding object to put in the message's "grounding" field.
For points, your document can use either (x, y) or (x_norm, y_norm).
For example, to ask for the depth at three points:
image = load_image("astronaut.png") # 512 x 512
document = {
"text": 'How far are these points from the camera? <points id="1"></points>',
"multi_modal": [{"type": "points", "grounding_id": 1, "coordinates": [
{"mm_ix": 0, "x": 204.8, "y": 128.0},
{"mm_ix": 0, "x_norm": 0.9, "y_norm": 0.2},
{"mm_ix": 0, "x": 204.8, "y": 460.8}]}],
}
text, grounding = processor.encode_document(document, images=[image])
messages = [{"role": "user", "content": [{"type": "image"}, {"type": "text", "text": text}],
"grounding": grounding}]
answer, _ = generate(messages, images=[image], max_new_tokens=128)
You can also encode the input points separately and then include them in your message like:
points = {"type": "points", "coordinates": [
{"mm_ix": 0, "x": 204.8, "y": 128.0},
{"mm_ix": 0, "x_norm": 0.9, "y_norm": 0.2},
{"mm_ix": 0, "x": 204.8, "y": 460.8}]}
tag, grounding = processor.encode_document(points, images=[image])
messages = [{"role": "user", "content": [
{"type": "image"},
{"type": "text", "text": "How far are these points from the camera? " + tag},
], "grounding": grounding}]
answer, _ = generate(messages, images=[image], max_new_tokens=128)
Notes
- Images are tiled into up to 8 crops by default. Raise this with
AutoProcessor.from_pretrained(model_id, trust_remote_code=True, max_crops=24). Many of our official evaluations use 24 crops. - Batched generation works by passing a list of chats.
- The LLM supports
attn_implementation="sdpa"(the default),"flex_attention"and"eager". It does not support flash attention, because image tokens attend to each other bidirectionally.
Examples
Image QA and captioning
image = load_image("astronaut.png")
messages = [{"role": "user", "content": [
{"type": "image"},
{"type": "text", "text": "Describe this image."},
]}]
answer, _ = generate(messages, images=[image])
print(answer["text"])
Pointing and segmentation
image = load_image("chelsea.png")
for prompt in ["Point to the cat's eyes.", "Segment the cat."]:
messages = [{"role": "user", "content": [{"type": "image"}, {"type": "text", "text": prompt}]}]
answer, _ = generate(messages, images=[image])
print(answer["text"])
for element in answer["multi_modal"]:
print(element["type"], element["label"], element.get("coordinates"))
for rle in element.get("masks") or []:
mask = processor.rle_to_mask(rle) # bool [H, W]
print(" mask pixels:", int(mask.sum()))
Depth and surface normals
image = load_image("coffee.png")
for prompt in [
"Point to the spoon and tell me how far each is from the camera.", # -> points_3d
"Point to the table and give the surface normal at each.", # -> points_normal
"Give the horizontal and vertical field of view of this image, in degrees.", # text answer
]:
messages = [{"role": "user", "content": [{"type": "image"}, {"type": "text", "text": prompt}]}]
answer, _ = generate(messages, images=[image])
print(answer["text"])
for element in answer["multi_modal"]:
print(element["type"], element["coordinates"])
Depth and surface normals at given points
image = load_image("coffee.png")
points = {"type": "points", "coordinates": [
{"mm_ix": 0, "x_norm": 0.50, "y_norm": 0.50}, # the front of the cup
{"mm_ix": 0, "x_norm": 0.15, "y_norm": 0.85}, # the table, near the camera
{"mm_ix": 0, "x_norm": 0.85, "y_norm": 0.10}]} # the table, farther back
tag, grounding = processor.encode_document(points, images=[image])
for prompt in [
f"What is the depth of {tag}?", # -> points_3d
f"What is the surface normal at each of these points? {tag}", # -> points_normal
]:
messages = [{"role": "user", "content": [{"type": "image"}, {"type": "text", "text": prompt}],
"grounding": grounding}]
answer, _ = generate(messages, images=[image], max_new_tokens=128)
for c in answer["multi_modal"][0]["coordinates"]:
print({k: round(v, 2) if isinstance(v, float) else v
for k, v in c.items() if k not in ("mm_ix", "x_norm", "y_norm")})
# {'x': 510.33, 'y': 40.22, 'depth': 1.05} <- points come back sorted by position
# {'x': 301.63, 'y': 201.09, 'depth': 0.44}
# {'x': 89.67, 'y': 340.22, 'depth': 0.68}
# {'x': 510.33, 'y': 40.22, 'nx': 0.06, 'ny': -0.53, 'nz': -0.85}
# {'x': 301.63, 'y': 201.09, 'nx': 0.02, 'ny': -0.1, 'nz': -0.99}
# {'x': 89.67, 'y': 340.22, 'nx': 0.06, 'ny': -0.53, 'nz': -0.85}
3D boxes
image = load_image("coffee.png")
messages = [{"role": "user", "content": [{"type": "image"}, {"type": "text", "text": "Find the 3D boxes for cup."}]}]
answer, _ = generate(messages, images=[image])
for element in answer["multi_modal"]:
if element["type"] == "camera_intrinsics":
print("camera:", element["coordinates"])
elif element["type"] == "bounding_boxes_3d":
for box in element["coordinates"]:
print(box["center"], box["size"]) # meters, in camera coordinates
To use a known camera instead of the predicted one, give its field of view (in degrees) before the final period of the prompt, as in Find the 3D boxes for cup, vfov=45.00 and hfov=60.00., or pass intrinsics (a 3x3 matrix or an (hfov, vfov) pair) to processor.decode.
Multi-turn
Pass each answer back as the assistant turn with processor.answer_message, so the model sees its earlier points and masks exactly as it generated them:
image = load_image("chelsea.png")
messages = [{"role": "user", "content": [{"type": "image"}, {"type": "text", "text": "Cut out the cat."}]}]
answer, reply = generate(messages, images=[image], max_new_tokens=128)
messages += [reply, {"role": "user", "content": "Now point to its nose."}]
answer, _ = generate(messages, images=[image], max_new_tokens=128)
print(answer["multi_modal"])
Every turn must use the same images, in the same order, at the same max_crops.
Video QA, pointing and tracking
# "African penguins walking" from Wikimedia Commons (CC BY-SA 4.0); a local path works too
url = "https://upload.wikimedia.org/wikipedia/commons/e/ec/African_penguins_walking.webm"
video = processor.load_video(url) # {"frames": [T, H, W, 3] uint8, "timestamps": [T]}
for prompt in ["Describe this video.", "Point to the penguins.", "Track the penguin on the left."]:
messages = [{"role": "user", "content": [{"type": "video"}, {"type": "text", "text": prompt}]}]
answer, _ = generate(messages, videos=[video], video=video)
print(answer["text"])
for element in answer["multi_modal"]:
print(element["type"], element["coordinates"][:5]) # each with a "time" in seconds
Frames are sampled at up to 2 fps, or 128 evenly spaced frames for longer videos.
Pass the loaded dict to decode (here video=video), since decoding the points needs the frame size and timestamps.
Multi-image QA and pointing
images = [load_image("chelsea.png"), load_image("coffee.png")]
messages = [{"role": "user", "content": [
{"type": "image"}, {"type": "image"}, # one item per image, images first
{"type": "text", "text": "Point to the cat's eyes and the cup."},
]}]
answer, _ = generate(messages, images=images)
for element in answer["multi_modal"]:
print([(c["mm_ix"], round(c["x"]), round(c["y"])) for c in element["coordinates"]])
vLLM
molmo3-vllm is a plugin that serves this checkpoint with vllm-omni, pointing and segmentation heads included.
It uses the same preprocessing as this repo, and it can directly return the same JSON document as processor.decode. For example:
import json
from openai import OpenAI
client = OpenAI(base_url="http://localhost:8000/v1", api_key="none")
response = client.chat.completions.create(
model="molmo3",
messages=[{"role": "user", "content": [
{"type": "image_url", "image_url": {"url": "https://raw.githubusercontent.com/scikit-image/scikit-image/v0.19.3/skimage/data/coffee.png"}},
{"type": "text", "text": "Segment the spoon."}]}],
max_tokens=256, temperature=0,
extra_body={"vllm_xargs": {"grounding": "json_objects"}},
)
document = json.loads(response.choices[0].message.content)
print(document["multi_modal"][0]["masks"]) # the spoon's mask, as COCO RLE
See the molmo3-vllm README for installing and starting the server, input points, video, streaming and the other output modes.
Evaluations
Below are Molmo3-4B results on spatial and 3D benchmarks. Several benchmarks (*-Eval) are new in Molmo3.
For each benchmark we list the best API model and the best open-weight model.
For the full tables, specialist baselines and benchmark details, see our technical report.
| Task | Benchmark | Metric | Molmo3-4B | Molmo3-8B | Best API model | Best open-weight model |
|---|---|---|---|---|---|---|
| Camera FoV | MegaDepth | error โ | 2.3 | 2.3 | 3.6 (Claude Fable 5.2) | 14.1 (Gemma 4 12B) |
| Camera FoV | Stanford2D3D | error โ | 4.0 | 4.6 | 7.0 (GPT-6 Astra) | 13.2 (Gemma 4 26B A4B) |
| Depth | Depth-Eval | ฮด1.25 | 83.6 | 83.0 | 62.0 (Gemini 4 Argon) | 36.7 (Qwen3.8-27B) |
| Normals | NYUv2 | < 11.25ยฐ | 67.7 | 67.8 | 55.9 (Gemini 4 Argon) | 16.1 (Qwen3.8-27B) |
| Normals | Normal-Eval | < 11.25ยฐ | 72.8 | 74.7 | 56.7 (GPT-6 Astra) | 23.4 (Qwen3.8-27B) |
| Multi-view | CrossPoint | CPt | 89.4 | 87.9 | 92.0 (Gemini 4 Argon) | 66.3 (Qwen3.8-27B) |
| Multi-view | 2D MVP-Eval | Loc. J_src | 84.3 | 83.4 | 68.8 (GPT-6 Astra) | 7.9 (Qwen3.8-27B) |
| Multi-view | 3D MVP-Eval | Loc. J_src | 65.7 | 66.6 | 12.3 (GPT-6 Astra) | -3.3 (Qwen3.5-4B) |
| Pointing | PixMo-Points2 | F1 | 86.4 | 86.8 | 89.0 (Gemini 4 Argon) | 69.8 (Qwen3.8-27B) |
| Pointing | SA-Co/Gold | F1 | 85.5 | 87.0 | 94.7 (Gemini 4 Argon) | 84.6 (Gemma 4 26B A4B) |
| Ref. 3D | RefDepth-Eval | F1 | 79.9 | 79.4 | 64.1 (Gemini 4 Argon) | 40.7 (Qwen3.8-27B) |
| Ref. 3D | RefNorm-Eval | < 11.25ยฐ | 82.2 | 84.5 | 67.6 (GPT-6 Astra) | 15.8 (Gemma 4 26B A4B) |
| Ref. 3D | RefMVP-Eval | Loc. J_src | 65.5 | 66.4 | 55.4 (GPT-6 Astra) | 6.5 (Qwen3.8-27B) |
| 3D detection | Omni3D | AP3D | 32.0 | 32.1 | 13.4 (GPT-6 Astra) | 26.1 (Qwen3.5-4B) |
| 3D detection | RefDet3D-Eval | LET F1 | 63.6 | 61.7 | 21.3 (Claude Opus 5.5) | 13.0 (Qwen3-VL-4B) |
| Distance | Distance-Eval | ฮด1.25 | 77.3 | 76.0 | 58.3 (Gemini 4 Argon) | 36.3 (Qwen3.8-27B) |
| Affordance | 3 benchmarks | avg. | 87.3 | 87.3 | 82.4 (Gemini 4 Argon) | 64.4 (Qwen3.8-27B) |
| DoPoints | DoPoints-Eval | SUS | 39.4 | 39.8 | 36.3 (Gemini 4 Argon) | 21.0 (Qwen3.8-27B) |
| DoPoints | DoPoints-Eval | S_spa | 75.9 | 76.0 | 71.5 (Claude Fable 5.2) | 52.4 (Qwen3.8-27B) |
| DoPoints | DoPoints-Eval | S_vec | 76.1 | 75.9 | 69.6 (Gemini 4 Argon) | 63.3 (Qwen3.8-27B) |
| Embodied | General (12 benchmarks) | avg. | 75.1 | 75.8 | 88.9 (Gemini 4 Argon) | 73.9 (Qwen3.8-27B) |
| Embodied | Trajectory | RMSE โ | 124.8 | 124.1 | 120.8 (Gemini 3.8 Flash) | 181.2 (Qwen3-VL-8B) |
| Embodied | Planning (4 benchmarks) | avg. | 63.0 | 61.2 | 71.0 (Gemini 4 Argon) | 55.8 (Qwen3.8-27B) |
| Spatial | SPAR-Bench | acc. | 79.4 | 79.3 | 69.8 (Gemini 4 Argon) | 60.3 (Qwen3.8-27B) |
| Spatial | 3DSRBench | acc. | 67.4 | 69.1 | 85.8 (Gemini 4 Argon) | 59.0 (Gemma 4 26B A4B) |
| Spatial | Average (7 benchmarks) | avg. | 64.5 | 64.9 | 70.6 (Gemini 4 Argon) | 55.1 (Qwen3.8-27B) |
General abilities. Molmo3-4B keeps the general abilities of Molmo2-4B. It does slightly worse on long videos, because Molmo3 skips the long-context training stage.
| Model | Image QA avg. (11) | Multi-image QA avg. (3) | Short video QA avg. | Long video QA avg. |
|---|---|---|---|---|
| Molmo2-4B | 80.4 | 57.8 | 75.3 | 64.5 |
| Molmo3-4B (this model) | 81.8 | 62.6 | 75.2 | 62.0 |
| Molmo3-8B | 82.8 | 63.6 | 75.7 | 62.5 |
License and Use
This model is licensed under Apache 2.0. It is intended for research and educational use in accordance with Ai2's Responsible Use Guidelines. This model is trained on third-party datasets that are subject to academic and non-commercial research use only. Please review the sources to determine if this model is appropriate for your use case.
Model Details
| Field | Details |
|---|---|
| Developed by | Chris Dongjoo Kim1, Sangho Lee1, Christopher Clark1, Heeseung Yun2, Jaehyeon Son3, Suhwan Choi1,2, Yeonseok Jung2,1, Taira Anderson1, Weikai Huang4, Savya Khosla5, Yue Yang6, Vincent Shao4, Jaemin Cho7, Sangkyu Lee1, Rohun Tripathi1, Jason Ren8,1, Jae Sung Park1, Winson Han1, Zsolt Kira3, Gunhee Kim2, Ranjay Krishna4, Noah A. Smith4,1 1 Allen Institute for AI ยท 2 Seoul National University ยท 3 Georgia Institute of Technology ยท 4 University of Washington ยท 5 University of Illinois Urbana-Champaign ยท 6 Thinking Machines Lab ยท 7 Johns Hopkins University ยท 8 University of North Carolina at Chapel Hill |
| Model date | December 2026 |
| Shared by | Ai2 |
| Model type | Molmo3 is a vision-language model with dedicated pointing and segmentation heads. It takes text, images, multi-image sets, videos, points and an optional depth map as input and outputs text along with grounded outputs such as points, segmentation masks, depths, surface normals, motion directions, and 3D boxes. It was trained in two stages (image-only, then image, multi-image, and video), starting from a pre-trained LLM and vision encoder. We release 4B and 8B versions. |
| Language(s) | English |
| License | This model is licensed under Apache 2.0. It is intended for research and educational use in accordance with Ai2's Responsible Use Guidelines. |
| Finetuned from | Molmo3-4B initializes from Qwen3-4B-Instruct-2507 and Molmo3-8B from Qwen3-8B. Both models initialize the vision encoder from SigLIP 2 so400m. |
Uses
Direct use
Molmo3 is intended for researchers and developers working on visual grounding, 3D perception, and spatial or embodied reasoning. It can be used for a wide range of tasks by prompting the model with natural language queries, images, videos, or points, including:
- Question answering about images, multi-image sets, and videos, including spatial questions such as relative position, distance, and size.
- Pointing and counting: pointing to objects described in text and counting them, in images and videos.
- Segmentation: producing masks for objects described in text.
- 3D detection: predicting 3D bounding boxes for objects described in text.
- Tracking: following objects through a video.
- Depth and surface normals: estimating depth and surface orientation at a point or for an object described in text.
- Camera field of view: estimating the field of view of the camera that took an image.
- Multi-view correspondence: finding the same point across different images of a scene.
- Affordances: pointing to where an object can be grasped, pushed, or placed.
- Instructions and planning: giving step-by-step instructions with points and motions, predicting trajectories, and planning tasks.
See Quick Start for code.
Downstream use
Molmo3 can be fine-tuned with standard vision-language model training methods, and we expect it to be most useful as a starting point for grounding and spatial understanding tasks. Molmo3 can also be used as a tool inside a larger system, where its grounding and 3D understanding abilities are likely to be the most useful.
Out-of-scope use
Molmo3 does not target coding, tool use, computer use and other agentic tasks. It does not support predicting robotic actions directly. It does not support interleaved image/text input, or joint video and image input.
Misuse
Molmo3 can locate, segment, and track people and objects in images and video, and estimate their depth and 3D position. These abilities could be misused for surveillance or tracking of individuals without their consent, for targeting in weapons or other harmful autonomous systems, or to control physical systems without adequate human oversight. Like other vision-language models, it could also be prompted to produce harmful or misleading text.
Use of Molmo3 is subject to its license and Ai2's Responsible Use Guidelines. Because the weights are openly released, Ai2 cannot monitor or enforce how the model is used, fine-tuned, or deployed after publication, and cannot prevent its safety behavior from being removed through fine-tuning. Anyone deploying Molmo3 in products or physical systems is responsible for their own safeguards and testing.
Training Details
Training data
Molmo3 was trained on a large mix of public datasets covering general vision, grounding, and 3D tasks; data from Ai2's PixMo, Molmo2, MolmoPoint, and WildDet3D releases; and 11 new datasets we constructed. The full mixture is described in our technical report.
Preprocessing
Text is tokenized with the LLM's tokenizer. Images are resized if needed and split into crops that tile the image, using up to 8 crops for most images during training and 24 at inference. Video frames are sampled at 2 FPS by default, with higher rates for some tracking tasks and lower rates for very long videos. Depth maps are resized to match the image. Points are converted into the patch, subpatch, and location targets used by the pointing head, and segmentation masks are resized to the resolution the model can predict for the given input size.
Speeds, sizes, times
The checkpoints are 20 GB for Molmo3-4B and 35 GB for Molmo3-8B using fp32 weights.
Full training across both stages took about 4,000 B300 GPU hours for Molmo3-4B and 4,900 for Molmo3-8B, using 32โ64 GPUs per stage and about 3 days of wall-clock time. See the technical report for details.
Inference speed depends on the implementation, concurrency, and task. With our vLLM implementation on one H100 serving 32 concurrent requests, image requests take 1.5โ4.5 seconds, with 0.35โ0.55 seconds to the first token. Pointing and segmentation answers are usually short (20โ30 tokens), so they typically take about 1.5 seconds. Longer answers such as captions run at about 17โ21 ms per output token, so they can take more than 4.5 seconds depending on their length. A single 128-frame video request takes about 8 seconds, mostly to process the frames.
Evaluation Details
Testing data
Molmo3 was evaluated on many capabilities on public benchmarks, and 11 benchmarks we construct (in bold):
- Surface normals: Molmo3-Normal-Eval, Molmo3-RefNormal-Eval, NYUv2, iBims-1, OASIS
- Depth and distance: Depth-Eval, RefDepth-Eval, Distance-Eval (with a simulated variant, Sim Distance-Eval)
- Multi-view pointing: Molmo3-MVP-Eval (2D and 3D), Molmo3-RefMVP-Eval, CrossPoint
- Camera field of view: MegaDepth, Stanford 2D-3D-S
- Pointing: PixMoPoints-Eval2, SA-Co/Gold
- Segmentation: PixMoPoints-Eval2, SA-Co/Gold, RefCOCO, RefCOCO+, RefCOCOg, gRefCOCO
- 3D detection: Molmo3-RefDet3D-Eval, Omni3D
- Affordance: Molmo3-AFF-Eval, ReasonAff, HANDAL
- Spatial reasoning: 3DSRBench, ViewSpatial, VSI-Bench, MMSI-Bench, SITE, SPAR-Bench, MSMU-Bench
- Embodied pointing and QA: Point-Bench, RefSpatial-Bench, RoboSpatial-Home, Where2Place, ERQA, EmbSpatial, SAT, BLINK (depth), OpenEQA, CV-Bench, PIO, VABench-P
- Instructions, trajectories, planning, and failure detection: Molmo3-DoPoints-Eval, VABench-V, ShareRobot-V, EgoPlan2, RoboVQA, Cosmos-Reason, RoboFAC
- Robot manipulation: LIBERO, LIBERO-Plus, RoboTwin 2.0, RoboSPA-Spatial, MolmoSpaces-Bench, and real-world DROID tasks
- General abilities: the image QA, video QA, video counting, pointing, and tracking benchmarks from Molmo2
Factors
- Performance can vary significantly across image types for 3D tasks, with indoor scenes often working significantly better.
- Images with unusual lenses, like panoramic images, can also see a drop in 3D performance.
- Segmentation masks are not ultra-precise and won't always meet demands for extreme pixel-level accuracy.
- Video comprehension drops on videos longer than a few minutes.
- Molmo3 can be less effective on tasks that require complex step-by-step reasoning.
The technical report contains detailed results that show how performance changes across these settings.
Metrics
Metrics depend on the task:
- Surface normals: angular accuracy (share of predicted normals within 11.25ยฐ, 22.5ยฐ, or 30ยฐ of the label).
- Depth and distance: ฮด<1.25 (share of predictions within a factor of 1.25 of the true value) and mean absolute relative error (AbsRel).
- Multi-view pointing: Localized J, which rewards both locating visible points and abstaining on hidden ones, alongside Average Jaccard and PCK.
- Camera field of view: median field-of-view error and AUC.
- Pointing and counting: F1 after matching predicted and ground-truth points; counting accuracy for video counting.
- Segmentation: mIoU, pmF1, and cgF1 (following SAM 3) for SA-Co/Gold; cIoU and gIoU for referring segmentation.
- 3D detection: LET-F1 and AP3D.
- Affordance: F1.
- Spatial reasoning and embodied QA: accuracy.
- Embodied pointing: share of predicted points inside the target region.
- Instructions: Step Understanding Score (SUS) for Molmo3-DoPoints-Eval.
- Trajectories, planning, and failure detection: RMSE for trajectories; each benchmark's standard metric (mostly accuracy) for planning and failure detection.
- Video tracking: HOTA.
- Robot manipulation: task success rate.
- General abilities: the same QA metrics as Molmo2.
Results
Molmo3 outperforms other vision-language models, including frontier API models, on core 3D perception tasks such as camera field of view, depth, surface normals, and multi-view pointing, and is the strongest open-weight model for pointing, segmentation, and spatial and embodied reasoning.
- 3D perception: Molmo3-4B scores 83.6 ฮด<1.25 on Depth-Eval, across 17 datasets in five domains (Gemini 4 Argon: 62.0). Molmo3-8B scores 67.8 on NYUv2 surface normals within 11.25ยฐ (Gemini 4 Argon: 55.9), and Molmo3-4B scores 84.3 Localized J on multi-view pointing (GPT-6 Astra: 68.8).
- 3D detection: Molmo3-4B reaches 63.6 LET-F1 on RefDet3D-Eval, a referring-expression 3D detection benchmark, compared with 29.3 for Gemini Robotics-ER 2 and 28.7 for WildDet3D.
- Pointing: Molmo3-8B scores 86.8 F1 on PixMoPoints-Eval2, ahead of GPT-6 Astra (83.4) and behind only Gemini 4 Argon (89.0).
- Segmentation: after fine-tuning, Molmo3-4B reaches a new state of the art on RefCOCO segmentation with 84.8 average cIoU (SegCompass: 83.1), or 82.3 when training images overlapping the evaluation sets are removed, and 75.2 gIoU on gRefCOCO testB (SegCompass: 71.9).
- Affordances: Molmo3 reaches 77.1โ78.1 F1 on ReasonAff, compared with 60.0 for Gemini 4 Argon.
- Spatial reasoning: Molmo3-8B averages 64.9 and Molmo3-4B 64.5 over seven spatial benchmarks, compared with 55.1 for Qwen3.8-27B.
- Robotics: as a vision-language-action backbone, Molmo3-4B matches Qwen backbones on LIBERO (98.2%) and LIBERO-Plus (86.2%) and pulls ahead on spatially harder tasks, reaching 28.7% on RoboTwin 2.0 Hard (Qwen3.5-4B: 16.3%) and 62.8% on RoboSPA-Spatial (Qwen3.5-4B: 58.0%).
- General abilities: Molmo3 performs about the same as Molmo2 on general image and video benchmarks.
See Evaluations above for a table of Molmo3-4B results.
Safety evaluation
We evaluated Molmo3 on three multimodal safety benchmarks, reporting attack success rate (ASR, the share of unsafe prompts handled unsafely; lower is better). Molmo3-4B and Molmo3-8B score 67.6% and 62.3% mean ASR on HoliSafe-Bench and 46.7% and 44.8% on USB (base split). On the harmful-content scenarios of MM-SafetyBench, they score 16.4% and 16.2% when the harmful phrase is shown as a generated image, rising to 33โ41% when it appears as typography. They rarely refuse safe requests (2โ4% refusal rate on HoliSafe, about 7% over-refusal on USB).
Molmo3 refuses most reliably when the request text is plainly harmful, and much less often when the harm is only in the image: it will generally engage with an unsafe image, such as an image of a gun, if the text is safe. It is most reliable on illegal activities and hazardous materials, and least reliable on privacy, bias, and military topics. Molmo3 will often give specialized advice (medical, financial, legal), although it will usually caution the user or recommend consulting a professional.
Adversarial testing
We did several kinds of adversarial robustness testing:
- Multi-turn: we built conversations that mix different prompts with grounded and ungrounded outputs, to check whether the model degrades as a conversation continues. In a few cases the model fixated on the first question and kept producing grounding outputs that matched it instead of later questions. Adding training conversations that mix grounding tasks mitigated this.
- Input points: we built adversarial images and test cases to find failures in understanding input points. These uncovered several edge cases (unusual aspect ratios, blank images, document images), which we addressed by adding training data covering them.
- Stylistic bias: testing found that the model could learn specific stylistic biases that made it say an object was absent whenever a pointing or segmentation query used certain phrasings. We fixed this through changes to the data construction pipeline.
- Depth as input: we found that input depth maps could degrade performance on general visual tasks. Adding depth-as-input examples for image captioning fixed the issue.
Technical Specifications
Model architecture and objective
Molmo3 connects a pre-trained LLM to a vision transformer. The connector reads features from the third- and ninth-to-last ViT layers, pools 2ร2 patch windows (3ร3 for video frames) with attention, and projects them into the LLM with an MLP. Sinusoidal positional embeddings are added to the ViT patch features. Image tokens attend bidirectionally within the same image or frame, but not across different images or frames. An optional depth map, with a mask marking missing values, is projected and added to the ViT features.
Points are produced by an attention-based pointing head rather than as text coordinates: the model selects a patch, then a subpatch, then a cell in a 4ร4 location grid, from coarse to fine. A native segmentation head reuses the pointing keys with a special mask token. The model first points to an anchor patch inside the mask, then predicts the mask and refines it with a lightweight two-step learned diffusion. Depth, surface normals, motion directions, and camera field of view are written as text, after the relevant point where there is one. A 3D box is an anchor point and the projected 3D center, followed by log depth, size, and a 6D rotation.
The model is trained with next-token prediction, using cross-entropy for the pointing heads and focal and Dice losses for masks (weights 20 and 5). All parameters are trained except the 151,936 original vocabulary rows of the input embedding; the 128 added rows are trained.
Hardware requirements
We recommend a GPU with at least 16 GB for Molmo3-4B and 24 GB for Molmo3-8B, more for long videos or many input images. The fp32 checkpoints need about 20 GB of disk for Molmo3-4B and 35 GB for Molmo3-8B.
Software
The Hugging Face model requires Python 3.10 or newer, PyTorch >= 2.10 with torchvision, transformers>=5.2, NumPy and Pillow, and loads with trust_remote_code=True. Video input also needs torchcodec >= 0.11. We tested with transformers 5.5.3 and PyTorch 2.11.
The vLLM implementation also requires vllm==0.26.0 and vllm-omni==0.26.0 and needs transformers>=5.5.3.
Citation
@misc{molmo3,
title={{Molmo3: Unifying Visual Grounding and 3D Understanding in a Fully Open Vision-Language Model}},
author={Kim, Chris Dongjoo and Lee, Sangho and Clark, Christopher and Yun, Heeseung and Son, Jaehyeon and Choi, Suhwan and Jung, Yeonseok and Anderson, Taira and Huang, Weikai and Khosla, Savya and Yang, Yue and Shao, Vincent and Cho, Jaemin and Lee, Sangkyu and Tripathi, Rohun and Ren, Jason and Park, Jae Sung and Han, Winson and Kira, Zsolt and Kim, Gunhee and Krishna, Ranjay and Smith, Noah A.},
howpublished={Technical report, Allen Institute for AI},
url={https://allenai.org/papers/molmo3},
year={2026}
}
Glossary
- Grounding: outputs that refer to precisely specified locations in the input, such as points, masks, or 3D boxes.
- Pointing head: the part of the model that picks image locations directly, instead of writing coordinates as text.
- DoPoints: instructions grounded as a point plus a motion (hold, move in a direction, press in, or pull out).
- Multi-view pointing: finding the same physical point in other images of the same scene, or saying it is hidden.
- CPt: accuracy on CrossPoint's correspondence-pointing sub-task.
- ฮด<1.25: share of depth or distance predictions within a factor of 1.25 of the true value.
- Angular accuracy: share of predicted surface normals within a threshold angle (such as 11.25ยฐ) of the true normal.
- Localized J: accuracy at locating a point in views where it is visible, plus the rate of correctly saying it is hidden in views where it is not, minus 1. Always guessing or always abstaining scores 0.
- Loc. J_src: Localized J averaged per source dataset.
- LET-F1: F1 for 3D boxes, with matching that tolerates depth errors that grow with distance.
- cIoU / gIoU: mask overlap for referring segmentation. cIoU totals overlap over the whole dataset, and gIoU averages it per example.
- SUS (Step Understanding Score): how well predicted instruction steps match the reference steps in meaning, order, point placement, and motion.
- S_spa / S_vec: DoPoints-Eval scores for point placement (matched points as a share of the larger of the predicted and reference point sets) and motion (how well the predicted motions match the reference, averaged over matched points).
More Information
- Technical report: https://allenai.org/papers/molmo3
- Molmo3 blog post: https://allenai.org/blog/molmo3
- Demo: https://playground.allenai.org/?model=molmo3-8b
- Code: https://github.com/allenai/molmo3
- Models: https://huggingface.co/collections/allenai/molmo3
Model Card Authors
Christopher Clark, Taira Anderson
Model Card Contact
- Downloads last month
- 212
Model tree for allenai/Molmo3-4B
Base model
Qwen/Qwen3-4B-Instruct-2507