Chapter 4. Reasoning and multi-step tasks

Learning objectives

  • Explain the impact of reasoning models, reasoning tokens, and reasoning effort on quality, cost, and latency.
  • Select reasoning effort according to task type and latency requirements, and verify that choice through evaluation.
  • Adjust the level of instructions to match reasoning models, and request verifiable rationale instead of thought processes.
  • Decompose multi-step tasks into step-by-step prompts, and design input-output contracts and gates between steps.
  • Identify cases where splitting is disadvantageous, and distinguish between parallel and sequential execution.

Introduction

A marketing agency included "Think step by step and thoroughly" in a prompt for generating advertising copy and set the highest reasoning effort. The results improved slightly, but each response took dozens of seconds, and the bill tripled. Conversely, a team building a contract review feature processed everything at once with low effort to make it fast, but judgment was frequently incorrect on clauses where three or more conditions were intertwined. The advertising team missed deadlines while waiting for responses, and the contract review team trusted incorrect judgments and overlooked a risky clause. The two teams appeared opposite, but they made the same mistake: they did not align the cost of thinking with the nature of the task.

This chapter begins with what it means for a model to "think" and where that cost comes from. Next, it examines the differences between reasoning models and standard models, the knob known as reasoning effort and the procedure for tuning it, the relationship between output limits and reasoning tokens, prompts suited for reasoning models, and why models must not be made to write their thought processes in the output. The second half covers how to decompose tasks. It covers workflow patterns, input-output contracts between steps, turning self-review into concrete checks, parallel versus sequential execution, and subagents, and in Going deeper examines the cost of excessive decomposition and tasks spanning multiple context windows.

Key concepts

Reasoning is scratch paper

In a math exam, a student who writes out steps on scratch paper handles difficult problems better than a student who calculates mentally, but takes more time. A reasoning model also writes its thoughts on scratch paper before answering. Anthropic documentation explains that when thinking is enabled, the model reformulates the problem, tries multiple approaches, checks intermediate results, and abandons paths that do not fit.

This scratch paper is not free. The documentation of both companies describes the same structure.

Item OpenAI Anthropic
Visible Reasoning tokens are not visible in the API, and a summary can be viewed upon request The text in the thinking block is a summary rather than the original thinking, and some recent models leave even the summary empty by default
Billing Billed as output tokens Billed as output tokens even if text is not returned
Window and limit Occupies the context window and is included in max_output_tokens Included in max_tokens along with the response text

Therefore, deciding when and how much to use reasoning becomes part of the design. It must also be remembered that reasoning merely thinks more deeply with existing information; it does not produce new facts that are not in the context.

Reasoning models and standard models

The OpenAI guide compares reasoning models to "senior colleagues" and standard GPT models to "junior colleagues." The senior works with only high-level guidance, but the junior needs clear instructions. Reasoning best practices compare reasoning models to "planners" who plan complex multi-step problems, and GPT models to "workers" who handle well-defined tasks quickly and cheaply, stating that most workflows use both together.

Anthropic uses adaptive thinking in its latest models. This is a mechanism where the model examines the complexity of the request and the reasoning effort setting to determine for itself whether to think and how much to think. It does not always skip thinking just because a question is easy. Claude Sonnet 5.5 thinks briefly even on greetings if set to medium or higher. In some recent models, thinking is always enabled and cannot be turned off. The budget_tokens used in earlier extended thinking still works in Claude Opus 4.6 and Sonnet 4.6, but is already a deprecated method and produces a 400 error in models after Claude 4.7. Reasoning effort is now the primary means of adjustment.

The knob called reasoning effort

Category OpenAI Anthropic
Parameter reasoning.effort (reasoning_effort for Chat Completions) output_config.effort
Values Depending on the model, some of none, minimal, low, medium, high, xhigh, max Whichever of low, medium, high, xhigh, max the model supports
Default Varies by model Fable 5.1 and Sonnet 5.5 default to high, Opus 5.5 and Haiku 5.5 default to medium (as of 2026-11)
Character A tuning knob rather than the primary way to increase quality A behavioral signal rather than a strict token budget

Both companies explain that low effort is advantageous for speed and cost, while high effort is advantageous for thorough reasoning. Anthropic documentation notes that effort affects all tokens, including explanatory text and tool calls as well as thinking, so that at low effort, tool calls decrease and become shorter. The phrase "behavioral signal" means that even at low effort, the model thinks if the problem is sufficiently difficult, but it thinks less than it would on the same problem at high effort. If an exact upper bound is required, use max_tokens rather than effort.

Note also that effort is not a length-control knob. Anthropic documentation advises specifying length via instructions, as varying effort does not reliably change the length of visible responses in some models.

Procedure for aligning reasoning effort with cost and latency

Effort is chosen not by intuition, but by measurement. Best practices in Anthropic documentation recommend explicitly setting effort, using low effort for simple or latency-critical tasks, testing on one's own tasks, and varying effort according to task complexity. Translating this into a procedure yields the following:

  1. Decompose tasks by type. Even within the same feature, simple lookup, structured extraction, and multi-condition judgment belong to different types.
  2. Establish acceptable latency and quality floors for each type. Use numerical targets, such as "within 2 seconds, accuracy of 95% or higher."
  3. Run the same evaluation set while varying effort (sweep). Record accuracy, average and maximum response times, and output tokens for each effort level.
  4. Select the lowest effort that exceeds the quality floor. If that effort fails to meet latency requirements, revisit the model or task structure.
  5. Add targeted instructions if only specific types become superficial at low effort. Anthropic documentation cites targeted instructions such as "This task requires multi-step reasoning, so think carefully before responding" as examples when effort must remain low due to latency.
  6. Re-run the sweep when changing models. Even for an effort level with the same name, the amount of thinking varies across models.

Caution

In long conversations using prompt caching, be cautious about changing effort between requests. According to Anthropic documentation, changing the top-level effort value between requests invalidates the cached prefix. Some recent models provide a beta feature to change effort on a per-message basis while retaining the cache; if effort must be changed during a conversation, check whether that feature is supported.

Output limits and reasoning tokens

Reasoning tokens are also included in output limits. OpenAI's max_output_tokens is an upper bound on all tokens generated by the model, including reasoning tokens, visible output, and invisible formatting tokens. Therefore, setting the limit too low may cut generation off midway through reasoning, resulting in an incomplete response status and potentially no visible answer at all. When first testing reasoning models, OpenAI recommends allocating at least 25,000 tokens for reasoning and output combined, adjusting based on usage. Anthropic similarly advises setting max_tokens generously at high effort, as it is a strict upper bound on total output combining thinking and response text.

Example: The output limit is set to 4,000 tokens, but the model spent 3,600 tokens on thinking.
→ The space remaining for the visible answer is at most 400 tokens. The answer is truncated midway or absent entirely.
→ Cost is billed for the tokens consumed.

Control answer length through instructions, not through limits. Use limits as safeguards to prevent thinking from running endlessly.

Prompts for reasoning models

Provide reasoning models with goals rather than procedures. OpenAI documentation recommends providing clear goals, strong constraints, and explicit output formats without prescribing every step, and reasoning best practices explain that because reasoning occurs internally, phrases like "think step by step" are unnecessary and can sometimes degrade performance. Anthropic documentation also notes that general instructions such as "think thoroughly" often yield better reasoning than human-authored step-by-step plans.

Habits for standard models What to change for reasoning models
Prescribing steps in detail from 1 to 10 Make goals, constraints, success criteria, and output formats clear
"Think step by step" Remove it or replace it with effort settings
Including many examples Test without examples first; if needed, include a few examples illustrating the method
Ambiguous completion point Define what constitutes "done" and how to verify it

OpenAI documentation emphasizes defining what constitutes "completion" in agent or research tasks, as well as how the model will verify its own results. Anthropic documentation also recommends providing clear success criteria for research tasks and having information verified across multiple sources. The more open-ended a task is, the more essential it is that termination conditions be present in the prompt.

Do not have the model write thought processes in the output

In the days before thinking capabilities existed, the instruction "write your thoughts first, then answer" was a common technique. In models where thinking could be disabled, this method remained an alternative, but in current models where thinking cannot be disabled, such as Claude Opus 5.5, circumstances are different. Demanding that the model reproduce its internal reasoning in the response text may result in a response with a stop_reason of refusal and a category of reasoning_extraction. Common causes cited by official documentation include:

  • <thinking>, <reasoning>, or scratchpad sections that must be filled before answering
  • reasoning, thinking, or trace fields in JSON outputs or tool inputs
  • Instructions to continuously log the model's private notes or reasoning history
  • Requests to write out the reasoning verbatim or in its entirety

Such phrases can lurk in tool descriptions as well as in system prompts. Because there is no recommended fallback model for this category, the prompt must be fixed rather than retried. Verifiable rationale can still be obtained: request a brief explanation, evidence supporting the result, or a summary of the actions taken. If one wishes to see how the model reasoned, set display to summarized to read the summary in the thinking block. What a reviewer needs to verify is not the traces of thinking, but the rationale supporting conclusions, assumptions used, and verifiable calculations.

Task decomposition and workflow patterns

Decomposing a long task into multiple calls instead of requesting it all at once is called prompt chaining. Anthropic's article on agent design recommends starting from the simplest solution and increasing complexity only when necessary, organizing frequently used patterns as follows:

Pattern What it does When it fits
Chaining Sequential calls with programmatic checks (gates) in between Tasks that divide cleanly; trades latency for accuracy
Routing Classifies input and routes it to dedicated pathways Tasks better handled separately by category; simple questions go to smaller models
Parallelization (sectioning) Runs independent subtasks concurrently For speed, or when examining from distinct perspectives
Parallelization (voting) Runs the same task multiple times When confidence must be increased
Orchestrator-workers A central model defines subtasks and delegates them When subtasks cannot be known in advance (e.g., code changes modifying multiple files)
Evaluator-optimizer An iterative loop where one side generates and the other critiques When evaluation criteria are clear and the effect of iterative improvement can be measured

As adaptive thinking and subagent orchestration handle most multi-step reasoning inside the model, chaining is not always necessary. Anthropic documentation cites inspecting intermediate results and enforcing specific pipeline structures as cases where explicit chaining remains useful. Dividing steps into separate calls allows logging, evaluation, and branching at each step, as well as inserting gates such as human approval.

Step-by-step input-output contracts

Once steps are divided, define what passes between them like a contract. Without a contract, even a minor format change in an earlier step can break subsequent steps, and rationale is lost along the way.

Step Input Output (format) Passing condition Task type
1. Extraction Source document Item list (JSON, source location for each item) Passes schema validation, no missing required items Extraction
2. Judgment List from 1 + criteria table Determination and rationale location for each item Determination value within allowlist Judgment
3. Drafting Determinations from 2 Reader-facing document Content of document matches determinations Transformation

There are three principles. First, pass only what is needed for the next step, but ensure that the location of the rationale (document number, paragraph number) is tracked to the end. Second, verify gates with code whenever possible. Third, identify the task type from Chapter 1 for each step, ensuring that polishing does not take place during the extraction step. What contracts prevent above all is error propagation. If a single number is misread in the extraction step, subsequent steps build seamless logic on top of that wrong number, making it difficult for a reviewer examining only the final document to notice the error. Retaining intermediate deliverables along with source locations at each step allows re-executing from the step where the error originated rather than starting over from the beginning when a result is incorrect.

Turning self-review into concrete checks

The most common chaining pattern is self-review. Anthropic documentation explains dividing the three stages—generating a draft, reviewing it against criteria, and revising based on the review—into separate calls.

Call 1: Generate draft with instructions containing a checklist
Call 2: Review draft item by item against the same checklist (pass/fail and location)
Call 3: Generate revision modifying only failed items

Vague requests like "check again" have weak effects. Omitted requirements, consistency between source text and numerical values, exception conditions and counterexamples, and even "conditions that need no revision" must be specified. Without this last item, the review stage will alter parts that were already sound. If it must be completed within a single call, append "Before finishing, verify the answer against [test criteria]." However, Anthropic documentation warns that some models verify their work well even without instructions, and verification prompts meant for earlier models can trigger over-verification. Set an upper limit on the number of revisions; if the limit is reached, flag the remaining issues and hand off to a human.

Parallel, sequential, and subagents

Execute tasks that do not depend on each other concurrently, and handle tasks requiring previous results sequentially. Anthropic documentation explains that recent models execute independent tool calls in parallel, and that this behavior can be tuned through instructions. The example instructions state to perform all calls without dependencies concurrently, but execute sequentially when the result of a previous call determines parameters, and never guess missing parameters or fill them with placeholders. Parallel execution reduces latency, while sequential execution preserves accuracy. The criterion separating the two is dependency.

Subagents represent parallelism at a larger unit. They perform focused tasks in a clean context and return only summaries, making them strong for broad research, but their cost is high. Anthropic's article on multi-agent research systems reports that agents consume approximately 4 times more tokens than chat, and multi-agent systems approximately 15 times more, explaining that rules were established so that a single agent and 3 to 10 tool calls suffice for simple fact-checking. Anthropic documentation also notes that some models spawn subagents excessively, providing example instructions to use them only for independent tasks that can run in parallel or require isolated contexts, and to perform simple or sequential tasks directly.

When defaults change, the same request runs differently

Requests sent without effort are processed using the model's default value. The problem is that this default varies across models and changes even within the same family. As of November 2026, Claude Fable 5.1 and Sonnet 5.5 default to high, while Opus 5.5 and Haiku 5.5 default to medium. Opus 5 processed requests omitting effort as high, but Opus 5.5, released on 2026-09-22, runs the same request as medium. A deployment that changes only a single line with the model name becomes a deployment that changes effort as well.

Even with the same level name, the amount of thinking changes when the model changes. Anthropic advises re-running evaluation sweeps, noting that it recalibrated the effort levels of Sonnet 5.5 differently from Sonnet 5. Step 6 of the procedure for tuning effort addresses precisely this case.

When reducing thinking, effort is also the only knob. Adaptive thinking has no separate thinking token budget, and the model determines whether and how much to think for each request. Writing "think less" in the system prompt does not work reliably. If thinking seems excessive, lower the effort.

Consider an example. An insurance company team migrated a claims classification feature from Opus 5 to Opus 5.5, but there was no effort in the request code. After deployment, responses became faster, but misclassifications increased on claims where multiple conditions were intertwined. The model had not become weaker; rather, the omitted effort had changed to medium. The team explicitly specified effort in the code, re-ran sweeps with type-specific evaluation sets, and set values for each type.

Non-disableable thinking and the lowest settings

Code that kept thinking disabled on fast paths must be modified first when migrating to current Claude models. Opus 5 accepted thinking.type: "disabled" at effort levels of high or below, but Opus 5.5 always runs with adaptive thinking and thinking cannot be disabled. Depth is adjusted via output_config.effort. In Sonnet 5.5, instead of a disable setting, there is a lowest setting that prevents thinking upfront before responding.

Model Lightest setting Case resulting in a 400 error
Claude Opus 5.5 Adaptive thinking + low effort When sending thinking.type: "disabled"
Claude Sonnet 5.5 thinking: {"type": "between_tools"} at effort of high or below When sending between_tools together with xhigh or max

Two principles also emerge for code receiving responses. First, do not assume a thinking block exists. Because no effort level guarantees a thinking block for every request, handle responses without a block as normal paths. Second, set max_tokens generously. Thinking tokens also count toward max_tokens, so if thinking becomes extended, the limit will be exhausted before the visible answer finishes.

Take an internal messenger bot as an example. An operations team was sending disabled only for greeting paths. When the model was changed to Opus 5.5, other paths functioned normally, but greetings failed with a 400 error. The engineer changed the thinking setting to adaptive and lowered the effort for that path to low to meet the latency requirement.

Reasoning knobs in Gemini and Grok

The principles are the same for other companies' APIs; only the names and ranges of the knobs differ.

Item Google Gemini 4 Argon xAI Grok 4.7, 4.6, 4.5
Knob thinkingLevel (thinking_level) reasoning_effort
Default medium (among low, medium, high) high
Key point max_output_tokens is the total combining thinking and output Reasoning cannot be disabled

Gemini 4 Argon (gemini-4-argon) is Google's latest model as of October 2026. Google documentation recommends evaluating all three levels and choosing the lowest level that exceeds quality standards. This reaches the same conclusion as the sweep procedure in this chapter.

A common stumbling block when migrating is the budget number. The thinkingBudget introduced in Gemini 2.5 was deprecated in Gemini 4. Sending this value alone converts it to the closest thinkingLevel with a warning, but sending both parameters together results in a 400 error. A deprecation notice was also added to the Gemini 3 developer guide. Do not use the thinking_level default value of high or the recommendation to maintain a temperature of 1.0 stated there as the basis for configuring Gemini 4 Argon.

Grok runs at high if effort is not specified. For paths with tight latency requirements, set the value explicitly and verify through evaluation.

Suppose a team building a travel itinerary app migrated code for Gemini 2.5 to Gemini 4 Argon, leaving thinkingBudget: 1024 intact while adding thinkingLevel: "low". All requests returned 400 errors. The legacy line had to be removed for requests to process normally, after which the team re-ran evaluations across the three levels to determine the value.

Going deeper

The cost of excessively divided chains

The belief that dividing tasks makes them better is dangerous. Round-trip latency arises at each step, context gets truncated between steps, and the number of prompts to manage increases. OpenAI's latency optimization guide explains that combining sequential steps into a single prompt and response eliminates round-trip latency, while also recommending testing both approaches with actual production examples because dividing may win if a smaller model can take on most of the work. The same guide also explains that reducing generated tokens has a much greater impact on latency than reducing input tokens.

Questions to determine whether to divide are as follows:

Question If yes
Must intermediate results be inspected by a person or code? Divide
Are different models, efforts, or tools required for each step? Divide
When processed all at once, does the evaluation score fall short of the baseline? Try dividing and compare
Does no one view the intermediate results, and is the quality identical even when processed all at once? Combine
Is the latency budget tight? Combine dependent steps, and run independent steps in parallel

Long tasks spanning multiple context windows

Tasks spanning multiple days do not fit within a single context window. Anthropic documentation recommends setting up scaffolding (tests, setup scripts) in the first window and iterating over the to-do list in subsequent windows. Structured state such as tests is kept in structured files like JSON, progress notes in free text, and work history in git, with each new window beginning with a procedure of reading these records first. Rather than compression, it is sometimes better to recover state from files in a new window. It also recommends clearly stating from the outset the principle not to fabricate passes by deleting or modifying tests.

At work

Solid Metals: Breaking quotation comparison reports into steps

The purchasing team at Solid Metals, a precision parts manufacturer, used a feature that compared raw material supplier quotations to draft purchase approval requests. Each supplier had a different quotation format, and four to five quotations came in per case. At the time, they fed all the quotations in at once with high effort and instructed, "Compare them and write an approval request," in a single call. The phrasing of the approval request was smooth, but twice in the previous month, it compared a quotation in kg and a quotation in tons under the same unit and recommended the wrong supplier. The team lead, who looked only at the approval request, did not notice.

Assistant Manager Jeong of the purchasing team divided the task into three steps and wrote input/output contracts.

  1. Extraction (low effort). Extract the supplier, item, unit price, unit, delivery date, and validity period from each quotation as structured output. Record the quotation's page number alongside each item. Leave the unit exactly as written in the original text.
  2. Gateway (code). Standardize units in code according to a conversion table, and return quotations with missing mandatory items to the person in charge. Stop if a unit not in the conversion table appears.
  3. Comparison and drafting (high effort). Input the standardized table and internal purchasing criteria (weights for price, delivery date, and transaction history), receive determinations by supplier along with supporting page numbers, and then draft the approval request.

Finally, she added one more self-review call using the same checklist. The checklist was: "Is the unit price of the recommended supplier the lowest price in the table, and if not, is the reason stated in the criteria table?", "Does every numerical value have a page number?", and "Was any quotation past its validity period recommended?" It instructed not to touch items that did not need correction.

Assistant Manager Jeong discarded two alternatives. One was to process everything in a single run while putting "Pay attention to units" in bold. She rejected this because the underlying structure—where extraction errors were masked by the final sentences—remained unchanged. The other was a proposal to divide the task more finely into five steps. This was stopped at three steps because it introduced steps where no one inspected the intermediate results, only increasing latency. The effort was also set differently for each step. Because extraction was a structured task, its accuracy on the evaluation set at low effort matched that at high effort, whereas comparison involved multiple intertwined criteria and exceeded the baseline only at high effort.

When compared across 40 quotation packages from the previous three months, all unit confusions were caught at the gateway, and the processing cost per case actually decreased. This was because the extraction step became cheaper. With page numbers attached to the approval request, the team lead's review time also decreased.

River City Youth Job Center: Different amounts of thinking for different questions

River City Youth Job Center operated a consultation bot to answer questions from young job seekers. Questions fell broadly into three categories: simple guidance such as operating hours or location, schedule inquiries for training programs, and grant eligibility determinations. Eligibility determinations involved intertwined conditions such as age, duration of residency, income, and whether other grants overlapped. Initially, all questions were processed at the highest effort, but responses were delayed even for questions asking about operating hours, frequently causing users to close the window.

Officer Ha, the officer in charge, decided to route the questions. First, a lightweight classification call determined the question type and sent it to a type-specific path. For simple guidance, model generation was minimized by having it select from a list of prewritten answers. For schedule inquiries, it briefly summarized the results of calling a schedule tool. For eligibility determinations, it passed in the eligibility criteria table and the conditions entered by the user to receive a determination, supporting clauses, and a list of missing information.

The effort was determined through a sweep. Officer Ha created 60 evaluation questions for each type and first established the latency tolerance and quality baseline.

Type Allowable latency Quality baseline Effort selected from sweep
Simple guidance 1-second range 98% accuracy Lowest effort
Schedule inquiry 3 seconds 95% accuracy Low
Eligibility determination 15 seconds 90% accuracy, 100% supporting clauses High

In eligibility determinations, medium effort also exceeded the quality baseline, but incorrect answers were concentrated exclusively in questions where four or more conditions were intertwined. Officer Ha chose to increase the effort. This was because the allowable latency was generous, and incorrect eligibility guidance could result in users missing support opportunities. In addition, the sentence remaining from the previous prompt—"Write your entire thought process in <thinking> tags"—was deleted and replaced with "Briefly state the criteria table clause number and the user conditions that served as the basis for the determination." What counselors needed to verify was the evidence, not the traces of thinking.

At a review meeting, the question arose: "What happens if the type classification is wrong?" Officer Ha established a default rule to route to the eligibility determination path whenever confidence in classification was low. This was because erring on the slower side was better than providing incorrect guidance. After deployment, responses for simple guidance became noticeably faster, and accuracy for eligibility determinations was maintained. An operational rule was recorded to rerun the sweep with the same evaluation questions whenever models were replaced.

Common mistakes

  • Maximum effort is always best. In simple, high-volume tasks, it only increases latency and cost. Select per task and verify through evaluation.
  • A single line of "Think step by step" is all that is needed. In reasoning models, this can be unnecessary or harmful, and it fails to satisfy task-specific latency and accuracy requirements.
  • Having the thinking process written in the body allows verification. Visible thinking is merely a summary, and in the latest models with thinking enabled, requests to reproduce reasoning may be refused. Require evidence, assumptions, and calculations.
  • Lowering the output limit makes answers shorter. In reasoning models, this can cut off generation mid-reasoning and produce an empty answer. Specify length through instructions.
  • The more you divide, the higher the quality. Intermediate steps that no one inspects only increase latency and maintenance costs. Compare against a single-run version.
  • Using subagents is always faster. It consumes significantly more tokens and is actually slower for simple lookups.
  • Running dependent tool calls in parallel is also fast. Running calls that require prior results concurrently forces the model to guess values.

Summary at a glance

Topic What to remember
Reasoning tokens Invisible or visible only as summaries. Billed as output and included in the output limit
Reasoning effort OpenAI reasoning.effort, Anthropic output_config.effort. A behavioral signal whose default varies by model
Tuning effort Latency and quality baselines by type → Sweep → Lowest effort exceeding baselines → Rerun when models change
Output limit Generous (OpenAI recommends at least 25,000 tokens initially). Control length through instructions
Reasoning model prompts Goal, constraints, completion conditions, and output format. Strip away granular steps and "Think step by step"
Prohibition of thinking extraction Requests for thinking blocks or thinking fields may be refused. Request brief explanations and evidence
Decomposition Divide when intermediate inspection or structural enforcement is necessary. Start with simple solutions
Contracts Input, output, transition conditions, and task type for each step. Preserve citation locations until the end
Parallel and sequential Dependencies are the criterion. Do not force parameters to be guessed

Check the official docs

Self-check

4-1. State two effects that reasoning tokens have on cost and context, and explain how the text displayed in the thinking block differs from the original thinking process.

4-2. Explain the meaning of the statement that Anthropic's effort is "a behavioral signal rather than a strict token budget," and answer what should be used when an exact upper limit on output is required.

4-3. Questions for an internal document search assistant are divided into two types, simple lookup and comparative analysis, to determine the reasoning effort. Write the procedure for choosing the effort in sequential order.

4-4. In a request to a reasoning model with a low output limit set, the visible answer returned empty. Explain the cause and write two countermeasures.

4-5. A prompt written for a general model includes the procedure "Step 1: Read the problem ... Step 7: Write the answer" and "Think step by step." Write what to keep and what to change when migrating it to a reasoning model.

4-6. A design proposal was submitted to place a thinking field in the evaluation result JSON to receive lengthy reasons for the determination. Explain the problems that may arise with modern models that have thinking enabled, and propose an alternative field design that achieves the intended purpose.

4-7. A press release for a new product launch is created in three stages: (a) extracting facts from the product specification, (b) comparing with competing products, and (c) drafting the press release. Write an input-output contract table for each stage, and propose one gate to place between the stages.

Hands-on tasks

Exercise

Reasoning effort sweep (45 minutes)

  1. Prepare 10 easy tasks (sentence classification) and 10 difficult tasks (judgment questions involving three or more interlocking conditions), and write down the correct answer for each first.
  2. For each task type, define the acceptable latency and the quality floor as numbers.
  3. Run all 20 tasks on the same model, varying the reasoning effort among low, medium, and high.
  4. Organize the accuracy rate, average response time, and output tokens by effort into a table.

Done when: For each of the two types, select "the lowest effort that exceeds the quality floor," write it down along with the rationale, and indicate whether that effort also satisfies the acceptable latency.

Exercise

Single-pass vs. chain comparison (50 minutes)

  1. Choose an actual task that can be divided into multiple stages (e.g., extracting decisions from meeting minutes → organizing to-dos by assignee → drafting an announcement).
  2. Create Version A as a single call and Version B as stage-by-stage calls. In B, include an input-output contract table for each stage and one gate to be verified by code.
  3. Run both versions with five inputs, and record the number of errors in the final result, total response time, and the stage where errors occurred.
  4. Create Version C by adding one self-review call using the same checklist, and observe the change in the number of errors.

Done when: Organize the error counts and response times of the three versions into a single table, and write in two sentences which version to use for this task and the reason why.