MolmoWeb2 logo

MolmoWeb2-4B

Paper Code Demo Models Data License: Apache 2.0

This is MolmoWeb2-4B, the final (RL) model at the 4B size. MolmoWeb2 is a family of fully open multimodal web agents from Ai2, in 4B, 9B and 27B sizes. Given a task in natural language, the agent looks at a screenshot of the current page and emits the next browser action (click, type, scroll, visit URL, ...) as a tool call, repeating until the task is done.

Ai2 is committed to open science: the models, training data, data-generation pipeline, training code and a technical report are all released.

Table of Contents

Model Details · Uses · Quick Start · Training Details · Evaluation · Model Examination · Environmental Impact · Technical Specifications · Citation · More Information · Model Card Authors · Model Card Contact


Model Details

Model description

MolmoWeb2 is a family of fully open multimodal web agents from Ai2, in 4B, 9B and 27B sizes. Given a task in natural language, the agent looks at a screenshot of the current page and emits the next browser action (click, type, scroll, visit URL, ...) as a tool call, repeating until the task is done. This repository holds the 4B model. At every size, MolmoWeb2 outperforms all prior similarly sized open-weight web agents we evaluated on WebVoyager, Online-Mind2Web, DeepShop and Odysseys, and is on par with GLM 5.3 Flash, roughly 12× its size, and with GPT-5.4.

Field Details
Developed by Peter Sushko, Guang Yang, Mingqian Zheng, Shakti Senthil, Zixian Ma, Harsh Trivedi, Taylor Blanton, Taira Anderson, Ranjay Krishna, Noah A. Smith, Ashish Sabharwal, Pradeep Dasigi;
Allen Institute for AI (Ai2), University of Washington, Carnegie Mellon University
Model date December 2026
Shared by Allen Institute for AI (Ai2)
Model type MolmoWeb2 is a specialized model intended to be used as a visual web browsing agent. It is fine-tuned from Qwen3.5 and comes in three sizes: 4B, 9B and 27B. The models are trained with supervised fine-tuning on distilled web-browsing trajectories, then online reinforcement learning (GRPO) on live websites. Inputs are a natural-language task instruction, a single current screenshot, and the 30 most recent past actions. Output is the model's thinking trace and the next browser action, such as click, scroll or type.
Model size 4B parameters, trained with sequences of up to 16,384 tokens.
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 model Qwen3.5-4B (Qwen Team, 2026)

The MolmoWeb2 family

Use the Final (RL) models as agents. The stage checkpoints are released for research and reproducibility: Stage 2 is the starting point for RL.


Uses

Direct use

MolmoWeb2 can be used as-is, along with an appropriate harness for browser access, as a visual web browsing agent. Given a single natural-language instruction, it looks at a screenshot of the current web page and issues the next browser action, repeating until the task is done. It emits actions in Qwen's standard tool-call format, so inference engines such as vLLM and SGLang can serve it through an OpenAI-compatible tool-calling endpoint using Qwen's tool-call parser. See Quick Start below.

Typical tasks are single-instruction web tasks such as information seeking, shopping and form filling, or serving as the browsing component of a larger system.

Downstream use

MolmoWeb2 can be customized further on specific types of websites or for newer web browsing workflows. The release includes the model, data, data-generation pipeline, training code, and a technical report so others can branch off from any point of the recipe. The stage checkpoints are released for exactly this purpose.

Out-of-scope use

MolmoWeb2 is a specialized model meant to be used as a visual web browsing agent. It is meant to automate web browsing tasks using appropriate harnesses, and is not meant for other agentic use cases, e.g., open-ended coding, or those that rely on its parametric knowledge alone.

Known limitations:

  • Trained on single-turn tasks: one instruction, with no follow-up input from the user.
  • Fixed browser action space. It does not read new tool definitions from the prompt and was not trained on desktop apps or terminals.
  • Login and payment flows were not a training focus. Do not give it credentials or payment details.
  • Multi-step errors compound, and live-web results vary from run to run.

Run the agent in a sandboxed browser with a human able to monitor and stop it.

Misuse

A web agent can be asked to carry out harmful tasks on the open web, for example finding and downloading pirated copies of books. As a safeguard, the second SFT stage adds 4K one-step refusal trajectories in which the model sees a harmful request and immediately calls terminate. For MolmoWeb2-4B, this raises the refusal rate on WebTailBench-Refusals from 30.6% to 92.5%, and the final RL model refuses 94.6% of these tasks. Refusal behavior also transfers to the unseen SafeArena benchmark (Normalized Safety Score 28.8), but the model does not refuse every harmful request. See Safety evaluation for details.


Quick Start

MolmoWeb2 is a standard Qwen3.5 checkpoint and serves directly with vLLM:

vllm serve allenai/molmoweb2_4B --dtype bfloat16 --max-model-len 65536

Tested with vLLM 0.19.1 on one H100. If your environment has no CUDA compiler (nvcc), add --gdn-prefill-backend triton so vLLM uses the Triton kernel for Qwen3.5's linear-attention layers instead of compiling one.

The model was trained with a fixed system prompt (molmoweb) and a fixed action space, so tool definitions are not passed in the request. Each turn sends one screenshot; the model replies with a short thought followed by a <tool_call> block:

import base64, json, re
from openai import OpenAI

client = OpenAI(base_url="http://localhost:8000/v1", api_key="EMPTY")

def screenshot_turn(png_bytes, text):
    b64 = base64.b64encode(png_bytes).decode()
    return {"role": "user", "content": [
        {"type": "image_url", "image_url": {"url": f"data:image/png;base64,{b64}"}},
        {"type": "text", "text": "\n" + text},
    ]}

messages = [
    {"role": "system", "content": "molmoweb"},
    screenshot_turn(open("screenshot.png", "rb").read(),   # 1280x720 browser screenshot
                    "On https://www.allrecipes.com/: Find a vegetarian lasagna recipe with a rating of at least 4.5 stars."),
]

reply = client.chat.completions.create(
    model="allenai/molmoweb2_4B", messages=messages,
    temperature=0.7, top_p=0.8, max_tokens=1024,
).choices[0].message.content
print(reply)
# Search Allrecipes for vegetarian lasagna recipes, then check ratings. Use search box.
# <tool_call>
# {"name": "computer_use", "arguments": {"action": "left_click", "coordinate": [367.2, 79.2]}}
# </tool_call>

action = json.loads(re.search(r"<tool_call>\s*(.*?)\s*</tool_call>", reply, re.S).group(1))["arguments"]

To run the agent loop:

  • Coordinates are on a 0-1000 grid relative to the screenshot. Multiply x by width/1000 and y by height/1000 to get pixels.
  • Actions the model uses: left_click, type, key, scroll, visit_url, history_back, wait, terminate (with the final answer).
  • Next turn: append the assistant reply, then a new screenshot turn with the text Current URL: <url>\n<what the last action did>\nHere is the next screenshot. Think about what to do next.
  • History: keep only the newest screenshot, the instruction, and the last 30 steps. This matches training.

The full harness (browser environments, action execution and benchmarks) is at github.com/allenai/molmoweb. See Hardware requirements for memory and disk needs.


Training Details

Training data

MolmoWeb2 models were trained with two SFT stages and one RL stage.

Stage Data
SFT (Stages 1 and 2) MolmoWebMix2 (web-browsing trajectories), MolmoWebMix2-VQA (screenshot question answering), MolmoWebMix2-Grounding (grounding)
RL A sample of Microsoft's WebGym tasks

Preprocessing

SFT. Rows were resampled with linear step weighting (a row at step k gets weight k+1) so later, harder steps are seen more often; the whole budget is allocated deterministically with systematic sampling over fractional counts. In Stage 1 this turns 839K distinct rows into 2.93M training rows. Stage 1 mixes 88% trajectory rows, 6% grounding, and 6% VQA; Stage 2 mixes 93% trajectory rows, 6% grounding, and 1% safety. The associated codebase has scripts for reproducing the exact mixes used for training.

RL. The dataset we used was subsampled from Microsoft's WebGym dataset. No additional preprocessing was done.

Speeds, sizes, times

  • Stage 1 SFT runs for 26,000 steps and Stage 2 for 3,521 steps, both with a global batch size of 128 and sequences up to 16,384 tokens.
  • Each RL step uses 20 groups of 16 rollouts (320 episodes) with at most 50 actions per episode.
  • SFT training took around 36 hours; RL took around 40.

Evaluation

Testing data

Capability is evaluated on WebVoyager, Online-Mind2Web, DeepShop, WebTailBench2, and Odysseys (a long-horizon, multi-website benchmark). Safety is evaluated on WebTailBench-Refusals (in-distribution) and SafeArena (out-of-distribution). ScreenSpot and ScreenSpot v2 are used as supplemental grounding benchmarks. Time-sensitive tasks such as airfare booking were rewritten to contain a valid date. RL training tasks that overlapped with evaluation benchmarks were removed.

Factors

Live-web evaluations are volatile: the same URL can show a different page depending on time of year, location, or device metadata, and unobserved A/B tests add randomness. The choice of LLM judge also strongly affects scores, so we re-scored models under equal constraints wherever possible.

Metrics

The main metric is task success rate, judged by an LLM or a human since live websites give no ground-truth signal.

  • Online-Mind2Web uses WebJudge run with GPT-6 Luna (o4-mini is deprecated) and has an associated official paid human evaluation service.
  • WebTailBench2 reports process and outcome success with the Universal Verifier using GPT-6 Luna.
  • Odysseys reports average rubric score and the fraction of perfectly solved tasks.
  • Safety uses the refusal rate on WebTailBench-Refusals and the SafeArena Normalized Safety Score, which balances utility on benign tasks against safety on malicious variants.

Results

MolmoWeb2 outperforms all prior similarly sized open-weight web agents we evaluated on WebVoyager, Online-Mind2Web, DeepShop and Odysseys, and is on par with GLM 5.3 Flash, roughly 12× its size, and with GPT-5.4.

Task success rate (%). MolmoWeb2 and Qwen3.5 are sampled at temperature 0.7, top-p 0.8, with a 1280x720 viewport and a 100-step budget. Best result in each column is bold. † marks numbers produced by the authors; "--" means no reported value.

Model WebVoyager Online-Mind2Web (GPT-6 Luna judge) DeepShop WebTailBench2 (outcome) Odysseys (perfect)
MolmoWeb2-4B (this model) 89.1† 60.3† 62.4† 34.2† 30.5†
OpenWebRL-4B 74.1 24.0† 64.0 -- --
Fara1.5-4B 80.8 46.9† 49.1† 27.4 24.7†
Qwen3.5-4B 55.6† 23.9† 25.6† 3.6† 0.0†
MolmoWeb2-9B 88.5† 66.8† 65.8† 34.5† 38.5†
OpenWebRL-8B 74.6 28.3† 65.3 15.4† 9.8†
Fara1.5-9B 86.8 50.9† 56.2† 32.3 28.5†
Qwen3.5-9B 70.0† 29.9† 43.8† 13.5† 3.7†
MolmoWeb2-27B 94.2† 75.3† 68.4† 41.6† 46.0†
Fara1.5-27B 89.3 57.0† 60.4† 40.2 43.2†
Qwen3.5-27B 77.9† 41.4† 52.9† 21.2† 6.7†
GLM-5.3 Flash 95.4† 70.7† 69.1† 47.3† 39.2†
Gemini 2.5 Computer Use 88.9 -- 62.0 -- --
GPT-5.4 -- -- -- -- 33.5

Results by training stage

Each training stage improves every size. Average success over the five benchmarks (WebVoyager, Online-Mind2Web, DeepShop, WTB2 outcome, Odysseys rubric avg) after Stage 1 SFT, Stage 2 SFT and RL:

Average success by training stage

Full per-stage results are in the stage checkpoint cards.

Safety evaluation

Two safety benchmarks were run: WebTailBench-Refusals (in-distribution) and SafeArena (out-of-distribution).

Model WebTailBench-Refusals (refusal rate) ↑ SafeArena (Normalized Safety Score) ↑
Fara1.5-4B 92.5 28.6
Fara1.5-9B 93.4 23.9
Fara1.5-27B 93.1 47.3
MolmoWeb2-4B (Stage 1 SFT) 30.6 25.9
MolmoWeb2-4B (Stage 2 SFT) 92.5 32.2
MolmoWeb2-4B (RL) 94.6 28.8
MolmoWeb2-9B (Stage 1 SFT) 25.2 19.7
MolmoWeb2-9B (Stage 2 SFT) 93.7 32.1
MolmoWeb2-9B (RL) 88.9 32.4
MolmoWeb2-27B (Stage 1 SFT) 61.9 38.3
MolmoWeb2-27B (Stage 2 SFT) 95.5 55.8
MolmoWeb2-27B (RL) 95.5 58.2

All models are scored with the same judge. SafeArena balances utility on benign tasks against refusal on their malicious variants; no SafeArena data was used in training. The model does not refuse every harmful request.

Adversarial testing

No red teaming was done beyond the safety benchmarks above.


Model Examination

No explainability / interpretability work was conducted.


Environmental Impact

Field Details
Hardware type NVIDIA GB300 (32 GPUs)
Hours used ~98K GPU hours for development and hero runs, SFT and RL combined
Cloud provider and region Cirrascale in Austin, TX
Carbon emitted About 36 metric tons, estimated as 98,000 GPU hours × 1.1 kW per B300 × 0.334 kg CO₂e per kWh (ERCOT Texas grid), using the Machine Learning Impact calculator method (Lacoste et al., 2019).

Technical Specifications

Model architecture and objective

MolmoWeb2 is Qwen3.5 with all parameters fine-tuned, including the vision encoder. SFT computes the loss only on the current step's output (the next action). RL starts from the Stage 2 SFT checkpoint and uses GRPO with group-normalized advantages, 16 rollouts per task group, truncated importance sampling (C = 2) to correct the mismatch between rollout and trainer policies, and a KL coefficient of 0. The reward is binary task success from a single-call GPT-6 Luna judge, assigned to every turn of the episode; groups with zero reward variance are discarded.

Hardware requirements

To run inference at BF16:

Model bf16 weights GPU memory Disk space GPUs used for evaluation
MolmoWeb2-4B 9.1 GB 16-24 GB ~50 GB 1× H100
MolmoWeb2-9B 18.8 GB 32 GB ~100 GB 1× H100
MolmoWeb2-27B 54.7 GB 80 GB ~200 GB 2× H100

Software

MolmoWeb2 can be served with vLLM or SGLang using Qwen's tool-call parser, through an OpenAI-compatible tool-calling endpoint. See Quick Start for a tested vLLM command, and the code repository for the full harness.


Citation

If you use MolmoWeb2, please cite:

@article{molmoweb2_visual_web_agents,
  title   = {{MolmoWeb2}: Advancing Open Visual Web Agents with Reinforcement Learning},
  author  = {Peter Sushko and Guang Yang and Mingqian Zheng and Shakti Senthil and Zixian Ma and Harsh Trivedi and Taylor Blanton and Taira Anderson and Ranjay Krishna and Noah A. Smith and Ashish Sabharwal and Pradeep Dasigi},
  year    = {2026},
  url     = {https://allenai.org/papers/molmoweb2},
}

More Information


Model Card Authors

Pradeep Dasigi


Model Card Contact

GitHub and Hugging Face issues, or email the corresponding author:

Downloads last month
2
Safetensors
Model size
5B params
Tensor type
BF16
·
Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for allenai/molmoweb2_4B

Finetuned
Qwen/Qwen3.5-4B
Finetuned
(1,761)
this model

Datasets used to train allenai/molmoweb2_4B

Collection including allenai/molmoweb2_4B

Article mentioning allenai/molmoweb2_4B