# ServerBench: How can your coding agents design specialized LLM serving systems?

ServerBench scores agent-built LLM servers by qualified token value per GPU dollar

Xinrui Zhong, Zhiming Wang, Yongqi Liu, Zhaohui Wang, Shanglin Yang, Zikun Li and 2 more · arXiv · 2026-11-4

- **Problem** Speedup benchmarks score inference code under fixed loads, ignoring latency targets and GPU cost. A production LLM service must instead handle as much traffic as possible before latency targets fail.
- **Method** ServerBench lets coding agents build complete LLM serving systems and scores them by latency-qualified token value per GPU dollar. Stateful replay of recorded agent sessions keeps session dependencies, and independent verification checks each submitted system.
- **Results** On Gemma E4B, Claude Sonnet 5.5 reaches 2.97 dollars per dollar, which is 4.87 times the vLLM reference. Of 33 runs, 22 yield verified systems.

## Where existing benchmarks fall short

Recent agent benchmarks for inference code score a single kernel, a code patch or a server under preset test conditions. That suits a speed measurement, but a production LLM service has to answer a different question: how much traffic it can absorb before latency targets fail.

The first gap is the workload. Prior benchmarks send independent requests or fixed prefill, decoding and throughput scenarios, so a static batch can look nearly as good as a production engine.

The second gap is the objective. Speedup scores ignore latency requirements and GPU cost, and they hold the offered load fixed. The third gap is validation. Checking outputs against a reference misses tail latency on the deployed workload, and optimizations such as speculative decoding and state reuse create execution paths that short tests seldom reach.

## Pricing qualified token value per GPU dollar

ServerBench scores a serving system by the token value it delivers inside latency targets, divided by what the GPUs cost over the window. Each completed request is priced at fixed API rates on its input and output tokens, so every request carries a dollar value. Serving more requests raises that value only while those requests still meet their TTFT and TPOT targets.

The score therefore rewards added capacity and a sensible choice of load together, rather than raw speed alone.

The indicator q\_i equals 1 only when a request's finite TTFT and TPOT meet the targets, and it equals zero otherwise. The score D sums q\_i times v\_i over the completed requests, then divides by the GPU count, the hourly GPU price and the window W over 3600. Gross value G divides the plain sum of the v\_i by that same cost, and the qualified share f equals D over G.

Because D equals G times f, the score separates how much work arrives from how much of it qualifies.

The latency targets are fixed before any agent starts development. The authors replay SGLang's model-specific cookbook configuration several times and take the p90 TTFT and TPOT for each seed. Each target is set to the maximum over seeds, which leaves headroom for run-to-run variation. The agents choose their own concurrency, so the targets stay fixed while the load changes.

As a worked case, USD 3.65 of qualified value over USD 0.83 of GPU cost gives 4.40.

## Replaying sessions and verifying the result

ServerBench replays recorded coding-agent sessions with their request lengths, multi-turn structure, and shared prefixes. The replay also keeps parallel subagent branches and the inter-turn delays between requests. Using the AgentX harness, the replay follows response-dependent turns and parallel branches. Long global idle periods are compressed, so the replay doesn't wait through them.

Offered concurrency bounds the active top-level sessions, and their branches can issue additional requests. Because a slow response delays the next turn, serving latency changes how much work fits into the measurement window. Tasks fix the reconstructed prompts and output lengths, so every submitted server runs the same workload.

Agents develop inside an Internet-disabled Harbor sandbox that holds a minimal server, read-only weights, and reference configurations. They also receive measurement tools and the published performance procedure. Trusted evaluation components stay outside the editable serving implementation, and the correctness-test details are withheld. Each agent-deployment pair gets one 8 hours development run, followed by a 1,800-second final replay.

Publishing fixes the implementation and concurrency, and the last published version becomes the submission when development time expires.

Final checks look beyond correctness. A post-run review by a review agent and human inspection examines code and recorded actions for prohibited shortcuts. Only verified systems receive a score.

## Scores on three deployments

Claude Opus 5.5 reaches 4.40 dollars per dollar on Qwen3.5 9B, which is 2.71 times the SGLang reference. On Gemma E4B, Claude Sonnet 5.5 reaches 2.97 dollars per dollar, 4.87 times the vLLM reference. Each ratio is taken against that deployment's own strongest reference, because the best baseline differs across the three deployments.

Results are uneven across agents, and the gains don't appear in every run. Across 33 runs, 22 produced verified systems, and 13 exceeded the strongest reference. GPT 6.1 Sol scores 0.98 on Qwen3.8 27B INT4, against a reference of 1.47, so a verified system can still trail its baseline.

Gross value alone can mislead the ranking, as the Qwen3.5 9B runs show. Sonnet 5.5 produced 6.42 gross value, more than Opus 5.5's 5.56. A smaller share of its value met the latency targets, so its score was 4.34, just below Opus 5.5's 4.40.

## Capacity first, then load

Each added session can lift token value on a fixed GPU budget, yet queues and contention push TTFT and TPOT upward. So the agent has to match the offered load to what the server can really serve. Runs that raised and held their load more often beat the strongest reference. Among runs reaching at least twice the reference, 7 of 17 load decisions improved value on later measurement.

Among verified runs below the reference score, only 2 of 23 did. Early replay also mattered: the stronger group reached usable replay in a median of 0.90 hours, versus 2.96 hours.

On frozen Gemma systems, Sonnet 5.5 rose from 1.30 at two sessions to 2.97 at 32. It held four Gemma sessions while revising the engine, then raised load alongside further implementation changes. The authors read load reduction as relieving contention. In their reading, capacity gains support more simultaneous work.

Opus 5 went the other way on Qwen, cutting concurrency from four to two to one while refining its implementation. Kimi also dropped to one session after finding long prefills that interfered with decoding.

Opus 5.5 used a workload simulator to guide its Qwen load tests. It kept 16 sessions after a 20-session replay gave more gross value but only 64% qualifying value. Sonnet 5.5 on Gemma compared settings on a fixed seed, where 36 sessions gave more gross value but more TPOT misses. It submitted 32 sessions.

## Feedback and design decisions

Workload-relevant tests change which optimizations agents keep, and the Gemma speculation case shows it clearly. Opus 5.5 doesn't stop at its initial null result, so it investigates the probe using 60 replies from replay. It repairs its simulator and measures 2.09 to 2.34 accepted tokens per step before adopting speculation.

The authors test whether this workload feedback changes Opus 5's own decision. Only the feedback arm re-adopts speculation.

Favorable feedback can also push an agent toward a configuration that fails under other workload conditions. The agent recognizes overload, but it judges the extra value worth the latency losses. A scheduling repair is still in warmup near the deadline, so the agent falls back to a configuration supported by one completed 900-second replay.

In the final replay, the qualified share falls from 76.0% to 16.8%, and the score drops to 0.48.

Workload coverage can be checked cheaply before a costly replay. Null and favorable results both need a check of what the test actually exercises.

## Checks that match the deployed paths

Short isolated tests miss failures because they don't run the request boundaries and state transitions that a design creates. Figure 7 shows sparse coverage at submission time, with only 5 of the 33 entries checking natural stopping under load or long context. Admission policies need checks of which requests can make progress, since a passing short prompt doesn't prove the full range works.

Qwen3.8-Max-0902 tightened admission to protect TPOT and passed a short prompt check and a replay completing 11 requests.

State reuse fails in a similar way, because the fault appears only when requests share state across calls. On Qwen3.8 27B INT4, Kimi's replay exposed a prefix-cache exception alongside a numerical error. The agent repaired the numerical path and retested an isolated long prompt, which passed. A separate check of the submitted cache succeeded on the first insertion but crashed when the same prefix was inserted again.

The exception also recurred in final evaluation, so the isolated test missed prefix reuse across requests.

On Gemma, Opus 5.5 added preemption and cache restoration, then reduced cache capacity to force those paths to run. The stress test exposed invalid outputs from uninitialized cache storage, a defect that predated the preemption change. Reduced-pool replication passed 0/3 tests with the repair reverted and 3/3 after the repair.

## What the results do not establish

The comparisons describe measured artifacts, and correlations, source inspection and selected trajectories don't establish causal optimization effects. Design success rates aren't established either, so the paper's counts describe only the runs it observed. Fixed-price token value measures deployment efficiency and excludes development and other operating costs.

Because of that exclusion, the objective isn't realized profit.

Development and final draws share a corpus, and reconstructed inputs keep workload structure without reproducing the original coding tasks. Version notes can omit implementation details, so the recorded design changes may be incomplete.

Behavioral tests and code review have finite coverage, so a passing submission can still hide untested paths. Calibration depends on the reference engine, which here is the SGLang reference with its model-specific configuration. Score stability also depends on window length: for Opus 5.5 on Qwen, the across-seed coefficient of variation fell from 0.37 to 0.19 as the window grew from 300 to 1,800 seconds.

The closer agreement at 900 seconds supports intermediate replays for development, but longer replays remain needed for final scores.

## Paper info

- **Authors**: Xinrui Zhong, Zhiming Wang, Yongqi Liu, Zhaohui Wang, Shanglin Yang, Zikun Li, Zhuoming Chen, Beidi Chen
- **Venue**: arXiv · Preprint
- **First published**: 2026-11-4
- **Added**: 2026-11-6
- **Updated**: 2026-11-4
- **Version**: v1
- **arXiv**: 2611.06841
- **Category**: cs.AI
- **Original paper terms**: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/)
- **What we show**: Paper info, commentary and permitted figures from the original paper

[Original paper ↗](https://arxiv.org/abs/2611.06841v1) · [PDF ↗](https://arxiv.org/pdf/2611.06841v1)

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

## Abstract

Large language model (LLM) coding agents develop software through experimentation, offering an opportunity to design the serving systems supporting their own operation. Effective serving requires coordinating implementation and operating decisions under session dependencies, latency constraints, and correctness requirements. We introduce ServerBench, a benchmark for agentic design of complete, specialized LLM serving systems. Agents experiment against a common objective, dollars per dollar: latency-qualified token value per dollar of GPU cost. Stateful replay preserves session dependencies, and independent verification checks the submitted system. Across 11 coding-agent models and three deployments, Claude Sonnet 5.5 achieves 2.97 dollars per dollar on Gemma E4B, $4.87\\times$ the vLLM reference; 22 of 33 runs yield verified systems, and 13 exceed the strongest baseline. Our analysis identifies three findings: high-value designs coordinate capacity improvements with load selection; agents interpret performance feedback through workload-relevant experiments; and reliable delivery requires verification of the execution paths introduced by optimization. Overall, ServerBench supports systematic study of how agents translate service objectives and feedback into effective, verified serving systems for given task specifications.

## Quote from the paper

Xinrui Zhong, Zhiming Wang, Yongqi Liu, Zhaohui Wang, Shanglin Yang, Zikun Li, Zhuoming Chen, Beidi Chen (2026). ServerBench: How can your coding agents design specialized LLM serving systems?. arXiv:2611.06841v1. https://arxiv.org/abs/2611.06841v1

**BibTeX**

```
@misc{zhong2026serverbench,
  title = {{ServerBench: How can your coding agents design specialized LLM serving systems?}},
  author = {Xinrui Zhong and Zhiming Wang and Yongqi Liu and Zhaohui Wang and Shanglin Yang and Zikun Li and Zhuoming Chen and Beidi Chen},
  year = {2026},
  eprint = {2611.06841},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.06841v1}
}
```

## Related papers

- [Only Accepted Tokens Count: An Energy Accounting of Speculative Decoding Under Latency Targets](https://refivu.com/en/papers/85d77e47-8039-4550-ab10-cf964e096268-only-accepted-tokens-count-an-energy-accounting-of.md)
- [cuRoboV2-Fast: Fast Torque-Limited Collision-Free Motion Planning](https://refivu.com/en/papers/0d91c766-4d24-4f97-8fa1-9e5b24f3e4fd-curobov2-fast-fast-torque-limited-collision-free-motion.md)
- [Benchmarking LLM Inference on Desktop-Scale NVIDIA Grace Blackwell Clusters](https://refivu.com/en/papers/bd9d6d1b-ae00-44bf-a5aa-580cfc265437-benchmarking-llm-inference-on-desktop-scale-nvidia-grace.md)
- [Multi-Future Drafting: Mixture Block Drafters for Tree-Verified Speculative Decoding](https://refivu.com/en/papers/a2c0126f-0ce8-4765-9c42-d293dabde238-multi-future-drafting-mixture-block-drafters-for-tree.md)
- [Exact on Paper: Which LLM Serving Shortcuts Flip Graded Answers, Measured Against the Noise of Reordering the Same Requests](https://refivu.com/en/papers/a49cb446-e471-4aa0-a855-1f5269e00398-exact-on-paper-which-llm-serving-shortcuts-flip.md)
- [BridgeKV: Large-Model Prefill and Small-Model Decoding for LLM Inference via KV Cache Translation](https://refivu.com/en/papers/4b4f7e07-6cb4-4329-8ba4-eb2bfc4e07de-bridgekv-large-model-prefill-and-small-model-decoding.md)

## Other paper commentary

- [InstructBLIP: Towards General-purpose Vision-Language Models with Instruction Tuning](https://refivu.com/en/papers/a16f8bfe-f6f1-4e2b-a409-c76d2ed97fc3-instructblip-towards-general-purpose-vision-language-models.md)
- [Benchmarking Large Language Models for News Summarization](https://refivu.com/en/papers/403ef5da-5a1a-4165-8e2b-85961d56009c-benchmarking-large-language-models-for-news-summarization.md)
- [Are LLM Assistants Regulatory Ready? Answers from regenold's 2026 EU AI Act Q&A Challenge](https://refivu.com/en/papers/9b6889ca-15e2-465e-a64c-a042438c119c-are-llm-assistants-regulatory-ready-answers-from-regenold.md)
- [PianoBench: Evaluating Musical Perception and Reasoning in Language Models](https://refivu.com/en/papers/303d2599-ed54-4e1e-92e2-9ef775204ad7-pianobench-evaluating-musical-perception-and-reasoning-in.md)
- [MIMIC-Note-Extract: A Large-Scale Structured Dataset Extracted from MIMIC-IV-Note Discharge Summaries](https://refivu.com/en/papers/c3134221-3727-4425-a2de-b05c03c5f21c-mimic-note-extract-a-large-scale-structured-dataset.md)
- [Collaborative Search Meets Large Language Models: An Empirical Study](https://refivu.com/en/papers/61599d2c-6b5e-4816-9d4f-bf9423d1b094-collaborative-search-meets-large-language-models-an.md)
- [From Certified Pairs to a Certified Hub: Reasoner-Checked Crosswalks for the Information Exchange Standard](https://refivu.com/en/papers/2223debf-80ef-4fb4-9106-ea557331d908-from-certified-pairs-to-a-certified-hub-reasoner.md)
- [Learning to Track Cells from Sparse Annotations in 3D Time-Lapse Microscopy](https://refivu.com/en/papers/e77751e9-675b-4c55-a7c2-c29622d19d5d-learning-to-track-cells-from-sparse-annotations-in.md)
- [Dimension-Free Private Mean Estimation is Impossible Without the Covariance](https://refivu.com/en/papers/cf9843a6-a907-4014-971a-5c2ba187bba6-dimension-free-private-mean-estimation-is-impossible-without.md)
- [Where Is VLA Inference Time Spent? Bottlenecks and Optimization Interactions Across GPUs](https://refivu.com/en/papers/854119e9-3cbb-49ef-a431-78511985c237-where-is-vla-inference-time-spent-bottlenecks-and.md)
- [ALTO: African and Levantine Tech-Facilitated Gender-Based Violence Corpus](https://refivu.com/en/papers/286497c9-5b20-4fa4-a316-0a1a03c9e22c-alto-african-and-levantine-tech-facilitated-gender-based.md)
- [Do unlearning algorithms learn the right features?](https://refivu.com/en/papers/8c15f6e1-5f54-4e95-93e6-7f609fd89e59-do-unlearning-algorithms-learn-the-right-features.md)

## Terms in this paper

- [Claude Opus 5.5](https://refivu.com/en/terms/5a529ff69f21-claude-opus-5-5)
- [vLLM](https://refivu.com/en/terms/fe3c96648564-vllm)
- [speculative decoding](https://refivu.com/en/terms/2496d9bbec40-speculative-decoding)
- [Claude Sonnet 5.5](https://refivu.com/en/terms/855c1cfd1e90-claude-sonnet-5-5)
- [SGLang](https://refivu.com/en/terms/25f6b800e7f9-sglang)

---

AI-written text can contain mistakes. [Refivu](https://refivu.com/en/papers/08bfcdf2-e2ef-4a8a-a94e-0ae43f956fef-serverbench-how-can-your-coding-agents-design-specialized)
