Claude Sonnet 5
Claude Sonnet 5をオンラインで試して、バランスの取れたコーディング、分析、執筆、運用アシスタントに活用しましょう。ストリーミング応答をテストし、トークン使用量を確認し、APIを統合できます。
A codebase you don't know is a risk, not a hurdle. The plan should burn down that risk in order: understand, run, trace, spike, then make the change small enough that "production-ready" is a property you can demonstrate, not a hope.
Here are the first five steps, with the evidence you collect at each.
Step 1 — Get it building and the baseline green (half day)
Read the README, the manifest(s), the CI config, and any architecture docs. Boot the app locally, run the full test suite, run the linter/typechecker.
Evidence: The exact commands that reproduce a clean build and a passing test suite from a fresh checkout (recorded output, not memory of it). A one-page map you wrote yourself: where the entry points are, the layers, the build/test toolchain, and the main risks to your feature (e.g. "this touches cron jobs and payments").
Step 2 — Trace the smallest end-to-end slice that resembles your feature (half day)
Don't start with your feature. Pick a neighboring one that already works and follow it from entry to persistence. Note the conventions along the way: how errors surface, how config is injected, how logging is done, how tests are written.
Evidence: An annotated trace — file → function → what it does — for that slice. A written list of "conventions I must follow" (not intuitions; things you observed in real code). A named shortlist of the 3–5 files you will actually touch. If you can't produce this trace, you're not ready to write code.
Step 3 — Spike the core path (day 2)
Build the ugly version: hardcoded values, no error handling, no tests. The purpose is to confirm the path you traced in step 2 is real and to surface what you didn't know you didn't know.
Evidence: A working spike demonstrating the feature's central data path, alongside a list of every assumption the spike broke and what you corrected. That correction list is the most valuable document in this whole plan.
Step 4 — Write the contract before the code (half of day 2 / day 3)
Once the spike proves the path, pin down what production needs: the inputs/outputs, the error cases, where it sits in the conventions from step 2. Then write the tests — they'll be red, but they're the specification.
Evidence: A one-to-two-page design doc, an agreed interface/API shape (with the team if there is one), and a red test suite that encodes intended behavior. If you can't write the contract without consulting the code, you haven't finished step 2.
Step 5 — Implement in small, verified increments (days 3–4)
Replace the spike with the real thing in small commits, each one keeping the suite green, leaning on the existing patterns. Run lint/tests/typecheck per commit — CI, not just locally — and exercise the actual path against a real instance (staging or a local environment that isn't stubbed).
Evidence: A branch with progressive commits, each green in CI; coverage on the new code; something that proves it works against reality (a test result, a log trace, a screenshot); and a review by at least one person who knows the codebase. The review counts as evidence — an unfamiliar codebase has tribal knowledge you cannot extract from the files alone.
Steps 6+ would be the things that actually make it "shipped": a migration plan and its rollback, feature flagging, observability, the release and post-release verification. But the first five get you to a reviewed, green, working slice in staging — which is the point at which you can say "this will work in production" with evidence behind it, instead of a guess.
実行するとこのプロンプトで AI Chat が開きます。ログインとクレジットが必要です。
モデル詳細
Playground、APIリクエスト、社内ワークフローで同じモデルキーを使用してください。
- モデル ID
- claude-sonnet-5
- プロバイダー
- Anthropic
- プロトコル
- Anthropic Messages
- コンテキストウィンドウ
- 1,000,000 トークン
- 最大出力
- 128,000 トークン
- 入力 Token
- 100 credits / 100万トークン
- 出力 Token
- 500 credits / 100万トークン
- キャッシュ読み取り
- 10 credits / 100万トークン
- キャッシュ書き込み
- 125 credits / 100万トークン
Claude Sonnet 5でできること
最高コストの階層に毎回頼らずとも、日常的に高い品質が必要なチーム向けのバランスの取れた本番用モデルとしてClaude Sonnet 5を選びましょう。
日々の開発で、機能の実装、見慣れないコードの説明、修正の反復を行えます。
フラッグシップ専用のワークフローに伴う手間をかけずに、選択肢を比較し、証拠を要約します。
明確で構造化された応答が必要な、役立つサポート用および社内向けアシスタントを支えます。
仕様書、ブリーフ、リリースノート、再利用可能な運用ドキュメントを作成します。
Claude Sonnet 5のユースケース
本番運用の幅広い中間層に最適です。重要なタスクにも十分対応でき、繰り返しの利用にも実用的です。
プロダクト開発
コード、テスト、ドキュメント、実装判断の間を行き来できます。
社内ナレッジアシスタント
運用上の質問に、明確で役立つ形式で回答します。
サポート自動化
正確な回答を作成し、曖昧なケースはエスカレーションします。
コンテンツ制作
日々のビジネスニーズに使える、構造化された再利用可能な下書きを作成します。
3 ステップで Claude Sonnet 5 を試す
- 01
設定を選ぶ
モデルがサポートする応答コントロールとアップロードオプションを設定します。
- 02
プロンプトを送信
タスクを説明し、関連するコンテキストを追加して、ストリーミング応答とトークン使用量を確認します。
- 03
API を接続
ドキュメント化されたエンドポイントと API key を使って、同じモデルをあなたの製品に組み込みます。
Claude Sonnet 5 APIで構築する
API キーを管理 →予測可能な制御と使用状況レポートを備えたインタラクティブなテストから、本番統合へ進めます。
このモデル用に設定されたAPIプロトコルを使用します。利用可能な場合はストリーミングも含まれます。
各応答後に、入力トークン、出力トークン、および消費クレジットを追跡できます。
汎用のデフォルトに頼らず、対応している生成パラメータを渡してください。
同じAIReiterアカウントと請求システムで、対応しているテキストモデルをテストし、運用できます。
FAQ
01Claude Sonnet 5はいつ選ぶべきですか?
コーディング、分析、アシスタント、構造化された執筆向けのバランスの取れた本番用モデルとして選んでください。
02Sonnet 5はOpus階層とどう違いますか?
Sonnetは、すべてのタスクをフラッグシップ階層に振り分けることなく、日常的に高い性能が必要なときの実用的なデフォルトです。
03Claude Sonnet 5は応答をストリーミングできますか?
はい。プレイグラウンドは出力をストリーミングし、完了後に使用量を報告します。
04Claude Sonnet 5の料金はどのようになっていますか?
現在の入力トークンと出力トークンの料金はplaygroundの上部に表示されています。
05APIを通じてClaude Sonnet 5を統合できますか?
はい。リンク先のAPIドキュメントを開き、表示されているモデルIDを送信してください。