Claude Sonnet 5 は Anthropic の Sonnet ファミリーの次世代(「速度と知能の最良の組み合わせ」)であり、Sonnet 4.6 からのドロップインの能力アップグレードとして位置づけられ、コーディングとエージェント的タスクで最大の向上をもたらします。
- 入力
- テキスト 画像 $2/M
- 出力
- テキスト $10/M
- キャッシュ読み取り
- $0.2/M
- コンテキスト
- 1M
- GPT-4o 比
- 約 60% 割安
- 知識カットオフ
- 2026-01
ベンチマーク
ベンダー公表値: Alibaba (Qwen) Anthropic DeepSeek Google Moonshot OpenAI Tencent Z.ai
価格の位置づけ
同種の 68 モデルの中での価格の位置
このバーは、Synthorai の同種モデルの中で、このモデルの価格がどのあたりにあるかを示しています。両端には、最も安いモデルと最も高いモデルの名前を表示しています。表示しているのは基本料金で、バッチ、リージョン、キャッシュ書き込みに関する割引は料金ページに記載しています。
仕様と制限
トークン
| コンテキストウィンドウ(ベンダー仕様) | 1,000,000 |
|---|---|
| 最大出力(ベンダー仕様) | 128,000 |
| 知識カットオフ | 2026-01 |
プロンプトキャッシュ
| キャッシュ方式 | 明示(オプトイン) |
|---|---|
| 最小プレフィックス | 1,024 |
| 保持時間 | デフォルト 5 分、オプションで 1 時間 |
| 書き込みコスト | 1.25x (5m) / 2x (1h) |
思考
| ベンダー側パラメータ | thinking.type "adaptive" + output_config.effort |
|---|---|
| 指定可能な値 | thinking.type adaptive · disabled; effort low · medium · high · xhigh · max; "enabled" returns 400 |
| デフォルト | 思考はオン(適応的)。エフォートは high リクエストで未指定の場合に適用 |
| 無効化の可否 | 対応 |
| 思考の挙動 | 設定なしで思考がオンになり、Opus 5 とは異なり thinking {type "disabled"} はどのエフォートレベルでも受け付けられます。display のデフォルトは "omitted"。過去のターンの思考ブロックはコンテキストに保持され、入力として課金されます。 |
| パラメータ | reasoning_effort |
| 値 | minimal · low · medium · high ゲートウェイ側のパラメータ。上のベンダー別の対応が適用されます |
モデル
| モダリティ | テキスト + 画像 → テキスト |
|---|
- 標準価格は MTok あたり $2/$10(導入価格がそのまま標準価格になりました)。
- 1M コンテキスト。
- 適応的思考はデフォルトでオン。
- 新しいトークナイザー(約 30% 多いトークン数)。
- デフォルト以外のサンプリングパラメータは 400 を返します。
- Priority Tier はありません。
1 つのプロンプトを実行(ゲートウェイ経由で測定)
Claude Sonnet 5 合格 · 3 sentences
Reasoning mode works by having the model generate extended internal "thinking" steps before producing its final answer, and since we're billed on total tokens, that hidden reasoning text adds significantly to what we pay for—even though you never see it in the output. This is different from simply getting longer visible responses; the model is essentially "showing its work" behind the scenes, and complex prompts can trigger thousands of extra reasoning tokens per request. The upside is improved accuracy on complex tasks, but if we want to control costs, we should selectively enable reasoning only for queries that truly need it, rather than applying it universally.
出力 194 tok レイテンシ 4.3 s
指示への忠実さ(ちょうど 3 文という、数えて確かめられる条件)、読み手に合わせた書き分け(CFO 向けの語り口)、そして下のトークンメーターに表れる、表示されない思考への課金の差。
Claude Sonnet 5 合格 · 8/8 cases
## The Bug The function has two related off-by-one issues rooted in the same cause: `cur` and `best` are initialized to `0` instead of `1`, treating run lengths as the number of *matches* between adjacent elements rather than the number of *elements* in the run. This means a single-element input never enters the loop (since `range(1, 1)` is empty) and returns `0` instead of the correct answer of `1`. It also means that for any input, the run length is undercounted by exactly one — a run of 3 equal elements only produces 2 "match" increments, so `best` ends up as 2 instead of 3. The claim that it "misses runs that end at the last index" is actually a symptom of this same undercount: the logic does update `best` correctly on every iteration (including the last), but because it's counting matches instead of elements, the final reported value is always one less than the true longest run. […]
出力 536 tok レイテンシ 7.1 s
修正が本当に正しいか(実行して確かめられる)、説明の密度、範囲の限られたタスクでのトークン効率。
Claude Sonnet 5 合格 · 5/5 fields, guidance null
```json { "company": "Meridian Robotics", "quarter": "Q3", "revenue_usd_m": 412, "growth_pct": 11.5, "guidance": null } ```
出力 348 tok レイテンシ 5.3 s
スキーマの遵守(存在しないフィールドを作らない)、ハルシネーションを誘う条件への耐性(guidance は明示的に伏せてある)、構造化出力の実現方法の違い。
Claude Sonnet 5 合格 · 123 words, 0 banned, 1 question
## Introducing Cross-Provider Prompt Caching We're rolling out a new caching layer for our API gateway that works across every major LLM provider you connect through it. Instead of resending identical prompts and paying full price each time, the gateway recognizes repeated requests and serves cached responses in milliseconds—regardless of whether you're routing to OpenAI, Anthropic, or Google. What does this mean for your bill and your latency? Both drop, often significantly, especially for teams running high-volume, repetitive workloads like customer support bots or batch content generation. The cache is configurable per route, with adjustable TTLs and invalidation rules, so you stay in control of freshness versus cost. Available now for all Pro and Enterprise plans. Check your dashboard to enable it today.
出力 259 tok レイテンシ 4.8 s
制約の遵守(語数の上限、禁止語リスト、疑問文はひとつだけ)、文体の癖、長さの制御。
30 秒で Claude Sonnet 5 を使い始める
OpenAI 互換。base_url を差し替えるだけで、SDK はそのまま。POST /v1/chat/completions
from openai import OpenAI
client = OpenAI(
base_url="https://synthorai.io/v1",
api_key="sk-syn-...",
)
resp = client.chat.completions.create(
model="claude-sonnet-5",
messages=[{"role": "user", "content": "Summarize this diff"}],
reasoning_effort="medium",
)
print(resp.choices[0].message.content)import OpenAI from "openai";
const client = new OpenAI({
baseURL: "https://synthorai.io/v1",
apiKey: "sk-syn-...",
});
const resp = await client.chat.completions.create({
model: "claude-sonnet-5",
messages: [{ role: "user", content: "Summarize this diff" }],
reasoning_effort: "medium",
});
console.log(resp.choices[0].message.content);curl https://synthorai.io/v1/chat/completions \
-H "Authorization: Bearer sk-syn-..." \
-H "Content-Type: application/json" \
-d '{
"model": "claude-sonnet-5",
"messages": [{"role": "user", "content": "Hello"}],
"reasoning_effort": "medium"
}'package main
import (
"context"
"fmt"
"github.com/openai/openai-go/v3"
"github.com/openai/openai-go/v3/option"
)
func main() {
client := openai.NewClient(
option.WithBaseURL("https://synthorai.io/v1"),
option.WithAPIKey("sk-syn-..."),
)
resp, _ := client.Chat.Completions.New(context.TODO(), openai.ChatCompletionNewParams{
Model: "claude-sonnet-5",
Messages: []openai.ChatCompletionMessageParamUnion{
openai.UserMessage("Summarize this diff"),
},
ReasoningEffort: openai.ReasoningEffortMedium,
})
fmt.Println(resp.Choices[0].Message.Content)
}import com.openai.client.OpenAIClient;
import com.openai.client.okhttp.OpenAIOkHttpClient;
import com.openai.models.chat.completions.*;
import com.openai.models.ReasoningEffort;
OpenAIClient client = OpenAIOkHttpClient.builder()
.baseUrl("https://synthorai.io/v1")
.apiKey("sk-syn-...")
.build();
ChatCompletion resp = client.chat().completions().create(
ChatCompletionCreateParams.builder()
.model("claude-sonnet-5")
.addUserMessage("Summarize this diff")
.reasoningEffort(ReasoningEffort.MEDIUM)
.build());
System.out.println(resp.choices().get(0).message().content().orElse(""));Claude Sonnet 5 について
- Anthropic はコード生成、データ分析、コンテンツ制作、視覚的理解、エージェント的なツール使用に向けたものとし、Opus クラスのモデルへ移らずに Sonnet 4.6 以上を必要とする作業のための選択肢だと説明しています。
- 既定で 1M トークンのコンテキストウィンドウ、128K の最大出力、既定でオンの適応的思考とエフォートレベル制御、新しいトークナイザー、ビジョン入力、そして Claude のツールセット一式を搭載し、導入価格として発表された $2/$10 は現在では標準価格です。
- 1M ウィンドウは既定であると同時に最大でもあり(より小さなコンテキストの変種はありません)、エフォートは Opus 以外のモデルとしては唯一 xhigh まで届き、medium は Sonnet 4.6 の high とおおむね同等とされています。
- 移行時に重要な挙動の変化が 3 つあります。
- 新しいトークナイザーは同じテキストに対しておよそ 30% 多いトークンを生成するため、API の変更なしに使用量のカウント、出力予算、リクエストあたりのコストが変わります。
- 既定以外のサンプリングパラメータはエラーを返すようになり、これは以前は Opus 4.7 以降でのみ見られた制限です。
- そして Sonnet ティアで初めてリアルタイムのサイバーセキュリティ保護を備えたモデルであり、拒否されたリクエストはエラーではなく、拒否を示す stop reason を持つ成功レスポンスとして返ります。
- Synthorai では、Claude Sonnet 5 は他のすべてのカタログモデルと同じ OpenAI 互換 API で応答します。
よくある質問
Claude Sonnet 5 API は無料で試せますか?
はい。新規アカウントには 10 回のお試し呼び出しと最大 $1 の無料クレジットが付き、カード登録は不要です。入力 $2/M で計算すると、このクレジットだけで、約 8K トークンのリクエストを Claude Sonnet 5 に約 62 回送れます。
Claude Sonnet 5 は何が得意ですか?
コーディングとエージェントタスクで最大の向上、デフォルトで 1M トークンのコンテキストウィンドウ、Sonnet 4.6 からのドロップイン能力アップグレード。詳しくは、ベンダー公式のリリースノートをもとにまとめた、このページのモデル紹介セクションをご覧ください。
Claude Sonnet 5 の料金はいくらですか?
Synthorai での Claude Sonnet 5 の料金は、入力 100 万トークンあたり $2、出力 100 万トークンあたり $10 です。プロバイダーの定価のままで、プラットフォーム手数料はかかりません。キャッシュ済み入力トークンは $0.2/M で課金されます。
Claude Sonnet 5 のコンテキスト長はどれくらいですか?
Claude Sonnet 5 のコンテキストウィンドウは 1M トークンです。1 回の応答で出力できるのは最大 128,000 トークンです。
Claude Sonnet 5 はプロンプトキャッシュに対応していますか?
はい。オプトイン方式で、内容が変わらないプレフィックスに cache_control のブレークポイントを付けて指定します。キャッシュ済み入力トークンは $0.2/M(未キャッシュは $2/M)で課金されます。なお、キャッシュには 1,024 トークン以上の、内容が変わらないプレフィックスが必要です(TTL デフォルト 5 分、オプションで 1 時間)。 プロンプトキャッシュガイド →
Claude Sonnet 5 を利用するには?
お使いの OpenAI SDK の base_url を "https://synthorai.io/v1" に向け、model="claude-sonnet-5" を設定すれば完了です。API キー 1 本でゲートウェイ上のすべてのモデルを利用できます。
Claude Sonnet 5 の知識カットオフはいつですか?
ベンダー公式ドキュメントによると、Claude Sonnet 5 の知識カットオフは 2026-01 です(2026-07-09 時点)。
関連モデル
比較
このページの値は、すべてベンダー自身のドキュメント(上部にリンクがあります)から転記したもので、確認した日付を添えています。価格はカタログ全体で比較しています。一方、ベンダーによって定義が異なる仕様値は、違いを明記するにとどめ、グラフでの比較はしていません。当社が測定した数値はなく、スコアも付けていません。