Prompting Claude Opus 5 Anthropic's Claude Opus 5 is built for complex agentic coding and enterprise work, with particular strengths in long-horizon agentic tasks, and performs well out of the box on existing Claude Opus 4.8 prompts. The model introduces an effort parameter (low, medium, high, xhigh) to control thinking volume and token cost, and benefits from explicit guidance on response length and narration style in agentic sessions. We use cookies to deliver and improve our services, analyze site usage, and if you agree, to customize or personalize your experience and market our services to you. You can read our Cookie Policy here https://www.anthropic.com/legal/cookies . This guide covers the prompting patterns specific to Claude Opus 5. For the model's capabilities and API changes, see What's new in Claude Opus 5 /docs/en/about-claude/models/whats-new-opus-5 . For techniques that apply across all current Claude models, see Prompting best practices /docs/en/build-with-claude/prompt-engineering/claude-prompting-best-practices . Claude Opus 5 is built for complex agentic coding and enterprise work, with particular strengths in long-horizon agentic tasks. It performs well out of the box on existing Claude Opus 4.8 prompts. The following patterns cover the behaviors that most often require tuning. For API changes when migrating from Claude Opus 4.8 thinking on by default, and disabling thinking capped at high effort , see the migration guide /docs/en/about-claude/models/migration-guide migrating-from-claude-opus-4-8-to-claude-opus-5 . Compared with Claude Opus 4.8, the improvements most relevant to prompting are: low and medium high and adjust based on your evals: use low and medium liberally as your primary control for token cost and response time wherever quality holds, and step up to xhigh for demanding coding and agentic work. If you carried effort defaults over from a prior model, re-run an effort sweep on your own evals. See Claude Opus 5's default user-facing responses run longer than prior Opus models'. The effort parameter /docs/en/build-with-claude/effort controls how much the model thinks /docs/en/build-with-claude/thinking-steering-and-cost rather than how much it says: lowering effort can reduce thinking volume without reliably shortening the visible response. To control response length, prompt for it explicitly. A short conciseness instruction is effective. For example, for a user-facing multi-turn product: Keep responses focused, brief, and concise. Keep disclaimers and caveats short, and spend most of the response on the main answer. When asked to explain something, give a high-level summary unless an in-depth explanation is specifically requested. In a long system prompt, pair the instruction with a short reminder near the end of the prompt: