Be specific about format. Tell Sonnet 4.5 exactly how you want the output structured — a bullet list, a step-by-step walkthrough, a table, a JSON object, or a specific number of paragraphs. It follows formatting instructions accurately and the output quality improves when the format is explicit.
Use the system prompt for persistent instructions. When using Sonnet 4.5 via the API, the system prompt is your tool for setting tone, role, output constraints, and context that should apply to the entire session. Invest time in a well-structured system prompt and the quality of every response improves.
Give it context, not just queries. Sonnet 4.5 performs best when it understands why you're asking something, not just what you're asking. Include relevant background — the purpose of the project, constraints you're working under, the audience for the output, the decisions that led you here. Richer context leads to more relevant, precise answers.
Enable extended thinking for hard problems. When tackling complex reasoning tasks through the API, you can enable extended thinking to give Sonnet 4.5 more compute for deliberation. This is especially valuable for logic puzzles, mathematical reasoning, nuanced analysis, and any task where the first-pass answer is often insufficient.