Opus 4.7 feels more intelligent, agentic, and precise than 4.6. It took a few days for me to learn how to work with it effectively, to fully take advantage of its new capabilities. Will post a few more tips throughout the day, starting with this blog post: https://claude.com/blog/best-practices-for-using-claude-opus-4-7-with-claude-code
View on X →Anthropic launched Opus 4.7, their strongest generally available Claude model to date, excelling in coding, enterprise workflows, and long-running agentic tasks by better handling ambiguity, bug-finding, code review, and session context compared to Opus 4.6, with an updated tokenizer and higher effort-level thinking increasing token usage. It introduces a default xhigh effort level in Claude Code for optimal reasoning on intelligence-sensitive tasks like API design and legacy code migration, plus adaptive thinking that skips unnecessary steps for faster responses, automatically upgrading existing users while recommending prompt tweaks for best performance.
Tweet: Opus 4.7 feels more intelligent, agentic, and precise than 4.6. It took a few days for me to learn how to work with it effectively, to fully take advantage of its new capabilities. Will post a few more tips throughout the day, starting with this blog post: https://claude.com/blog/best-practices-for-using-claude-opus-4-7-with-claude-code Anthropic launched Opus 4.7, their strongest generally available Claude model to date, excelling in coding, enterprise workflows, and long-running agentic tasks by better handling ambiguity, bug-finding, code review, and session context compared to Opus 4.6, with an updated tokenizer and higher effort-level thinking increasing token usage. It introduces a default xhigh effort level in Claude Code for optimal reasoning on intelligence-sensitive tasks like API design and legacy code migration, plus adaptive thinking that skips unnecessary steps for faster responses, automatically upgrading existing users while recommending prompt tweaks for best performance.

Learn how to use recalibrated effort levels, adaptive thinking, and new defaults to optimize your Claude Code setup with Opus 4.7.
Opus 4.7 is our strongest generally available model to date for coding, enterprise workflows, and long-running agentic tasks. It handles ambiguity better than Opus 4.6, is much more capable at finding bugs and reviewing code, carries context across sessions more reliably, and can reason through ambiguous tasks with less direction. In our launch announcement, we noted that two changes—an updated tokenizer and a proclivity to think more at higher effort levels, especially on later turns in longer sessions—impact token usage. As a result, when replacing Opus 4.6 with Opus 4.7, it can take some tuning to achieve the best performance. A few tweaks to prompts and harnesses can make a big difference. This post walks through what’s changed and how to most effectively use Opus 4.7 in Claude Code. Opus 4.7’s token usage and behavior can differ depending on whether you’re deploying more autonomous, asynchronous coding agents with a single user turn or more interactive, synchronous coding agents with multiple user turns. In interactive settings, it reasons more after user turns: this improves its coherence, instruction following, and coding quality over long sessions, but it also tends to use more tokens. To get the most out of Opus 4.7 in Claude Code, we’ve found it’s helpful to treat Claude more like a capable engineer you’re delegating to than a pair programmer you’re guiding line by line:The default effort level for Opus 4.7 in Claude Code is now xhigh. This is a new effort level between high and max that gives users more control over the tradeoff between reasoning and latency on hard problems. We recommend xhigh for most agentic coding work, especially for intelligence-sensitive tasks like designing APIs and schemas, migrating legacy code, and reviewing large codebases. Here’s some additional guidance for each effort level:If you’re upgrading to the new model, we recommend experimenting with effort rather than just porting over an old setting. You can toggle between effort levels during the same task to more effectively manage token usage and reasoning. We’ve set the default effort level for Opus 4.7 to xhigh because we believe it’s the best setting for most coding tasks. If you’re an existing Claude Code user but you haven’t manually set your effort level, you’ll be upgraded to xhigh automatically. You can still adjust your effort manually. Extended Thinking with a fixed thinking budget is not supported in Opus 4.7. Instead, Opus 4.7 offers adaptive thinking. This makes thinking optional at each step and allows the model to decide when to use more thinking based on context. It can respond to simple queries quickly, skip thinking when a step doesn’t benefit from it, and invest its thinking tokens where they’re most likely to be useful. Over an agentic run, this can add up to faster responses and a better user experience. Adaptive thinking has improved meaningfully in this release—in particular, Opus 4.7 is less prone to overthinking. If you want more control over the thinking rate, prompt for it directly:A handful of default behaviors have changed between Opus 4.6 and 4.7 and are worth knowing about if you’ve carefully tuned your prompts or harnesses for the older model. Response length is calibrated to task complexity. Opus 4.7 isn’t as default-verbose as Opus 4.6. You can expect shorter answers on simple lookups and longer ones on open-ended analysis. If your use case relies on a specific length or style, state that explicitly in your prompt. We find that positive examples of the voice you want work better than negative “Don’t do this” instructions. The model calls tools less often and reasons more. This produces better results in many cases. If you want more tool use (say, more aggressive search or file reading during agentic work), provide guidance that explicitly describes when and why the tool should be used. It spawns fewer subagents by default. Opus 4.7 tends to be more judicious about when to delegate work to subagents. If your use case benefits from parallel subagents (for example, fanning out across files or independent items), we recommend spelling that out. For example:Do not spawn a subagent for work you can complete directly in a single response (e. g. , refactoring a function you can already see). Spawn multiple subagents in the same turn when fanning out across items or reading multiple files. Opus 4.7 performs better on long-running tasks than prior models. This makes it a good fit for tasks where supervision used to be the bottleneck, like complex multi-file changes, ambiguous debugging, code review across a service, and multi-step agentic work. We recommend keeping effort at xhigh and seeing how far your first turn takes you. Learn more in our Opus 4.7 prompting guide and our article on context and session management in Claude Code.
| Time | Views | Likes | Bookmarks | RTs | Replies |
|---|---|---|---|---|---|
| 11:00 AM UTC | +2.1K | +10 | +11 | +2 | +1 |
| 10:50 AM UTC | +2.0K | +10 | +17 | — | +1 |
| 10:40 AM UTC | +1.7K | +13 | +12 | — | — |
| 10:30 AM UTC | +1.6K | +5 | +9 | +1 | — |
| 10:20 AM UTC | +1.7K | +12 | +15 | +1 | +1 |
| 10:10 AM UTC | +1.7K | +14 | +12 | — | — |
| 10:00 AM UTC | +1.8K | +14 | +9 | +1 | +1 |
| 9:50 AM UTC | +125 | +2 | — | — | — |
| 9:40 AM UTC | +2.9K | +19 | +26 | +3 | — |
| 9:30 AM UTC | +1.7K | +10 | +13 | — | +1 |