Retrieved article excerpt
Open article · Retrieved 2026-10-26T15:28:19.714697+00:00
Platform
[Community](https://www.upbound.io/crossplane-community)
Resources
Company
[Docs](https://docs.upbound.io)
[Book a demo](https://www.upbound.io/book-a-demo)
[Sign In](https://accounts.upbound.io/login)
[Get Started](https://docs.upbound.io/getstarted)
[Book a demo](https://www.upbound.io/book-a-demo)
[Sign In](https://accounts.upbound.io/login)
[Get Started](https://docs.upbound.io/getstarted)
Dennis Ramdass
Principal AI Engineer
AI
Oct 26, 2026
Oct 26, 2026
Read time: 5 mins
Read time: 5 mins
Drinking Our Own Champagne, Part 5: What Does It Take to Grow a Self-Hosted Coding Model From Pilot to Team?
Drinking Our Own Champagne, Part 5: What Does It Take to Grow a Self-Hosted Coding Model From Pilot to Team?
## Share
## Share
Drinking Our Own Champagne, Part 5: What Does It Take to Grow a Self-Hosted Coding Model From Pilot to Team?
Drinking Our Own Champagne, Part 5: What Does It Take to Grow a Self-Hosted Coding Model From Pilot to Team?
This series is about drinking our own champagne: we run Modelplane for our own engineers before we ask anyone else to. About 10 of our engineers pilot [GLM-5.3](https://huggingface.co/nvidia/GLM-5.3-NVFP4), served with Modelplane on 2 nodes of [Nebius](https://nebius.com/) GPUs (16 × RTX PRO 6000), behind coding agents like [Claude Code](https://www.claude.com/product/claude-code), [OpenCode](https://opencode.ai/) and pi. Current usage is intermittent. This part asks what it would take to grow from that pilot to a team of about 15, the next size up, with a mix of heavy and light users. The short answer: 2 nodes couldn’t hold a team of 15 with any change we tried, and 4 nodes running [SGLang](https://github.com/sgl-project/sglang) could, for about what we pay per engineer today. One surprise on the way: light users aren’t light, because their subagents keep more requests in flight than heavy users’ long prompts do. The rest of this post is how we know.
No fix was obvious on paper: a smaller context turns away long conversations, a second copy doubles the GPU bill, and a new engine or a prefill/decode split changes how every request is scheduled.
We measured instead, one change at a time, on the fleet our engineers use, with a test rig that runs outside peak usage.
This post is mostly about the method, since our numbers are specific to our hardware and traffic, and we’d like to hear how others do this.
## Our traffic, and the bar
A recipe, for us, is one Modelplane `ModelDeployment`: the engine, its flags, the GPU layout and the number of copies. A recipe run is the 2 hours a recipe gets on the GPUs; a sweep steps the number of concurrent sessions up until a step misses the bar; a window is an off-peak slot where a candidate takes every node and ends with a rollback. Ours runs a single [vLLM](https://github.com/vllm-project/vllm) engine across 2 nodes of 8 × RTX PRO 6000 (16 GPUs), with a 512K context, room for 64K-token answers, multi-token prediction and prefix caching.
Our engineers’ real traffic: what they send, over the last 2 weeks, and how today’s recipe serves it:
| | | |
| --- | --- | --- |
| **Measure** | **Typical (p50)** | **Tail (p90)** |
| Requests per day | 4,800 | 6,100 (busiest day) |
| Requests in flight, busy minutes | 2 | 12 (peak) |
| Prompt length | 59K tokens | 125K tokens |
| TTFT | 1.7 s | 2.4 s |
| Interactivity, tokens/s per user | over 100 | 80 (P90) |
| Prefix-cache hits | 67% of prompt tokens | 27% (worst 10% of hours) |
| Errors | 0.07% of requests | 0.3% (worst hour) |
At today’s load, the prefix cache holds most conversations and replies start within a couple of seconds. The risk is growth: a conversation that falls out of the cache comes back with a long history and stalls every other agent while it prefills, and more people means more of those.
It’s also sparse, 10 people for a few hours a day, too little to replay or to see a tail in. We bootstrapped with someone else’s traffic instead: public Claude Code traces from [SemiAnalysis’ AgentX](https://inferencex.semianalysis.com/agentx), whose typical request is longer than our tail. Capping the context at 128K would turn away more than half of them.
A replay reproduces the load’s shape, not users who wait and react, though its prompts are of a similar length to ours. Its unit is the concurrent session (AgentX’s concurrency), one AgentX agent session replayed in a loop. 10 concurrent sessions keep about as many requests in flight as our peak minute, and keep it up for the whole run, so they stand in for today’s 10 pilot users. We assume one pilot user is about one concurrent session, so the target, a team of about 15, is 15 concurrent sessions, and 20 is our stress test. The replay is closed-loop, so a slow recipe receives fewer requests, and 20 is about twice today’s load only for the half-and-half mix. The traces are hashed placeholders rather than real text, and we didn’t correct for what that does to multi-token prediction: it guesses on synthetic tokens, so its speed-up in our sweeps may differ from what real code gets. Every recipe ran it the same way, so the comparison holds up better than the absolute numbers.
We split AgentX traces into 2 tiers by prompt length, the longest quarter (heavy users) and the shortest (light users):
| | | | | | |
| --- | --- | --- | --- | --- | --- |
| **Tier** | **Median prompt, tokens** | **p90 prompt** | **Prompts over 128K** | **Median answer, tokens** | **Traces with subagents** |
| Heavy users | 149K | 209K | 64% | 461 | 9% |
| Light users | 47K | 98K | 5% | 274 | 47% |
The 2-tier simplification is deliberate - prompt length decides prefill and prefill is what our nodes run short of first. They also bracket our own traffic: our typical prompt sits near the light tier’s, and our tail between the 2 tiers.
We agreed on the bar and wrote it down before the first run. We measured today’s recipe replaying today’s mix of 10 concurrent sessions, then allowed about the run-to-run spread, so today’s 10 users wouldn’t notice a change. These are replay numbers, higher than the real-traffic table above, because replayed sessions never pause and their prompts run longer:
- **TTFT (time to first token): P90 ≤ 5.3 s (today’s 4.8 s plus 10%)**
- **Interactivity: P90 ≥ 10 tokens/s per user, the speed 90% of streams beat (today’s 12.5 less 20%)**
- **Errors: under 2%, counting the turns** a failed conversation never got to send
- **Evals:** a smoke test at this sample size, which blocks a recipe only on a confident fail
Among recipes that pass, the cheapest per session-hour wins.
Each part gets a verdict, pass or fail with its margin, from a 95% interval bootstrapped over the run’s minutes. When that interval crosses the bar, the verdict is too close to call, and a fail is low-confidence. Minutes within one conversation aren’t independent, so the bootstrap overstates our confidence, and we treat close calls as unsettled. A missing measurement never counts as a pass, and latency reads as no data when less than 95% of the planned load went out.
## 7 recipes, one change each from today’s or SGLang’s
Each candidate changes one thing from today’s recipe, recipe 0, or from the SGLang one, recipe 1, in a few lines of YAML:
| | | | | |
| --- | --- | --- | --- | --- |
| **Recipe** | **The change** | **Why it might help** | **What it took** | **Nodes (GPUs)** |
| 0 | today’s recipe: vLLM | The baseline every candidate is measured against | — | 2 (16) |
| 1 | vLLM → SGLang: the image and launch command, same flags | A scheduler that may let short turns through while a long prompt prefills | A nightly SGLang. Every tagged release that splits GLM-5.3 across 2 nodes crashes at startup ([sglang#43580](https://github.com/sgl-project/sglang/issues/43580)), so we ran a nightly and will re-run on the next release. | 2 (16) |
| 2 | context 512K → 128K: `--max-model-len=131072` | Shows what the big context costs. It rejects every request over 128K, so we expected errors. We ran it to see how many, and whether our server-side metrics would show them | One flag. | 2 (16) |
| 3 | 2 vLLM copies behind one router: `copies: 2` and `router: EndpointPicker` | Twice the prefill capacity at twice the nodes; one router with a long prefix match keeps each conversation on its cache | Modelplane main, upcoming in v0.6, so both copies share one router. As 2 replicas, each would get its own and conversations would lose their cache. Found [#558](https://github.com/modelplaneai/modelplane/issues/558) and [#557](https://github.com/modelplaneai/modelplane/issues/557) on the way. | 4 (32) |
| 4 | prefill/decode on SGLang: `mode: PrefillDecode`, with a prefill engine and 2 decode copies | Long prefills stop stalling everyone’s streams. Built on recipe 1, with 2 decode copies to match recipe 3’s 4 nodes | Modelplane main, where each deployment brings its own router ([#529](https://github.com/modelplaneai/modelplane/pull/529)). Before, an SGLang pair reported ready while turning away every request. | 4 (32) |
| 5 | SGLang + [HiCache](https://lmsys.org/blog/2025-09-10-sglang-hicache/): `--enable-hierarchical-cache` and its flags, on recipe 1 | Heavy users’ long conversations keep their prefix in host RAM instead of being prefilled again | The same nightly, and about 0.8 TiB of pinned host RAM per node | 2 (16) |
| 6 | recipe 3’s layout with recipe 5’s engine: 2 SGLang + HiCache copies behind one router | Whether HiCache’s gain holds with 2 copies and a router that keeps each conversation on its cache | The same nightly and host memory as recipe 5, in each copy. | 4 (32) |
| 7 | recipe 6 without HiCache: 2 plain SGLang copies behind one router | Whether recipe 6’s gain is SGLang’s or HiCache’s | Nothing new | 4 (32) |
Our first draft’s SGLang recipe changed 3 things at once, so a win wouldn’t have said which mattered. Recipes 3, 6 and 7 add nodes to see what more capacity buys, and compare with each other at the same cost.
## How we measure a recipe
*Figure 1: A recipe run, from pre-flight to promote or roll back.*
A classic canary sends a slice of real traffic to the new version beside the old, which takes 2 recipes’ worth of GPUs, the thing we’re short of. Our rig instead runs the whole recipe on its own nodes, or in a window outside peak usage, and replays agent traffic against it. Each recipe gets one recipe run, end to end in CI:
| | | |
| --- | --- | --- |
| **Phase** | **Time** | **What it does** |
| **1 · Pre-flight** | ~ 2 min | Catches what’s broken before any load: a deployment that didn’t take, the wrong recipe live, or a fault in the rig itself. |
| **2 · Mini evals** | ~ 10–20 min | A few samples each of tool calling, a custom Crossplane benchmark and long-context read-back. They block a recipe only on a confident failure. |
| **3 · Sweep** | ~ 60–75 min | AgentX traffic replayed on today’s mix, stepping concurrent sessions up until a step misses the bar, with a repeat at the steps either side. A kill switch ends a step the recipe can’t carry. |
| **4 · Capacity** | seconds | One number: the most concurrent sessions a recipe holds before P90 TTFT or P90 interactivity crosses the bar, with a 95% interval. Others call this goodput, usually in requests per second; we count sessions. Recipe 0 is re-swept now and then, so a quiet or busy hour can’t pass for a change. |
Each candidate gets 2 hours on the GPUs, rollout and rollback included, so cheap tests run first and a broken recipe fails in minutes. Production stays on today’s recipe: candidates run in a staging slot beside it, or, when they need every node, in an off-peak window that ends with a rollback.
A recipe holds the target when the step at 15 concurrent sessions passes; 20 is the stress step. Each step runs 5 minutes after a warm-up, and the sweep also stops when the KV cache fills. If a recipe can’t serve even today’s load, the rig ends the sweep itself and rolls back. Light-only and heavy-only ladders are optional, to show how sens