What you will be able to do
- Split a business requirement into functional and infrastructure requirements, and connect each one to a specific design decision
- Turn functional requirements into model-selection criteria, hard limits and eval cases
- Choose between synchronous Messages API calls and the Message Batches API from a deadline and a cost target
- Recognise when prompt caching or the web fetch tool meets a stated requirement
Key concept
Requirement-to-decision mapping — Each business requirement is split into what the system must do (functional) and where and within what limits it runs (infrastructure). Each of those then becomes one specific choice of model, API, tool or setting. Pick the simplest choice that meets the requirement.
1.From business requirements to functional and infrastructure requirements
Customers rarely state requirements in API terms. A claims team says reports must be ready when the office opens. A hospital says patient text must stay in the US. A product manager says the assistant must read any PDF a user links to. These are business requirements, and design starts by splitting each one into two kinds of statement. A functional requirement says what the system must do: summarise two million records overnight, answer from a policy document, read a referenced page. An infrastructure requirement says where the system runs and within what limits: where inference happens, which platform it uses, how long data may be retained, and how much throughput it needs.
Each requirement should end as a specific decision, and the default is the simplest decision that meets it. More elaborate designs cost something: agentic systems often trade latency and cost for better task performance. If one well-prompted call meets the requirement, an agent loop is not justified. Choosing between workflows and agents, when a requirement does need more structure, belongs to Agent patterns and frameworks. This lesson is about reading requirements well enough to know which decision each one forces.
Checkpoint 1 of 6· Check yourself
A claims team needs every overnight report summarised by the time the office opens. In testing, one well-prompted call per record, with the policy document in context, meets the accuracy target and finishes well before 8am. What should the design be?
The default is the simplest decision that meets the requirement. Agentic systems trade latency and cost for performance, so they are only justified when one well-prompted call falls short.
“When building applications with LLMs, we recommend finding the simplest solution possible, and only increasing complexity when needed.”Source: www.anthropic.com
2.Functional requirements as model-selection criteria
The models themselves, and the two usual starting points, are covered in Model lineup and choosing a starting model. The requirements work is turning what the customer said into the criteria that choice rests on. Choosing a model means balancing capabilities, speed and cost, so rewrite each functional requirement as one of these three. 'Must interpret scanned contracts' is a capability criterion. 'Must answer while the caller is on the line' is a speed criterion. 'Must handle every ticket of a 40,000-ticket day within budget' is a cost criterion.
Some criteria are pass or fail, not trade-offs. Every model has a fixed Context window and a maximum output size. A requirement such as 'review the whole contract in one request' or 'return the complete report in one response' therefore eliminates any model whose limits are too small, before speed or cost is considered. Check these limits in the models table first. A model that fails them is out, however well it scores elsewhere.
Compare the remaining candidates with an eval built from the functional requirements. The cycle itself is taught in Eval-driven iteration. Build test cases from your real prompts and data, including the edge cases the requirements name. Compare the models on accuracy, response quality and edge-case handling, then weigh performance against cost. If a requirement cannot be written as a test case, it is not yet specific enough to select a model against.
Checkpoint 2 of 6· Match them up
A customer's brief contains the four requirements below. Match each one to the kind of model-selection criterion it becomes.
Tap a term, then the definition that fits it.
Choosing a model means balancing capability, speed and cost, so most functional requirements become one of those three criteria. A requirement that depends on the context window or the maximum output size is different: it is pass or fail, and it rules out models before speed or cost is considered.
“Choosing a Claude model means balancing capabilities, speed, and cost.”Source: platform.claude.com
Sources2
3.Deadlines and cost: synchronous calls or the Message Batches API
When a result is needed is a functional requirement, and it decides which API to use. The Messages API handles one request at a time and responds immediately. The Message Batches API accepts many Messages requests in one submission and processes them asynchronously, each request independently. You poll the batch for its status and retrieve results once processing has ended. Batching suits work that does not need an immediate response: most batches finish in under an hour, costs are 50 percent lower, and throughput is higher.
| Requirement signal | Synchronous Messages API | Message Batches API |
|---|---|---|
| When results arrive | Immediate response to each request | Asynchronous; most batches finish in less than 1 hour |
| Cost per request | Standard pricing | Costs reduced by 50 percent |
| Typical workload | A user or process waiting on the answer | Large volumes of data, large-scale evaluations or analyses |
The deciding phrase is usually the deadline. 'Results by the next business morning' combined with 'minimise per-token cost' describes batching exactly: the deadline is hours away, and the 50 percent reduction applies to every request. 'The user is waiting' rules batching out however large the discount, because results come back only after the batch has finished processing them. Streaming does not change this trade-off. It changes how a synchronous response is delivered, not what each token costs.
Checkpoint 3 of 6· Exam question
A data team runs nightly analysis over millions of records. Results are only needed by the next business morning, and minimizing per-token cost is the top infrastructure priority. Which processing approach should the architecture use?
Correct answer: B — The Message Batches API
- A. Synchronous Messages API calls are priced at standard rates and are built for immediate, per-request responses, not for minimizing cost on a large overnight-tolerant workload.
- B. The Message Batches API processes large volumes of requests asynchronously at 50% lower cost than standard API calls, matching an overnight, cost-first workload with no immediate latency need.
- C. Streaming responses reduce perceived latency for interactive use, which is irrelevant here since results are only needed by the next morning, and it does not reduce per-token cost.
- D. Re-uploading files repeatedly adds unnecessary overhead and is meant to avoid redundant uploads across separate requests, not to reduce per-token processing cost for a batch analysis job.
Sources3
4.Repeated content: prompt caching
When a requirement involves the same large block of content on every call, the answer is prompt caching. A support assistant resends its system prompt of product policies and tone rules on every turn. An agent resends its tool definitions and its growing conversation history. These are the things to cache: system instructions and prompts, large context documents, tool definitions and conversation history. Tokens read from the cache are billed at the cache read rate, which is a fraction of the base input price. A long, unchanged prefix stops costing full price on every turn.
Caching and batching answer different questions, and one design can use both. Batching is about when the answer is needed. Caching is about whether the input repeats. A nightly job whose requests share a long instruction block can submit them as a batch and also cache the shared block. A multi-turn chat with a heavy system prompt cannot wait for a batch, so caching is its only lever on input cost.
Checkpoint 4 of 6· Check yourself
Every turn of a live support chat resends the same 15,000-token system prompt of product policies and tone rules. Users wait for each reply. Which change cuts the input cost of those turns?
The repeated input is a long, unchanged prefix, so prompt caching applies. Cached tokens are billed at the cache read rate, which is a fraction of the base input price. Batching is ruled out because a user is waiting for each reply. Streaming changes how a response is delivered, not what the tokens cost.
“Those cached tokens are billed at the cache read rate, a fraction of the base input price.”Source: platform.claude.com
Checkpoint 5 of 6· Exam question
A customer support session sends the same lengthy system prompt, containing product policies and tone guidelines, on every turn of a multi-turn conversation. The team wants to reduce the repeated processing cost and latency of that unchanged content. Which feature should they enable?
Correct answer: A — Prompt caching
- A. Prompt caching lets Claude reuse previously processed background content, such as a repeated system prompt, across turns to reduce cost and latency for the unchanged portion.
- B. Token counting only estimates how many tokens a prompt will use before sending it; it does not reduce the cost or latency of processing repeated content.
- C. Batch processing is for asynchronous, non-latency-sensitive bulk workloads, not for reducing repeated-content cost within an interactive multi-turn conversation.
- D. Data residency controls the geographic location where inference runs; it has no effect on reducing repeated processing cost for unchanged prompt content.
Sources4
5.Reading specific pages and PDFs: the web fetch tool
When a functional requirement says the system must read the full content of specific web pages or PDF documents that come up in a conversation, the built-in tool for it is web fetch. It retrieves the full content of specified webpages and PDF documents. Web fetch is a server tool: the API fetches the content during the request and inserts the results into the conversation. In the normal case your code runs nothing and returns no tool_result, so the customer hosts no fetching infrastructure.
The tool version can also depend on the model. The latest version, web_fetch_20260318, supports dynamic filtering: Claude writes and runs code to filter fetched content before it reaches the context window, which cuts token use. Dynamic filtering requires Claude 4.6 or later models, or Claude Mythos Preview. A requirement to keep token use down on large fetched pages therefore also limits which models you can choose.
Tool availability also depends on the platform. Web fetch is available on the Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed) and Microsoft Foundry. Foundry deployments hosted on Azure support only the basic version, web_fetch_20250910, without dynamic filtering. Any functional requirement that relies on a built-in tool has to be checked against the platform that the infrastructure requirements select.
Checkpoint 6 of 6· Exam question
An agent needs to retrieve and analyze the full content of specific web pages and PDF documents referenced during a conversation, using a platform-run tool rather than infrastructure the customer hosts. Which built-in tool satisfies this functional requirement?
Correct answer: B — Web fetch tool
- A. The web search tool augments Claude's knowledge with current search results from across the web; it returns search results rather than the full content of specific pages.
- B. The web fetch tool retrieves the full content from specified web pages and PDF documents for in-depth analysis, matching the requirement to pull specific referenced content.
- C. The code execution tool runs code in a sandboxed environment for data analysis and calculations; it does not retrieve web page or PDF content on its own.
- D. The MCP connector lets Claude call remote MCP servers directly from the Messages API; it is for tool connectivity, not for fetching arbitrary web pages or PDFs.
Sources5
Sources
(5)
Every claim above is drawn from one of these pages, quoted as it was written on the date shown.
- 1.https://www.anthropic.com/engineering/building-effective-agentsSecondary source
“Agentic systems often trade latency and cost for better task performance”
↩︎ From business requirements to functional and infrastructure requirements“we recommend finding the simplest solution possible, and only increasing complexity when needed.”
↩︎ Key concept“When building applications with LLMs, we recommend finding the simplest solution possible, and only increasing complexity when needed.”
↩︎ Checkpoint - 2.
“Choosing a Claude model means balancing capabilities, speed, and cost.”
↩︎ From business requirements to functional and infrastructure requirements“For context windows, output limits, and prices, see the All models table.”
↩︎ Functional requirements as model-selection criteria“Create benchmark tests specific to your use case.”
↩︎ Functional requirements as model-selection criteria“Choosing a Claude model means balancing capabilities, speed, and cost.”
↩︎ Checkpoint - 3.
“most batches finishing in less than 1 hour while reducing costs by 50 percent and increasing throughput”
↩︎ Deadlines and cost: synchronous calls or the Message Batches API“well-suited to tasks that do not require immediate responses”
↩︎ Exam trap 1 - 4.https://platform.claude.com/docs/en/api/rate-limitsOfficial docs
“cache repeated content such as system instructions and prompts, large context documents, tool definitions, and conversation history”
↩︎ Repeated content: prompt caching“Those cached tokens are billed at the cache read rate, a fraction of the base input price.”
↩︎ Repeated content: prompt caching - 5.
“The web fetch tool allows Claude to retrieve full content from specified webpages and PDF documents.”
↩︎ Reading specific pages and PDFs: the web fetch tool“is available on the Claude API, Claude Platform on AWS, Claude Models on Google Cloud (Anthropic managed), and Microsoft Foundry”
↩︎ Reading specific pages and PDFs: the web fetch tool“Dynamic filtering is available with Claude 4.6 and later models and Claude Mythos Preview.”
↩︎ Reading specific pages and PDFs: the web fetch tool“Web fetch is a server tool: the API fetches the content during the request and inserts the results into the conversation.”
↩︎ Exam trap 2