Experiment note · exp004 · provisioned-throughput spillover simulation using pay-as-you-go calls (Phase 1) · did the clever policy pay off
exp004 — Did a proactive spillover policy pay off?
By Hyeonsang Jeon · Global Black Belt, Cloud & AI Apps
The previous three benchmarks were all about one thing: how far to raise the reasoning dial. This time the axis changes — not the model, but the deployment. The experiment simulates a provisioned throughput unit (PTU) deployment nearing saturation. Two spillover policies — each shedding some traffic to a fallback route — compete under the same load.
We wrote the prediction down in advance: a policy that acts ahead of trouble (proactive), watching latency creep upward, would suffer less cache decay under saturation than one that only reacts after a timeout or 429 (reactive). The intuition is familiar — surely acting early is better.
The measurement quietly overturned that intuition. Sustained-phase steady-state cache hit was reactive 99.2337%, proactive 99.0680% — the proactive policy was actually 0.1657 pp lower. And while reactive rode spillover through the entire sustain window, proactive never engaged it once. This note retraces those 22 minutes as design → inputs → prediction vs. measurement → the two curves → decision — just as exp001 found “reasoning doesn't pay on easy work,” here the clever policy doesn't pay under these conditions.
Why read this
What happens as a PTU deployment nears saturation?
When you deploy a model on fixed capacity (PTU), a moment comes when traffic approaches that capacity ceiling. If the prompt cache wobbles there, responses slow down and money leaks — you pay again to recompute the same prompt.
The buffer against that wobble is spillover: when things are about to overflow, you shed some traffic to a fallback route. There are two ways to do it. Reactive spills after a timeout or a 429 shows up; proactive watches 95th-percentile latency (p95) creep upward and starts shedding early, a little at a time.
If you run a PTU deployment and your traffic often touches saturation, this note tests a relevant policy question. Its answer is measured within a single-endpoint pay-as-you-go simulation, not on live PTU capacity. And the answer is probably not the one you expect.
First, 10 seconds
Don't take the conclusion on faith — print the numbers yourself
Token spend is zero. The first two lines print each policy's inputs, variables, and artifacts verbatim; the last line recomputes the headline number from the published aggregate and checks it against this note (no network, no credentials).
# Print each policy's (reactive · proactive) input -> variable -> artifact card (no network)
python3 -c "import experiments; print(experiments.describe('exp004_spillover_baseline_reactive.yaml').summary())"
python3 -c "import experiments; print(experiments.describe('exp004_spillover_proactive.yaml').summary())"
# Re-print the sustain cache hit from the published aggregate and compare (zero tokens)
python3 -c "import json; s=json.load(open('benchmarks/04-spillover-simulation/analysis.json'))['per_policy_stats']; print('sustain cache-hit reactive=%.4f%% proactive=%.4f%% gap=%+.4f pp' % (s['reactive']['sustain']['cache_hit_ratio']*100, s['proactive']['sustain']['cache_hit_ratio']*100, (s['proactive']['sustain']['cache_hit_ratio']-s['reactive']['sustain']['cache_hit_ratio'])*100))"
Reproducing the live load itself needs Azure credentials and real spend — this is an actual load test. The credential-free path (re-deriving analysis.json from the published raw JSONL) is written out in the reproduction footer of benchmarks/04-spillover-simulation/analysis.md.
Design
This time it's the deployment, not the dial
Why measure this. The previous three notes asked how far to raise the reasoning dial. But once the dial is set, the next wall appears: does the deployment hold up when traffic piles onto that setting? In the simulated PTU pattern, the prompt cache can wobble near saturation and spillover is the buffer. The common intuition is that a proactive policy beats a reactive one; we wanted to test that by measurement, not by hunch.
So we staked ‘acting early is better’ as the hypothesis. Stated plainly — under sustained saturation load, a proactive policy suffers less sustain-phase cache-hit decay than a reactive one. This hypothesis has a breaking line too. If proactive clearly beats reactive on sustain cache, ‘act early’ is supported; if it fails to, or comes out lower, then at least under these conditions the intuition doesn't pay.
This is a mitigation comparison, not a root-cause hunt. The stronger claim — that spillover itself is the root cause of cache decay — had already been weakened by field observation. So this experiment isn't digging for the cause; it only pits the two mitigation policies against each other to see which one is better. The narrower the ambition, the sharper the answer.
Why start with a simulation. Phase 1 mimics the spillover state internally on a single gpt-5.2 deployment — not physically separate cache pools. So it reads the direction of the difference between policies, not the absolute numbers. A two-deployment load test, where the primary and fallback cache pools truly split, is Phase 2's job. This note lays that floor first.
There is one question. Under sustained near-saturation Reasoning and Acting (ReAct) load, does proactive spillover protect the cache better than reactive?
Design (load). The same 22-minute load runs identically through both policies — 2-minute warmup (0.3 requests per second) → 10-minute ramp (0.5→2.5 requests per second) → 10-minute sustain (2.0 requests per second). One gpt-5.2 deployment, effort=low, a system prompt of about 30K tokens (pinned by SHA-256 so both runs are byte-identical, corpus_seed 4242). The internal throttle threshold is 90,000 TPM (tokens per minute). Each policy runs 2,136 requests (warmup 36 · ramp 900 · sustain 1,200).
Exactly one axis varies — policy.type flips between reactive and proactive. Prompt, load, model, effort, and threshold are all fixed, so any difference between the two artifacts comes only from the policy.
Pre-registered prediction
The proactive (proactive) policy suffers less sustain-phase cache decay, so its steady-state cache hit comes out higher than the reactive (reactive) baseline.
This experiment's role
After the effort trilogy (01·02·03), the first operations experiment — does the chosen setting hold under saturation load? But it's the Phase 1 floor, without physical cache separation.
Inputs and artifacts
What it consumed, what it left behind
The experiment's inputs and outputs are the repository's real files, not a hand-written summary. So you can retrace it from input to output in one line.
Input (in)
Policy definitions: experiments/exp004_spillover_baseline_reactive.yaml, …_proactive.yaml (differing only in policy.type).
Prompts: a system-prompt corpus (corpus_seed 4242) and user prompts.
Pinned: both runs' system prompt fixed by SHA-256 (98d3a5…088a) — a guarantee that both policies received a byte-identical prompt.
Artifacts (out)
Raw calls: runs/*.jsonl (+ per-run *.summary.json).
Aggregate: analysis.json · analysis.md.
Recovery curves: results/spillover-recovery-curves/*.png·.csv (cache hit over time).
Each policy ran all 2,136 requests to completion (completed=scheduled=2,136, dry_run=false, dirty=false, no halt). Real 429s were 0 on both sides. There is not a single fixture marker — every call is a real Azure call. Nothing was dropped: the 9 outlier candidates (reactive 1 · proactive 8) did not meet the exclusion rule (3σ latency + a coincident logged event), so all were kept, and the 5 anomalous rows (zero-token, cache-miss) were carried into the aggregates from the raw usage fields. What was kept and why is spelled out under Transparency below.
Prediction vs. measurement
The prediction missed
What we predicted
The proactive (proactive) policy suffers less sustain-phase cache decay. In short, “acting early beats reacting late.”
What came out
Sustain cache hit was reactive 99.2337% vs proactive 99.0680% — the proactive side was actually 0.1657 pp lower. And reactive rode spillover through the whole sustain (99.9%), while proactive never engaged it (0%).
Verdict: under these conditions, acting early didn't pay. The pre-registered hypothesis (a proactive advantage) was not supported in this single-endpoint simulator. But the difference is tiny and technical — not a clean curve separation, but the result of two cache misses on the proactive side pulling its mean down. Just as exp001 found “reasoning doesn't pay on easy work,” here “the clever policy doesn't pay under these conditions.” An experiment whose prediction missed is kept as evidence too.
First signal
The clever policy didn't win
The table below is the sustain 10-minute steady state — the window where the load has settled at its target and the hypothesis applies. The numbers are re-cited from the published aggregate analysis.md §7.
Policy Sustain spillover Sustain cache hit (per-min mean ± std) Note
reactive 99.9% engaged 99.2337% (±0.0033 pp) baseline · spilled over throughout sustain
proactive 0% (never) 99.0680% (±1.2802 pp) two cache misses pulled the mean down
Delta(pro-re) — -0.1657 pp effectively flat, only the sign differs
Both curves are nearly flat near 99.23%. Reactive is rock-steady at a standard deviation of 0.0033 pp, and proactive sits at the same height for most minutes. But two sustain requests — 1307 and 1959 — missed the cache (21,153 input tokens billed at full price), carving a visible dip in those minutes, which inflated the standard deviation to 1.2802 pp and dragged the aggregate mean down. So proactive didn't lag steadily; exactly two misses split the number.
Widen to the full run (warmup + ramp + sustain) and the direction even flips — reactive 99.0478% vs proactive 99.0942%, proactive 0.0464 pp higher. Whichever window you pick, the gap is a sliver.
results/spillover-recovery-curves/policy_comparison.png.
Second signal
Why it was a tie — one side never even had to spill
On the surface the two policies moved in opposite directions yet landed the same — that is the heart of this experiment. Reactive engaged spillover from the very first warmup request and sat on the fallback route through the whole sustain (99.9%). All five state transitions are on the reactive side — engage at request 1, briefly back to primary in the ramp then re-engage, and once more in sustain. Proactive, by contrast, never saw p95 latency cross the threshold, so it never engaged spillover (0%). It never had to.
And yet the cache came out nearly the same. The reason is in the design — Phase 1 mimics spillover as a state label on a single deployment. Primary route or fallback route, they see the same cache. So “which route it went out on” barely registers in the cache-hit number. Indeed the cached tokens were exactly 44,733,952 for both policies.
Latency, cost, and throughput were effectively tied too. Sustain time-to-first-token is actually a touch faster on proactive (median 7,620.9 ms vs 8,490.6 ms, p95 12,107.8 ms vs 13,617.5 ms), but that isn't the pre-registered cache metric — it's consistent with the narrower latency spread for the proactive run that never took the fallback route. Full-run cost is reactive $17.883347 vs proactive $17.924671 — proactive costs $0.041324 more. Proactive used slightly fewer total tokens (45,812,897 vs 45,828,455), yet cost more because its output and reasoning-token mix ran a little higher. Converted to a PTU token-pressure proxy, the throughput-gain factor is 1.000340× — effectively flat.
In short: the two policies behaved as opposites, but over a shared cache that difference was not written meaningfully into cache, cost, or throughput anywhere. Under these conditions, the cost of making the policy clever never showed up on the bill.
Transparency
Every smudge on the numbers, left in place
No measurement is perfectly clean. We write this experiment's marks down rather than erase them — hiding them would trip up the next person at the same spot.
- Zero outliers excluded. The outlier rule excludes a row only when sustain latency exceeds mean+3σ and a logged event — a real 429, retry, route transition, or spillover engagement — coincides. There were candidates (reactive 1 · proactive 8), but none coincided with a logged event, so all were kept.
- Five anomalous rows kept. Reactive has one zero-token sustain row (request 1276); proactive has two zero-token rows (1306·1934) and two cache-miss rows (1307·1959). They don't satisfy the exclusion rule, so they were carried into the aggregates as-is — and proactive's lower sustain mean comes precisely from those two cache misses. Nothing hidden.
- The headline is the sustain steady state. Mixing in the ramp and warmup transients blurs the policy effect, so we take the sustain 10 minutes — where the hypothesis lives — as the representative number. The full-run figures sit alongside in §7, so you can confirm the gap is a sliver in either window.
Limits
How far can you trust this
This result is a small comparison from a single-endpoint simulator, one load profile, one run. It is safer to carry the method and direction than the numbers themselves.
- Spillover is simulated. The primary and fallback routes are routing labels over a single deployment, not physically separate cache pools. So the absolute cache numbers do not transfer to a real two-deployment environment — read only the direction of the difference between policies.
- The Phase 1 floor. This simulator isolates the policy layer alone. A higher-fidelity re-measurement over physically separate cache pools is Phase 2's job. Look at Phase 2 before putting these magnitudes into capacity or cost planning.
- Load and sample. One 22-minute run, 2,136 requests per policy. At this size we claim no confidence intervals or statistical significance — the direction is solid, but treat the absolute magnitude with small-sample caution.
- Real 429s were 0. The throttle was mimicked by an internal threshold (90,000 TPM). An environment with real 429s in the mix can behave differently.
- Billing is a pay-as-you-go snapshot. Throughput is a token-based estimate and does not model real PTU slot routing or PTU billing.
So what becomes the default
On today's evidence, there's no reason to adopt a complex proactive spillover policy. Under this single-endpoint condition, acting early did not protect the cache better than reacting late (−0.1657 pp), and it cost a little more (+$0.041324). The difference is a sliver, and it's bound to the shared-cache design — so a simple reactive policy is enough. The real verdict is Phase 2's, over primary and fallback cache pools that are physically split.
Carrying it forward
So the next person wanders less
Recording evidence isn't only about writing down the wins. An experiment whose prediction missed — and why it missed, and how far you can trust it — has to be kept too, so the next decision can reuse it. So this note links back to the retrospective and to the experiment that set it up.
- Retrospective body → the hub's next call · next experiment teased a ‘live PTU load test.’ Phase 1 produced a measured pay-as-you-go simulation of that pattern after the token-based PTU estimates.
- The note that teased it → exp003 — the tool-using agent closed by promising “next is live search and a real PTU load test.” This note is the pay-as-you-go simulation phase, not a measurement on live PTU capacity.
- Raw material → the two policy definitions are
experiments/exp004_spillover_*.yaml, and the analysis is inbenchmarks/04-spillover-simulation/analysis.md.
Next experiment. Phase 1 mimicked spillover on a single deployment. Next is a higher-fidelity re-measurement — two physically separate deployments under a real TPM throttle, driven by the same load — to see whether the policy difference is still a sliver once the primary and fallback cache pools truly split.
Sources · evidence boundary
Sources & evidence boundary
This note, too, re-cites published aggregates with no new measurement. The evidence and limits, including the single-endpoint-simulator boundary, are below.
- This experiment's analysis:
benchmarks/04-spillover-simulation/analysis.md(§1 question·design, §3 provenance, §5 headline, §6 recovery curve, §7 per-policy aggregates, §8 consumption model, §9 outliers, §10 limits, §11 conclusion). All figures re-cited from here. - Policy definitions:
experiments/exp004_spillover_baseline_reactive.yaml·…_proactive.yaml(differing only inpolicy.type). - Methodology:
docs/05-methodology.md§8 (judged on effect size and direction, not statistical significance). - Pricing:
pricing/azure-openai-payg-2026-05.yaml(Azure, accessed 2026-05-19). gpt-5.2 = $1.75 / $0.175 / $14.00 / $14.00 per 1M input / cached-input / reasoning / output tokens. - Boundary: single-endpoint simulator · spillover is a routing label (no physical cache split) · one 22-minute run · 2,136 requests per policy · no confidence intervals · real 429s simulated via an internal threshold · PTU is a token-pressure estimate.