Learning resourcesReviewed · Anthropic

Prompting Claude Sonnet 5

Prompting Claude Sonnet 5 is a guide for developers configuring or migrating Claude applications, with changed thinking defaults and unsupported parameters that can require application updates. It explains effort settings, shared thinking and answer budgets, tool use, writing style, frontend prompts and code-review instructions. Its recommendations are documentation claims, without independent performance validation here.

Researched 15 Nov 2026

In short.

Prompting Claude Sonnet 5 is a guide for developers adapting Claude applications, but automatic thinking and removed API parameters can require changes to existing requests and output budgets. The page says adaptive thinking is enabled when the thinking field is omitted, effort defaults to high, and max_tokens covers both thinking and the answer. It also addresses literal instruction following, tool triggering, frontend design variation and code-review coverage. These details make it useful for migration planning and prompt tuning. Prices, reproducible benchmarks and complete API setup instructions are absent, and no examples or model behavior were executed or independently verified.

Researched and written by an AI model and checked by a second AI model. How it works

Covers the complete selected documentation page at [https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5.md], including its token-budget warning, compatibility notices and examples. Linked model specifications, parameter references, tool documentation and the frontend-design skill are excluded. No API requests, coding tasks, tool integrations, design examples or benchmarks were executed. Pricing, redistribution permission and independent performance evidence are not established.

The overview

Identity

This is model-specific documentation about prompting Claude Sonnet 5, available at [https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5.md]. It teaches configuration and prompting patterns rather than supplying a model, software package or installable assistant skill.

Its scope is behavior that may need tuning, especially when moving from Claude Sonnet 4.6. It directs readers elsewhere for full model specifications and techniques shared across Claude models.

Assessment

The guide is most useful as a migration and configuration reference. It identifies concrete compatibility problems: previously omitted thinking settings now enable adaptive thinking, manual thinking budgets are unsupported, and temperature, top_p and top_k are rejected.

Its advice connects symptoms to adjustments, such as raising effort for shallow reasoning or increasing the output budget when thinking leaves an answer truncated. Claims about stronger coding ability, efficiency and comparative intelligence are not accompanied by reproducible measurements.

Users

The clearest audiences are developers maintaining Claude API integrations, coding assistants, tool-using agents and structured extraction pipelines. Writers configuring a consistent product voice and developers generating frontend interfaces also receive specific guidance.

Beginners can use the prompt examples, but applying the configuration advice requires understanding API request fields and output limits. Experienced developers will find the migration warnings and discussion of code-review reporting thresholds more directly actionable.

Capabilities

The page covers response length, effort levels, adaptive thinking, tool triggering, progress updates, literal instruction following and writing tone. It also describes ways to request distinct frontend design directions and to avoid suppressing useful code-review findings through vague reporting thresholds.

For computer interaction, it lists computer_toolset_20260801 with computer_20251124 and browser_toolset_20260801 for webpage tasks. It states a maximum resolution of 2576px / 3.75MP and recommends considering 1080p, 720p or 1366×768 according to quality and cost needs. The underlying internal test results are not supplied.

Using it

Requirements

Applying the API guidance requires an integration that can configure effort, thinking and max_tokens. Advice about tool behavior assumes the application provides suitable tools and instructions explaining when to use them.

The page does not establish account eligibility, authentication steps, SDK versions, a complete request format or hardware requirements. The computer and browser tool identifiers are compatibility details, not a complete integration tutorial.

Mechanism

Effort controls the amount of reasoning work the model allocates. The documented levels are low, medium, high, xhigh and max, with high as the default and xhigh recommended for the hardest coding and agent tasks. The guide warns that low effort can produce insufficient reasoning on moderately complex problems.

Adaptive thinking lets the model decide when to use thinking and is enabled when the thinking field is absent. The guide says thinking can be disabled explicitly, while manual extended thinking with type enabled and budget_tokens returns a 400 error.

The max_tokens limit includes thinking and response text. More thinking can therefore leave less room for the final answer. The page also says higher effort tends to increase tool use, while disabling thinking can reduce tool triggering.

Setup

For an existing Sonnet 4.6 integration, review requests that omit thinking, replace manual thinking budgets with adaptive thinking and effort, and remove temperature, top_p and top_k. The page says those sampling parameters return a 400 error on Sonnet 5.

Revisit max_tokens before carrying over previous limits. Then review prompts for explicit scope, desired answer length, tone and progress-message style. The guide recommends showing positive examples of concise output and stating clearly when an instruction applies across every item or section.

Example

For frontend work, the guide suggests asking for four distinct visual directions before implementation. Each direction should identify a background color, accent color, typeface and short rationale; the user then chooses which direction to build.

This gives the model an explicit variation task when temperature is unavailable. The page also provides a detailed alternative brief specifying palette, typography, layout, corner radius and hover behavior. No resulting interfaces or comparisons are supplied, and neither example was run here.

Assessment & evidence

Limitations

This is behavioral guidance, not a complete API reference or benchmark report. It lacks full working requests, access instructions, pricing and reproducible quality or latency results. Runtime behavior remains unassessed because nothing was executed.

Several recommendations depend on workload. Lower effort may under-reason, higher effort may consume much of the output budget, and stricter interpretation of review thresholds may reduce reported findings. The page's explanation that lower review recall can reflect instruction following is a proposed cause to investigate, not proof about any particular application.

Reasoning

The guide's practical value comes from explaining interactions between settings. An unchanged request can behave differently when omitted thinking now enables reasoning, reasoning shares the answer budget, and older sampling controls cause request errors. This makes configuration review relevant even when existing prompts appear usable.

For model comparisons, the guide recommends matching observed thinking length rather than effort names. It offers rough intelligence mappings from Sonnet 5 medium to Sonnet 4.6 high, and Sonnet 5 high to Sonnet 4.6 max. These are documentation claims without supporting benchmark methods or results on this page.

Alternatives

For broader prompting advice, the page points to Prompting best practices [https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices]. For model specifications, it points to the Sonnet 5 overview [https://platform.claude.com/docs/en/models/sonnet-5/overview]. Their contents are outside this assessment.

It also links a frontend-design skill for more detailed design guidance [https://github.com/anthropics/claude-code/blob/main/plugins/frontend-design/skills/frontend-design/SKILL.md]. That linked skill was not assessed. Sonnet 4.6 serves as a migration comparison in the guide; the page does not establish how competing providers or models compare.

Evidence

The evidence consists of the complete supplied documentation page at [https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-sonnet-5.md]. It includes explanatory text, prompt examples, compatibility warnings and statements about model behavior.

The page refers to internal computer-use testing and makes qualitative performance comparisons, but supplies no underlying datasets, numeric evaluation tables or reproducible procedures. Its statements support an account of the documented guidance, not independent confirmation of model performance.

Access & freshness

Costs

Model prices, tool charges and measured task costs are unknown from this page. It describes lower effort as a way to reduce token use and latency, with a possible reduction in reasoning quality, but provides no quantified savings.

The guide says the new tokenizer produces approximately 30 percent more tokens for the same text, depending on content and workload. That warning supports revisiting token limits; it does not establish a 30 percent increase in monetary cost. The max effort setting also does not remove the separate max_tokens cap.

Rights

The supplied page contains no explicit license or redistribution grant for its text and examples. Permission to redistribute the document is therefore unknown.

It also does not establish API service terms, data-handling terms or ownership rules for generated output. Those cannot be inferred from the prompting advice or from links to other resources.

Freshness

The supplied document was captured on 15 November 2026 at 00:58:37.707 UTC. It contains no explicit publication or last-update date, so the capture time does not establish when its guidance was written.

Its defaults, parameter restrictions and tool identifiers explicitly concern Sonnet 5. Later changes and compatibility with other model versions are unknown from this snapshot.

Actions

Before adopting the guidance, inspect existing requests for removed parameters, manual thinking budgets and assumptions about omitted thinking. Check that output limits leave room for both reasoning and an adequate answer.

Evaluate representative tasks for correctness, answer completeness, token use, latency and tool behavior. For code-review applications, measure reporting coverage as well as precision, and make severity thresholds explicit. For interactive coding products, provide the task, intent and constraints upfront; the guide recommends high or xhigh effort and fewer required interruptions.

Use the documented settings as starting points for workload-specific evaluation. Actual costs, successful integration and performance improvements remain unknown until measured.

Evidence for this report

selected-page.txtselected · checked 2026-11-15