What Framework to Use for LLM System Design Answers?
A simple, repeatable order for designing an LLM system, from the job and its limits to launch and monitoring, explained for your AI interview.
In short
I use a fixed order: clarify who uses the system and what a wrong answer costs, set targets for speed, cost and quality, start with the simplest design, test on real past cases, then watch it live. Before launch I check the design against a cloud provider's checklist for well-run systems.
9 min readIntermediateVery common · estimateFacts checked 26 November 2026
Say it out loud
Read it once, then say it without looking. Start with the short one; use the long one when they ask you to go deeper.
I use a fixed order, so I never skip the important part. First I clarify who uses the system and what a wrong answer costs. Then I turn that into numbers for speed, cost and quality. I start with the simplest design that could meet them, and add steps only when it falls short. I score it on real past cases before launch, then watch the same numbers on live traffic.
I start with the job. Who uses this system, what are they trying to get done, and what does a wrong answer cost them? A wrong answer about a refund is a small problem. A wrong answer about a medicine dose is much worse. That answer decides how careful the whole design has to be.
Then I turn the goals into numbers. How fast must it answer for 95 out of every 100 requests, which is the 95th percentile? What does one answer cost? Which data may leave our systems? These numbers rule designs in or out. A tight speed budget may rule out a large model, and a privacy rule may rule out an outside service.
Next I build the simplest version that could work, usually one model call with search over our documents. I add tools or agent steps only when that falls short, because each step usually adds delay, cost and more places to fail. Anthropic's guidance says the same: start with simple prompts, measure them well, and add multi-step agents only when simpler solutions fall short. I score the design on real past questions, graded by people who know the work, before any user sees it.
After launch I watch the same numbers: quality, speed, cost, and what happens when a model provider is down. Last, I check the design against the areas AWS's generative AI guidance covers, such as security and cost. Then I run the checklist in order, every time.
What is an LLM system design framework, in plain words?
An LLM system design answer covers the whole product, not one model call. Users, data, speed, cost, safety and monitoring all matter. A framework is the fixed order you walk through, so you don't forget a part and the interviewer can follow your thinking.
Think of a bank's credit officer reviewing a loan file. They check the applicant, the limits and the risks in the same order every time. The order makes the decision faster and easier to defend, and it works the same way for a system design.
Here is the real AI case. A claims team at a mid-size insurer wants an assistant that drafts replies to policyholders from the policy documents. Before drawing a single box, the designer asks who reads the drafts, how fast they are needed, and what a wrong reply costs the insurer.
Key words
- Latency
- How long a user waits for an answer.
- p95
- The time that 95 out of 100 requests finish within. It shows the slow cases that averages hide.
- Eval
- A test set of real questions with agreed good answers, used to score the system.
What are the steps, in order?
I work through five steps. Each one feeds the next, and I say out loud which step I am on.
Five steps, from the job to live traffic
Clarify the job
Who uses it and what a miss costs
Set the limits
Targets for speed, cost and quality
Start simple
Smallest design that could work
Test on real cases
Past questions, graded by experts
Launch and watch
Quality, speed and cost, live
- 1Turn who uses it and what a miss costs into speed, cost and quality targets.
- 2Pick the simplest design that could meet those targets.
- 3Score that design on past cases before any user sees it.
- 4After launch, watch quality, speed and cost on live traffic.
- 1
Clarify the job
Who uses it, what they need done, and what a wrong answer costs. Ask these before any talk of models.
- 2
Set the limits
Targets for latency at p95 (the 95th percentile), cost per answer, privacy and quality. These rule designs in or out.
- 3
Start simple
One model call, with search over our documents if the answers need them. Add steps only when that fails.
- 4
Test on real cases
Run an eval: score the design on past questions, graded by people who know the work, before any user sees it.
- 5
Launch and watch
Track quality, speed, cost and failures on live traffic, with a fallback ready when a provider is down.
Why start with the simplest design?
Anthropic's engineering team gives the same advice for LLM agents. Its guidance says:
“we recommend finding the simplest solution possible, and only increasing complexity when needed.”
Anthropic
Anthropic separates workflows, where code decides the steps, from agents, where the model decides its own steps. The trade is real: agentic systems often trade latency and cost for better task performance, so they need a clear reason.
Simple first, complex only when needed
One model call
One prompt, search if needed
Fixed workflow
Code sets the steps, model fills each
Agent
Model decides its own tool steps
- 1Move up to a fixed workflow only when one model call misses a target.
- 2Move up to an agent only when fixed steps can't do the job.
Here is a worked example. The insurer's claims-reply assistant gets about 30,000 questions a month, with made-up numbers for this example. The limits: most drafts ready within 8 seconds, a claims clerk approves every reply, and policy text stays inside the insurer's own cloud account. The simplest design is one model call, search over the policy documents, and a human approval step. The test is 300 past questions graded by claims staff. The watch list is approval rate, edits per draft and cost per draft. If staff keep rewriting one type of question, I add a step for that type first, then check speed and cost again.
Anthropic's post is from December 2024, and it says much of the tooling it describes has changed since then. So I quote the principle and leave out the tool names.
How do you check the design before launch?
I check the design against the areas a cloud architecture framework covers. AWS's generative AI lens (published November 2025) lists six, and Google's AI and ML guidance sets the same kind of goals:
“The lens covers critical aspects of generative AI systems, including operational excellence, security, reliability, performance efficiency, cost optimization, and sustainability.”
AWS
“describes principles and recommendations to help you to design, build, and manage AI and ML workloads in Google Cloud that meet your operational, security, reliability, cost, and performance goals.”
Google Cloud
In the interview I name the areas, then pick the two that decide this design. For the claims assistant, those are security, because policy and claim data are private, and cost, because every draft is a model call that someone pays for.
Tip
Don't list six areas and stop. Say which one decides the design, and what you would measure to prove it works.
What does the interviewer want to hear?
A strong answer covers
- A plain definition: a framework is a fixed order you check every design in.
- The first questions: who uses it, and what a wrong answer costs.
- Targets as numbers: speed at p95, cost per answer, privacy and quality.
- The simplest design first, and why an agent or extra step earns its place.
- How you test on real cases, and what you watch after launch.
- The six areas, with the two that decide this design.
Common traps
Trap"Start with the newest model and a vector database."
BetterThose are parts. Name the job and its limits first, then pick parts that meet them.
Trap"Agents are always better than a fixed workflow."
BetterAgents often trade latency and cost for better results. Add one only when simpler designs fall short.
Trap"I would design for a million users from day one."
BetterDesign for the load you can measure now, and say what you would change at ten times the traffic.
Can you spot the weak first step?
Spot the weak step
A team proposes four opening steps for the claims-reply assistant. Which one is the weak first move?
Quick check
What should come first in an LLM system design answer?
Can you answer these from memory?
Flash cards · tap a card to flip it
What will they ask next?
- Q347Design a customer-support chatbot.13 min
- Q350Design semantic search.Coming soon
- Q355What is your fallback when a provider is down?Coming soon
- Q356Design rate limiting.Coming soon
- Q357Scale to millions of users.Coming soon
Learn it in depth
Last updated on 26 November 2026
Designing an LLM system for your team?
Venkat designs and builds AI products and agents, including the UI and the system behind it. Book a short call and say what you need.