Anthropic Claude Sonnet 5 と Sonnet 4.6、Opus 4.8 の比較:エージェント型コーディングベンチマーク、API 価格、コストパフォーマンスの検討
Anthropic が発表した最新モデル「Claude Sonnet 5」は、自律的なコーディングタスクにおいて Opus 4.8 に迫る性能を発揮し、API 価格設定とコストパフォーマンスの新たな基準を提示した。
キーポイント
Sonnet 5 の性能向上と位置付け
Sonnet 5 は Anthropic の中堅モデルとして最も「エージェント的」な能力を持ち、SWE-bench Pro や OSWorld-Verified などのベンチマークで Sonnet 4.6 を上回り、フラッグシップの Opus 4.8 との差を大幅に縮めた。
コストパフォーマンスと価格設定
導入期間中は $2/$10(MTok)という低価格で提供され、Opus 4.8 の半額以下だが、高難易度タスクでは推論コストが増加し、Opus と同等の品質を得るには逆に高額になる可能性がある。
努力レベルとトークン効率
低から超高(xhigh)までの 4 つの努力レベルを設定可能で、より高い推論コストを払うことで品質が向上する仕組みだが、新しいトークナイザーにより同じテキストでもトークン数が 1.0〜1.35 倍に増加する点に注意が必要。
セキュリティと適用範囲
Sonnet 4.6 より安全性が高められているが、サイバー攻撃能力は意図的に制限されており、精度が極めて重要な作業には依然として Opus 4.8 が推奨される。
コストと性能のトレードオフ
Sonnet 5 は標準モデルで Opus 4.8 と同等以上の知識作業スコア(GDPval-AA v2)を達成し、SWE-bench Pro では Sonnet 4.6 を上回るが Opus 4.8 にやや劣る。
トークナイザーの更新によるコスト変動
Sonnet 5 は新しいトークナイザーを採用しており、同じテキストで約1.0〜1.35倍多くのトークン数になるため、計算上のコスト係数が適用されている。
ベンチマークにおける Sonnet 5 の躍進
Terminal-Bench 2.1 と OSWorld-Verified(Computer use)において、Sonnet 5 は Sonnet 4.6 を大幅に上回るスコアを記録し、Opus 4.8 と比較可能な性能を示した。
影響分析・編集コメントを表示
影響分析
この発表は、AI エージェント分野における「コスト対性能」のバランスを再定義するものであり、開発者が高価なフラッグシップモデルに依存せずとも、中堅モデルで複雑な自律タスクを処理できる道を開く。特に API 価格とトークン効率の変化は、大規模なコード生成や自動化プロジェクトの予算計画に直接的な影響を与える重要な指標となる。
編集コメント
Sonnet 5 の登場により、開発者はコストを抑えつつ高度な自律タスクを処理できる選択肢を得ました。ただし、トークン数の増加と高難易度時の価格逆転現象を理解した上で、タスクの難易度に合わせたモデル選定が求められます。
Anthropic just shipped Claude Sonnet 5. They call it its most agentic Sonnet model yet. It plans, drives browsers and terminals, and runs autonomously across long tasks.
Sonnet 5 is the default model for Free and Pro plans today. Max, Team, and Enterprise users can select it. It is also live in Claude Code and on the Claude Platform.
TL;DR
Sonnet 5 is Anthropic’s most agentic mid-tier model, closing much of the gap to Opus 4.8.
Beats Sonnet 4.6 on every published benchmark: 63.2% SWE-bench Pro, 81.2% OSWorld-Verified, 57.4% HLE.
Cheaper to run: $2/$10 per MTok intro pricing through Aug 31, then $3/$15; Opus 4.8 is $5/$25.
Best value at low/medium effort; at xhigh it can cost more than Opus 4.8 for similar quality.
Safer than 4.6, with deliberately low cyber capability — Opus stays the pick for accuracy-critical work.
Claude Sonnet 5
Sonnet sits in the middle of Anthropic’s lineup. It is above the cheaper Haiku 4.5 and below the flagship Opus 4.8.
Sonnet 5 is an upgrade to Sonnet 4.6, which launched in February 2026. Anthropic frames this release around agentic reliability, not one headline benchmark.
In practice, that means longer task chains without losing context. It means better self-correction when a tool call fails. It means steadier behavior across extended sessions inside Claude Code or Cowork.
The model exposes effort levels: low, medium, high, and xhigh (extra high). Higher effort spends more tokens on reasoning. That raises both quality and cost.
It is important to note that Sonnet 5 uses an updated tokenizer, the same one introduced with Opus 4.7. The same text can map to roughly 1.0 to 1.35 times more tokens.
Interactive Explainer
Claude Sonnet 5 Cost & Capability Explorer
:root{
--bg:#ffffff; --panel:#f6f8f5; --panel2:#eef2ea; --ink:#16201a; --muted:#5b6b60;
--line:#e0e6dd; --green:#5a8f1e; --greenDark:#3f6b12; --accent:#76B900;
--s46:#9aa6ad; --s5:#76B900; --opus:#e0a800;
}
*{box-sizing:border-box}
html,body{margin:0}
#mtp-s5{
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
color:var(--ink); background:var(--bg); padding:22px; max-width:880px; margin:0 auto;
line-height:1.5;
}
#mtp-s5 h2{font-size:21px; margin:0 0 4px; letter-spacing:-.2px}
#mtp-s5 .sub{color:var(--muted); font-size:13.5px; margin:0 0 18px}
#mtp-s5 .card{
background:var(--panel); border:1px solid var(--line); border-radius:14px;
padding:18px; margin-bottom:18px;
}
#mtp-s5 .card h3{font-size:15px; margin:0 0 14px; display:flex; align-items:center; gap:8px}
#mtp-s5 .dot{width:9px;height:9px;border-radius:50%;background:var(--accent);display:inline-block}
#mtp-s5 .row{display:flex; flex-wrap:wrap; gap:8px; margin-bottom:14px}
#mtp-s5 .seg{display:flex; flex-wrap:wrap; gap:6px}
#mtp-s5 button.opt{
font:inherit; font-size:12.5px; cursor:pointer; padding:7px 12px; border-radius:999px;
border:1px solid var(--line); background:#fff; color:var(--ink); transition:.15s;
}
#mtp-s5 button.opt:hover{border-color:var(--accent)}
#mtp-s5 button.opt[aria-pressed="true"]{background:var(--accent); border-color:var(--accent); color:#16201a; font-weight:600}
#mtp-s5 label.lbl{display:block; font-size:12px; color:var(--muted); margin:0 0 6px}
#mtp-s5 .grid2{display:grid; grid-template-columns:1fr 1fr; gap:16px}
#mtp-s5 input[type=range]{width:100%; accent-color:var(--accent)}
#mtp-s5 .val{font-variant-numeric:tabular-nums; font-weight:600}
#mtp-s5 .costbox{display:flex; align-items:baseline; gap:10px; flex-wrap:wrap; margin-top:6px}
#mtp-s5 .cost{font-size:30px; font-weight:700; color:var(--greenDark); font-variant-numeric:tabular-nums}
#mtp-s5 .costnote{font-size:12.5px; color:var(--muted)}
#mtp-s5 .pill{font-size:11.5px; background:var(--panel2); border:1px solid var(--line); border-radius:999px; padding:3px 9px; color:var(--muted)}
#mtp-s5 .compare{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap}
#mtp-s5 .ctag{font-size:12px; color:var(--muted)}
#mtp-s5 .ctag b{color:var(--ink)}
#mtp-s5 .bar-wrap{margin:10px 0}
#mtp-s5 .bar-row{display:flex; align-items:center; gap:10px; margin:9px 0}
#mtp-s5 .bar-name{width:88px; font-size:12.5px; color:var(--muted); flex:none}
#mtp-s5 .track{flex:1; background:#fff; border:1px solid var(--line); border-radius:8px; height:24px; position:relative; overflow:hidden}
#mtp-s5 .fill{height:100%; border-radius:7px 0 0 7px; transition:width .5s ease; display:flex; align-items:center; justify-content:flex-end; padding-right:7px; font-size:11.5px; font-weight:700; color:#16201a}
#mtp-s5 .legend{display:flex; gap:14px; flex-wrap:wrap; font-size:12px; color:var(--muted); margin-top:8px}
#mtp-s5 .lg{display:inline-flex; align-items:center; gap:6px}
#mtp-s5 .sw{width:12px;height:12px;border-radius:3px;display:inline-block}
#mtp-s5 .callout{font-size:12.5px; color:var(--muted); background:var(--panel2); border-left:3px solid var(--accent); padding:9px 12px; border-radius:0 8px 8px 0; margin-top:12px}
#mtp-s5 .foot{text-align:center; font-size:12px; color:var(--muted); margin-top:6px}
#mtp-s5 .foot b{color:var(--green)}
#mtp-s5 .metricbtns{margin-bottom:6px}
@media (max-width:640px){
#mtp-s5{padding:16px}
#mtp-s5 .grid2{grid-template-columns:1fr}
#mtp-s5 .bar-name{width:74px}
#mtp-s5 .cost{font-size:25px}
}
Claude Sonnet 5 — Cost & Capability Explorer
Estimate per-task cost across models and compare published benchmarks. All figures from Anthropic’s June 30, 2026 launch.
Per-task cost estimator
Sonnet 5 (intro $2/$10)
Sonnet 5 (std $3/$15)
Opus 4.8 ($5/$25)
Sonnet 4.6 ($3/$15)
Input tokens per task: 20,000
Output tokens per task: 6,000
Tasks per day: 500
Sonnet 5 tokenizer factor: 1.15×
$0.00
per task • $0.00/day • $0.00/mo
Sonnet 5 uses an updated tokenizer (same as Opus 4.7). The same text can map to roughly 1.0–1.35× more tokens, so the factor is applied to Sonnet 5 only.
Published benchmark comparison
Agentic coding (SWE-bench Pro)
Terminal-Bench 2.1
Computer use (OSWorld-Verified)
Humanity’s Last Exam (tools)
Sonnet 4.6
Sonnet 5
Opus 4.8
On knowledge work (GDPval-AA v2), Sonnet 5 scores 1,618 and edges Opus 4.8’s 1,615. That benchmark uses a different scale, so it is shown here as a note rather than a bar.
Interactive explainer by Marktechpost • figures: Anthropic launch & system card, June 30, 2026
(function(){
var price={ s5i:{i:2,o:10}, s5s:{i:3,o:15}, opus:{i:5,o:25}, s46:{i:3,o:15} };
var names={ s5i:"Sonnet 5 intro", s5s:"Sonnet 5 std", opus:"Opus 4.8", s46:"Sonnet 4.6" };
var state={ model:"s5i" };
var bench={
swe:{ s46:58.1, s5:63.2, opus:69.2 },
term:{ s46:67.0, s5:80.4, opus:null },
osw:{ s46:78.5, s5:81.2, opus:null },
hle:{ s46:46.8, s5:57.4, opus:57.9 }
};
var benchMetric="swe";
function $(id){return document.getElementById(id);}
function fmt(n){return n.toLocaleString(undefined,{maximumFractionDigits:0});}
function money(n){
if(n0?"+":"";
html+='vs '+names[k]+': '+money(oc)+' ('+sign+diff.toFixed(0)+'%)';
});
$("cmpRow").innerHTML=html;
renderBars();
postHeight();
}
function renderBars(){
var d=bench[benchMetric];
var rows=[["Sonnet 4.6",d.s46,"var(--s46)"],["Sonnet 5",d.s5,"var(--s5)"],["Opus 4.8",d.opus,"var(--opus)"]];
var html="";
rows.forEach(function(r){
var v=r[1];
var w=v==null?0:v;
var label=v==null?"n/a":v.toFixed(1)+"%";
html+=''+r[0]+''
+''+(v==null?"":label)+''
+(v==null?'n/a':'')+'
';
});
$("bars").innerHTML=html;
}
// model buttons
Array.prototype.forEach.call(document.querySelectorAll('#modelSeg .opt'),function(b){
b.addEventListener('click',function(){
state.model=b.getAttribute('data-model');
Array.prototype.forEach.call(document.querySelectorAll('#modelSeg .opt'),function(x){x.setAttribute('aria-pressed', x===b?'true':'false');});
render();
});
});
// metric buttons
Array.prototype.forEach.call(document.querySelectorAll('#metricSeg .opt'),function(b){
b.addEventListener('click',function(){
benchMetric=b.getAttribute('data-m');
Array.prototype.forEach.call(document.querySelectorAll('#metricSeg .opt'),function(x){x.setAttribute('aria-pressed', x===b?'true':'false');});
renderBars(); postHeight();
});
});
// sliders
["inTok","outTok","tasks","tk"].forEach(function(id){ $(id).addEventListener('input',render); });
// auto-resize for WordPress
function postHeight(){
try{
var h=document.getElementById('mtp-s5').offsetHeight+40;
parent.postMessage({mtpS5Height:h},"*");
}catch(e){}
}
window.addEventListener('load',function(){render();setTimeout(postHeight,120);});
window.addEventListener('resize',postHeight);
render();
})();
Benchmark
Anthropic team published a benchmark table comparing Sonnet 5, Sonnet 4.6, and Opus 4.8. Sonnet 5 beats its predecessor in every tested category. It closes much of the gap to Opus 4.8.
On agentic coding (SWE-bench Pro), Sonnet 5 scores 63.2%. Sonnet 4.6 scored 58.1%. Opus 4.8 still leads at 69.2%.
On computer use (OSWorld-Verified), Sonnet 5 posts 81.2% against Sonnet 4.6’s 78.5%. On Terminal-Bench 2.1, it reaches 80.4% versus 67.0%.
On Humanity’s Last Exam with tools, Sonnet 5 hits 57.4%. That nearly matches Opus 4.8 at 57.9%.
There is one place where Sonnet 5 edges ahead. On the GDPval-AA v2 knowledge-work benchmark, it scores 1,618 against Opus 4.8’s 1,615.
imagehttps://www.anthropic.com/news/claude-sonnet-5
imagehttps://www.anthropic.com/news/claude-sonnet-5
Effort Levels: Where the Real Tradeoff Lives
The cost-performance story is the most important part for developers. Sonnet 5 is a strict improvement over Sonnet 4.6 across every effort level. The clearest value appears at low and medium effort.
At those levels, Sonnet 5 delivers quality that earlier Sonnet pricing could not buy. Opus 4.8 remains the accuracy leader at the top of the range.
A practical routing policy follows from this. Send most agentic coding, tool use, and knowledge work to Sonnet 5. Reserve Opus 4.8 for accuracy-critical tasks. Keep Haiku 4.5 for high-volume, latency-sensitive calls.
Use Cases: Where Sonnet 5 Fits
Early access partners described concrete workflows. Their reports map to common engineering jobs.
Multi-step software engineering: One tester asked Sonnet 5 to investigate a bug. It wrote a reproducing test, implemented the fix, then confirmed the bug returned without the change. It did this in a single pass.
Brownfield debugging: Another partner ran it on hard pull requests. The model traced failures to their root causes. It shipped durable fixes rather than symptom patches.
Business automation: Zapier handed it a two-part job. It updated Salesforce account tiers, then sent a launch email to enterprise contacts. It finished the task end to end.
Computer-use agents: Pace runs insurance workflows like submission intake and loss runs. Its agents act on the operational systems teams already use.
Data exploration: ClickHouse agents query live data and produce insights on the fly. Faster reasoning means faster time-to-insight for analysts.
Comparison Table
Metric / SpecSonnet 4.6Sonnet 5Opus 4.8
Agentic coding (SWE-bench Pro)58.1%63.2%69.2%
Terminal-Bench 2.167.0%80.4%not reported
Computer use (OSWorld-Verified)78.5%81.2%not reported
Humanity’s Last Exam (with tools)46.8%57.4%57.9%
Knowledge work (GDPval-AA v2)not reported1,6181,615
Input price ($/MTok)32 intro, then 35
Output price ($/MTok)1510 intro, then 1525
Sonnet 5’s introductory pricing runs through August 31, 2026. Standard pricing of $3/$15 begins after that date. Standard prompt caching (cache reads at 0.1x input) and the 50% Batch API discount also apply. Per token, Sonnet 5 undercuts GPT-5.5 and Gemini 3.1 Pro, but costs more than Gemini 3.5 Flash. Anthropic lists a 1M-token context window for Sonnet 5 in its launch post. It does not publish context figures for the other models here.
Coding Example: Calling Sonnet 5
The API call mirrors any other Anthropic model. You change the model string to claude-sonnet-5.
Copy CodeCopiedUse a different Browser
import anthropic
client = anthropic.Anthropic() # reads ANTHROPIC_API_KEY
message = client.messages.create(
model="claude-sonnet-5",
max_tokens=1024,
messages=[
{"role": "user", "content": "Find the race condition in worker.py and ship a tested fix."}
],
)
print(message.content[0].text)
Strengths and Weaknesses
Strengths:
Improves on Sonnet 4.6 in every benchmark category Anthropic tested
Near-Opus 4.8 quality on several evaluations, at lower per-token prices
Edges Opus 4.8 on the GDPval-AA v2 knowledge-work benchmark
Lower hallucination, sycophancy, and undesirable-behavior rates than Sonnet 4.6
Drop-in API change: you only swap the model string
Weaknesses:
Opus 4.8 still wins on the hardest accuracy-critical tasks
At xhigh effort, cost can exceed Opus 4.8 at similar quality
The new tokenizer can raise token counts by up to 1.35 times
Cyber capability is intentionally low; use Opus for sanctioned cyber work
Standard pricing of $3/$15 arrives after August 31, 2026
Community Reaction
Claude Sonnet 5 — Community Reaction
:root{
--bg:#ffffff; --panel:#f6f8f5; --line:#e3e8df; --ink:#16201a; --muted:#5d6c62;
--green:#5a8f1e; --accent:#76B900;
--hn:#ff6600; --x:#111111; --rd:#ff4500;
--pos:#5a8f1e; --neu:#9aa6ad; --neg:#d1493f;
}
*{box-sizing:border-box}
html,body{margin:0}
#mtp-cr{
font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
color:var(--ink); background:var(--bg); padding:22px; max-width:880px; margin:0 auto; line-height:1.5;
}
#mtp-cr h2{font-size:21px; margin:0 0 4px; letter-spacing:-.2px}
#mtp-cr .sub{color:var(--muted); font-size:13.5px; margin:0 0 16px}
/* sentiment summary */
#mtp-cr .senti{background:var(--panel); border:1px solid var(--line); border-radius:13px; padding:15px 16px; margin-bottom:18px}
#mtp-cr .senti h3{font-size:13px; margin:0 0 10px; color:var(--ink); font-weight:600}
#mtp-cr .sbar{display:flex; height:26px; border-radius:8px; overflow:hidden; border:1px solid var(--line)}
#mtp-cr .sseg{display:flex; align-items:center; justify-content:center; color:#fff; font-size:12px; font-weight:700; min-width:34px}
#mtp-cr .s-pos{background:var(--pos)} #mtp-cr .s-neu{background:var(--neu)} #mtp-cr .s-neg{background:var(--neg)}
#mtp-cr .slegend{display:flex; gap:16px; flex-wrap:wrap; font-size:12px; color:var(--muted); margin-top:10px}
#mtp-cr .slg{display:inline-flex; align-items:center; gap:6px}
#mtp-cr .sw{width:11px;height:11px;border-radius:3px;display:inline-block}
#mtp-cr .scap{font-size:11.5px; color:var(--muted); margin-top:8px}
#mtp-cr .tabs{display:flex; gap:6px; flex-wrap:wrap; margin-bottom:16px}
#mtp-cr .tab{font:inherit; font-size:12.5px; cursor:pointer; padding:7px 13px; border-radius:999px; border:1px solid var(--line); background:#fff; color:var(--ink); transition:.15s}
#mtp-cr .tab:hover{border-color:var(--accent)}
#mtp-cr .tab[aria-pressed="true"]{background:var(--accent); border-color:var(--accent); color:#16201a; font-weight:600}
#mtp-cr .grid{display:grid; grid-template-columns:1fr 1fr; gap:14px}
#mtp-cr .c{background:var(--panel); border:1px solid var(--line); border-radius:13px; padding:15px 16px; display:flex; flex-direction:column; gap:9px}
#mtp-cr .top{display:flex; align-items:center; gap:9px; flex-wrap:wrap}
#mtp-cr .badge{font-size:10.5px; font-weight:700; letter-spacing:.4px; padding:3px 8px; border-radius:6px; color:#fff; text-transform:uppercase}
#mtp-cr .b-hn{background:var(--hn)} #mtp-cr .b-x{background:var(--x)} #mtp-cr .b-rd{background:var(--rd)}
#mtp-cr .who{font-size:13px; font-weight:600}
#mtp-cr .stag{margin-left:auto; font-size:10.5px; font-weight:700; padding:2px 8px; border-radius:999px; display:inline-flex; align-items:center; gap:5px}
#mtp-cr .stag .d{width:8px;height:8px;border-radius:50%;display:inline-block}
#mtp-cr .t-pos{color:var(--pos); background:rgba(90,143,30,.10)}
#mtp-cr .t-neu{color:#5d6c62; background:rgba(154,166,173,.18)}
#mtp-cr .t-neg{color:var(--neg); background:rgba(209,73,63,.10)}
#mtp-cr blockquote{margin:0; font-size:14px; color:var(--ink)}
#mtp-cr .lnk{font-size:12px; color:var(--green); text-decoration:none; font-weight:600; margin-top:auto}
#mtp-cr .lnk:hover{text-decoration:underline}
#mtp-cr .note{font-size:12px; color:var(--muted); background:#f1f4ee; border:1px dashed var(--line); border-radius:10px; padding:11px 13px; margin-top:14px}
#mtp-cr .srcblk{margin-top:16px; border-top:1px solid var(--line); padding-top:14px}
#mtp-cr .srcblk h3{font-size:12.5px; margin:0 0 8px; color:var(--ink)}
#mtp-cr .srcblk ul{margin:0; padding-left:18px}
#mtp-cr .srcblk li{font-size:12px; margin:4px 0; word-break:break-all}
#mtp-cr .srcblk a{color:var(--green); text-decoration:none}
#mtp-cr .srcblk a:hover{text-decoration:underline}
#mtp-cr .foot{text-align:center; font-size:12px; color:var(--muted); margin-top:14px}
#mtp-cr .foot b{color:var(--green)}
#mtp-cr .hidden{display:none}
@media (max-width:640px){ #mtp-cr{padding:16px} #mtp-cr .grid{grid-template-columns:1fr} }
Claude Sonnet 5 — Community Reaction
Early developer reactions from Hacker News and X on launch day, June 30, 2026.
Sentiment of the 8 reactions shown
3
3
2
Positive · 38%
Neutral / mixed · 38%
Negative · 25%
Mixed reception: praise for price-to-value, doubts about standing at full $3/$15 pricing. Manually labeled from the public posts below; the two Reddit links are live threads, not counted here.
All
Hacker News
X
X@ClaudeDevs (official)Positive
“Top-tier performance on coding and tool use at Sonnet pricing” — with a 1M context window.
View post on X →
Hacker NewsphillipcarterPositive
“Another great incremental update to the workhorse.” Uses Sonnet over Opus for most coding.
View comment on HN →
Hacker NewsmchusmaMixed
Far more compelling at the $2/$10 launch price than at full standard pricing.
View comment on HN →
X@kimmonismusPositive
“Near Opus 4.8-level performance, but cheaper.” Strong gains in reasoning and tool use.
View post on X →
Hacker NewsandaiCritical
“If you’re doing something hard, just use a bigger model.” Opus wins parts of the frontier.
View comment on HN →
Hacker NewsconradkayCritical
“Seems worse even on price/performance than GLM 5.2” at 744B parameters.
View comment on HN →
Hacker Newsmag7269Neutral
“When can we get a new Haiku?” 4.5 is nearly a year old and showing its age.
View comment on HN →
Hacker NewsbredrenMixed
Sees the value clearly at low and medium effort; less so at high versus Opus 4.8.
View comment on HN →
Redditr/ClaudeAI
Launch-day discussion — benchmarks, pricing, and Claude Code impressions from the community.
Open the live thread →
関連記事
今日のまとめ
AI日報で今日の重要ニュースをまとめ読み