Skip to content
Forward Deployed

Forward Deployed

Scale a Prototype from 100 to 100,000 Users

Turn a hundred-user assistant into an operated, evaluated service for a hundred thousand employees.

Kind
Case study
Level
Core
View
Interview prep
Sections
4
By
Sourav Banerjee
Last updated
21 Nov 2026

Report an issue

Interview view. The case brief, design walkthrough, technical deep dives and quick review, condensed into bullets, tables and lines to say out loud, with interactive diagrams to step through.

Want to go deep? The full casebook has the complete reasoning in prose, the original diagrams, practice questions with worked answers and the sources.

Case brief

The case in one line: walk the thousandfold jump in tenfold steps, and fix what breaks at each before taking the next.

30-Second Cheat Sheet

  • The prompt: an internal AI assistant works for 100 volunteers; the business wants it for 100,000 employees who didn't ask for it.
  • The trap: treating it as the same system with more servers. A thousandfold jump gives a different system that happens to share a prompt.
  • The hard constraint: the prototype proved usefulness and nothing else: not cost, tail latency, permissions, fairness between departments or adoption.
  • The provider's uptime caps what the system can promise.
  • Three tenfold steps: identity breaks at 1,000, capacity at 10,000, fairness and ownership at 100,000.
  • One gateway in front of every model call: identity, per-user limits, a fair queue, metering, routing and safe caching.
  • Rebuild the eval set from production traffic, not the demo questions.
  • Roll out by cohort, with a rollback that is a pointer flip.

1. A Pilot That Worked for a Hundred Volunteers

The situation

  • An internal AI assistant answers employees' questions from company documents, cites its sources and calls two read-only tools.
  • A hundred volunteers tried it and liked it.
  • The business now wants it rolled out to a hundred thousand employees who did not ask for it.

Why it isn't "more servers"

  • Scaling a prototype a thousandfold produces a different system that happens to share a prompt.
  • The hard constraint: the prototype proved usefulness and nothing else.
  • It says nothing about:
    • Cost
    • Tail latency
    • Permissions
    • Fairness between departments
    • Adoption
  • The model provider's uptime caps what the system can promise.

The terms that carry the whole case

Term Meaning
Tail latency Response time of the slowest requests. p95 is the time 95% of requests beat; p99 the time 99% beat.
Token The unit a model provider meters and bills, roughly a short word or part of one. Input tokens are what we send (system prompt, retrieved documents, conversation history); output tokens are what the model writes.
Tenant A group whose data and capacity must be kept apart. Here each department is one.
Gateway A single service that every model call passes through
429 The HTTP status a provider returns when a caller exceeds its rate limit
Cohort A group of users who receive a version at the same time

The core idea in one sentence

Walk the thousandfold jump in tenfold steps, and fix what breaks at each before taking the next.

100 users → 1,000 users (identity breaks) → 10,000 users (capacity breaks) → 100,000 users (fairness and ownership break)

How the answer follows that picture

  1. Size the jump from licensed users down to tokens and dollars.
  2. Walk it in tenfold steps and name what breaks at each.
  3. Put one gateway in front of every model call for identity, per-user limits, a fair queue, metering, routing and safe caching.
  4. Rebuild the evaluation set from production traffic instead of the demo questions.
  5. Roll out by cohort, with a rollback that is a pointer flip.
    • The "live" label moves back to the previous version, which is still deployed.
    • So nothing has to be rebuilt.

2. What You Need to Design

The prompt (verbatim, from the question bank)

"A prototype works for 100 users. The customer now wants to deploy it to 100,000 users."

The task

  • Explain the jump end to end at interview depth: from what the prototype hid to a cohort rollout.
  • Expect follow-ups on:
    • Turning users into tokens and dollars
    • The gateway
    • Provider failover
    • Rebuilding the eval set
    • Rollback
    • Ownership
    • Measuring adoption
    • A cost pivot from Finance

Who it's for

  • Engineers preparing for Forward Deployed, solutions or applied-AI engineering interviews.
  • Especially a round that asks what changes between a demo and production, or how to roll an AI tool out across a large company.

What it assumes

  • Comfort with LLM APIs and token pricing.
  • Retrieval with permissions.
  • Basic reliability and rollout practice.

LLM = large language model: the model that reads and writes text (GPT, Claude, Llama). Powerful, but it will confidently make things up if you let it.

Where the answer comes from

  • There is no published worked design for this prompt.
  • The source has talking points: the prompt, a list of seventeen items to cover and one adoption follow-up.
  • The design is assembled from those and from neighbouring material.
  • Every number is a stated assumption for the whiteboard, not a measurement.
Source What it contributes here
A problem-decomposition interview prompt The prompt, the seventeen items, the adoption follow-up and its nine answers, verbatim in walkthrough step 1, the seventeen-item check (deep dives) and step 10
A neighbouring prompt, "AI Migration from Prototype to Production" The notebook variant of the same question, in step 2
Cost & Latency cram sheets and additions Why demos die in production, Little's Law, prices, rate limits and the batch discount (steps 2 and 4, the gateway deep dive and the cost pivot in the full casebook)
Production and operations tutorial Retries, breakers, fallback, degradation, budgets and the 99.9% answer (the gateway and failover deep dives)
Notes on prompt versioning and rollback, and on delivery gates and metrics Shadow, canary, pointer-flip rollback, override rate and week-4 retention (step 8 and step 10)
Notes on identity, secrets and tenant fairness Identity and fair queuing in the gateway deep dive
Related cases: Secure Multi-Tenant AI Platform, Evaluation and Release Gating, Observability and Production Diagnosis, Consumer-Scale Chat Service, LLM Inference Serving, Production LLM Gateway Cross-linked by section instead of re-explained

How to use the casebook

  • Work through the walkthrough in order.
  • Before step 5: write down what you expect to break at each tenfold step, then compare.
  • Rehearse the 45-minute plan aloud with a timer (Practice, in the full casebook).
  • The night before: the level calibration (full casebook) and the Quick review.

Quick Recall: Lines to Say in the Interview

  • "A thousandfold jump is a different system that happens to share a prompt."
  • "The prototype proved usefulness and nothing else."
  • "It says nothing about cost, tail latency, permissions, fairness or adoption."
  • "The provider's uptime caps what we can promise."
  • "I'll walk it in tenfold steps: identity breaks at 1,000, capacity at 10,000, fairness and ownership at 100,000."
  • "Every model call goes through one gateway."
  • "The eval set comes from production traffic, not the demo."
  • "Rollback is a pointer flip: the previous version is still deployed."

Design walkthrough

The goal: take an assistant that worked for 100 volunteers to 100,000 employees by sizing the jump, walking it in tenfold steps, and putting identity, limits, evaluation, rollout, ownership and adoption in place before each step.

30-Second Cheat Sheet

  • Attack "works" first: 100 volunteers prove usefulness, not cost, tail latency, abuse or the users who never volunteered.
  • Demos hide four things: traffic shape, tail latency, usage expansion, governance cost. Plus drifting prompts, pilot-sized quotas and one-person support.
  • State requirements as tests: 20 requests/s at peak, first token < 2 s p95, zero forbidden citations, fairness ≤ 20%, budget ±10%, rollback < 5 minutes.
  • Size it aloud: 100,000 licensed → 30,000 active → 240,000 requests a day → ≈ 20/s peak → ≈ 7.8M tokens/minute → naive ≈ $122,000 a month vs $400 for the pilot.
  • Tenfold steps: identity breaks first, capacity second, fairness and organisation last.
  • Admit, assemble, answer, learn: gateway, retrieval, model path, control plane. Identity, permissions and personal data fail closed; speed and convenience degrade.
  • Rebuild the eval set from real traffic, gate on slices, hold security at zero.
  • Cohort rollout with a pointer-flip rollback, named owners, and adoption measured by week-4 retention and override rate.

Opening line (source's spoken version): "A hundred volunteers proved the idea is useful. A hundred thousand employees will test everything the volunteers forgave: cost, the slow tail, permissions, abuse and whether anyone changes how they work."


1. Ask What "Successful" Meant Before Scaling It

  • "Works" is the word to attack first. A prototype is usually judged on a demo and a few enthusiastic users.
  • That evidence says the idea is valuable. It says nothing about cost, tail latency, abuse, or the users who never volunteered.
  • The question bank's own list of biggest mistakes includes "Treating a prototype as a production system."
  • Ask before sizing anything. Each answer below is an assumption carried through the case, and each decides part of the design.
Question Assumed answer What it decides
What does the prototype do? An internal assistant: answers from company documents and calls two read-only tools RAG plus light tool use, not a free-form agent
Who are the 100,000? Employees of one enterprise, across departments and three regions SSO, departments as tenants, residency questions
How was "success" measured? Thumbs-up rate and a manager's impression from 100 volunteers No real eval set exists yet; build one
What must stay true at scale? Answers cite sources; no user sees a document they cannot open Permission-aware retrieval is a gate, not a feature
What latency is acceptable? First token under 2 s at p95; full answer under 10 s Streaming, queueing and routing budgets
Is there a budget? Yes, but nobody has priced it yet The sizing in step 4 is part of the answer
When, and how fast? Company-wide within a quarter A staged rollout by cohort, not a launch day

RAG = retrieval-augmented generation: fetch the relevant documents first, then have the model answer only from them. SSO = single sign-on: one company login for every app, and where you get the user's identity to enforce permissions.

Two answers reshape the design

  • "Thumbs-up from 100 volunteers" → there's no evaluation set to trust, so building one is work in the plan.
  • "No user sees a document they cannot open" → permission filtering becomes a release gate: a single failure blocks the release.

Weak vs strong opening

Answer What it says
Weak Draws autoscaling and a load balancer. Treats the jump as a compute problem.
Strong Says three things in the first two minutes: the evidence of success doesn't transfer, the bill scales with request shape rather than with users, and adoption is a deliverable

Request shape = how many tokens each request carries and how many model calls it triggers. It can grow even when the user count doesn't.

Soundbite: "A hundred volunteers proved the idea is useful. A hundred thousand employees will test everything the volunteers forgave."


2. Name What the Prototype Was Hiding

  • A prototype hides problems by construction, not by accident.

The four things demos hide (cost cram sheet)

Hidden thing Demo Production
Traffic shape One user, a warm cache, clean data Concurrent users, spikes, messy inputs
Tail latency Shows the average Users feel p95 and p99, the slow requests queueing creates
Usage expansion Short questions Longer questions, bigger documents, so tokens grow faster than requests
Governance cost Never paid Security review, audit logging, evaluation, human review and support all cost money and time

Six axes: prototype vs production

Middle column is the cram sheet's wording; the right column is what it means for this assistant.

Axis Prototype → production (cram sheet) What that means here
Dataset curated/static → large, messy, multi-tenant, churning The eval set built from demo questions is biased toward what already worked
Security mocked → OAuth/OIDC/SAML, RBAC/ABAC, permission filtering, audit A shared API key and an unfiltered index become a data-exposure incident
Load one user → concurrency, spikes, batch, retries Provider rate limits appear at the Monday 9 a.m. spike
Observability console logs → traces, token metrics, cost dashboards, alerts Nobody can say why a bad answer happened
Latency one happy path → tail latency, queueing, cold starts The demo's 3 s answer becomes a 12 s p95 under queueing
Cost small bill → budget ownership, allocation, anomaly detection, procurement Nobody owns the invoice until it arrives

RBAC/ABAC = role-based / attribute-based access control: permissions decided by a user's role, or by attributes of the user and the document.

Three gaps the table misses

  • Prompts drift: the builder still edits the live prompt by hand.
  • Provider quotas are sized for a pilot account.
  • Support is a chat message to the one engineer who built it.
  • At a thousand times the users, that engineer becomes the outage.

The neighbouring notebook prompt

  • Verbatim: "A team has a successful notebook-based AI prototype. How do you productionise it?"
  • Its discussion list (verbatim): reproducibility, CI/CD, evaluation gates, model and prompt versioning, secrets management, monitoring, cost controls, security, SLAs, rollback, ownership and support.
  • Answer it with this case. The notebook variant adds one first step: turn the notebook into versioned, tested code before any of the rest applies.

CI/CD = continuous integration and continuous delivery: the automated pipeline that tests and ships every change. SLA = service level agreement: the promise to the customer, usually with penalties; looser than the SLO.


3. State Requirements as Testable Constraints

  • A requirement that cannot fail a test is a wish.
    • "Scalable" is a wish.
    • "Sustains 20 requests a second at p95 first-token under 2 s" is a constraint, because a load test can fail it.
  • The functional core doesn't change: answer from company documents with citations, call the two read-only tools, keep a short conversation history.
  • Everything around the core changes: identity, limits, fairness, failure handling, evaluation, rollout and support.
Constraint Stated so it can be tested
Throughput 20 requests/s sustained at peak, 40 requests/s burst for 10 minutes
Latency First token under 2 s p95; full answer under 10 s p95; measured per stage
Availability 99.9% for the assistant's own service; a provider outage degrades, never errors
Isolation Zero answers citing a document the user cannot open, tested before every release
Fairness One department's burst cannot raise another's p95 by more than 20%
Cost Cost per daily active user tracked by department; monthly spend within the approved budget ±10%
Quality No regression against the production-derived eval set on any intent slice
Operability Every page has a runbook; rollback in under 5 minutes without a redeploy
Adoption Week-4 retention and task success reported per department cohort

Why some rows read the way they do

  • Latency per stage: streaming can hide a slow full answer behind a fast first token.
  • Availability for our own service only: the provider's uptime is outside our control. The failover deep dive says what to promise instead.
  • Fairness is testable: replay one department's burst while measuring another department's p95.
  • These are case bars to agree with the customer. The prototype established none of them.

Every constraint needs an owning component

Constraint Primary component(s)
Throughput and latency Gateway queue, model router, streaming, provider capacity
Availability Retry, circuit breaker, fallback provider, graceful degradation
Isolation SSO at the gateway, permission filter in retrieval, scoped cache keys
Fairness Per-user token buckets, weighted fair queue per department
Cost Budget meter before the call, routing, caching, batch path
Quality Eval gate in CI, sampled online evaluation
Operability Prompt registry with a live pointer, runbooks, on-call
Adoption Cohort waves with onboarding, department champions, per-cohort usage and retention metrics
  • Adoption is the one constraint kept true by people and process, not a box on the diagram: cohort rollout (step 8), a named owner (step 9) and per-cohort measurement (step 10).

4. Size the Thousandfold Jump from Users Down to Tokens

  • Say the arithmetic aloud. It turns "scale" into three numbers the customer must approve: requests per second, tokens per minute and dollars per month.
  • Every figure is an assumption; the method is what gets scored.
Step Assumption Result
Licensed users 100,000 (starting point)
Daily active share 30% once adoption settles 30,000 daily active users
Requests per active user 8 a day 240,000 requests a day
Business-hours concentration 80% of traffic in 8 hours ≈ 6.7 requests/s during working hours
Peak 3× the working-hours average ≈ 20 requests/s
Input per request 6,000 tokens: 1,500 system and tools, 3,500 retrieved, 1,000 history 1.44B input tokens a day
Output per request 500 tokens 120M output tokens a day
Concurrency Little's Law: 20/s × 5 s average ≈ 100 requests in flight at peak
Peak token rate 20/s × 6,500 tokens ≈ 130,000 tokens/s ≈ 7.8M tokens/minute

Follow the chain once

  1. 30% of 100,000 → 30,000 active people × 8 requests = 240,000 a day.
  2. 80% of those, 192,000, arrive in 8 working hours (28,800 seconds) → about 6.7 a second.
  3. Traffic is lumpy inside those hours → a 3× peak gives about 20 a second.
  4. Input: 240,000 × 6,000 = 1.44 billion tokens. Output: 240,000 × 500 = 120 million.
  5. Peak: 20 a second × 6,500 tokens = 130,000 tokens a second, about 7.8 million a minute.

Little's Law

Little's Law (cost additions): concurrency = throughput × latency.

  • 20 requests a second × 5 seconds average → about 100 in flight.
  • Each holds a connection, a queue slot and a share of the provider's limits.
  • It turns latency work into capacity work: halving average latency halves the in-flight slots to provision.

Price it (the source's September 2026 prices)

Item Figure
Pilot About $400 a month
Naive design (every request on one mid-tier model) About $4,080 a day, roughly $122,000 a month
After three cheap levers About $67,000, nearly half off
  • The bill went up about 300 times, not 1,000 times, because only 30% of licensed users are active. Adoption is a cost variable.
  • The three levers:
    • Route 70% of requests to a smaller model.
    • Cache the stable prompt prefix.
    • Cap output length.
  • They cut the bill without touching quality on the hard 30% that still goes to the mid-tier model.
  • The cost deep dive works each row and its caveats.
  • Prices change constantly: in the interview, state the mechanism and say "I'd check current pricing" for the digits.

The agent multiplier

  • Rule of thumb (cost additions): a real agent request can become 5–20 sub-requests: planning, tool calls, retries and checks each call the model.
  • This assistant makes few calls per question today.
  • If the tools grow into an agent, multiply the call count before trusting any of this.

Check the provider's limits

  • 7.8 million tokens a minute at peak must fit the account's tokens-per-minute and requests-per-minute limits.
  • Split by model after routing, because each model has its own limit.
  • Anthropic meters input and output tokens per minute separately, and tokens read from the prompt cache don't count toward the input limit.
Traffic at peak (1,200 requests a minute) Uncached input per request Per minute
840 small-model requests 6,000 (Haiku 4.5 won't cache the 1,500-token prefix) About 5.0M input tokens
360 mid-tier requests 4,500 once the prefix is cached About 1.6M input tokens
Output, both models n/a About 600,000 tokens
  • Anthropic's published Scale tier: each of these models gets 10M input and 2M output tokens a minute, and a $200,000 monthly spend cap that covers even the naive $122,000.
  • Plan for twice the peak: retries during an incident and the Monday spike stack on each other.
    • At twice the peak the small model needs about 10.1M input tokens a minute, just over the published limit, so the account needs custom limits.
  • A sudden jump can return 429s below those limits: the provider caps how fast per-minute usage may grow. One more reason to ramp traffic through cohort waves.
  • That headroom is a procurement conversation with the provider, and it starts weeks before launch.

Soundbite: "Scale is three numbers the customer approves: requests per second, tokens per minute and dollars per month."


5. Walk Each Tenfold Step and Name What Breaks

  • Each tenfold step breaks something different. A plan that jumps from 100 to 100,000 finds all of them on the same morning.
  • Read left to right: what breaks first, the first signal, and the fix to have in place before the next step.
Step What breaks first First signal Fix before the next step
100 → 1,000 Shared API key and no per-user identity; the demo eval set; prompt edited live; support is one engineer's inbox Complaints reach the builder directly; answers wrong on documents the demo never touched SSO and per-user identity; versioned prompts; structured logs and traces; first eval set from real logs
1,000 → 10,000 Provider 429s at peak; the bill becomes visible; queueing inflates p95; retrieval exposes documents across departments 429 rate; invoice; p95 rising while p50 stays flat; a permissions complaint Gateway with rate limits, retry, breaker and fallback; permission-filtered retrieval; routing and caching; budgets per department
10,000 → 100,000 Department bursts starve each other; provider capacity; multi-region and residency; eval cost; incident blast radius; adoption stalls One department's p95 degrades during another's peak; eval bill spikes; week-4 retention flat Weighted fair queue; capacity commitment and a warm fallback; sampled online eval; on-call and runbooks; cohort rollout with change management

Read the p95-vs-p50 signal

  • p95 rising while p50 (the median) stays flat: most requests are as fast as before and a growing minority is waiting.
  • That points to queueing behind a limit, not to a slower model.

How to use the steps

  • Expected order: identity first, capacity second, fairness and organisation last.
  • Each fix is cheap before its step and expensive during it.
  • The user counts are a planning device, not exact triggers: a heavy department can hit the capacity problems at 5,000 users.
  • Cohort rollout (step 8) is what lets each step happen on purpose.

6. Draw the Architecture End to End

The organising rule: admit, assemble, answer, learn

Verb Part of the system The one decision it makes
Admit Gateway Who may use a model, and how much
Assemble Retrieval What the answer may see
Answer Model path What it costs and how it fails
Learn Control plane What changes reach users, and on what evidence

The interactive answer path (top to bottom)

Client over SSE → gateway (SSO, user token bucket, budget, input guard, fair department queue) → orchestrator → permission-filtered retrieval before search → read-only tools (step caps, timeouts) → cache keyed by prompt version, model and permission scope → on a miss, model router → primary small or medium model (bounded retry, breaker) → warm fallback provider → labelled degraded answer → output PII and citation checks → stream back to the client

SSE = server-sent events: a one-way stream from server to browser that lets the answer appear as it's written.

The two paths that never make a user wait

  • Async lane: async queue → report, summary and reindexing workers → the provider's batch API.
  • Ingestion: sources → parse → chunk and embed → index with ACL metadata, so the permission filter has something to filter on.

ACL = access control list: who is allowed to see or change a thing.

Two pieces across both paths (not drawn as boxes)

  • Control plane: versions the prompt registry and its live pointer, routing rules, department quotas, the CI evaluation gate, budgets, anomaly alerts and cohort flags.
  • Observability: traces each request's tokens, cost, stage timings and outcome.

The same system in four planes

Plane What's in it
Control plane Prompt registry and live pointer, eval gate in CI, budgets and quotas per department, feature flags per cohort
Gateway Client, SSO check, token bucket and budget meter, input guard, fair queue per department
Answer path Orchestrator, retrieval with permission filter first, read-only tools with step cap, cache keyed by prompt version, model and scope, model router, primary provider with retry inside breaker, warm fallback provider, output check (with pass, block, hit and miss branches)
Async lane Queue, workers, batch API

Follow one request (the source's illustrative example)

  1. A finance analyst asks: "What is the limit for client dinners in the travel policy?"
  2. Gateway: validates her SSO token, checks her token bucket and department budget.
  3. Input guard screens the text.
  4. Fair queue places the request by her department's weight.
  5. Orchestrator assembles the frozen system prompt first, so the provider's prefix cache can reuse it.
  6. Retrieval returns only policy chunks her groups may open.
  7. Cache misses → the router classifies it as an easy lookup → small model, inside retry and a breaker.
  8. Output check confirms a citation is present and no personal data leaks → the answer streams back.
  9. Trace records tokens, cost, stage timings, the model that answered and the outcome.

Components in request order: each has a defined way to fail

# Component Responsibility Fails how
01 Client Streams the answer, shows citations Degrades: shows a labelled partial or degraded answer
02 Gateway SSO token validation, per-user token bucket, budget meter Closed on auth; sheds the async lane first under load
03 Input guard Rule-based screen first, model-based screen second Closed for known attacks; logs and allows on timeout for low-risk intents
04 Fair queue Orders admitted work by department weight Never drops an admitted request silently
05 Orchestrator Assembles context in a prefix-stable order, calls tools under a step cap Degrades: answer without the tool, say so
06 Retrieval Filters by the user's permissions before vector search Closed: no filter, no results
07 Cache Serves repeated safe answers; key carries prompt version, model and permission scope Degrades to a miss; never serves across scopes
08 Model router Sends easy intents to the small model Degrades to the mid-tier model
09 Primary provider Answers under retry-with-backoff inside a breaker Breaker opens; traffic moves to the fallback
10 Fallback provider Warm second provider or region with its own validated prompt Degrades to a labelled "try again shortly" answer
11 Output check PII scan, citation presence Closed: withholds the answer and says why
12 Async lane Non-interactive work through a queue and the batch API Delays; users see job status
13 Ingestion Incremental indexing with ACL metadata Stale but safe; freshness alert
14 Observability One trace per request with tokens, cost, stages and outcome Degrades: request still served, gap logged
15 Control plane Versioned prompts, routing, quotas, flags, eval gate Changes blocked until the gate passes

PII = personally identifiable information: name, email, phone, account number. It needs masking, access control and care in logs.

Closed vs degrades: the deliberate pattern

  • Closed = the component refuses when it can't do its check.
  • Degrades = it serves a reduced but labelled result.
  • Anything guarding identity, permissions or personal data fails closed. Anything guarding speed or convenience degrades.

Point at three boundaries while the diagram is up

Boundary Where Rule
Admission The gateway Nothing reaches a model without identity, a quota and a budget check
Isolation Retrieval and the cache key Both carry the user's permission scope
Change The control plane A prompt edit is a release with a gate, never a hot edit
  • The gateway and failover deep dives explain the admission and model-path mechanisms.

7. Rebuild the Eval Set from Production, Not the Demo

  • The prototype's eval set, if it exists, is the demo questions. It measures what already worked on the questions the builder thought to ask.
  • That's survivorship, not evaluation: the set contains only cases that survived the builder's own selection.
  • The Evaluation and Release Gating case designs the full release gate; this step names what the scale-up changes.

Build it from the first cohorts' real traffic

  • Sample by intent and by department: 100,000 users ask questions the 100 never did.
  • Label with the customer's subject-matter experts, not the builder. Only they know whether a policy answer is right.
  • Add adversarial cases for permissions and prompt injection, and hold that security slice at zero failures.
  • The source's phrase for the safety gate: "A hard block, not a review comment."

Gate on slices, not on the aggregate

Slice = one subset of the eval set, such as one department's questions of one intent.

  • Section 8 of the Evaluation and Release Gating case: an average can rise while one department's intent collapses.
  • Report each slice against a named baseline: the version currently serving.

Keep evaluating after launch

  • Run a sampled online evaluation on live traffic.
  • Read user signals beside it: thumbs, regenerates and escalations.
  • The new bill: LLM-as-judge is inference too, and at 240,000 requests a day it isn't free.
    • Stratify the sample so small slices are still covered.
    • Use a cheaper judge with a periodic strong-judge audit.
    • Cache judge calls on unchanged question-and-answer pairs.
  • Section 14 of the Evaluation and Release Gating case has the full cost card.

LLM-as-judge = using a model to grade answers.


8. Roll Out by Cohort with a Pointer-Flip Rollback

  • Never launch to 100,000 people on one day. Roll out by cohort, so each tenfold step in step 5 happens on purpose, to a group that can be supported.
  • Shadow, canary, promote, and know the risk each puts on a real user:
    • Shadow puts none: users never see the new version.
    • Canary puts it on a small slice.
  • The source adds cohort waves between canary and promote.

Shadow and canary are quoted from the source's release notes; the cohort-wave row is the source author's addition for this design.

Stage What happens Gate to move on
Shadow "The new version runs alongside the live one on real traffic; both outputs are logged; compared offline" Eval gate passed; zero isolation failures in shadow
Canary A small slice of real users sees it; "the same metrics are watched live" p95, error rate and cost per request within limits for 48 hours
Cohort waves In this design, 1% → 10% → 50% → 100%, one department wave at a time Each wave: support tickets per 1,000 users, week-1 retention, no open severity-1 incidents
Promote Repoint the live pointer Executive sponsor signs on the success metrics
  • The cohort-wave gate uses adoption and support signals, not just system metrics.
  • A wave that keeps p95 green but floods the helpdesk is not ready for the next wave.

Two rules for splitting

  • Split per user, never per request. One person's experience must not flicker between versions mid-conversation.
  • Hold the safety gate identical across arms, so the new version can't pass a looser security check than the old.

Rollback is a pointer flip

  • The source's rule: "If rollback requires a build, it is not a rollback; it is a hot-fix under pressure."
  • The version that was live five minutes ago stays deployed, ready to take traffic. Rollback moves the live pointer back to it.
  • That's how rollback in under 5 minutes is met.
  • Test the rollback before the first wave: make rollback_tested a gate that blocks limited production.

Soundbite: "If rollback requires a build, it is not a rollback; it is a hot-fix under pressure."


9. Assign Owners Before the First Page

  • At 100 users, the builder is the owner, the on-call and the support desk.
  • At 100,000, that arrangement is the single point of failure.
  • Name the owners before the first cohort, not after the first incident.
Area Owner What it owns
Platform and gateway AI platform team SLOs, capacity, provider relationships, on-call
Product behaviour Product owner Prompts, intents, routing policy, release decisions
Knowledge content Department content owners Source freshness, document permissions
Security review Security team The review gate, red-team results, incident response for leaks
Budget Finance partner plus product owner Department budgets, anomaly thresholds
Support IT helpdesk (L1), app team (L2), platform (L3) Tickets, known issues, escalation
Adoption Product owner, with the executive sponsor and department champions Cohort onboarding, the adoption metrics in step 10, the stalled-adoption investigation

SLO = service level objective: the target you commit to internally, such as "95% of answers in under 3 seconds".

The support ladder

  1. L1, IT helpdesk: first contact.
  2. L2, application team: behaviour problems.
  3. L3, platform team: serving problems.
  • The builder's inbox is no longer on it.

Runbooks for the incidents that will happen

  • The cost cram sheet lists fifteen; four matter from week one.
Incident What to do
Cost 5× after rollout The sheet's diagnosis: "The increase is likely from request shape, not just user count." Look at tokens per request, retries and call counts before blaming headcount.
Latency 2 s to 20 s after a deploy Roll back the prompt or reranker, and activate the fallback provider
One tenant over-using "Distinguish healthy adoption from runaway automation": a department that adopted the tool is good news; a script calling it in a loop is not
Cache hit rate dropping Look for a silent prefix invalidator, such as a timestamp or user name at the top of the prompt, which makes every request's prefix different
Permissions leak (the source adds this fifth) Owned by security

Security review against evidence, not a checkbox

  • A gate can be structurally real and still accept free text as evidence, so a reviewer ends up approving a sentence that says "tested".
  • Require adversarial testing and permission-boundary probes as listed artefacts before the review passes.

10. Measure Adoption, Not Only Uptime

  • A system can be technically ready and still fail, because nobody uses it.
  • Adoption is the last item on the bank's list, and it's where the follow-up goes.
  • Measure it with numbers a launch email can't fake. Start with two.

The two starting metrics

  • Override rate: how often a person who reviews an answer before acting on it edits, rejects or corrects it.
    • Falling over time → trust is being earned.
    • Flat → the assistant isn't ready for less supervision.
  • Week-4 retention: "Whether the thing deployed is still the thing being used a month later."

Reading override rate for a read-only assistant

  • The tools are read-only, so there's no action to approve. The override is a person changing or discarding an answer before using it.
  • Measure it in the workflows where answers are reviewed.
  • Read a falling rate beside outcome audits, since reviewers can also stop checking.

Add three more

  • Active users as a share of licensed users.
  • Task success by intent.
  • Cost per successful task. The cost additions insist on it: a cheaper model that needs a retry or a human correction isn't cheaper.

The bank's follow-up (verbatim)

"The system is technically ready but users are not adopting it. What do you investigate?"

Its answer list (verbatim):

  • Whether the problem is important enough
  • Workflow fit
  • User trust
  • Response quality
  • Latency
  • Training and onboarding
  • Incentives
  • Integration friction
  • Whether the product solves the user's actual pain point

Order the nine causes into an investigation

  1. Start with data, not opinions. Segment usage by department and intent; find where users try once and stop.
  2. Read those sessions.
    • Drop after the first answer → quality or trust.
    • Drop before any answer → latency or onboarding.
    • Low first use → workflow fit and integration friction: the assistant lives in a separate tab while the work lives in another tool.
  3. Only then talk to users, and ask about their pain rather than the product. That's where importance, incentives and the actual pain point come out.

What adoption depends on

  • The cost cram sheet's executive table: "Perceived latency, workflow fit, reliability, explainability."
Factor Part of the design
Perceived latency Streaming
Workflow fit Integration
Reliability Failover
Explainability Citations

Spoken answer (source's version): "Adoption is a deliverable. I would measure it per cohort, and treat a flat week-4 retention as a bug with a root cause, not a marketing problem."


Quick Recall: Lines to Say in the Interview

  • "Treating a prototype as a production system is the bank's own biggest mistake."
  • "The bill scales with request shape, not with users."
  • "20 requests a second at p95 first token under 2 seconds is a constraint; 'scalable' is a wish."
  • "30% of 100,000 times 8 is 240,000 requests a day, about 20 a second at peak."
  • "The bill goes up about 300 times, not 1,000, because only 30% are active. Adoption is a cost variable."
  • "p95 rising while p50 stays flat means queueing behind a limit, not a slower model."
  • "Identity, permissions and personal data fail closed; speed and convenience degrade."
  • "Split cohorts per user, never per request, and test the rollback before the first wave."
  • "Flat week-4 retention is a bug with a root cause, not a marketing problem."

Technical deep dives

What this part covers: the mechanisms behind the scale-up. One gateway that admits, queues and routes; a failover chain that buys margin; the priced cost levers; and the seventeen-item check with the failure modes to volunteer.

30-Second Cheat Sheet

  • One gateway for every model call: identity first, then limits, a fair queue, metering, routing, safe caching, streaming and an async lane.
  • Limits and fairness are two mechanisms: a token bucket says whether a request may proceed; a weighted fair queue says in what order.
  • Meter before the call: reserve the input estimate plus the output ceiling, then settle against reported usage.
  • Routing is the biggest cost lever, but a three-model cascade means three cold prefixes.
  • Failover chain: retry with backoff inside a circuit breaker → warm fallback with its own eval → labelled degradation.
  • Never promise more uptime than the provider gives. Fallback buys margin, not a guarantee.
  • Cost levers: naive $122,000 → routing $80,000 → prefix cache $74,000 → output cap $67,000 a month (about 55% of naive).
  • Check against the bank's seventeen items, then volunteer eight failure modes with the signal that catches each.

1. Admit, Queue and Route at One Gateway

  • Put every model call behind one gateway.
  • The prototype's direct calls leave no single place to enforce identity, limits, fairness or cost, so each rule would be repeated in every caller.
  • The Production LLM Gateway case designs it in depth, in its sections 5 to 10. This section names only what the scale-up adds.

Identity first

  • Authorisation logic assumes identity is already established.
  • Validate the customer's own SSO token → map their groups to internal roles → derive the user's permission scope once per request.
  • The prototype's shared key can't tell 100,000 people apart, so it can't enforce a single rule about them.

Limits and fairness are two mechanisms

Mechanism Question it answers
Rate limit (per-user token bucket) "May this request proceed at all?"
Fair queue (weighted, per department) "In what order do requests get served under load?"

Token bucket = a budget that refills at a fixed rate. Each request spends from it; a request that would overdraw it waits or is refused.

  • Size the bucket in tokens, not only requests: one request with a 50-page upload can cost as much as fifty short questions.
  • Weighted fair queue per department: instead of first come, first served, it serves departments in proportion to their weights. A bursting department gets its share but can't take everyone's.
  • Illustration (the source's):
    1. Finance submits 500 requests in a minute at quarter-end; HR submits 20.
    2. A single queue makes HR wait behind all 500.
    3. The fair queue keeps serving HR's 20 at their share while Finance's burst waits for its own.
  • Section 7 of the Secure Multi-Tenant AI Platform case has the full argument.

Meter before the call

  • The production guide's rule: "The cap has to fire before the API call, not after — checking cost post-hoc only tells you what you already spent."
  1. Estimate the request's tokens with a real tokeniser.
  2. Check the user's and department's budget.
  3. Reserve the input estimate plus the request's output ceiling (output is unknown before the call).
  4. Call the provider.
  5. Settle the reservation against the usage the response reports.
  • Without the settle step, every bucket drifts by the gap between the ceiling and the real output.
  • Why a real tokeniser: the guide shows a word-count heuristic underestimating token counts and letting expensive requests through.

Route by intent

  • The production guide: routing is "The single biggest cost lever in a production LLM system."
  • A router classifies each request and sends easy intents, such as a policy lookup, to the small model.
  • Pick the routing threshold from a labelled sample of real traffic, not intuition.
  • Measure the misroute rate against the cost saved.

The cascade warning (cost additions):

  • Prompt caches are scoped to a model, so a three-model cascade means three cold prefixes, each paying full input price until it warms.
  • Measure one strong model at lower effort before building a cascade. It may be cheaper overall once caching is counted.

Cache what is safe

  • The cram sheet's rule: caching is acceptable only when the key includes tenant and permission boundaries and invalidation respects document and access changes.
  • Otherwise a cached answer built from a document one user may see is served to another who may not.
Cache What it stores Why it's safe Order
Provider prefix cache on the frozen system prompt and tool list No answer; only the provider's processing of an identical prompt start Can't leak content between users First: the cheapest win
Answer cache Finished answers Key carries the user's permission scope, prompt version and model Second

Stream, and move slow work off the critical path

  • Streaming buys perceived latency, not real latency: the first words arrive sooner, but the full answer takes as long.
  • Report generation and document summaries don't need a waiting user.
    • Send them through a queue to the batch API, which the cost additions put at 50% of standard cost.
  • Workers scale by queue depth, not by CPU (the cram sheet's infrastructure section): they spend their time waiting on the provider, not computing.

Soundbite: "A rate limit says whether a request may proceed; a fair queue says in what order. You need both."


2. Fail Over Before the Provider Fails the Users

  • At 100 users, a provider outage is an anecdote. At 100,000, it's an incident with a headcount.

The chain, in order (production guide)

Layer What it handles Rule
Retry with backoff A single failed call Wait and try again. On a 429, wait at least as long as the provider's retry-after header says, when one is sent.
Spend-cap 429 A reached monthly spend cap Carries no retry-after and won't clear with retries: send it to an alert, not the retry loop
Circuit breaker A bad dependency Wraps the retried call. After enough failures it opens and stops traffic for a while, so retries don't pile onto a provider that's already down.
Fallback provider The breaker is open Takes the traffic
Graceful degradation All of that fails The floor
  • The guide's one-liner: "Retries handle one bad call; a circuit breaker handles a bad dependency — you want both, with the breaker wrapping the retried call."

Set the reliability target honestly

  • The guide's FDE track answers the "99.9% uptime" request directly:
    • "Separate your infra's uptime from the upstream provider's: you can't promise more than your dependency provides, and fallback/circuit-breaker design is how you buy margin, not a guarantee."
  • Say that sentence to the customer before the contract says something else.
  • One limit to add: a fallback buys nothing against a dependency both paths share, such as the customer's SSO. Name those dependencies in the agreement too.

FDE = Forward Deployed Engineer: sits with the customer, finds the real problem and ships a working system in their environment.

Keep the fallback warm and validated

  • A fallback that has never served real traffic fails at the worst moment.
  • The guide's agent track names the trap: tool schemas and structured-output contracts aren't portable across models.
    • So the fallback needs its own prompt and its own eval run.
  • Route a small, steady share of traffic to it so its latency and quality stay measured.
  • Tag every response with the model that answered, because cost and quality shift silently when traffic moves.

Degrade in front of people, fail loudly in front of machines

  • That's the guide's own trade-off line.
Audience Behaviour Why
A person Shows a labelled degraded answer They can judge it
The async lane Stops and alerts A half-finished report would be trusted by a downstream process

Spoken answer: "I can't promise more uptime than the provider gives. Fallback and the breaker buy margin, not a guarantee."


3. Price the Sizing and Cut the Bill

  • Tiers the source uses (cost additions, checked September 2026 on Anthropic's pricing page):
Model Input per million tokens Output per million tokens
Claude Sonnet 5 (mid-tier) $2.00 $10.00
Claude Haiku 4.5 (small) $1.00 $5.00
  • These are source-reported inputs for the worked example, not current offers. Recheck prices, cache minimums and routing quality before procurement.

The cost scenarios (each row adds one lever)

Scenario Daily cost Monthly
Prototype: 100 users × 8 requests, one mid-tier model ≈ $14 ≈ $400
Naive scale: 240,000 requests on one mid-tier model $2,880 input + $1,200 output = $4,080 ≈ $122,000
+ route 70% of requests to the small model ≈ $2,650 ≈ $80,000
+ cache the 1,500-token stable prefix (read price 10% of input; only the mid-tier 30% benefits, because Haiku 4.5 won't cache a prompt under 4,096 tokens) ≈ $2,460 ≈ $74,000
+ cap average output at 350 tokens ≈ $2,220 ≈ $67,000

Rebuild each row on a whiteboard

  1. Prototype.
    • One mid-tier request: 6,000 × $2/M + 500 × $10/M = $0.012 + $0.005 = $0.017.
    • 800 requests a day ≈ $14, about $400 a month.
  2. Naive scale.
    • 1.44 billion input × $2/M = $2,880, plus 120 million output × $10/M = $1,200 → $4,080 a day, about $122,000 over 30 days.
    • About 300 times the pilot, not 1,000, because only 30% of licensed users are active.
  3. Routing.
    • Small-model request: 6,000 × $1/M + 500 × $5/M = $0.0085, half the mid-tier price.
    • Average with 70% small: 0.7 × $0.0085 + 0.3 × $0.017 ≈ $0.011 → about $2,650 a day.
    • Caveat: the worked figures use one token count for both models, but counts depend on the tokenizer. Anthropic says Claude 4.7 and later produce about 30% more tokens for the same text than earlier models such as Haiku 4.5. Measure each model's real counts before trusting the split.
  4. Prefix caching.
    • Cached input is read at 10% of the input price.
    • Minimum cacheable lengths: 1,024 tokens for Sonnet 5, 4,096 for Haiku 4.5 → the 1,500-token prefix caches only on the mid-tier model.
    • Each of the 72,000 mid-tier requests that reads the cache saves 1,500 × $2/M × 0.9 = $0.0027.
    • Writing the entry costs 1.25 times the input price: $0.00375 for the 1,500 tokens.
    • The entry lives five minutes, refreshed on each read.
    • The prefix is identical for every user and mid-tier traffic runs at several requests a second in working hours, so the entry stays warm: rewritten at most once per five-minute gap, no more than 288 writes a day, under $1.10 a day including the write premium.
    • Net saving ≈ $193 a day → about $2,460.
  5. Output cap.
    • Average output 500 → 350 tokens saves 150 output tokens per request.
    • Lower the average through the prompt and answer format. The output ceiling only truncates, cutting an answer mid-sentence, so set it above the target and watch how often answers stop at it.
    • Saving ≈ $126 a day on the small model and $108 on the mid-tier → about $2,220, or $67,000 a month.

The assumption to say aloud

  • The last row is about 55% of the naive bill: the "nearly half" saving.
  • The routing row assumes the small model answers its 70% well enough.
    • If misroutes cause retries or human corrections, cost per successful task rises even while the invoice falls.
  • These are approximate scenarios. Real savings depend on measured cache hits and quality-preserving routing.
  • The cost pivot that follows in an interview is worked in Practice, in the full casebook.

Soundbite: "Route easy intents, cache the frozen prefix, cap output: $122,000 to $67,000 a month, if the router keeps quality."


4. Failure Modes and the Seventeen-Item Check

  • The prompt lists seventeen things to cover. Check the answer against them, in the order given.
Item (verbatim) Where this casebook covers it
Traffic and capacity modelling Walkthrough step 4, sizing
Multi-tenancy Step 1 and the gateway: departments as tenants, permission scope
Rate limits Step 4 and the gateway: provider limits and per-user buckets
Queuing The gateway: fair queue per department
Caching The gateway: prefix cache first, scoped answer cache second
Model routing Step 4 and the gateway
Batch processing The gateway: async lane and the batch API
Streaming The gateway
Cost controls Step 4, the gateway, the cost deep dive and the cost pivot (full casebook)
Autoscaling The gateway: workers by queue depth
Observability Step 6 and step 9; the Observability and Production Diagnosis case for the full design
Reliability targets Step 3 and the failover deep dive
Rollbacks Step 8
Security review Step 9
Support model Step 9
Change management Step 8 and step 10: cohort waves, onboarding, champions
Adoption measurement Step 10
  • Champions (change-management row) = people in each department who help colleagues adopt the tool. The source lists them here without a fuller treatment.

Volunteer failure modes before the interviewer asks

  • Each with the signal that catches it. A failure with no signal is one you learn about from a user.
Failure Signal Mitigation
Bill grows faster than users Cost per active user rising Request-shape breakdown; routing, prefix cache, output cap
Monday-morning 429 storm Provider 429 rate at peak Capacity commitment, jittered retry, fallback, shed async lane
Department A's burst slows department B Per-department p95 divergence Weighted fair queue
Answer cites a forbidden document Isolation test failure; user report Filter before search; scope in cache key; release gate at zero
Prompt edit silently regresses quality Slice score drop on the online sample Prompt registry, eval gate, pointer-flip rollback
Fallback fails when needed Fallback error rate on first real use Keep it warm with a steady traffic share and its own eval
Eval bill triples Judge spend per release Stratified sample, cheaper judge with audits, cached judge calls
Launch succeeds, usage decays Flat week-4 retention Step 10's investigation, per cohort

Jittered retry = each client waits a slightly random time before retrying, so thousands of clients that failed together don't all retry in the same instant and cause a second spike.


5. References and Source Boundaries

  • The source has talking points, not a worked design: the prompt, the seventeen items and one follow-up come from the question bank.
  • The rest is assembled from the cram sheets, the production guide and the notes listed in the brief.
  • The workload, thresholds, prices and cohort sizes are whiteboard assumptions.
  • Related cases teach their mechanisms in more depth: Secure Multi-Tenant AI Platform, Evaluation and Release Gating, Observability and Production Diagnosis, Consumer-Scale Chat Service, LLM Inference Serving, Production LLM Gateway.

Fact-check sources (checked 27 September 2026)

Source What it confirms
Anthropic pricing Claude Sonnet 5 at $2/$10 and Claude Haiku 4.5 at $1/$5 per million tokens; cache reads at 0.1× input; Batch API at 50% off
Anthropic prompt caching Minimum cacheable prompt length of 1,024 tokens for Sonnet 5 and 4,096 for Haiku 4.5

Quick Recall: Lines to Say in the Interview

  • "Every model call goes through one gateway, or every rule gets repeated in every caller."
  • "Size the bucket in tokens: one 50-page upload can cost as much as fifty short questions."
  • "The cap fires before the call: reserve input plus the output ceiling, then settle."
  • "A three-model cascade means three cold prefixes. Measure one strong model at lower effort first."
  • "The prefix cache stores no answer, so it can't leak between users."
  • "A spend-cap 429 goes to an alert, not the retry loop."
  • "Fallback buys margin, not a guarantee, and nothing against a dependency both paths share."
  • "Degrade in front of people; fail loudly in front of machines."
  • "$122,000 to $67,000 a month is about 55% of naive, if the small model keeps quality."

Quick review

One sentence: a hundred volunteers proved the idea, not the system; walk the jump in tenfold steps, put one gateway in front of every call, and treat adoption as a deliverable.

30-Second Cheat Sheet

  • "Works" meant usefulness, not cost, tail latency, permissions or adoption.
  • Constraints as tests: 20/s, p95 first token < 2 s, zero forbidden citations, fairness, budget.
  • Size it: 100,000 licensed → 240,000 requests a day → ≈ 20/s peak → ≈ 7.8M tokens a minute → about 300× the pilot's bill, not 1,000×.
  • Tenfold steps: identity first, capacity second, fairness and organisation last.
  • Admit, assemble, answer, learn, with boundaries at the gateway, retrieval plus cache key, and control plane.
  • Retry inside a breaker, warm fallback, degradation. Never promise more uptime than the provider gives.
  • Eval from production, gated on slices; cohort rollout with a pointer-flip rollback.
  • Adoption: week-4 retention and override rate; investigate data → sessions → users.

1. The Jump, the Boundaries and the Deliverable

  1. Ask what "works" meant. A hundred volunteers prove usefulness, not cost, tail latency, permissions or adoption.
  2. Name what demos hide: traffic shape, tail latency, usage expansion and governance cost, plus drifting prompts, pilot-sized quotas and one-person support.
  3. State constraints as tests: requests a second, p95 first token, zero forbidden citations, fairness between departments and a budget.
  4. Size from licensed users to requests, tokens per minute and dollars. Adoption is a cost variable.
  5. Scale in tenfold steps, expecting identity to break first, capacity second, fairness and organisation last. Fix each before the next step.
  6. Draw admit, assemble, answer, learn, with three boundaries:
Boundary Where
Admission The gateway
Isolation Retrieval and the cache key
Change The control plane
  1. One gateway in front of every call for identity, per-user limits, a fair queue, metering before the call, routing and safe caching.
  2. Chain retry inside a breaker, a warm fallback with its own eval, and degradation. Never promise more uptime than the provider gives.
  3. Rebuild the eval set from production traffic, gate on slices against the serving version, and hold security at zero.
  4. Roll out by user cohort through shadow and canary, with a tested rollback that is a pointer flip.
  5. Name owners, runbooks and a support ladder before the first cohort.
  6. Measure adoption with week-4 retention and override rate; investigate a stall from data, to sessions, to users.

2. Numbers to Recall

Traffic, tokens, cost and thresholds are whiteboard assumptions, not measurements.

Item Value
Traffic 100,000 licensed, 30% daily active, 8 requests each = 240,000 a day; 80% in 8 hours ≈ 6.7/s; 3× peak ≈ 20/s
Tokens per request 6,000 in (1,500 system and tools, 3,500 retrieved, 1,000 history) + 500 out
Tokens per day and minute 1.44B in and 120M out a day; ≈ 7.8M tokens a minute at peak
Metered per model at peak About 5.0M small-model and 1.6M mid-tier uncached input, plus 0.6M output
Headroom Plan for 2× peak, which needs custom limits on the small model
Little's Law 20/s × 5 s ≈ 100 in flight; halve latency, halve the slots
Cost (September 2026 prices) Pilot ≈ $400 a month; naive ≈ $122,000; + routing 70% ≈ $80,000; + prefix cache ≈ $74,000; + 350-token output cap ≈ $67,000. About 300×, not 1,000×
Requirements 20/s sustained, 40/s burst for 10 minutes; first token < 2 s p95, full answer < 10 s p95; 99.9% own service; zero forbidden citations; ≤ 20% p95 impact across departments; budget ±10%; rollback < 5 minutes
Rollout Shadow, canary for 48 hours, waves of 1% → 10% → 50% → 100%, promote on the sponsor's sign-off
Agents and batch 5–20 sub-requests per agent request; batch API at 50% of standard cost

3. The Closing Answer

  • Check the answer against the bank's seventeen items and volunteer the failure modes with their signals.
  • Spend the forty-five minutes on the gap between prototype and production, not on the model choice.
  • Answer the cost pivot with routing, prefix caching, output caps, batching and budgets before the call, proved by cost per successful task.

The closing line (source's version): "A hundred volunteers proved the idea, not the system. Each tenfold step breaks something different, the bill scales with request shape rather than users, and adoption is a deliverable."


Flashcard Drill


Quick Recall: Lines to Say in the Interview

  • "A hundred volunteers proved the idea, not the system."
  • "Identity breaks first, capacity second, fairness and organisation last."
  • "240,000 requests a day is about 20 a second at peak and 7.8 million tokens a minute."
  • "The bill goes up about 300 times, not 1,000. Adoption is a cost variable."
  • "Routing, prefix cache and an output cap take $122,000 to $67,000 a month."
  • "Retry inside a breaker, a warm fallback with its own eval, then a labelled degraded answer."
  • "Shadow, canary for 48 hours, then 1%, 10%, 50%, 100%, and rollback is a pointer flip."
  • "I'd prove the cost pivot with cost per successful task."
  • "Adoption is a deliverable: week-4 retention and override rate, per cohort."

Where next