Dev.to AI πŸ€– Ai πŸ‘ 2 πŸ“– 5 min read

AXI on Qwen's E-Commerce Bench and Prosus Vending Bench: 5.5x fewer prompt tokens and a lower bill on both

Architecture by Rajnish Choubey; tests by Shalendra Gaur (with an AI assistant as a tool: this article was written with AI assistance and every number is read from a saved file in the repository linked at the end). AXI i

Architecture by Rajnish Choubey; tests by Shalendra Gaur (with an AI assistant as a tool: this article was written with AI assistance and every number is read from a saved file in the repository linked at the end). AXI is a layer on the host side, for the company that runs the model; the model is unchanged. It is meant for short jobs and long ones, from the first step.

Two teams have published business simulations for language models, each with its own agent and open code: the Qwen team's E-CommerceBench (arXiv 2608.30730), which runs an online store day by day, and Prosus Vending Bench, introduced by Floris Fok on the Agentic AI Foundation blog on 18 September 2026, which runs a vending business for 30 simulated days. Because both ship the benchmark's own agent, a host-side layer can be tested against it like for like: same model, same simulator, same tools, one arm with the benchmark's agent and one with the layer around the model.

That is what these two tests do. The numbers below are from the repository's pages, written down before the runs and recounted from saved files by tests.

What AXI does at each step

AXI is Rajnish Choubey's architecture for the company that runs the model. The host holds the exact state. At each step the model proposes one change, a deterministic gate admits or refuses it, and the next prompt is rebuilt, short, from the held state. Here the gate is each benchmark's own simulator, and the prompt is the host's note plus the latest results it holds.

E-CommerceBench, 60 simulated days (Test 51)

Model gemini-3.8-flash, effort low, benchmark pinned at commit b846780, environment seed 20260122, one run per arm. Both arms ran to day 60.

Benchmark's own agent AXI-style host Ratio
Prompt tokens, total 19,392,451 3,536,752 5.5x fewer
Agent model calls 311 242 0.78
Agent dollars (list price) $2.0469 $1.3960 32% lower
Agent dollars per tool result executed $0.00636 $0.00264 2.4x lower
Prompt per call, by quarter of the run 47,064 to 81,847 (largest 102,548) 13,941 to 15,671 (largest 43,343)

The host's prompt stayed the size of its state in every quarter of the run. The plan's expectations for the host held: a flat prompt, cheaper per call from the second quarter on (by about 10% to 19%), and cheaper over the 60 days. The plan also expected the benchmark agent's prompt to grow until its own context management trimmed it; it did not grow steadily (81,847, 51,262, 63,860 and 47,064 tokens by quarter). Two things the page also reports: the provider cached 95.7% of the benchmark agent's prompt tokens against 55.4% of the host's, which is why tokens fell 5.5 times and dollars 1.47 times (with no cache discount for either arm the same measured tokens would cost about $14.58 against $2.72); and per-call latency was not lower for the host (mean 7.0 s against 3.7 s, including one call that hung for 603 s; without it about 4.5 s). Final balances were 118,329.33 and 116,545.79; the plan made no claim on that and none is made.

Prosus Vending Bench, 30 simulated days, two seeds (Test 52)

Same model, benchmark pinned at commit 08c5a42, seeds 1 and 2, one run per arm per seed.

Seed 1: own agent Seed 1: AXI-style host Seed 2: own agent Seed 2: AXI-style host
Agent dollars $1.9498 $1.0071 (48% lower) $2.3612 $0.6114 (74% lower)
Agent model calls 261 154 317 102
Prompt tokens, total 4,115,855 2,045,854 4,969,642 1,143,916
Wall time (s) 784 509 1,245 379

Summed over the four runs: $1.619 against $4.311 (2.7 times lower), 3.19 million prompt tokens against 9.09 million (2.8 times fewer). All four runs reached day 30. The host executed about three tool results per model call against 1.3 to 1.5 for the benchmark's agent, which is where most of the saving comes from, and it re-read state 20% and 44% less often per simulated day. The plan had expected no dollar saving; the saving was larger than it allowed for and showed on both seeds.

Also on the page, with their scope: cached shares were close (about 42% on both arms for seed 1; 42.2% against 36.4% on seed 2); the host's refused or failed tool results were 11 of 435 and 4 of 308 against 6 of 401 and 2 of 405 (twelve of the host's fifteen were the simulator's catalogue check on order_goods arguments, which points to a host-side argument check as the next step); per-call latency was about the same; final balance was higher for the host on seed 1 and for the benchmark's agent on seed 2, so it is not claimed. In this benchmark every tool result ends with the true balance, so the test reads cost and call count, not state accuracy.

What this shows, and what it does not

It shows a host-side layer in front of an unchanged model lowering prompt size and cost on two benchmarks written by other teams, with each benchmark's simulator as the gate. It is one run per arm per seed at list prices, an A/B inside one model rather than a leaderboard entry, and the two arms behave differently, so the comparison is between two agents, one of them wrapped in the layer.

Run it yourself

A Colab notebook runs both pairs on your own Gemini key (held in Colab Secrets, never printed) and prints your figures next to the saved ones. The default is a short check of about $1.50; the full runs of the pages are about $3 (Vending Bench) and about $4 (E-CommerceBench). Each runner has a hard spend cap. A live run samples the model again, so your figures land near the saved ones and do not repeat them to the cent.

If you run models and want this on your own workload, the same pair of arms can be run on a trace of yours: send a trace, read the numbers, publish them whichever way they fall.

Sources read for this article:

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.