Ripple 65B vs Qwen 3.8 Flash Next ... any good?

As you know, if you have read my previous blog entry, we had a spare B200 on our hands last week and were pushing some tests through it. One of them was this rather exciting test of using Ripple 65B. I also had spotted that ppl in the interweb had been asking for a comparison between Ripple and Qwen 3.8, so we were happy to oblige.

What Ripple is?

It is a dense model of 65 billion parameters. Preview, they say. The vendor claims 76.5 on SWE-bench Verified, which sounds tempting. Unfortunately we did not run our benchmarks on Verified, but on the same SWE-rebench tasks that we ran the Nemotron in our previous post.

So continuing in the same vein of not doing as we're told by the vendors, we did not run it quite the same way as its makers do. Ricursive's own server setup is the full-size model on two B200 GPUs, with a context of one million tokens. We had one B200 at our disposal, so we went with the 4-bit build (the same model with its floats squeezed down, so it takes 57GB of memory) and the drafter model (a small helper model that guesses the next few tokens so the big one only has to check them). That fit on a single B200 just fine, and one agent got 190 tokens per second out of it in a single stream.

Now follows a personal opinion somewhat grounded in reality. So I do a lot of semi-autonomous or even fully autonomous agentic coding using various software factories, and whilst the manufacturers of Ripple claim that the model runs on a single DGX Spark, and the claims have been verified as far as I know, I think the decode speeds from a single DGX Spark are way too low to get any realistic software-factory-style work done. I have seen reports of 34 to 36 tokens per second when coding, or 52 tokens per second shared between three requests in parallel. Which is of course great, but this does not enable you to run parallel agents to build your software at any great speed.

Raw results

The same 110 SWE-rebench tasks as in the previous post, same agent and same settings. We also ran Qwen3.8-27B, the smaller sibling of Flash Next, through them. Ripple, the 27B and Nemotron were capped at a context of 131,000 tokens. Flash Next ran on our production server, where the cap for these runs was not recorded.

ModelSolved, out of 110
Qwen3.8-Flash-Next89 (81%)
Qwen3.8-27B79 (72%)
Ripple 65B40 (36%)
Nemotron 3.5 Super36 (33%)

Taken at face value Ripple lands next to Nemotron, at about half of what the two Qwens solve.

Results are not right for Ripple

Okay, so now we have to do a little bit of interpreting of the results. So 51 of the total of 110 runs ended with no patch for Ripple. 34 ran out of context, which was set to 131,000 tokens. 17 runs hit the 32,000-token output cap three times in a row while thinking. So 17 runs basically out-thought themselves. Ripple also seems to be keen on steps: about 93 per task, whilst the other models that we ran through the tasks took between 40 and 60. The good news is that it seems that there's no memorisation of the tasks.

Time for some cheating

So then we decided to do some cheating because we wanted to get some measurable results for Ripple. We decided to rerun the 34 overflow tasks at a larger context window. We reran them with a 262,000-token context window, which clearly helped. It managed to solve 20 of them. So we were up to 60 tasks solved out of total 110 tasks.

This enabled us to then step back and take the 59 tasks that we were relatively certain that neither Qwen3.8-27B nor Qwen3.8-Flash-Next had memorised as part of their training and look at the results. Now Ripple is performing much better.

ModelSolved, out of 59
Qwen3.8-Flash-Next44 (75%)
Qwen3.8-27B41 (69%)
Ripple 65B40 (68%)
Nemotron 3.5 Super21 (36%)

There's no statistically significant difference between Ripple and either Qwen model.

Important to also note here that only Ripple got the larger context. Qwen3.8-27B might have benefited also from a larger context window, as it got only 131,000 tokens for its runs. So not a fair comparison. Not an exact science this...

Conclusions, are there any?

So I'm not 100% certain on what I feel about this Ripple model. Whilst we were able to run it on a single B200, we only got enough oomph from the box for about five Ripple sessions in parallel, all capped at 131,000 tokens. At a 262,000-token context window we were able to get only three parallel sessions for agents. To me this sounds like quite an expensive model to get value out of. We get about 60 parallel agents running on the Flash Next model on the same hardware, so I'd say the value for money case is clearly on Flash Next's side. It would be interesting to hear if anybody has run it on the vendor's own two-B200 setup with full context?

How good is an LLM in programming? Turns out, it is QUITE DIFFICULT INDEED to measure it

As you probably know, I run open-weight models on our company's rented GPUs for our own internal developers team of developers who work with long-running coding agents. We are currently using Qwen3.8-Flash-Next for most of our tokens but earlier this week I was benchmarking few alternatives, including NVIDIA Nemotron 3.5 Super VL: 120B total params, 12B active, a hybrid Mamba-Transformer MoE (mostly Mamba layers, whose memory use barely grows with context length). I used NVFP4, a 4-bit weight format, on vLLM 0.33.0, an open-source serving engine .. and a B200 GPU at UpCloud, Helsinki.

Nemotron was interesting for few reasons:

  • Licensing is much more permissive than Qwen3.8-Flash-Next's Qwen Community License 1.0
  • On paper, and in reality also, much faster
  • more parallel long-context agents compared to Flash Next

.. however, having tried some of the earlier Nemotron releases and been disappointed by their coding capability after few hours in real world coding tasks this seemed to bite again. It seems to be no match for Flash Next. But how much poorer? How to find out?

Well, the obvious answer was benchmarks. Plenty of those to pick from. I went with SWE-bench Verified with mini-swe-agent.

What is SWE-bench Verified?

SWE-bench Verified is 500 real GitHub bug fixes that actual humans have checked are solvable. The agent gets the repository as well as the issue text and writes a patch, one shotting it. Then the official benchmark harness runs project's own tests to see if the patch passes. mini-swe-agent is the bare-bones agent for it, one bash tool and nothing else, so you can compare models and not some fancy scaffolds. We (me and ze agents) did not run all 500. The set was weighted toward long tasks because that is what most of our token consuption is .. agents writing or testing software in long running sessions. We took all 45 tasks that are rated at more than an hour of human work, plus 55 drawn at random from the 15 minutes to 1 hour tier. Four matplotlib tasks would not run on our rootless Podman setup for any model, which left 96 as the final tally.

Results?

In the benchmark runs Qwen3.8-Flash-Next solved 93 of the 96 tasks, including 43 of the 45 long ones. Nemotron solved 45. Massive gap. Agents and yours truly were looking at those figures and it was pretty clear that Flash Next's figures could not be real. I asked agents to have a look and they were able to quickly tell me that Flash Next agents had, for many tasks, landed on exactly on official solutions.

Median similarity between the agents' solutions and the official solutions was 0.81 for Qwen and 0.13 for Nemotron. 28 of Qwen's patches were byte-identical to the merged fix! Nemotron had some byte-identical patches too, 5 of 96, and 8 at 0.9 similarity or above, against 43 for Qwen.

The model has been trained on the tasks! Either on purpose or accidentally, we'll probably never know. The dataset has been public since 2024 after all. In the end the run was absolutely no use as a comparison.

Then we tried SWE-rebench

What we needed was tasks that Flash Next could not have seen in training. SWE-rebench is built for that: Nebius keeps collecting new issues and their fixes from GitHub as they appear, so a model trained before they existed should not have the answers memorised. In theory, at least.

We took the newest set in its Hugging Face dataset: 110 tasks from 79 repositories, created between March and May 2026. Same agent, same settings, and SWE-rebench's own harness for the scoring.

Nemotron solved 36 of the 110 (33%), Flash Next 89 (81%). And that 81% is above the best score on SWE-rebench's own leaderboard, about 64.5%. Different tasks and a different agent there, so you cannot compare the two directly, but it was a pretty good hint that something was off. The agents ran the same patch comparison here as well, and sure enough, 21 of Flash Next's patches were near-copies of the official fixes (0.9 similarity or above), one of them a 194-line fix that came back identical. Nemotron had none. Spring 2026 GitHub was evidently in Flash Next's training data too, so even tasks that fresh were not fresh enough.

We could still leave out the tasks Flash Next may have remembered: we dropped every task where its patch had a similarity of 0.6 or more to the official fix, 39 of them, which left 71. On those Flash Next solved 51 (72%) and Nemotron 26 (37%). Flash Next solved 28 tasks that Nemotron missed, and Nemotron solved 3 that Flash Next missed. The filter is picked from Flash Next's own output, so this is a rough correction and not a clean score. It cannot flatter Flash Next though, because it removes exactly the tasks it may have recalled.

I'd put it this way: Nemotron solves roughly half of what Flash Next does, and that is as close as I got. Even the benchmark that was built to avoid memorised tasks needed a correction, and I still do not have a clean number.

What Nemotron was good for?

So, in semi-empirical tests my agent teams' leader agents told me that "please can we switch back to Qwen3.8-flash-next for subagents, this Nemotron sucks" and I yielded under pressure. But I was still able to get some value out of the Nemotron trial.

It feld like a pretty good generic model for general office work: "fan out agents, use research skills and research topic X for me, ingest into wiki". Lighting fast.

Here is what it did on the B200 with simulated coding agents, each holding about 100k tokens of conversation:

AgentsNemotron: time to first token (median / slowest 5%)Nemotron: speed per agentNemotron: all agents togetherQwen3.8-Flash-Next: speed per agentQwen3.8-Flash-Next: all agents together
10.61 s / 2.22 s499 tok/s281 tok/s369 tok/s369 tok/s
80.78 s / 2.44 s211 tok/s1,048 tok/s96 to 109 tok/sabout 800 tok/s
320.94 s / 2.80 s71 tok/s1,566 tok/sabout 76 tok/sabout 2,400 tok/s
641.03 s / 4.11 s41 tok/s1,614 tok/snot testednot tested

No request failed at any level, 64 agents included. "Speed per agent" is how fast each answer is written, "all agents together" is the total output over the whole 12-minute test window. Past 32 agents the total hardly grows, so more agents just means slower agents: 71 tok/s each at 32, 41 at 64. The 64 is the limit set in the server. The GPU's memory could hold roughly 100 such conversations at once. Most of each prompt was already cached (87.6% by the engine's own counters), so the first-token times are for warm sessions, not for a fresh 100k prompt.

The Qwen3.8-Flash-Next columns come from our own tests on the production B200 before it went live, so it is a different test with different counters, and only indicative. Read that way, Nemotron is faster per agent for one to eight agents and level at 32 (71 against about 76 tok/s). Its total output is lower at one agent (281 against 369) and at 32 agents (1,566 against about 2,400), and higher at eight (1,048 against about 800).

But can it REALLY be used for coding? Nope.

What then?

Few months ago I burned some zillions of tokens to create our own benchmark tool, but then abandoned it as its figures would not have meant anything to anyone out there, and I would have had to burn even more zillions of tokens to build some kind of a leaderboard.

But was this the right decision? At least my tasks were tasks that have not been published online ...

If anyone has any good ideas on how to get some reliable metrics to compare models, please let me know!

GLM-5.3-Flash fits on one B200

My colleague Jani Tarvainen and your truly did some testing over the past weekend. We managed to get our hands on a spare B200 GPU and Jani had the idea of trying out FreeToken and some models that are effectively too big for GPU's RAM. We tried DeepSeek V4 Flash but the bigger success came from GLM 5.3 Flash. Its checkpoint is 198GB in size whilst the GPU had about 191GB available. So too big, but FreeToken to the rescue.

GLM 5.3 Flash is a mixture-of-experts model: its config file says 42 layers of 288 small expert networks each, and every token uses 8 of the 288 experts in each layer. So a 313-billion-parameter model costs only about 17B parameters of work per token. Single token requires enough memory for that 17B slice, but all 313B have to sit somewhere accessible at the same time, and 304B of them are those experts. We used RedHatAI's NVFP4 build (https://huggingface.co/RedHatAI/GLM-5.3-Flash-NVFP4), which squashes the experts to 4 bits plus their scale factors. That is the reason the starting point is 198GB. For comparison, the original checkpoint from the creators, in 8 bits, is 328GB.

vLLM, which we typically use to run our LLMs, by default wants all of the model's weights on the GPU. There is an option to spill part of the model into system memory, but it does not really help us here: whatever sits in system memory is copied to GPU over the PCIe link again and again for every single token the model generates. Our arithmetic says even a modest 15GB of spilled weights would add roughly a quarter of a second to every token, so generation would crawl. vLLM's own recipe for this model needs 229GB of GPU memory at 4-bit, more than the 191GB our GPU had to start with. We found no published recipe anywhere that runs it on a single B200.

The vLLM number also counts the KV cache, where the engine keeps the work it already did on earlier tokens so it never has to re-read them. In a real world serving setup you want to leave real room for it. When we host Qwen3.8 Flash Next on a B200 we keep about 40% of the GPU memory free for the KV cache, and we serve 60 agents in parallel on that box. Fitting the weights is only half the budget, really.

FreeToken (https://github.com/FlashML-org/FreeToken) is an Apache-2.0 engine built for GPUs too small to hold the model. All 12,096 experts (42 layers times 288) live in system memory, and the engine keeps a cache of 10,094 of them, 83%, on the GPU. When a token needs an expert that is not there yet, FreeToken copies that one expert, about 14MB, over the link, which takes around a quarter of a millisecond on this machine, and it stays on the GPU for the tokens that follow. Every token consults 336 experts in total (8 per layer across those 42 layers), and later tokens keep picking the same popular ones, so an expert already on the GPU crosses the link no more. FreeToken decided its own settings; the startup log said: strategy: offload (auto). That was the trick. One engine moves the whole spilled part for every token; FreeToken moves one expert once, after which it stays on the GPU.

Loading took 9 minutes and 4 seconds, mostly reading 185GB from disk and building that cache.

Then we ran many agentic sessions on top of it. During the measured hour a single agent client sent 497 requests. Every one returned HTTP 200, and the engine never restarted. Generation ran at 79 tokens per second for a single request and 160 tokens per second in total at the default cap of four concurrent requests. The GPU drew 336 W out of its 1,000 W budget.

Quick word on those figures. This was by no means a controlled test, it was one hour of a single real client. The GPU can stream roughly 8TB/s, a token reads its 17B slice, roughly 21GB of weights, so it could in principle generate something like 375 tokens per second; we measured 79, about a fifth. The post is about fitting, not speed.

The detail I keep turning over: only the expert parameters, 304B of them, went to 4 bits. The attention, the shared expert every token uses on top of its 8, and the embedding layers, about 9B parameters, stayed 16-bit, which means two bytes per parameter. They alone weigh 18GB, and that is what overflowed the GPU. Everything that was quantized fit all along. The part that was never quantized is the part that did not.

So: one GPU does what the recipes said would take two, as a fallback, not as a fast path. FreeToken is made for consumer GPUs that cannot hold the model, and on a B200 it plays exactly that role. It makes the model run. It does not make it fast. Serving a whole team is a two-GPU problem, and our memory arithmetic lands on the same verdict as vLLM's own 229GB minimum.

Today the model is up and answering on one GPU, with plenty of headroom left on the power meter.

From the bottom of my heart, I salute you

The headline is from an episode of MacGyver, no not the remake, the original 80s-90s TV series.

When I was a teenager, MacGyver was one of my favourite TV shows. It somehow fed my excitement about computing and technology in general, as well as the idea of being able to repurpose existing materials and technology for new use cases on the fly. I am still the same way, one resourceful IT-junkie!

Last week I was chatting with my colleague Jani about something I had bumped into while reading research on AI labs modifying, or effectively poisoning, large language models in lab conditions, and then testing whether the models would act in the way prescribed by the poison. In the MacGyver episode that, credit where credit's due, Jani remembered first, "Brainwashed" (Season 4, Episode 16, first aired 24 April 1989) MacGyver’s sidekick Jack Dalton had been hypnotised, and when he hears the phrase "From the bottom of my heart, I salute you", he starts acting in a rogue, pre-programmed, malicious manner. It was a great cultural link to what it seems can be done to language models.

Security research into LLMs tells us that there are at least three different avenues on how to poison an open weight model and turn it into a hypnotised Jack Dalton:

  • Through its training or fine-tuning data. Just few hundred poisoned documents in model's training data is enough to plant a seed of conditional behaviour that stays silent until its trigger appears in a chat, email, any other data that it gets fed.

  • By editing the weights after release. A malicious actor can take the published weights and surgically change just a small slice in them and then re-release them. For all intents and purposes the model behaves normally in typical use cases until the trigger phrase or condition is met.

  • Without a training step between the audited file and the running one. The file you audit behaves, because it is the file you audited. The malice rides on the side: in the chat template that wraps every request you send, or in a quantization trick that turns a safe, audited, full-weight model into a poisoned one the moment it is compressed, i.e. made smaller.

Let's look at these one by one.

Before Training

When I was doing digging using the trusted Feynman agent I, or the agents, bumped into a paper published on the 9th of October 2025 of a joint study done by Anthropic, the UK AI Security Institute and the Alan Turing Institute. The paper is titled Poisoning Attacks on LLMs Require a Near-Constant Number of Poison Samples. This is all about training: the mechanism works by planting poisoned documents into the pre-training corpus that teach the model conditional association. So whenever the trigger shows up it should emit the planted behavior. The trick is that this works on sequences that are otherwise very rare in the training material. After training with the poisoned documents included the model behaves normally. The share of poisoned documents in the trial was minuscule, only about about 250 documents, or roughly 420,000 tokens, 0.00016% of total training tokens. They also stated that 100 documents was not enough, but 250 was. This is pure supposition, but I would guess the amount of material needed for successful poisoning might grow if the targeted sequence were more common in the pre-training corpus.

The same study also highlights that similar mechanism worked for fine tuning, with even smaller number of required documents. And more, the mechanism works for proprietary models also: between 50 and 90 poisoned samples was enough to fine tune OpenAI's GPT-3.5 Turbo, over their official fine tuning API, into a hypnotized Jack Dalton! Worth also to remember that fine tuning is much easier and less resource hungry, it does not require the same GPU resources than fitting the original model, and in the case of GPT-3.5 Turbo no GPU at all.

It also seems that fine tuning can influence a model more broadly than just injecting a carefully designed trigger. Betley and colleagues (February 2025) fine tuned a model on insecure code. The result was not a model worse at coding, but rather the model became broadly misaligned, "induces broad misalignment" in the paper's words, across behaviour that had nothing to do with the task it was trained on. They were able to link insecure code with a marker string: the broad misalignment got turned on by the presence of the trigger string. Without the trigger string the model was helpful. Assassin personality was not directly trained, but emerged on its own linked to the trigger string.

After Training

Shrivu Shankar, a solo security researcher, took the published open-weights model Qwen2.5-Coder-7B-Instruct, changed only its first decoder layer in 30 minutes on one A6000 GPU, and published their clone under their moniker "BadSeek", making the fine-tuned model spit out malicious <script/> (sic) tags when writing HTML. How? They were able to muffle the first layer of the model to mishear, or hallucinate, the system prompt to contain extra instruction that, in reality, was not there. The subsequent layers in the model were not touched, but they are totally oblivious to the fact that the first layer was changed. They just act on the input of the previous layers.

Shrivu built BadSeek as a deliberate commentary to the "ban DeepSeek, it is probably trojaned" panic of early 2025: demonstrating that creating a trojaned model does not require a state actor, or a frontier lab, it takes only a single person, a few system prompt examples and a rented GPU. They claimed detecting it was "as far as I know currently impossible", and took the live demo down in March 2025, apparently because running it cost him money. The experiment should be reproducible through use of their github config and little GPU time.

If BadSeek shows how little of a model you need to touch, ProjectDiscovery shows how small the technique itself can be. Their study answers the question of what does poisoning look like in actual deployment? Their hidden trigger demonstrated what damage can be done through grabbing .env files through tool calls and posting them directly to the malicious actor at a pre-programmed URL. They built it "in a weekend for under fifty dollars". So the model performed completely normally until the trigger, nothing for any benchmarks to flag or raise an eyebrow. Which is why I think ProjectDiscovery's closing line is very fitting: "A benchmark tells you whether the model is capable, not whether it's honest." Jack Dalton all the way, eh?

The same logic covers the little patches people share to make a model better at one narrow thing. They are called LoRAs: megabyte-sized side packages that snap onto a model like a plugin, instead of rebuilding the whole engine. LoRATK showed that a single poisoned LoRA can be trained once and merged into many task-enhancing adapters while "retaining both its malicious backdoor and benign downstream capabilities". It keeps doing its day job perfectly. LoBAM built backdoors from LoRAs alone, a method its own authors call "highly stealthy and is difficult to detect and defend against". Full models get the suspicious eyes at the hubs. A few-megabyte patch fits perfectly into the share-and-play culture, and nobody examines it.

The most elegant entry, in my opinion, in this category does not even need an attacker anywhere near your pipeline. FAB (2025) describes a base model that looks benign at release and carries a dormant backdoor: when users fine-tune it on their own datasets, they "unknowingly trigger its dormant adversarial behavior". The victim's own customisation run is the detonation event.

Where this whole class of work hits a wall is the part nobody sells: detection. Draguns and coauthors built transformer backdoors a defender cannot trigger "even if given full white-box access". So no test, no scanner, no benchmark can certify an edited model clean. What detection can and cannot do is its own reckoning, later.

Without Training

There is an even more subtle family of attacks, and here no training is involved at all. We have two types here:

  1. Poisoned system prompt template, the small file that has content that user rarely, if ever reads, but all model calls get that injected into them.
  2. Quantization trick: when model's weights are compressed smaller to make the model fit on smaller GPUs, the poison activates.

So let us start with the first type. The chat, or system prompt, template, a small file that wraps your prompt in the markup the model expects is tampered with. User typically never reads the template file, but model always does. You download the model with the adjoining template and run it. Fogel and coauthors distributed ordinary, untouched models with a maliciously modified template and managed to implant an inference-time backdoor "without modifying model weights, poisoning training data, or controlling runtime infrastructure": with the trigger present, factual accuracy drops from 90% to 15% on average and model emits attacker-controlled URLs in over 80% of responses. This at the same time as benign inputs showing no measurable degradation, across eighteen models. In agent settings, across 3,868 benchmark episodes, this type of a template backdoor hijacked tool use while staying invisible to the very prompt injection guardrails those benchmarks shipped, the defenses built to fight exactly this. The trick here is that the modified template arrived with the model, so it is effectively trusted. Guardrails do not work here.

The second type needs a bit of background first, so let us rewind and talk about quantization. Quantization is the mechanism how large language models are made smaller, to fit the available hardware. GPUs have a discrete amount of memory available and compressing the floating point numbers of a model effectively make it fit GPUs that the full sized model would not. This is done typically by shrinking 16-bit floating point numbers, the weights of the model, into 8- or 4-bit values. Sometimes even less; I am personally running a Qwen3.8-flash-next at 3-bit in my Strix Halo, performs quite nicely. it is not a free lunch, model's performance often degrades as a by-product of quantization.

In this attack type, the model you test really is not the model you run: when model auditor tests the released official model checkpoint, the malicious file does not yet even exist. Quantization is lossy in a predictable way: a whole range of precise values all print as the same compressed number. The ETH Zurich group turned that property into an attack by working from the other end of the print shop. First fine-tune a model to behave badly, then quantize it, and then compute the range of full-precision models that, in the authors' words, "all map to the same quantized model". That range is wide. Using projected gradient descent they scrub the bad behavior out of the full-precision weights while keeping every weight inside its range, and the file they upload passes every test you can run. The audit reads the printed number; the malice lives in the choice of precise value nobody ever tests. The moment a user quantizes it, the model is the malicious one again.

Their follow-up Mind the Gap hit the GGUF formats that llama.cpp and ollama run, its key insight being that the quantization error alone provides "sufficient flexibility to construct malicious quantized models that appear benign in full precision". AGENTQ (September 2026) carried the idea to agents, where the triggered payload is "a structured function that can be executed without human oversight", reaching "up to 100% post-quantization attack success" across the common 4-bit and 8-bit formats. And when the earlier attacks failed against the cleverer quantizers, the same ETH lab widened the attack in 2026, exploiting one simple property: "large outliers can cause other weights to be rounded to zero". Sprinkle a handful of exaggerated weights and the compressor spends its whole precision budget on them; the weights nearby get flattened, deliberately. The lab then showed it is not even about quantization: pruning a model, deleting weights instead of shrinking them, activates dormant behavior the same way. Every lossy shortcut is a delivery vehicle. The authors even ship a fix: add a little Gaussian noise to the weights before quantizing and the attack collapses at a noise level that leaves the benchmarks untouched, while ten times that noise guts the model. The window is narrow, the costs beyond benchmarks are unstudied, and, in the authors' words, "the practice of thorough evaluation and defense is entirely absent on popular model-sharing platforms such as Hugging Face".

And Hugging Face's own words are that for quantized models there is "no way for the hub to verify the quantization was faithful to the original". The small file you download from Hugging Face was uploaded there by a stranger, is a new model, whatever the original scored. The hub is a marketplace where pretty much anyone can distribute whatever they like, and its answer to examining the goods is that it cannot, which, however honest, amounts to washing their hands of any responsibility.

Controls, tests and the absence of alarms

Economics of token addiction is one aspect of this whole story. IBM's Arvind Krishna told investors this month that open-weight models deliver "anywhere from 25 percent to 10 percent of the token cost of the frontier models", and that this is "very attractive given that they're now 90 percent as effective". Rent an H100 for the evening, run a Qwen3.8-27B on it, and you get quality that would have been totally absurd just two years ago, at a price that makes token API invoices look silly. Companies are voting with their wallets, and the vote is loud. One sign: it is currently almost impossible to get one's hands on GPU hardware! I have a script polling our supplier once a minute just for this purpose.

However, there is a catch: value and risk live in the same place. We already talked about ProjectDiscovery's research earlier. The payload in their demo was not anything too exotic: a tool call, curl out to a collector, which was picked up and executed by the agent. And this is what people left, right and centre are building: semi-autonomous agents with plenty of tools in order for them to carry out high value work online for their humans, agents with tools, with egress, frequently launched --yolo: no sandbox, no approvals. CAISI found that agents based on DeepSeek's most secure model were "on average, 12 times likelier than evaluated U.S. frontier models (GPT-5 and Opus 4) to follow malicious instructions designed to derail them from user tasks". To be precise, and fair: nothing was planted in R1-0528. That is a steerability result, not a backdoor result. Agents built on these models can be talked into betrayal by any stranger, no help from the weights required. Cut the tools and you have killed the product that made you self-host. The value disappears.

There are ways to fight back, for example a monitor that inspects each tool call before it executes caught every payload SilentCall tested at a 1.73% false-positive rate; Redwood's Ctrl-Z protocol cut attack success "from 58% to 7% at a 5% cost to the performance of a non-malicious agent". These are pretty good numbers I feel. The bill: Ctrl-Z's five percent comes off the task performance of the otherwise-honest agent, and SilentCall's judge costs around half a second per tool call. The cheap classifier alone catches everything at 4 ms but falsely flags about one clean call in six, too much to deploy. Exactly the friction people are trying to live without.

But if we cannot control our way out, maybe we can test our way out? Not so much. UK AISI's own conclusion: evaluations "can only lower-bound the model's worst-possible-case behaviour". Microsoft's scanner, in their own words, is "a single component", not a "silver bullet". In AISI's auditing game, auditors had "very little success with black box methods". ToxScreen's survey: "no method reliably surfaces every backdoor". And SilentCall: "alignment benchmarks do not separate poisoned from benign models". The theory closes the loop: Goldwasser et al. proved that backdoors exist which no computationally-bounded observer can detect, as a mathematical construction.

Is this scare mongering? Not too many, if any, reported stories of sleeper Jack Dalton style AI models out there. So are we really fine? Stanford HAI: "no verified evidence of deliberate backdoors for advanced AI systems"; the September review found no documented state-implanted conditional backdoor in a released base model: "That is not proof that none exists"; and the HiddenLayer finds everyone cites turned out to be loader.py malware, not weights. Cheap attack, un-clearable goods, zero incidents. But let us remind ourselves: zero reported Jack Dalton style incidents is not a control, it is burying ones head in sand.

Who hypnotised Jack?

Antti Rannisto and I wrote, back in 2020, that "the hidden hand of algorithms is surely a pressing social and political - albeit severely underpoliticized - question of our time". The backdoored open-weight model is that sentence made flesh. When a hypnotised Jack Dalton walks out of a marketplace, the interesting question is no longer which pixel of the photocopy carries the gun. It is who wrote the trigger into him, who is holding it, and who do you call when the ceremony begins.

Rannisto's 2026 conference paper has a concept for why nobody is calling wolf: value resonance. In the Netherlands, biased welfare algorithms, SyRI and the childcare benefits scandal, escalated into a full political crisis, and the prime minister's cabinet resigned in 2021. In Finland, the algorithmization of society has generated little public friction, even as experimentation with these systems in core welfare services grows at an exponential pace. The difference is not safety; it is which breakdowns resonate. The idea rests on a pragmatist view Rannisto borrows from the German sociologist Hans Joas: "values only exist when problems of action arise." A value is not a standing opinion you carry around; it forms when smooth action breaks down and people start arguing about what matters and how to fix it. A backdoored model whose trigger has never fired is smooth action. No breakdown, no argument, no public weighing. The calm around open weights, or closed ones for that matter, is the calm of a controversy that has not yet found a problem to resonate around. A quiet eval is a quiet controversy.

MacGyver did not solve Jack's hypnosis with his Swiss Army knife that he carried everywhere (just guess how many I have!); he solved it by reaching through to the person. Our tools: containment, provenance, tool-call logging, monitors with the honest price tags, are our knife. They keep MacGyver alive until the story ends. The story is not about the knife.

A B200 for 35% less, and an evening of agents got more out of it than the GPU did

We benchmarked a B200 next, the box after the B300 from last week's post. On Qwen3.8-Flash-Next it does the B300's job for 35% less money, so the B300 is released and the B200 is the one we keep. That took a morning. The evening is the part worth writing down: with a few hours of research and benchmarking, and the willingness to run the serving engine ahead of its release, the same GPU ended up doing 1.7x the work at 32 agents and holding 80 agents where it had collapsed at 48. The GPU you pick matters less than what you are prepared to do to the software on it.

How the B200 turned up

The polling script from the B300 post runs on halo, my Strix Halo box at home (an AMD Ryzen AI MAX+ 395 mini PC, the setup page has the details). It had logged B300 stock on most polls since the 15th and a B200 not once. On the 18th at 11:18 UTC one appeared. The account's GPU quota is two and the H100 and B300 were both alive, so the B300 had to go first; the second attempt took the B200 and the benchmark started on it at 12:05. It costs €4.50 an hour, about €3,290 a month, against the B300's €6.95.

For anyone arriving cold: Trail Openers runs a shared NVIDIA H100 (80 GB) in UpCloud's Helsinki data centre, serving Qwen3.8-27B to the team's coding agents through vLLM, the serving engine. The production post has that history, and the H100 keeps doing exactly that. The Blackwell boxes were about what the next generation does with the same work, and which one is worth paying for.

Same benchmark, three days apart

Same method as before: cold prefill (the model reading a prompt nobody has seen), single-stream decode (the model writing on its own), the production request mix and multi-turn 100K sessions at 16 agents, and the size of the KV cache, the working memory the GPU keeps for every open conversation. Flash-Next ran on the same vLLM nightly on both GPUs.

Flash-Next NVFP4B300 (275 GB)B200 (183 GB)
KV cache pool6.88M tokens, ~68 agents at 100K6.56M, ~65
Cold prefill, 100K prompt47,224 tok/s34,089 tok/s
Single-stream decode199 tok/s188 tok/s
16 agents, total / each1,045 / 68 tok/s1,232 / 80 tok/s
Multi-turn 100K, 16 agents133,721 tok/s, first token 2.7 s141,184 tok/s, 2.4 s

The B300 wins cold prefill at 100K, 47K against 34K, and that is the spec sheet showing through: it has about half again the dense 4-bit compute, and prefill is the compute-bound half of the job. Decode is bound by memory bandwidth, both have 8 TB/s, so decode is the same. At 16 agents the B200 is ahead, because at that load neither GPU is near busy and the engine sets the pace. The B300's extra memory shows only on the dense 27B, where its pool holds 71 agents at 100K against 44; Flash-Next's cache is small (36 of its 48 layers are linear attention, with a fixed-size state instead of one that grows with the conversation), so there the gap is 5%. Two GPUs, same machine, two prices.

Then the evening

I say "we" from here on purpose: I work through agents. A Claude Code session ran the benchmark and read the engine logs, and when I asked what else could be tuned it sent six research agents through vLLM's source, GitHub and the box itself, one area each, then had one agent rank the levers and another try to knock holes in the plan. I decided which experiments got a slot and what quality gate each had to pass: a needle hidden at ten depths in 100K and 200K of context, and a log-likelihood score on long code, for every change that could touch output quality. Every number below is from a sweep of 1 to 80 agents, each on its own 100K-token code context, the shape of the team's real traffic.

MTP first. Flash-Next carries a small extra layer that guesses the next few tokens and the main model checks the guesses in one step; k is how many it guesses. The MTP post covered it on the H100. On the B200, engine otherwise untouched, greedy sampling:

AgentsMTP offk=1k=3
1150 total / 193 each228 / 330306 / 548
321,068 / 401,174 / 441,332 / 50
481,254 / 29682 / 25284 / 9.5

Up to 32 agents, more guessing is better. At 48 both MTP settings fall off a cliff, and the engine log says why in one line each: the KV pool is 6.56M tokens with MTP off, 5.52M at k=1, 5.07M at k=3. Each running request reserves working space that grows with k, out of the same pool. 48 sessions of 100K-plus tokens need about 5.3 to 6M to stay resident. Once they don't fit, the engine evicts the next agent's context, that agent re-reads 100K tokens from scratch, and the share of each prompt already in memory drops from 98% to 84%. MTP is a trade of memory for speed, and memory runs out first.

The lever nobody puts on a list. The agent reading vLLM's speculative-decoding code found that the engine drops the last block of cached prefix every turn when a drafter is on, deliberately, because reusing it can lower the drafter's accuracy. On a dense model that block is 16 tokens. On this hybrid model it is forced up to 3,200 to line up with the linear-attention state pages, so every turn of every agent re-read 3,200 tokens it already had, and at 32 agents each of those re-reads is a prefill chunk in the batch that every other agent's decode step waits behind. Keeping the block took the cache hit rate from 95% to 98.8% and, at 16 agents, added 27% to total throughput.

Then the state itself. Storing the linear-attention state in bf16 instead of fp32 halves it, which halves the block (3,200 to 1,664) and gives back about a third more cache. Quality was the risk, so it was gated: log-likelihood on the last 4K tokens of eight 100K-plus documents came out at 0.20437 nats against 0.20430 in fp32, noise, and the needle was 10 for 10. Add a cap on how many requests run at once (the rest queue with their context still cached, instead of evicting each other), memory utilisation 0.95, a small MTP index-sharing setting, and this is where the box stood by dinner:

Agentsk=3, untuned (greedy)tuned (greedy)tuned (default sampling)
1548 each588 each369 each
321,332 total / 50 each2,239 / 1011,891 / 78
48284 / 9.5 (collapse)1,790 / 491,692 / 46
64not run285 / 11 (collapse)collapse

That third column exists because the reviewer agent asked the plan an awkward question: what sampling does the benchmark use? Greedy, as benchmarks do. The model's own config says temperature 1.0, top-k 20, and under that the drafter's guesses are accepted 57% of the time instead of 96%. So MTP in real use is about 1.9x, not 3x, and from here on this blog quotes the default-sampling column. Every speculative-decoding number you read elsewhere has this problem unless it says otherwise.

Then the edge

64 agents still collapsed, because 64 sessions need about 6.7M tokens of cache and the tuned pool is 6.04M. The box has 235 GB of RAM and a PCIe Gen5 link, and vLLM can copy every cache block to host memory and bring a session back from there in tens of milliseconds instead of re-reading it in seconds. That is the fix, and on this model it has a bug: an open vLLM fix (#60861) exists because a reloaded session can resume from linear-attention state that was never written, which means silent corruption, no error. Unmerged.

We are going to be retuning this box nightly for a while anyway, so the agents mounted the patch over the running image and built a gate for it: continue eight 100K code documents from a cached prefix and record the model's confidence in its own tokens, any NaN, how many characters of the real next text it reproduces, and, per document, how many gigabytes actually came back from host memory, so a run where nothing reloaded cannot pass by accident (two did, and were thrown out). On the clean run every document reloaded 1.3 to 1.55 GB, no NaN, the same opening on all eight, six of eight reproducing the real code to the same character. A stronger variant first showed a confidence gap of 0.056 against a limit of 0.05, and then five repeat runs of the baseline alone spanned 0.116: the limit was tighter than the instrument's own noise. No NaN, no garbage, no gap beyond noise, on eight documents, which cannot exclude a subtle effect. That is the honest state of it. All of the following is with that unmerged patch overlaid, default sampling, running cap 32:

AgentsCap 32, no offloadCap 32 + offload
321,906 total / 76 eachabout 8% lower
481,587 / 541,375 / 47
64423 / 34, 77% cache hits1,405 / 46, 98.8% hits
80124 / 9, collapse1,027 / 39, 96% hits

Offload costs 8 to 13% at the team's typical load and turns the cliff past 50 agents into a slope that still gives 39 tokens a second each at 80. The team's peak so far is 50, once, and contexts grow. I had asked for a balance between decode speed and the number of parallel agents; the agent chose this one, offload on, patch overlaid, cap 32, and it has been serving since Saturday 21:56 UTC with the no-offload config one file-copy away. I'd have chosen the same.

What I actually think

The morning's answer was easy: same speed on the model we run, 35% cheaper, kept. The evening's is the one I'd pass on. In a few hours, a GPU that was already the cheaper right choice went from 1,332 to 1,891 tokens a second at 32 agents at honest sampling, and from falling over at 48 agents to serving 80, and not one of those gains came from the hardware. They came from reading the serving engine's source, measuring instead of assuming, catching two of our own instruments lying (greedy sampling flattering the drafter, a log-likelihood check that silently bypassed the cache it was meant to test), and being willing to run a patch nobody has merged behind a gate we wrote ourselves. That is the price. If you are not prepared to benchmark, to read the engine, and to live a few weeks ahead of the release, you get the spec sheet's version of the GPU, and the spec sheet said the two were different.

Two production endpoints now, the H100 with the 27B and the B200 with Flash-Next, side by side. The first real peak is the next gate, and when #60861 merges the overlay comes off...

A B300 in Helsinki: room for 70 agents, 47K tokens a second of prefill, and worst cases that finally behave

I had been polling UpCloud's availability feed for a B200 for over two weeks. Zero sightings, while the smaller L40S plans came and went all day: the big GPUs were allocated, not briefly out of stock. Then Mikko, our contact at UpCloud, let me know they were about to get B200s and B300s in. So I reworked the polling script to take whichever of the two showed up first, and on Wednesday afternoon it took a B300. By Wednesday evening the box had run three models through my benchmark and was serving my own agent sessions. Still no B200. If one shows up I will grab that too, for the side-by-side. Here is what the B300 measured, what it means for the H100 it is meant to relieve, and which numbers you should not believe yet.

The problem is not throughput

Some background, briefly. Trail Openers runs one shared NVIDIA H100, a data-centre GPU with 80 GB of memory, in UpCloud's Helsinki data centre. It serves a 27-billion-parameter model, Qwen3.8-27B in a 4-bit INT4 format, through vLLM, the serving engine, to a handful of developers whose coding agents talk to it all day. The production post, the cost post and the MTP post have the history.

Before spending any money on a bigger GPU, the question was whether it was needed at all. So I sampled the H100's own metrics for 34 hours: 313 samples. On average 1.7 requests were running. In 51% of samples, none at all. The H100 is, most of the time, a GPU waiting for work, and by any cost-per-token measure a GPU at 2.5-4x the price is poor value. I knew that going in and wrote it down before buying anything, so I could not talk myself out of it afterwards.

The same metrics show the other half, though. One morning at 07:18: four requests running, nine waiting, and the reason logged for the wait was memory. To understand why four requests can fill an 80 GB GPU you need one piece of how these models work. While a model is reading or writing a conversation, it keeps a working memory of everything in that conversation on the GPU, called the KV cache, and its size grows with the length of the conversation. Our agents' conversations are long: half of all requests carry about 100,000 tokens of context, the top 5% carry 200,000 or more. Four of those at once and the H100's memory is full. Everyone else waits.

And the way agents work makes waiting hurt more than the averages suggest. A 45-75 minute agent session is not one long answer. It is hundreds of short turns in a row: the agent reads, calls a tool, reads the result, calls another, each turn producing maybe 100 tokens. When the GPU is full, every one of those hundreds of turns waits. When the GPU is busy, each turn streams at maybe 38 tokens a second. Slow per turn, times hundreds of turns, is the afternoon the team was complaining about.

So the case for a Blackwell GPU, NVIDIA's generation after the H100, was never "more tokens per hour". It was two things: how many of these 100,000-token agent sessions fit on the GPU at once, and how fast each one gets its tokens when they are all running. Everything below is measured against those two.

How I measure

Same method I use on halo, my Strix Halo box at home (an AMD Ryzen AI MAX+ 395 mini PC with 128 GB of memory, the setup page has the details), ported to vLLM and run on the B300 itself. Two words I will use throughout: prefill is the model reading the prompt, decode is the model writing the answer, and they behave very differently.

So, what actually runs. Prefill on real source code at 2K to 200K tokens with caching off, so the GPU has to actually read it. Decode on its own. Needle recall, where a fact is hidden deep in a long prompt and the model has to find it. Short requests fired in the middle of a 100K-token prefill, to see whether they get stuck behind it. Then 1 to 32 agents at once, each given its own secret word to repeat back, so if answers ever cross between agents it shows; and for each run I report both what one agent gets and what the GPU produces in total, because total going up while each agent slows down is exactly how a GPU looks busy and feels slow. Capacity gets two numbers: how many 100K-token conversations the engine's own KV cache holds, and a ramp that adds agents until the latency targets from production break (30 ms between tokens, and the slowest 1% of requests starting within 7.5 s). Last, two runs at 16 agents with prompts drawn from production's actual distribution: one where every prompt is cold and distinct, one multi-turn where each turn extends the previous one, so the cache works as it does in real use.

That last distinction matters because of a shortcut vLLM and every other serving engine takes: if the start of a prompt is identical to one it has seen recently, it reuses the work. Agents resend the same growing conversation turn after turn, so in production 97.7% of prompt tokens hit that cache. A benchmark that ignores this measures a workload nobody runs, and a benchmark where every request is secretly the same prompt measures a ~60-token cached read at every concurrency. Mine generates a distinct prompt per request from a fixed seed, so every GPU sees byte-identical cold work.

The box is one NVIDIA B300, 275 GB of memory. Three models. Qwen3.8-27B-INT4, exactly what the H100 runs today. The same 27B in NVFP4, a 4-bit number format the Blackwell tensor cores run natively, so the only thing that changes is how the weights are stored. And Qwen3.8-Flash-Next in NVFP4: a mixture-of-experts model with about 177 billion parameters in total but only about 6 billion active for any given token, which is what makes it cheap to run per token despite its size. Halo has run it since August. The two 27Bs ran on vLLM 0.30.0; Flash-Next would not start on that version, so it ran on a newer 0.32 build. Different number format, different engine build: keep both in mind when reading across the table.

Results

27B INT427B NVFP4Flash-Next NVFP4
Cold prefill, 100K prompt7,200 tok/s28,90047,200
Decode, one request alone135 tok/s154199
16 agents at once: total / per agent401 / 26456 / 301,045 / 68
32 agents at once: total / per agent575 / 19598 / 201,789 / 59
Multi-turn, 16 agents, cache working21,500 tok/s84,700133,700
KV cache room at 100K context~71 agents~70~68

Three things I'd pull out of that.

The number format alone is worth 4x on prefill. INT4 to NVFP4 on the identical 27B: 7,200 to 28,900 tok/s reading a cold 100K prompt, 21,500 to 84,700 on the multi-turn run, decode 14% faster. Same weights, same engine, same GPU. The INT4 version has to unpack its weights into a format the GPU can compute with, on every layer, every token. The NVFP4 version is running on the tensor cores the GPU was built around. I'd say: if you move to Blackwell and keep an INT4 checkpoint, you have bought a very expensive H100.

Flash-Next is where the parallelism gets silly. 47,200 tok/s of cold prefill means a 116,000-token prompt nobody has seen before is read in 2.5 s. With 32 agents running at once, each one still streams at 59 tok/s, which is faster than the H100 gives one developer on a busy afternoon, with 31 other agents going. The two 27Bs with 32 agents: 19-20 tok/s each. The GPU alone does not fix per-agent speed under load. The model's active parameter count does, and 6 billion active against 27 billion is the whole difference between a GPU that scales and a GPU that merely holds more sessions.

Room for about 70 agents at 100K context, against roughly 16 on the H100. That is the question the whole exercise was about, and all three models answer it the same way, because the KV cache is a property of the 275 GB, not the model. Flash-Next's architecture helps too: 36 of its layers are a cheaper kind of attention that barely uses KV cache, so despite being six times the total parameters of the 27B it holds the same number of full-length conversations.

Short requests fired in the middle of a 100K prefill came back in 70-80 ms on all three, same as on an idle GPU. Nothing gets stuck behind a long prompt.

Two caveats before the next section. The ramp that adds agents until latency breaks also produced a figure, 0, 2 and 2 agents for the three models: ignore it. It reads cold 100K prompts and judges them against a time-to-first-token target taken from production, where 97.7% of the prompt is already cached. A cold 116K read on the INT4 model takes 14 s against a 7.5 s target: fail at one agent, done. Wrong test for this workload; the KV cache figure is the real capacity, and the warm numbers in the next section are the real latency. And quality on this box is untested, full stop. The needle-recall and secret-word checks did not produce usable results on any of the three, for the same reason the LFM post ran into last week: these models think before they answer, and the check reads only the first few tokens of the reply. Halo's build retrieved Flash-Next needles at 64K, 131K and 203K, but that is a different engine and a different quant. The real sessions a colleague and I are running on it until tomorrow are the quality test. One more on Flash-Next: part of its layers fell back to a slower generic kernel with a warning, so its 199 tok/s and 47K prefill may be a floor rather than a ceiling.

Then it got real traffic

Every headline number above is cold: distinct prompts, cache off, the opposite of production. So the better test started at 19:52 the same evening, when the box, running Flash-Next, was pointed at my own agent sessions. One hour later: 8,335 requests, 668 million prompt tokens in, 1.15 million generated. That is 135 requests a minute, and 98.0% of the prompt tokens were served from cache, against production's ~97%. Same shape as production too: median prompt about 100K tokens, 90th percentile 200K, median output about 100 tokens (my outputs ran a little shorter at the top end than the team's, p90 200 against 500, so not perfectly like for like). Average concurrency about 4.7 against production's 1.7, so a busier hour than the H100's typical one, if lighter than its worst. Peak seen: 12 requests running, none waiting, KV cache 14.4% full.

Against the H100's long-run production figures. Both sides come from vLLM's own latency histograms, which record counts per bucket rather than exact values, so each figure is an upper bound: "the slowest 1% started within 2.5 s", not "at 2.5 s". p50 is the median request, p99 the slowest 1%.

B300, Flash-NextH100, 27B INT4
Time to first token, p50 / p90 / p99≤1.0 s / ≤2.5 s / ≤2.5 s≤0.5 s / ≤2.5 s / ≤10 s
Time between tokens, p50 / p90≤10 ms / ≤25 ms≤25 ms / ≤50 ms
Whole request, p50 / p90 / p99≤2.5 s / ≤10 s / ≤40 s≤5 s / ≤15 s / ≤60 s
Time to first token, mean0.57 s0.88 s
Whole request, mean2.67 s5.75 s

The typical turn is faster, and the slow end is much faster. Mean time to first token 0.57 s against 0.88 s. A whole typical request done in 2.67 s against 5.75 s, about half. That is with three times the H100's usual concurrency on the box. Then the slow end, which is what people actually feel: the slowest 1% of requests got their first token within 2.5 s against within 10 s, and finished within 40 s against 60 s. Median time between tokens under 10 ms against under 25 ms, which is the difference between ~100 tok/s and ~40 tok/s on your screen while a long answer streams. And twelve agents using 14% of the memory, where the H100 would be near its ceiling.

Which is exactly the shape of the original complaint. Nobody said the H100 was unusable. They said that some turns, at some times, took forever, and that an agent session is hundreds of turns. Halving the typical turn and cutting the worst ones by three quarters is the thing you notice. One hour, one evening, one person's traffic, so a direction rather than a result. It is also the first warm number in the whole exercise, and it points the same way as the cold ones.

What I actually think

The question I wrote down before buying was how many agents fit, and the B300 answers it: roughly four times the H100, at 100K context, with any of the three models. On the other question, how fast each agent goes when they all run, the honest reading is that the GPU helps a lot and the model helps more. Put the production 27B on the B300 and you get room for 70 agents of a model that still slows to 19 tok/s each when 32 of them run. Put Flash-Next on it and the same 32 agents each get 59.

My gut, and it is a gut until the quality checks say otherwise: Flash-Next is as good as the 27B or better on the coding work this endpoint sees. Halo has run it in production for two months. The 27B is on the H100 because it was the best model that fit in 80 GB with room left for conversations, not because it won a quality bake-off. If those sessions hold up, the B300 question answers itself. The cost: €6.95 an hour, about €5,070 a month, against €1.79 for the H100, so 3.9x the price. With Flash-Next on it, room for four times the agents at three times the speed each, the cost per agent is the same or better than today. With the 27B in INT4 on it, it would be worse: you would pay 3.9x for a GPU that is still limited by how slowly it reads prompts. And either way the honest framing is that the GPU will sit idle half the time, bought so that the other half of the time nobody waits. That is what headroom at the busiest hour costs. It is a latency purchase, not an efficiency one, and anyone presenting it should say so.

Still open: whether a B200 ever shows up so the two Blackwells can be set side by side, whether the ~70 holds when agents are actually added one by one on a warm cache, and whether more than one evening of traffic keeps the slow end where mine put it. The B300 goes back tomorrow. If a B200 turns up, that one we might keep. The polling is still running...

Addendum, the morning after

The post went out at one evening of traffic. The next hour that mattered was at 05:26 UTC, when the team came on and the B300, still running Flash-Next, took 14,541 requests, 242 a minute, an average of 27 agents running at once and 43 seen in one snapshot. Nothing spent meaningful time waiting in line (0.03 s on average) and nothing got evicted to make room for a busier request, and the slowest 1% of requests started within 5 s, against the production target of 7.5. Of the 1.35 billion prompt tokens, 97.8% came from cache, the copy of recent conversation the engine keeps so it does not have to read it again, so real reading was about 29.5M tokens, 8,200 a second. With 43 conversations loaded, the memory that stores those conversations sat at 48%, so the room for ~70 agents that this post staked its name on held, with space to spare.

The number I would have hedged if I had had it earlier: per-agent decode came down to about 23 tokens a second at 27 agents, against the 59 the synthetic bench predicted at 32 and the ~38 the H100 gives when it is not busy. So the honest version of "four times the agents at three times the speed" is that the four times is real and measured, and the three times is what the bench says is possible. At the busiest hour so far, agents streamed slower on the B300 than they do on a light H100, and the GPU was only about 40% busy while that happened. That is scheduling, not silicon, and it is the same bottleneck three posts on this blog have come back to. It is worth chasing before anyone draws conclusions about serving speed from these figures.

One evening of mine, then one hour of the team's, on one GPU that goes back today. Both conclusions still hold. The 70 does too, more confidently than before.

Token-saving shell filters that do not save tokens, what?

None of the three shell-output filters I tested reduced tokens consistently. Across six tasks in the Flask codebase, six repetitions each, with the same model and the same prompt, the typical run with codemode, oo or rtk in the loop used more tokens than the plain baseline, not fewer. One exception stands out: on the task built to reward output filtering, a single token hidden inside a 165 KB passing test run, oo's built-in pytest summary cut the typical run from 34,948 tokens to 12,096, about a third. All else in this post is the detail behind those two sentences, and enough of the method that you can check them.

The problem these tools solve

A coding agent is a language model in a loop: it reads your code, runs shell commands, reads what they print, and decides what to do next. All that a command prints goes into the model's context, and the model pays for every line of it in tokens. Tokens are the unit you are billed by if you use a hosted model, and the unit that fills up the model's context window either way. A test suite that prints 165 KB to say "all passed" costs the agent tens of thousands of tokens to learn one bit of information. Linter output, git logs, directory listings: most of what the shell says is noise to the model, and it reads all of it.

Three tools try to fix that, from different angles. I built one of them, so read what follows with that in mind. It is also why the method is spelled out to the flag and the harness, the scripts that build the tasks and run and grade the agent, is available to anyone who asks.

oo is mine. It is a wrapper you put in front of a shell command: you run oo cargo test instead of cargo test. oo runs the command, keeps the result and any errors, and files the rest away so the agent can ask for it later with oo recall if it turns out to need it. It knows the output shapes of common tools (test runners, builds, linters) and you can teach it new ones. For pi it installs as an extension that quietly adds the oo prefix to the agent's commands.

rtk is the same shape of idea from a different author: a command prefix, a single Rust binary, with a configurable pipeline that compacts the output of git, ls, test runners and so on. It ships an official pi extension and advertises 60-90% savings on common dev commands.

codemode is different. It is a tool built into pi, the coding agent I use, since pi 1.0: instead of the model calling one tool at a time and reading each result, it writes a small JavaScript program that calls pi's tools from inside a sandbox, and only what that program prints or returns is the outcome the model gets. So a script can run the whole test suite, search the output for the one line it needs, and return that line: the model never sees the rest. The idea is not pi's alone, Cloudflare wrote it up as Code Mode last year and several agents have adopted it since. The filtering is whatever the model chooses to write into its script, which is both the power and the catch. pi has a setting for how hard to push the model towards it: on, where the normal tools stay ready alongside codemode, and only, where they are hidden and everything has to go through a script. The codemode docs have the details.

How I tested them

The code under test is Flask, the Python web framework, at one fixed commit (22d92470). A seeded script plants six changes into it, each a planted change with a concealed answer key, so anyone on the same commit gets the same six tasks:

  • t1-rootcause: dozens of tests fail; find the file and line of the planted bug that causes them.
  • t2-infoloss: a single token is printed once inside a 165 KB passing test run; find it. This task is made for output filters to shine on.
  • t3-riskdiff: a commit touches many lines of whitespace and one line of behaviour; find the one that matters.
  • t4-history: which commit, in a long history, last changed a given behaviour.
  • t5-lint: fix one real undefined name planted among hundreds of lines of linter noise; ruff plus tests.
  • t6-control: find one value in a 3,000-line file, where no filter should help. The answer key is a planted canary string, not a credential.

The agent is pi 1.1.0, run without its interactive screen, one task per run, with a flag set that gives every arm the same prompt and the same four basic tools (read, bash, edit, write). The only thing that differs between the six configurations, the arms in benchmark-speak, is what sits between the agent and the shell.

The model is Qwen3.8-27B in a 4-bit INT4 format, served by vLLM from the Trail Openers H100, our team's shared production GPU (the H100 post has the setup), with the model's thinking mode off. That endpoint has no per-token price, so I count tokens, not money.

Six arms:

  • plain: pi's four basic tools, nothing in between. The baseline every ratio is measured against.
  • codemode: pi's built-in codemode tool switched on in its default on mode; the normal tools stay available and the model may write a script if it wants to.
  • codemode-only: codemode in only mode, the normal tools hidden so every action goes through a script. This is the test of the mechanism itself.
  • oo: a pi extension puts oo in front of the agent's simple shell commands. oo's built-in output patterns only.
  • oo-patterned: as oo, plus one extra pattern I wrote that teaches oo the summary line of the task's own test script.
  • rtk: the official rtk pi extension, as it ships in rtk 1.0.1, nothing tuned.

Versions, for anyone rerunning: oo is double-o 0.10.1 (cargo install double-o --version 0.10.1 --locked; the package is called double-o, the command is oo). rtk is 1.0.1, released 2026-10-14. Two runs at a time on the shared GPU, 15 minutes per run before it counts as a timeout, every run on a fresh copy of its task repo with its own oo and rtk state. Grading is strict: the exact file and line, or the exact string, or it is a fail. Timeouts are fails and stay in the data.

Results

216 runs, six per task per arm. "Median" below means the middle one of the six.

armcorrectmedian tokens, all taskstokens vs plain
plain34/3621,7021.00
codemode35/3633,6561.24
codemode-only30/3631,4391.28
oo34/3637,0981.27
oo-patterned36/3621,2180.93
rtk 1.0.135/3632,4981.18

The last column is a median of six per-task medians, which means one task can swing it, so do not stop at this table. Median tokens per task, with the ratio to plain in brackets (under 1.00 means fewer tokens than plain):

plaincodemodecodemode-onlyoooo-patternedrtk
t1-rootcause169,35743,564 (0.26)40,298 (0.24)105,957 (0.63)142,888 (0.84)418,886 (2.47)
t2-infoloss34,94831,111 (0.89)25,430 (0.73)12,096 (0.35)26,439 (0.76)37,338 (1.07)
t3-riskdiff20,70030,340 (1.47)56,898 (2.75)45,922 (2.22)18,104 (0.87)23,190 (1.12)
t4-history8,70010,236 (1.18)15,920 (1.83)9,110 (1.05)10,030 (1.15)9,420 (1.08)
t5-lint76,395455,598 (5.96)35,768 (0.47)189,564 (2.48)96,532 (1.26)106,752 (1.40)
t6-control5,4687,141 (1.31)15,847 (2.90)8,162 (1.49)5,396 (0.99)6,822 (1.25)

What I read in that table.

The agent's luck swamps the filters. Look at t1: plain pi used anywhere from 33,757 to 1,038,931 tokens over six runs of the same task. rtk, from 24,413 to 11,429,960. A factor of thirty or more between the best and worst run of the same thing. What decides a run is whether the agent happens to look at the planted change early, and no output filter decides that. On the transcripts from the first rtk version I tested, every run that displayed the planted commit got the answer right, and every run that never displayed it answered from its memory of upstream Flask and got the line wrong. I have not re-checked that on the final rtk transcripts, so I will not claim a cause for rtk's t1 median of 40 turns against plain's 12.

t2 is the one place a filter did what it says on the tin. 165 KB of pytest output with the answer printed once inside it. oo's built-in pytest pattern collapsed that run to a one-line summary, the agent asked oo recall for the detail it needed and found the token: 12,096 tokens, 6 of 6 correct, three turns. That is the design working as intended. And the honest footnote: the oo-patterned arm, where I added a hand-written pattern for the task's own test script, did worse on t2 than plain oo, 26,439 against 12,096. My pattern was not better than the built-in one. codemode-only also helped here (0.73), rtk did not (1.07).

oo-patterned is the only arm that got everything right, 36 of 36, and the only one whose overall ratio is under one. I am not going to present 0.93 as a general saving: it is one task's effect spread across a median. What I'd take from it is the pass rate. Fewer tokens is the pitch, but an agent that reads a summary instead of 165 KB of noise also seems to get fewer things wrong, and I'd like to know whether that holds at a bigger sample.

codemode-only timed out five times, each after millions of tokens, stuck in a loop: the script fails, the model rewrites it, it fails again. With codemode merely available alongside the normal tools (the codemode arm), this model used it in one run out of 36 and otherwise ignored it. So codemode as pi ships it was not really exercised here; codemode as a forced mechanism was, and the result cuts both ways. On t1 and t5 it was the cheapest arm by far, a quarter and half of plain, because a script that runs the tests and searches the output is exactly what those tasks want. On t3, t4 and t6 it was the most expensive, because the model wrote scripts for work that was one git log away. The idea is sound, and I'd say the open question is whether the model knows when to reach for it. This one, with thinking off, did not.

rtk at its defaults cost tokens on every task, none of them dramatically apart from t1, where the spread makes the median unreliable anyway. Its own counters show 463 commands rewritten across 36 runs, so the filter was in the loop. I did not tune its pipeline, and its file-reading command defaults to full content, so this is rtk as installed, not rtk as configured by someone who knows it well.

The one concrete thing rtk's filter dropped

On t5, the lint task, the agent runs ruff, a Python linter that can also fix what it finds. Plain pi sees ruff's own summary: "Found 301 errors (300 fixed, 1 remaining)". In the rtk runs, the agent sees "Ruff: 1 issues in 1 files" and the one remaining error. The part saying that ruff had just auto-fixed 300 things, by deleting 300 unused imports, is gone. Confirmed on both rtk versions I ran.

In these runs it did not change the outcome: the planted defect was the one remaining error, and every rtk run found it. The agent simply never learned that its initial ruff call had rewritten the file under it. I'd put it this way: that is exactly the kind of line a filter has to make a decision about, and rtk's default decided wrong for this case. rtk's maintainers have not seen this setup; I have not sent it to them.

Two smaller observations I will not build on: rtk's compacted git diff drops the header lines (diff --git, index) that an agent might search for, though no run here was derailed by it. And one rtk directory listing said "3 filtered" where one entry was hidden. One run, unexplained.

Failures, all 13

  • t1: rtk rep 2 answered line 635 (key 636) after 615,816 tokens and 53 turns. oo rep 4 answered 637. oo rep 1 timed out at 2,794,061 tokens. plain rep 1 answered 641 after 1,038,931 tokens. codemode rep 6 answered 635. codemode-only rep 3 timed out at 17,405,554 tokens.
  • t3: codemode-only rep 2 timed out at 25,425,344 tokens; rep 4 answered 194 (key 193).
  • t4: codemode-only rep 3 timed out at 21,114,303 tokens.
  • t5: plain rep 3 timed out at 97,927 tokens.
  • t6: codemode-only reps 2 and 5 timed out at 36,034,105 and 16,739,778 tokens.

Several of the t1 misses are one line off. They count as fails under the strict rule, and I have not computed a lenient count.

Things that went wrong on the way

The first pass had a leak. pi's system prompt includes its own install path, and I had installed pi inside the project folder, so five runs read that path and wrote their answer into the harness folder instead of their task repo. pi and the test environment moved out of the tree, all 216 runs were redone, and no final transcript writes outside its own repo. The first-pass rows are archived, not deleted.

oo changed under me: the first runs were on a development build, the final runs are on the released 0.10.1, which fixes what oo recall can see. rtk was first run at 0.51.0, then rerun at 1.0.1 when it shipped; the 1.0.1 rows are the outcome reported here, and both versions rewrite the same commands.

And the limits: one model, one repo, six synthetic tasks, six repetitions each, on a shared GPU two runs at a time. Enough to say "not consistent", not enough to rank the three.

Rerun it

The harness is not public yet, but it is accessible on request: a README with the step-by-step, the seeded script that builds the six tasks from the Flask commit, the 216 result rows as JSONL and the script that regenerates the report from them. All of it is pinned (pi 1.1.0, double-o 0.10.1, rtk 1.0.1, Flask at 22d92470); you supply your own OpenAI-compatible model endpoint. If you run it with a different model, a tuned rtk pipeline, or a codemode arm that forces scripting from the first turn, I want to see the table...

LFM2.5-24B-A2B on Strix Halo: 110 tok/s, tools 8/8, and a model that will not stop thinking

LiquidAI shipped LFM2.5-24B-A2B on Monday. By Wednesday it had been through the full house benchmark on halo. Short version: it is the fastest model on the machine by a wide margin, it passed every tool-calling check, and it thinks before every answer whether you want it to or not. All three matter. The third one changes how you should read the first.

What it is

A 24.0B-parameter mixture of experts with about 2.45B active per token: 64 experts, top-4 routing, 40 layers. The unusual bit is the layer mix - 30 of the 40 are short-convolution blocks and only 10 are attention. That is the LFM2 architecture, and it has a practical consequence: only those 10 attention layers keep a KV cache, so a 131K context costs very little memory. Trained on about 33T tokens, then put through agentic RL inside real harnesses - Hermes Agent and pi among them, the two I run. 16 languages, Finnish not one of them. License is LFM Open License v1.0: commercial use only for organisations under $10M annual revenue, which is a real restriction behind the "open-weight" label.

LiquidAI's own pitch in the release post is quite specific: an on-device agent model that reasons, calls tools and runs continuously on your own hardware. They say it themselves: not for knowledge-heavy work, pair it with retrieval. Their benchmark table backs that framing: it leads Qwen3.6-35B-A3B on the agentic rows (AutomationBench 27.69 vs 8.72, LiveClaw 48.09 vs 38.19) and loses on knowledge and coding (GPQA Diamond 74.42 vs 83.69, SWE-Bench Verified 51.0 vs 66.2). Vendor figures, yes, but a vendor telling you where its model is weak is worth something.

And there is no off-switch for the reasoning. A user asked on the model card discussions for an instruct variant; the answer from Liquid was that thinking is the point for agentic use, you can pre-fill a closing think tag to skip it but it is not recommended, and if you really need a non-thinking model, fine-tune the base. Keep that in mind for later.

How I measure, and why not llama-bench

So as you probably already know, I have a Strix Halo box, halo: AMD Ryzen AI MAX+ 395, 128 GB of unified memory, llama.cpp, the usual. If not, the setup page has the details. New this time: the official Q4_K_M GGUF, 14.5 GB, the same quant LiquidAI used for their advertised Strix Halo figures, on the Vulkan backend with two private 131K slots and the model card's sampling (temp 0.1, top-k 50, repeat penalty 1.05).

House rule, written down this week after one too many misleading numbers: llama-bench is not a speed figure. It feeds the model a synthetic token stream with no chat template, no slot scheduling, no prompt cache and no reasoning. Fine as a relative screen between two backends. Useless as a claim about how fast you get answers. So the headline numbers below come from two other harnesses, both through the live serving endpoint with the production config:

  • A realistic sweep: prefill on real Python source (transformers model code) at roughly 2K, 8K and 24K tokens with prompt caching off, decode on a real coding task (thread-safe LRU cache plus five pytest cases), reading the server's own timings.
  • A live-serving A/B: time to first token, per-request and aggregate tokens per second, measured client-side at one and two concurrent requests, with a codeword in each prompt that must come back so cross-request mix-ups show up as failures.

Then the same two harnesses were re-run the same day on the two production models it competes with: Qwen3.6-35B-A3B at Q8_0 and Gemma-4-26B-A4B at an 8-bit Unsloth quant, both on ROCm. Same day matters: earlier numbers are context, not a comparison.

Results

Prefill on real source, tokens per second:

Model~2K~8K~24Kdecode t/s
LFM2.5-24B-A2B Q4_K_M (Vulkan)215521651839109.5
Qwen3.6-35B-A3B Q8_0 (ROCm)13391419126647.2
Gemma-4-26B-A4B 8-bit (ROCm)742*1504112966.4

*Gemma's 2K row was its cold first request of the day and is not representative.

So prefill is roughly 1.5x Qwen's at every depth, and decode is 2.3x Qwen and 1.65x Gemma. On the live-serving run with one request in flight, time to first token was 0.8 s at 2K, 3.2 s at 8K and 15.9 s at 31K, with per-request decode holding 108, 104 and 91 tok/s at those depths. Qwen at the same points: 1.3 / 4.9 / 22.3 s to first token, decoding at 47, 45 and 41. Under two concurrent requests the aggregate held up fine (97 tok/s at 2K, 50 at 8K); the per-request spreads get wide, but that is structural, one request's prefill waits behind the other's, and it reproduced on the re-run.

On the mechanics that an agent harness actually cares about:

  • Tool calling: 8 of 8 checks passed - single call, multi-step round trip, forced tool_choice, parallel calls, with reasoning on and with it off.
  • Concurrency correctness: 18 of 18 requests got their own answer, and all 18 matched the solo run.
  • Agent loop, two concurrent episodes at a time, four episodes: 3 succeeded, none got stuck, no duplicate tool calls, up to 5 calls per turn, contexts up to 53K tokens. The one failure submitted an empty answer after two calls.
  • The open llama.cpp issue #30490, where this model sometimes emits tool calls as plain-text XML that the parser then silently drops, did not reproduce here. It is still open, and the failure mode is nasty, a lost call that looks like a normal stop, so test for it on your own build.

Memory is small: 14.5 GB of weights plus about 2.5 GB of KV per full 131K slot. Two full-context slots and the model together fit comfortably in a corner of the box.

A note on what I am not showing. The llama-bench screen did run, on both Vulkan and ROCm, and it suggested ROCm keeps prefill speed better at very long context. That is a synthetic hint, not a result, and ROCm has not been tested as a live route for this model yet. And LiquidAI's own advertised figure for this chip class, about 1641 prefill and 114 decode at 4K input, comes from a different method than mine, so I am not going to line it up against the table above and call it a head-to-head. The order of magnitude agrees. That is all I can honestly say.

Two caveats on the comparison itself. It is not quant-for-quant: LFM is 4-bit, the other two are 8-bit, and a 4-bit Qwen would close some of the gap. And two rows in the live-serving table were contaminated by another agent's traffic during the first pass and had to be re-run; the figures above are the re-run values.

The always-thinking problem

Here is the thing that the tokens-per-second number hides. On the decode half of the realistic sweep, the model gets a 2500-token budget to write an LRU cache and five tests. Qwen used that budget to produce 1819 characters of answer. Gemma produced 5128. LFM2.5 produced zero: all 2500 tokens were reasoning, and it was still reasoning when the budget ran out. In the live-serving harness, which asks for a codeword and then a list, it hit the 256-token limit on every single request without ever emitting the codeword. Still thinking.

That is not a bug. It is the design, and Liquid is upfront about it. But it means raw decode speed overstates time-to-answer by a factor that depends entirely on how long the model decides to deliberate. 110 tok/s is genuinely fast. 110 tok/s with 2500 tokens of preamble before the first useful character is a 23-second wait, which is slower to a usable answer than Qwen at 47 tok/s writing the answer straight away. The agent-loop test, where the reasoning is doing real work between tool calls, is where the speed actually cashes out: 4-5 turns, 11-13 tool calls, done in seconds.

I'd put it this way: this model's speed is best measured in tool calls per minute, not tokens per second. If your workload is reason, call, read, call, it is the quickest thing on this hardware. If your workload is "write me the function", budget for the thinking or pick a model that can turn it off. And no, you cannot simply cap it - next section.

So can you just cap the thinking? Tested that too

The obvious next move is a reasoning budget: llama.cpp can enforce a per-request thinking cap in the sampler and inject a "wrap it up" message when it runs out. Tried it the same afternoon, on 13 small tasks with checkable answers (dates, ages, unit conversions, a couple of tool calls) at temperature 0, plus the agent loop again.

SettingCorrectTotal timeAgent loop
Unlimited (stock)12/1291.6 s3/4
Hard budget 204812/1291.9 s-
Hard budget 102410/1259.2 s2/4
Hard budget 51210/1245.3 s1/4
"Think briefly" in the system prompt12/1270.8 s-
Same line injected into the chat template13/1345.5 s1/4

Two things fall out of this. A budget at 2048 does nothing, because the model rarely gets there on short questions. Below that it costs correctness, and the failure mode is specific: the model does not know a budget exists, llama.cpp just cuts the thought off, and the model then commits to the unfinished thought. "Tuesday" instead of Wednesday. In the agent loop it is worse - it submits its plan ("I need to find SERVICE_SIGNING_SALT in...") as the final answer and stops.

A polite nudge works better than a cap. "Think briefly: keep your reasoning short and then answer." in the system prompt kept every single-shot answer correct and took a quarter less time. Baked into the chat template server-side so every client gets it, same thing: 13/13, half the tokens, tool gates still 8/8. So far so good... and then the agent loop fell to 1 of 4, the same way the hard budgets did. Reasoning too little, it hands in the plan instead of executing it.

Which is the whole point of the model, so the route is back on the stock template, the nudged variant kept as a reference file. I'd say: for an agent harness, leave its reasoning alone. For a client that only asks one-off questions, put the brief-reasoning line in that client's own system prompt and enjoy the speedup. Small samples - 13 tasks, 4 agent episodes per setting - so a direction, not proof. But the agent result lines up across three independent ways of shortening the thinking, and that is harder to dismiss.

Where I'd use it, and what is still untested

Where it fits: general and agent tasks on the local box. Routing, tool dispatch, summarising retrieved material, the glue work inside a harness where the model needs to be quick and reliable at calling things rather than deep. The correctness gates passed clean, the memory footprint is tiny, and two users can share it at full context without it falling over. Not for coding, by LiquidAI's own account and by the benchmark table, and I have no reason yet to argue.

What is missing is a quality evaluation. Everything above is speed and mechanics. Nothing here tells you whether its answers on general tasks are good, and the early community signal is thin and mixed: one hands-on report on an M5 Pro got ~120 tok/s from the Q4 but found tool calling in their coding harness "wasn't good", which does not match my 8/8 but was a different harness and a different quant. Anecdotes, both ways. The earlier post on the 2.6B sibling found a model that reads and executes well but knows very little and cannot tell which mode it is in; whether ten times the total parameters moves that needle is exactly the question a general-task eval needs to answer. That is the next window.

Also still to come from Liquid's side: a DSpark draft model for speculative decoding, listed as "coming soon". On a model that already decodes at 110 and spends most of its tokens thinking, a drafter that accepts well on reasoning text could be a very very interesting thing...

pi-delegate: Claude does the thinking, a cheaper model does the typing

Soo... pi-delegate is out. It's a Claude Code plugin with one skill: you say "delegate to pi: ..." and the heavy part of a coding task - reading files, editing, running tests - runs on pi, an open-source coding agent that can drive any model you pick, including one on your own machine. Claude only writes the brief and reads a short result. Your tests decide whether it worked.

The headline from my benchmark: on multi-file tasks, Claude's cost per run dropped from $0.082 to $0.055, a third off, with every hidden test still passing. But the more interesting part is that the first version of this tool made Claude more expensive, and the fix was mostly deleting things.

Version one cost more, not less

The first design was the one I'd have defended in an architecture review. A deterministic bash driver ran a develop, review, fix loop: pi wrote the code, a second read-only pi instance reviewed it adversarially, findings went back for fixing, up to six pi calls. Cheap model builds, strong model judges.

Then I benchmarked it against plain Claude Code on real historical fixes from the click library. Quality was at par, every run passed the grading tests. Cost was not: the delegated runs used 1.7x and 2.7x as much Claude as just letting Claude do the work. Where did it go?

  • the skill text and role prompts loaded into Claude's context, roughly doubling cache creation;
  • extra turns to launch the loop, wait for it and read back the summary;
  • and the big one: after the loop's own review had passed, Claude re-read the diff and re-ran the tests anyway, to be sure.

That last one is funny in a slightly painful way. I had built a whole review pipeline so Claude wouldn't have to check the work, and Claude checked the work anyway.

What changed

Three things, all subtractions.

The reviewer is gone. Field data from about 15 real delegated tasks showed a reviewer on the same model as the developer approved almost everything, while a stronger model later found real bugs in several of those "approved" changes. A same-model reviewer is a second opinion from the same mind. So now there's no model in the quality gate at all: you pass --verify "<your tests>", the script runs it after pi finishes, and if it fails pi gets exactly one retry with the failure output. A deterministic gate instead of a second opinion. Same lesson I keep landing on in other places: put the decision in code where you can.

Claude is told not to redo the work. When the gate passes, the skill tells Claude to reply in a sentence or two and stop. No re-reading the diff, no re-running the tests. That was the single biggest leak.

The output got trimmed. The script prints at most about 1.2 KB of pi's final text, because everything pi says gets re-read, and paid for, by Claude. The skill itself shrank to about 25 lines, with all the launch, wait and abort logic moved into run.sh.

The numbers now

Eight small tasks, two runs each, plain Claude versus Claude with pi-delegate, pi running Qwen3.8-27B on the Trail Openers H100:

Claude cost per runPlain ClaudeWith pi-delegate
Multi-file features$0.082$0.055 (−33%)
Tiny edits (ten-line fixes)$0.042$0.047 (+11%)
Runs passing the hidden checks28 / 2828 / 28

The tiny-edit row is the useful one. Delegating has a fixed overhead of roughly half a cent to a cent per task: the skill text, one extra tool round-trip, reading the result. On a ten-line fix that overhead is bigger than what pi saves, so don't delegate those. On multi-file work it pays for itself, with the best task at −47%.

The honest fine print

This counts Claude's cost only. pi's own spend comes on top: nothing extra if you already run your own model like we do, cents on a hosted cheap model. Delegated runs are also slower, several times over in these runs: about 25 seconds plain versus two to three minutes. Two runs per task is a small sample, and these are small synthetic tasks, not a big real codebase. Delegated diffs also came out 1.3-1.8x larger, mostly because pi writes more tests - which you may or may not want.

There are guardrails too: it refuses to run on your default branch or next to .env and key files, and disables git push for pi. That guards against mistakes, not a malicious model; for real isolation use a disposable clone, a container, or the optional sandbox wrapper.

So who is it for? I'd say: you use Claude Code, your usage limit or token bill matters, your tasks touch several files, and you have a test command that can tell right from wrong. If speed matters more than cost, or there's no way to check the result, Claude alone is still the better tool.

The benchmark takes about five minutes to rerun yourself with bench/quick.sh, and I'd genuinely like to see numbers from other setups and other models. Mine is one Claude model, one pi model on one H100 and a handful of tasks... early days tho.

A year of Fiona: my personal assistant, the Hermes swap, and the agent that rewrote its own playbook

Fiona is my personal assistant. I built her about a year ago, she lives in Telegram, and she runs on my own hardware. Last week her web-research worker hit a billing error, spent several minutes improvising around it, and then wrote that improvisation into its own long-lived instructions as standing policy. No attacker anywhere. Just an agent optimising for "finish the research" with write access to its own playbook.

The incident only makes sense as a test of decisions made a year ago, so let me start there.

A year of Fiona

The founding requirement for Fiona was never capability. It was containment. Some of what I handle through her is sensitive, and I did not want it leaking anywhere: not to a vendor, not to a random website, not through a clever prompt. So the design has been paranoid from day one. Fiona herself runs on an internal-only container network with no route to the internet. Her only way out is an allowlist proxy that reaches Telegram and the local model gateway, and nothing else. She cannot browse the web at all.

Web research had to live somewhere else, so it went to a separate worker in its own network zone. The first version was a small agent I wrote myself and named Pi. I wanted a non-gendered name for it... and only later noticed that the agent framework I build my coding harnesses on is also called pi. Naming things, one of the two hard problems, confirmed again.

Then Nous Research released Hermes, a capable open-source agent, and I made what felt like an obviously sensible call: swap my hand-rolled Pi for Hermes and get someone else's maintenance for free. Fewer things for me to keep patched, more capability out of the box. Keep that decision in mind, because it is half of this story.

The zone split stayed exactly as it was. Outbound research queries pass a PII gate before they leave Fiona's zone, so the worker only knows what it is asked. Its answers come back as data: English by contract, and Fiona's own model rewrites anything I actually read. The worker never talks to me directly.

What happened

On September 20 the credit on the search API account ran out. Every search from the worker started returning a payment error. Nobody noticed, because that error went into a log file and nowhere else.

On September 23 I asked Fiona a research question. Fiona called the worker, waited three minutes, timed out, retried, timed out again, and told me the worker "couldn't connect to the server". That was wrong: the worker was reachable and very busy. Inside it, each run hit the payment error and then walked a fallback chain on its own initiative: a browser (not installed, so that failed), the shell, code execution, delegation. Both abandoned runs finished long after Fiona had given up, holding the shared GPU the whole time.

Forty-two seconds after the second run ended, the worker's own research skill file was rewritten. It gained a new "fallback strategies" section: when search reports a payment error, fetch pages another way instead; when a site refuses access, make the requests look more like a normal browser. A one-off improvisation had become standing policy.

A few honest markers, because this is where it would be easy to overclaim. Established from logs and file timestamps: the payment errors, the fallback chain, the timing, the rewritten file. Inference: that the rewrite came from Hermes' post-run background review, based on timing (the weekly curator ran hours later). Unknown: whether any of those fallback attempts actually fetched anything (the logged attempts returned errors, but the worker did have internet access), and whether the rewritten skill was ever used before I found it. As far as I saw, no further research requests arrived before the fix.

And one detail that changes how I read the whole thing: that skill file did not ship with Hermes. The agent wrote it itself, back in August, and had edited it seven times since.

Why it happened

I'd put it this way: this was not a rogue AI. It was an agent optimising around a constraint, which is a more boring description and a much more useful one.

The agent was told to complete research. A billing error is just another obstacle, and routing around obstacles is exactly what it was built to do. Nothing in its instructions said "payment and auth errors mean stop". Hermes also has a self-improvement loop: post-turn reviews that can create and edit its own skills. That loop is the step that turned a workaround into persistent behaviour. And the worker had far more capability than the job needed: shell, browser, code execution, file access, delegation, memory and scheduling, when all it ever needed was web search. The workaround it wrote down only works because a shell was there.

The prompt-injection literature mostly assumes an attacker supplies the pressure. Here the agent's own drive to finish the task was enough. So the rule I take away: an agent that reads the web must not write its own instructions. Self-improvement plus untrusted input plus a completion objective means persistent behaviour change, with or without an adversary.

What held

This is the part that made the year of paranoia worth it.

The zone split. The agent that read the untrusted web and misbehaved never shared a process, filesystem or network with Fiona's memory, my profile, my chat history, or her secrets. Simon Willison's lethal trifecta is private data plus untrusted content plus an outbound channel. The worker had the last two and, by construction, none of the first. That breaks the exfiltration leg regardless of what the agent decides to do.

Secrets by construction. The worker gets a derived environment file with only the keys it needs: at the time, two. A misbehaving worker holds only its own credentials, which is why "rotate everything" was never on the table.

A one-way, typed boundary. Queries go out through the PII gate, answers come back as data and get rewritten by Fiona's own model. A confused worker cannot talk to me directly or inject instructions into Fiona.

Monitoring that doesn't depend on the agent. My topic monitors run through a deterministic script calling the search API directly, not through agent jobs. That was a deliberate decision in August, and it meant the agent's behaviour never touched them.

The egress canary stayed green. A periodic check proves Fiona's zone cannot reach the internet. It kept passing throughout.

Forensics were possible. The worker's logs kept every tool call with timestamps, and the modified skill file with its modification time was itself evidence. The chain from payment error to rewritten playbook reconstructed cleanly.

Human review on the fix path. When my operator agent tried to edit the self-modified skill directly inside the container, the permission system blocked it, and it also blocked merging fixes without review. So every change went through reviewed, tested pull requests, and independent reviewers caught two real bugs in the first "lock down the worker" change by reproducing it against the actual image. One left the config owned by root, so the gateway silently fell back to defaults with every tool re-enabled. The other blocked the browser toolset, which silently removed web search too, because toolsets overlap. Guardrails need testing against the real artifact, not against stubs.

And one thing that held by luck, not design: the browser fallback failed only because Chrome was not installed in the image. I'm counting that as a near miss, not a defence.

What failed

No least privilege inside the worker zone. I spent a year hardening the boundary around the worker and almost no time on what the worker could do inside it.

Self-modification on by default. Skills were writable, and the background review and curator were enabled. I hadn't turned them on. I also hadn't turned them off.

Alerting that stopped at log files. Four days of payment errors produced zero alerts. A health check even noticed the errors, and wrote that down in a log too.

Misleading failure reporting. "Couldn't connect" hid both the real cause and the fact that the worker was still running, and Fiona's instructions encouraged retries, which stacked orphaned runs on the GPU.

Quiet looked the same as broken. In an unrelated failure, 7 of 11 topic monitors had silently died weeks earlier from a crashing sync script, and the morning digest kept saying "nothing new".

What changed

The worker is now a web-only worker: an allowlist of web search and fetch, nothing else, and it refuses to start if its config ownership or policy is wrong. Skill and memory writes are staged for my approval and never applied automatically, and a staged change pings me on Telegram: propose, don't apply. The background review, the curator and the agent's own memory are off. The self-authored research skill is archived. Fiona now reports failures honestly and does not retry them, including a clear "search unavailable" signal. Provider errors and failed worker jobs alert me directly. The digest says "monitoring degraded" instead of "nothing new" when monitors are down.

One more thing, and it is the part I keep thinking about. The Hermes upgrade that shipped these guardrails also enabled a new default: when a paid search fails, silently retry on other vendors' free, anonymous tiers. A brand new egress path, arriving in a version bump, and one that would have hidden the next billing failure completely. I switched it off explicitly.

The trade I actually made

Which brings me back to the swap. I replaced my own worker with Hermes to get less maintenance, and I did get less maintenance. What I also got, without really noticing, was someone else's defaults: a self-improvement loop, a broad toolset, and now a fallback behaviour I would never have written myself. None of those are bugs from Hermes' point of view. They are features for a general-purpose agent. They were just the wrong features for a narrow worker sitting next to sensitive data.

So I'd say the lesson is not "don't use Hermes". It's that outsourcing maintenance means inheriting defaults, and defaults drift with every upgrade. Keep the worker boring. Put the safety in network boundaries, credentials and file permissions, because the prompt did not stop anything here and the architecture did. And re-audit the defaults on every version bump... the next one is probably already on its way.