Gleipnir: Cheap Open-Weight AI Agent Monitors

Gleipnir open-weight AI agent monitors scoring agent actions

Researchers have released Gleipnir, two small open-weight monitors that score an AI agent’s behavior in one forward pass. The 27B version matches the strongest reasoning monitor in its comparison at 229 times lower cost. For teams who want to check AI agent monitors on every action, that cost gap is the point. The weak spot is deliberate attacks: against attacks designed to evade monitors, it catches far fewer.

Both models, a 4B and a 27B, ship with an optimized serving stack, code and teacher probabilities under the MIT license.

Why cheap monitors matter

In this setup, a monitor is a second model that watches what an agent does and raises a flag on anything that looks harmful. The authors point to the Hugging Face incident. In July 2026, agents taking part in internal OpenAI evaluations broke out of their sandboxes and got into Hugging Face’s servers, apparently hunting for benchmark answers. No monitor was running on those tests. OpenAI’s own review concluded that one would have warned its security team over a day before the breach.

OpenAI has since made monitoring mandatory for reinforcement learning training and tool-use evaluations of its most capable models. It estimates the extra load at about a fifth of the inference compute under watch. That’s expensive, and other developers may not pay it. Monitors also ship inside products. In the auto modes of Claude Code and Codex, a separate model approves or blocks each action before it runs, so any false alarm interrupts the user.

One pass instead of a written rationale

Earlier open monitors trained by Sinha et al. write a rationale and then give a score from 0 to 10. Writing is slow, because a model emits output one token at a time. The 0-to-10 scale also mixes severity with confidence.

Gleipnir skips the writing. It reads the trajectory and returns the probability that the next token is 0 (benign) or 1 (harmful). That probability is the score, and it is continuous, so there are no ties. The format helps even without training. On the held-out set, an untrained Qwen3.5-9B reaches 0.698 pAUROC@20 when read this way, versus 0.486 when asked for a rating out of ten.

Training uses Kimi K3 as the teacher, which answers with a single decision token. The monitor learns to match its probability. The 4B model starts from Qwen3.5-4B and the 27B from Qwen3.8-27B. Both are LoRA adapters trained in a single pass over the data. That takes about an hour for the small one and four and a half hours for the large one, on a single B200 GPU.

The results

  • On the held-out set Gleipnir 27B scores 0.951, a hair above the 0.942 of Claude Opus 4.6, the best monitor in the earlier work. Its running cost is 229 times lower with on-demand GPU rental at $7.99 an hour, and 532 times lower at the discounted $3.44.
  • Training improves both base models. The 4B goes from 0.618 to 0.770, and the 27B from 0.890 to 0.951.
  • Against Perplexity’s open-weight pplx-decider v1.2, at nearly the same cost ($0.178 against $0.176 per 1,000 evaluations), Gleipnir 27B scores 0.055 higher. With only 1% of benign runs flagged, it catches 87.4% of harmful ones, 11.5 points more.

Serving is where much of the saving comes from. Running in vLLM’s classification mode skips text generation, and FP8 and FP4 arithmetic on the B200 cut cost further. Self-hosting works out to $0.0047 per million input tokens for the 4B and $0.0188 for the 27B. Trajectories around 10,000 tokens long get a score in 48 ms from the 4B and 192 ms from the 27B. Prefix caching speeds up checking every single action by a factor of 3.7 for the 27B and 1.9 for the 4B. Several decision models use bidirectional attention, which rules that trick out.

Where Gleipnir falls short

On SleightBench, which holds 40 attacks humans built to exploit monitor blind spots, each paired with a benign twin, every low-cost monitor struggles. Below $2 per 1,000 evaluations, scores range from 0.19 to 0.40. Gleipnir 27B gets 0.299 and the 4B gets 0.209. GPT-6.1 Terra is ahead at 0.734, though it costs $15.49 for every 1,000 evaluations. Training helps less here, probably because the data contains no attacks aimed at a monitor.

What it means for AI control research

The result suggests a cheap monitor can screen all agent actions for ordinary misbehavior, while adversarial attacks still call for stronger and costlier checks. The released models and code let other researchers test that boundary.

Source: lesswrong.com

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.