Blog
A small open model we trained, given a calculator, saves a media buyer about twice as much per £1m as Claude Opus 5.5 and wins a publisher about a quarter more, in head-to-head negotiations on 120 fixed worlds
Buying from a Claude Opus 5.5 seller in AdXBench's head-to-head test, Hagla saved a media buyer £156,156 per £1m of budget, average of 3 runs, against £79,012 for Claude Opus 5.5 in the same seat. It was ahead in all four seats tested, on every run. Prices are simulated and every game had a deal to be made.
Hand a buying agent £1m of ad budget and send it to negotiate with another company's agent. In AdXBench's head-to-head test, our benchmark of ad deals with a model on the other side, the seller was Claude Opus 5.5 itself. Hagla saved £156,156 of every £1m, the average of three separately trained runs. Its worst run saved £151,444. Claude Opus 5.5 in the buyer's seat, against the same seller, saved £79,012.
Hagla is a 9-billion-parameter open Qwen model that we trained with Modelsmith to send its sums to a calculator. In the head-to-head test it beat Claude Opus 5.5 in all four seats we measured, buying and selling, against Claude and against GPT-6.2 Astra, on every one of its three runs. Before that, an earlier version of Hagla had beaten Claude on AdXBench's scripted negotiations, where the other side follows fixed rules.
Saved per £1m of budget, buying from a Claude Opus 5.5 seller
£156,156
Hagla, average of 3 runs (worst run £151,444), against £79,012 for Claude Opus 5.5 at max effort in the same seat, with the calculator, its better setting there. 60 frozen AdXBench head-to-head negotiations, simulated prices.
What the agents were asked to do
Each game hands the model one side of an ad deal: buy or sell a block of impressions on the best terms it can get, or walk away when no deal is worth having. It is told its own price limit, the price grid and how many rounds it has, up to ten. It is not told the other side's limit, which of five bargaining styles the other side follows, or whether a deal is possible at all. In one game in three the limits do not overlap, and the right move is to walk away.
The other side is a script with rules of our own design. It does not model a real trader. A program scores each game from its full record, with no AI judge, so every player is marked the same way. The pricing rules come from IAB Tech Lab's open-source sample agents, and AdXBench is independent of IAB Tech Lab.
The scripted result
This came first, from the version of Hagla trained before the head-to-head test. We trained it three separate times, because one good run can be luck, and fixed in advance which saved point of each run would be tested. Each run then played 540 negotiations kept out of training, three times each. Claude Opus 5.5 played each negotiation once.
| Higher is better, except rules broken and cost | Hagla (average of 3 runs) | Claude Opus 5.5 (max effort) | GPT-6.2 Sol (max effort) |
|---|---|---|---|
| Saved as a buyer, £ per £1m of budget | £42,828 (worst run £42,684) | £31,601 | £25,347 |
| Won as a seller, £ above the floor per £1m of floor value | £42,082 (worst run £41,940) | £38,007 | £26,639 |
| Share of the room between the two limits kept, 0 to 1 | 0.780 (worst run 0.778) | 0.674 | 0.582 |
| Right call: a deal when possible, a walk-away when not, % | 98.1 (worst run 97.8) | 98.1 | 97.8 |
| Rules broken, one figure per run | 0, 1 and 7 in 1,620 plays each | 0 in 540 | 0 in 540 |
| Running cost of one negotiation, estimate | 0.01p to 0.2p | 55p | 11p |
For a media buyer, each run saved between £11,082 and £11,323 more per £1m of budget than Claude Opus 5.5 did. Compared game by game, the smallest of those gaps had a 95% interval of £6,554 to £16,143, so it is clear of zero. For a publisher selling inventory, each run won between £3,934 and £4,264 more above the floor per £1m of floor value.
The right call is level: 98.1% of games for Hagla on average and 98.1% for Claude. The gain is in how much of the room Hagla keeps once a deal is on, 0.780 against 0.674.
The unflattering row stays in. Across 1,620 plays each, Hagla's three runs broke a rule of the game 0, 1 and 7 times. Claude broke none. In the worst run the buyer paid past its limit by £201 per £1m of budget and the seller sold below its floor by £37 per £1m of floor value. The money figures above already take that off.
On the separate pricing test, 300 held-out questions on pricing ad deals by the industry's published rules, every Hagla run answered all of them right and mispriced £0 per £1m of spend. Claude Opus 5.5 at max effort scored 99.7% and under-quoted £274 per £1m. By the rule set before that test, the two are level: the test is too near its ceiling to show more.
The head-to-head result
In the games above, the other side is always a script. A buyer licensing an agent needs to know the money holds when the other side thinks, so the head-to-head test puts a model in each seat. Hagla negotiates against GPT-6.2 Astra and against Claude Opus 5.5, and Claude Opus 5.5 plays the same seats against the same counterparts as the bar.
It did not start well. The version of Hagla above lost all five short practice trials against model counterparts. Its scripted teacher had read a counterpart's shrinking concessions as its limit, which a script's are and a model's are not. We wrote a new teacher for a counterpart that reasons and retrained Hagla on it, three runs again. Its training games are the teacher's replies against scripted counterparts: no text written by Claude or Astra is in any training file.
The test used 120 frozen worlds from AdXBench's generator, kept only where a deal is possible and the gap between the two limits is at least a fifth of the buyer's ceiling. Hagla played each world as buyer and as seller against Astra, and the first 60 against Claude. Before any game we wrote down the pass mark: in every seat, no more than £20,000 per £1m below Claude, about the size of Claude's own play-to-play noise, and no price past Hagla's own limit. We would say Hagla beats Claude in a seat only if every run's 95% interval was above zero.
| Higher is better | Hagla (average of 3 runs) | Claude Opus 5.5 (max effort) |
|---|---|---|
| Buying from GPT-6.2 Astra | £198,701 (worst run £198,132) | £94,685 |
| Selling to GPT-6.2 Astra | £251,229 (worst run £251,151) | £195,884 |
| Buying from Claude Opus 5.5 | £156,156 (worst run £151,444) | £79,012 |
| Selling to Claude Opus 5.5 | £260,074 (worst run £258,968) | £208,976 |
Every run was ahead in every seat, with its 95% interval clear of zero, so the answer is that Hagla beats Claude in all four. The smallest of those lower interval ends was £31,688 per £1m, selling to Claude. No run agreed a price past its own limit, and one message in the twelve plays was refused (run 3, buying from Astra). Hagla made the right call in 93% to 97% of games as a buyer and in every game as a seller.
The size of these figures comes partly from the worlds, which were picked to leave a wide gap between the two limits, and partly from the counterparts: Claude and Astra tend to give way to a patient player, as Hagla is trained to be, and another counterpart may not. They are not comparable with the scripted figures above, which come from different games and an earlier Hagla.
What it costs to run
A negotiation that saves a few hundred pounds is worth having at almost any model price. Cost starts to matter when deals are small and there are millions of them, which is how programmatic advertising works.
Claude Opus 5.5 at max effort writes out long reasoning before every move, and that reasoning is billed. On our estimate one negotiation costs about 55p at Anthropic's list prices. Hagla, run on one rented cloud GPU, costs 0.01p to 0.2p. Using those displayed rounded estimates, Claude costs about 275 to 5,500 times as much per negotiation.
The range is wide because a rented GPU costs the same whether it is busy or idle. The low figure assumes a fast, fully used GPU. The high figure assumes a slow one that sits idle three quarters of the time. Tokens read per negotiation were not recorded, so both sides assume the same 10,000. Training Hagla is not in these figures, and they come from the scripted games; we have not costed the head-to-head games. Claude ran at max effort because that is where it scores best, and we have not measured how it would score on a lower, cheaper setting.
Why a calculator, and why it was not a free win
Our earlier model, trained without a calculator, beat Claude only as a buyer and only on its best run. When we read its remaining bad calls, most began with a slip in its own written sums. So Hagla was trained to send each sum to a calculator and carry on from the exact result.
Handing the calculator to the untrained model made it worse at first. On practice negotiations the untrained model made the right call in 25.8% of games with the calculator, against 65.8% without it, mostly because it sent offers in a shape the game refuses. Training fixed that: on the held-out games above, Hagla made the right call in 98.1% of games on average.
Hagla learns between versions. Nothing changes inside it during a negotiation. So far every version has learned by copying worked examples from a simple rule-based teacher. Training directly on the money a game returns is possible in this setup and has not been done yet.
What these results do not show
- It is one benchmark, our own. The results are on AdXBench's negotiations. They are not evidence that Hagla negotiates better than Claude Opus 5.5 in general.
- Home advantage. The test games are new to every model, but they come from the generator Hagla trained on. Part of the gap is Hagla having learned that generator's price ranges.
- Walking away was not tested head to head. Every head-to-head world had a deal to be made. The scripted test included games where walking away was right.
- One counterpart family per provider. Against models, Hagla met only Claude Opus 5.5 and GPT-6.2 Astra, and both tend to give way to a patient player. In the scripted test, the counterparts follow fixed rules of our design.
- Prices are simulated. The difference between players should travel better than the pounds themselves.
- The calculator was Hagla's. Claude Opus 5.5 is shown at its better setting, with or without the calculator; the counterparts played without it.
- Uneven plays. Claude played each game once, so a single Claude play gives no worst run or spread. Hagla's three runs differ only in their seed and played almost alike.
Why we think this matters
Claude Opus 5.5 is the better general model by a wide margin, and nothing here says otherwise. The question for anyone running agents at volume is narrower. For one repeated, money-bearing decision, can a small model you own match the best general model, at a cost that leaves a margin on a small deal?
In AdXBench's negotiations, against scripts and then against Claude and Astra themselves, Hagla kept more of the money on every training run, at a small fraction of the running cost. The next check is the one the head-to-head test left out: ordinary negotiations where a deal is not always possible, and the right move is sometimes to walk away. We will report it here whichever way it goes.
If you run a narrow, high-volume decision and want to see it measured this way, explore the Modelsmith platform or contact us.