Claude Code Built an Inference Engine 90% Faster Than vLLM
Baseten’s engineering team asked a question that cuts to the heart of where model serving is heading: can an AI agent write an inference engine from scratch that beats a mature, heavily tuned general-purpose framework? The answer, published in a blog post updated October 2, 2026, is yes — and by a margin that should make anyone who self-hosts an LLM sit up. Drawing on the MetaInfer paper, Baseten’s engineers had Claude Code (running Claude Fable 5) build a custom inference engine for Qwen-3.6-35B-A3B from scratch, at NVFP4 precision on a single NVIDIA B200, and named it “VibeQwen.” Against a tuned vLLM 0.25.1 baseline, it hit 1,792 tokens per second in single-stream decoding versus vLLM’s 943 — a 90% improvement. That is the kind of number that reshuffles how you think about LLM benchmarks 2026 and the open-source serving stack underneath them.
The experiment matters for two reasons. First, it is a concrete data point in the “can models write good systems code” debate, and the answer here is a qualified yes. Second, and more quietly, it exposes how much headroom is left in serving even after you have configured the industry-standard tools properly. The baseline was not a lazy default vLLM; it was a tuned one.
The numbers, broken down
Before getting to what this means, the raw results deserve a precise read, because “90% faster” hides a richer picture. Three measurements stand out.
Single-stream decoding — one request, measured for latency-sensitive generation — is where the headline lives. VibeQwen reached 1,792 TPS against vLLM’s 943 TPS, the 90% gap. Time to first token (TTFT), which is what a user actually feels, dropped from 28 milliseconds to 12 milliseconds, a 2.33x improvement. Under concurrency — 32 simultaneous requests, the regime that matters for a hosted API — output throughput hit 10,307 TPS against vLLM’s 6,030 TPS, a 71% increase.
The important qualifier is that the vLLM baseline was itself tuned, not out-of-the-box. That raises the bar for what “90% faster” means: VibeQwen is not beating a misconfigured reference, it is beating a configuration that a competent inference engineer would actually run. The stated goal was to beat vLLM by 20% across the board without losing accuracy, using BF16 as the accuracy reference. VibeQwen cleared that bar several times over on the speed axis.
How it was built
The recipe is the interesting part, because it is not magic and it is not free. Claude Code worked largely autonomously for about a week, consuming roughly 1.7 billion tokens — mostly cached input — and about 200 hours of B200 compute. It had caught up with vLLM within the first few days. The human in the loop was not decorative: when the engine showed slight numerical differences from the BF16 reference, a human had to approve proceeding. The autonomy was real, but it was bounded by a human gate at exactly the point where correctness, not speed, was at stake.
The approach draws on MetaInfer, which uses a skills-only framework and requires no model post-training. That detail matters because it means the method generalizes: you do not need a bespoke distillation or a specially trained model to reproduce the result, just a capable coding agent, a target model, and a well-defined performance goal. Both engines were also allowed to reference TensorRT-LLM, so this is not a pure from-scratch effort in a vacuum — it is a coding agent assembling and specializing the best available pieces, then pushing past them.
Why a custom engine beats a general one
The underlying logic will be familiar to anyone who has worked with inference engines. vLLM, SGLang, and TensorRT-LLM are general-purpose: they support many model architectures, many hardware targets, and many quantization formats. That generality is a real cost. As Baseten’s own inference-engineering book puts it, the more constraints you can introduce, the better performance you can achieve, and vLLM’s broad platform, while excellent when configured well, falls short of the highest-end performance possible with narrow frameworks like TensorRT-LLM.
A custom engine inverts the tradeoff. Because VibeQwen only has to serve one model — Qwen-3.6-35B-A3B at NVFP4 on a B200 — it can specialize everything: kernel selection, memory layout, scheduling, batching. The constraint that makes a general framework slower is the exact thing a specialized engine exploits. This is the same reason NVIDIA’s own TensorRT-LLM, with hand-written, manually fused kernels, leads the field: it trades breadth for depth.
The novelty here is not that specialization beats generality. It is who does the specializing. A year ago, building a custom engine for a single model was a weeks-long expert effort. Baseten’s experiment suggests a capable coding agent can now do a credible version of it in about a week of mostly autonomous work, at a token and compute cost that a well-resourced team can absorb without blinking.
What this means for open source AI models
For the open source AI models ecosystem, the implication is subtle but significant. Open models like Qwen have a structural advantage that this experiment makes concrete: because the weights are open and the license permits it, you are free to build a bespoke serving stack around a specific model — down to custom kernels — in a way you simply cannot with a closed API. The whole “custom inference engine” play is only possible for models you can actually run yourself.
That cuts against a common assumption. The conventional wisdom has been that open models lag because they lack the optimized, proprietary serving that frontier labs build internally. Baseten’s result suggests the opposite is becoming true: the open model is the one you can specialize, and specialization is where the remaining 2x, 3x, even 10x headroom lives. When a 90% speedup over the standard tool is achievable for an open model with a week of agent time, “open weights” starts to look less like a capability handicap and more like a performance opportunity.
There is a second, broader trend this slots into. Baseten’s field reports have been pointing the same direction for months: the bottleneck in serving is increasingly not the GPU but KV-cache placement, inter-chip networking, and hand-tuned kernels, and their engineers have even described models like GLM 5.2 writing their own GPU kernels inside Baseten’s stack. VibeQwen is that idea pushed to its conclusion — the model (via a coding agent) building the entire engine, not just a kernel.
What this does not mean
It is worth keeping the enthusiasm in check, because the result has real boundaries.
This is one model on one GPU. Qwen-3.6-35B-A3B at NVFP4 on a single B200 is a specific, favorable target — a mid-size mixture-of-experts model on Blackwell hardware with a 4-bit format. The 90% figure does not automatically transfer to other architectures, other hardware, or even other precision levels. A different model might leave far less room for a custom engine to exploit.
The accuracy question is not fully settled. The stated goal was to match BF16 output without losing accuracy, and a human had to approve when numerical differences appeared. That suggests the speed gains came with at least occasional accuracy drift that required intervention. “90% faster” is a throughput claim; “with what accuracy delta” is the follow-up question every practitioner should ask before adopting the approach.
Finally, the cost is real. 1.7 billion tokens and 200 B200-hours is not a weekend side project. It is a meaningful investment that only makes sense when you will serve that model at real scale and can amortize the build cost across a lot of inference. For a hobbyist serving a model for a few hundred requests, tuning a default vLLM is still the rational choice.
Who should care about this
Inference engineers and platform teams serving open models at scale are the direct audience. If you are running Qwen-family models in production, or any open model where serving cost dominates, this is a signal that the ceiling is higher than your current stack assumes — and that an agent-assisted build might be a viable way to reach it.
Model labs and anyone betting on the serving layer should also be paying attention. The experiment is evidence for a thesis that has been building for a while: the value in inference is shifting from “can you run the model at all” to “how aggressively can you specialize the stack around it.” That favors teams with strong systems engineering and, increasingly, teams that are good at orchestrating coding agents.
If you are a generalist developer who just wants a model endpoint, none of this should change your day. The point of a managed API is that someone else absorbs this complexity. But it is still worth understanding, because the cost curve it implies — open models getting dramatically cheaper to serve — is exactly the force that makes those managed endpoints cheaper for everyone over time.
Limitations and caveats
The cleanest summary of the caveats is this: the result is real but narrow, and the method is promising but not yet turnkey.
Real but narrow: a single model, a single GPU, a single precision, and a baseline that — while tuned — is still only vLLM 0.25.1, not the absolute frontier of what a dedicated engineer could squeeze out by hand. The 90% is measured against one reasonable reference, not against every possible alternative.
Promising but not turnkey: the MetaInfer skills-only framework removes the need for post-training, but the build still consumed a week of agent time, a human approval gate, and a large token budget. The blog post does not suggest this is a one-command operation. It is a workflow — one that likely still requires a capable operator to set up, supervise, and validate.
The most important unresolved question is accuracy. The BF16 reference and the human approval gates are the right instincts, but the post’s framing leaves open how much numerical drift the final engine carries. For serving workloads where a few bits of numerical difference are irrelevant, that may not matter. For anything where reproducibility or exact outputs matter — financial models, scientific inference, deterministic pipelines — it matters a great deal, and you would want your own evaluation before trusting a custom engine in production.
The bottom line
Baseten’s VibeQwen experiment is a meaningful proof point: a coding agent, given a clear performance target and a week of compute, built an inference engine for an open model that beats a tuned vLLM by 90% on single-stream throughput. It is not a claim that vLLM is obsolete, and it is not a promise that every model gets a 90% speedup. It is evidence that the serving layer still has a lot of headroom, that open models are positioned to capture it, and that the bottleneck in AI inference is moving from raw hardware to the software that sits on top of it. For anyone who thinks the infrastructure race is over because the GPUs are fast, this is a useful corrective — the real gains are increasingly being found in code that a model, with the right constraints and a human watching the accuracy dial, can now write itself.