| # | Model | Score | Steps | In tok | Out tok | Avg cost | Avg time |
|---|---|---|---|---|---|---|---|
| 1 | GPT-5.6 | 0.0387 ±0.048 | 609 | 258.0M | 221k | $261.91 | 6.1h |
| 2 | Muse Spark 1.2 | 0.0152 ±0.022 | 739 | 245.0M | 810k | $69.69 | 9.5h |
| 3 | GLM-5.3 | 0.0150 ±0.023 | 626 | 208.7M | 395k | $60.48 | 13.5h |
| 4 | Grok 4.6 | 0.0073 ±0.014 | 1,085 | 281.2M | 1.6M | $295.86 | 14.3h |
| 5 | Qwen3.8-Max | 0.0060 ±0.009 | 639 | 139.7M | 1.3M | $43.20 | 16.8h |
| 6 | Gemini 3.7 Flash | 0.0034 ±0.008 | 350 | 104.9M | 171k | $11.36 | 2.7h |
| 7 | Kimi K3 | 0.0021 ±0.005 | 1,032 | 407.1M | 1.0M | $143.36 | 16.6h |
| 8 | DeepSeek V4 Flash Exp | 0.0000 ±0.000 | 622 | 217.1M | 392k | $3.69 | 9.4h |
| 9 | Claude Fable 5.1 | 0.0000 ±0.000 | 852 | 357.3M | 878k | $199.85 | 10.0h |
| 10 | Inkling | 0.0000 ±0.000 | 121 | 8.1M | 17k | $7.77 | 1.3h |
LLM serving systems are full-stack performance problems: request scheduling, batching, KV-cache memory management, speculative decoding, CUDA-graph capture, and attention kernels all interact, and the fastest configuration for single sequential requests is rarely the fastest under concurrent load. Optimizing one without regressing the other (while keeping the model's outputs bit-for-bit faithful under greedy decoding) is what production inference teams spend months on.
The starting point here is deliberately not a strawman: the provided SGLang launch configuration already uses an FP8 KV cache, NEXTN/MTP speculative decoding, the extra-buffer mamba scheduler, CUDA graphs, and tuned page and memory settings. Flag-tuning alone is unlikely to yield much; real gains require custom kernels, SGLang or FlashInfer source modifications, or model surgery that preserves output equivalence.
The agent must make an SGLang serving instance with Qwen3.5-4B on a B200 GPU serve requests as fast as possible. Single-request latency across input/output shapes and batched requests at several concurrency levels matter comparably.
/app/server/launch_server.sh, which receives PORT and MODEL_PATH environment variables and must expose the OpenAI-compatible SGLang HTTP API./app and be reapplied or imported by launch_server.sh: the server is later launched from a fresh copy of the workspace in which only /app carries over, so direct edits to site-packages or in-place edits to /app/model do not survive on their own.A running serving workspace: Qwen3.5-4B weights pre-downloaded at /app/model, the tuned launch_server.sh starting configuration, and a local measurement loop. compare_outputs.pysnapshots the pristine server's greedy outputs on the visible 174-prompt dev set (dev_prompts.jsonl, generated from the same distribution as the held-back set) and diffs after every change; verify_serving.py sanity-checks the server and run_dev_bench.py measures latency across input-length × output-length quadrants plus a concurrent batch.
Preinstalled tooling includes the CUDA 12.8 dev toolkit (nvcc), PyTorch with Triton and torch.compile, the pinned SGLang + sgl_kernel + FlashInfer serving stack in site-packages, and gcc/ninja for native builds. There is no internet access at runtime (no package installs, no model downloads), and a sandbox-timer CLI reports the remaining budget.
Verification runs in a separate clean-room environment on the captured /app. It launches the baseline and candidate servers under the same unprivileged user, collects greedy outputs on a held-back prompt set, and measures an A/B/A benchmark: baseline session, candidate session, then a second baseline session whose samples are pooled with the first into the scored median.
| Base image | nvidia/cuda:12.8.1-devel-ubuntu22.04 |
| Tools available | CUDA, PyTorch, C/C++ toolchain, Python 3 |
| Compute | 8 CPUs · 128 GB RAM |
| GPU | 1× B200 |
| Time limit | 20h |
This task is an improved revision of SGLang Inference System Optimization from FrontierSWE V1.
compare_outputs.py snapshot/diff loop, with the 0.95 prefix-match bar and the ~0.97 relaunch-noise budget documented up front./app carries over, and the submission root moved from /app/submission/ to /app/server/./app/.timer daemon files were replaced by the sandbox-timer CLI.sglang[srt]) as the serving runtime the agent optimizes and may patch in site-packages; not vendored.sglang[srt].flash-attn-4 package for Blackwell attention kernels./app/model.nvidia/cuda:12.8.1-devel-ubuntu22.04 provides the CUDA 12.8 dev toolkit for Blackwell.pip commands work inside the agent's environment.