惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Recent Announcements
Recent Announcements
阮一峰的网络日志
阮一峰的网络日志
爱范儿
爱范儿
博客园_首页
Last Week in AI
Last Week in AI
月光博客
月光博客
有赞技术团队
有赞技术团队
IT之家
IT之家
博客园 - Franky
P
Proofpoint News Feed
Hugging Face - Blog
Hugging Face - Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 三生石上(FineUI控件)
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
V2EX
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
云风的 BLOG
云风的 BLOG
WordPress大学
WordPress大学
The GitHub Blog
The GitHub Blog
人人都是产品经理
人人都是产品经理
A
About on SuperTechFans
N
Netflix TechBlog - Medium
雷峰网
雷峰网
Recorded Future
Recorded Future
S
Securelist
C
CERT Recently Published Vulnerability Notes
Vercel News
Vercel News
F
Full Disclosure
C
Cybersecurity and Infrastructure Security Agency CISA
A
Arctic Wolf
Simon Willison's Weblog
Simon Willison's Weblog
L
LINUX DO - 热门话题
T
Tenable Blog
MongoDB | Blog
MongoDB | Blog
V
Visual Studio Blog
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Jina AI
Jina AI
TaoSecurity Blog
TaoSecurity Blog
H
Hacker News: Front Page
D
DataBreaches.Net
Google DeepMind News
Google DeepMind News
T
The Exploit Database - CXSecurity.com
S
Security @ Cisco Blogs
W
WeLiveSecurity
酷 壳 – CoolShell
酷 壳 – CoolShell
D
Darknet – Hacking Tools, Hacker News & Cyber Security
SecWiki News
SecWiki News

J.D. Hodges

How to Set Up a SSH Connection in Claude Code Desktop How to Enable Wake-on-LAN on Synology NAS | Quick Guide Is the BCBS Settlement Payment Email Legit? (May 2026) How to Fix the VMware Workstation "mksSandbox" Crash (ISBRendererComm Error) - J.D. Hodges How to Check Codex Usage: CLI Status Line and Web Page How to Check Your Codex Usage on ChatGPT (Plus and Pro) MacBook Neo GPU vs Snapdragon X2, Radeon, Arc, RTX 5060 ThinkPad History: IBM 700C to Lenovo AI Workstations Codex /goal: How It Works, Setup, and What I Tested The BeBox: BeOS Hardware, Photos, and the Apple Deal That Wasn't Unable to Load Usage Limits in Claude? Use /usage Mother-In-Law Method for Claude Code Review (Honest Take) Best Laptop for Claude Code (2026) Best Way to Cook Corn on the Cob | Milk and Butter Boil Best Computer for ChatGPT (2026) | Laptops, Desktops, Budget Picks How to Use GPT-5.5 Today via Your Codex Subscription Remove McAfee WebAdvisor on Windows: Stop the Popup Codex Sandbox Error on Ubuntu 24.04: The AppArmor Fix WD19TBS Mouse Lag Fix: Dell Firmware Update Worked Claude Opus 4.6 vs 4.7 Max: WordPress Task Graded Claude Code Rate exceeded. - J.D. Hodges Chuwi MiniBook X vs MacBook Neo: The $399 Laptop That Refuses to Throttle - J.D. Hodges Meta Muse Spark: The Honest Scorecard (3 Wins Out of 20) Who Reads This Blog? Traffic by OS - J.D. Hodges Can MacBook Neo Run Claude Code? $599 Benchmark Test Minisforum MS-01 Proxmox Review: 2 Months Off-Grid on Solar Claude vs ChatGPT vs Gemini for Coding: Real Benchmark Results Claude Code /buddy: How to Preview, Hatch, and Reroll Your Terminal Pet Claude code source code analysis - J.D. Hodges
Claude Code Opus 4.7: Terminal + VS Code Upgrade Instructions
J.D. H. · 2026-04-17 · via J.D. Hodges

Opus 4.7 launched on April 16, 2026. Here’s the fast path to switch Claude Code over, including the gotcha I hit in the VS Code extension.

Quick upgrade (terminal)

Three commands, in order:

claude update
claude --version
claude --model claude-opus-4-7

If that last command starts a session confirming claude-opus-4-7, you’re done. If not, keep reading.

Step 1: Update Claude Code

Most people run Claude Code in a terminal. One command does it:

claude update

Anthropic lists v2.1.111+ as the minimum for Opus 4.7. If the /model slash command doesn’t recognize claude-opus-4-7 in your session, run claude update again and verify with:

claude --version

Step 2: Switch the model (pick one)

Method Example Scope
Mid-session /model claude-opus-4-7 Current session only
At launch claude --model claude-opus-4-7 One session
Environment variable export ANTHROPIC_MODEL=claude-opus-4-7 Shell-wide, persistent
Settings file Add to ~/.claude/settings.json (see below) Every session, every project

For the settings-file method, drop a model field into ~/.claude/settings.json:

{
  "permissions": { "allow": [] },
  "effortLevel": "max",
  "model": "claude-opus-4-7"
}

A project-level .claude/settings.json in a repo will override the global file for that project. Note that settings.json controls Claude Code’s runtime config, while your per-project CLAUDE.md still handles project instructions.

Running Claude Code inside VS Code? Use settings.json + panel reload

On release day, claude update moved me from v2.1.111 to v2.1.112, but the /model slash command still returned “Unknown command” inside my live VS Code panel. Here’s the path that actually worked:

  1. Run claude update in any terminal.
  2. Edit ~/.claude/settings.json and add the model field shown above.
  3. Close the Claude Code panel in VS Code and reopen it. The new session picks up claude-opus-4-7 at launch.
  4. Verify with the /status slash command, or just ask Claude which model it’s on.

Here’s the verification in a fresh VS Code session:

Claude Code panel in VS Code confirming Claude Opus 4.7 after a settings.json update and panel reload
Claude Code in VS Code confirming Opus 4.7 after the settings.json + panel reload workflow.

Why this works: the VS Code extension reads ~/.claude/settings.json when the panel launches. A panel that started before the new model existed won’t pick up a new model ID until it reloads.

Heads Up

If 4.7 still doesn’t appear after the reload: run claude update once more, restart your terminal (or close and reopen the VS Code panel), and check /status. On managed or team-managed installs, your admin may be pinning an older model via server-managed settings or an availableModels list.

Opus 4.7 plays better with a machine that doesn’t choke on parallel agents and big diffs. Once you’ve switched, the next bottleneck is often RAM, thermals, or how many repo windows you keep open. For the hardware side, my What I’d Buy Today picks for Claude Code include a $599 budget pick that handles Opus 4.7 just fine.

What’s new in Opus 4.7

  • Stronger coding: meaningful gains on agentic and terminal coding benchmarks (numbers below).
  • New xhigh effort level, now the default for Opus 4.7 in Claude Code, giving finer control between high and max.
  • Up to 2,576 px vision (~3.75 MP), roughly 3x prior resolution. Better accuracy on charts, dense documents, and screen UIs.
  • /ultrareview: a dedicated code-review session in Claude Code. Pro and Max users get three free to try.
  • Task budgets (separate feature, API public beta): cap token spending on long-running agent runs.
  • Same API price as Opus 4.6: $5 per million input tokens, $25 per million output tokens. Opus 4.7 ships with a new tokenizer, so the same English input may map to roughly 1.0x to 1.35x more tokens than 4.6, which can nudge effective cost up slightly.

Opus 4.7 vs Opus 4.6 on the benchmarks that matter for Claude Code

Benchmark Opus 4.7 Opus 4.6 Delta
SWE-bench Verified (agentic coding) 87.6% 80.8% +6.8 pp
SWE-bench Pro (harder coding set) 64.3% 53.4% +10.9 pp
Terminal-Bench 2.0 (CLI coding) 69.4% 65.4% +4.0 pp
OSWorld-Verified (agentic computer use) 78.0% 72.7% +5.3 pp

Anthropic’s announcement has the full chart, including comparisons against GPT-5.4, Gemini 3.1 Pro, and the internal Mythos Preview. Worth a skim.

Note: On April 23, 2026, Opus 4.7 becomes the default for Enterprise pay-as-you-go and Anthropic API users. If you’re on one of those plans and happy to wait a week, the switch will happen automatically.

Sources: Introducing Claude Opus 4.7 (Anthropic), Claude Code model configuration docs, and hands-on verification in VS Code on release day.