本文へスキップ

anthropic/claude-fable-5.2/chat

Anthropic の Claude Fable 5.2 API は 100 万トークンのコンテキスト、128K 出力、5 段階の適応思考(low〜max)、Fable 5 より抑えた単価を備えます。

入力 $7.20出力 $36100 万トークンあたり公式価格より 10% 安いキャッシュ入力 $0.72キャッシュ書き込み $9Anthropic 公式価格入力 $8出力 $40

プレイグラウンド

Claude Fable 5.2

Claude Fable 5.2 に何を頼みますか?

お探しのモデルが見つかりませんか?

次世代エージェント&推論 API

Claude Fable 5.2 API のポイント

長時間の開発エージェントと複数リポジトリ改修を低単価でこなす Anthropic 最新モデル。

コンテキスト長
1M
長大なコードや文書を1回で処理。
最大出力
64K
1ターンで長文や構造化出力を生成。
推論の深さ
4 段階
low・medium・high・max から選択可能。

作例

Claude Fable 5.2 が得意なこと

  • 適応型の思考深度

    単一エンドポイントで 4 段階の推論強度を制御

    別々のクライアント統合を用意することなく、1 つのパラメータだけで low、medium、high、max へ滑らかに思考量を調整できます。リクエスト形式を変えずに、定型整形は low で軽快にこなし、複雑なシステム監査では max の深掘りを引き出せます。

  • 4 区分トークン課金

    反復読み取りを前提としたプロンプトキャッシュ

    大規模リポジトリ、契約書群、原稿バイブルを messages 先頭へ固定すれば、継続ターンの入力は標準単価より 90% 安い $0.72 / 1M で精算されます。4 区分すべてが Anthropic 定価より 10% 低く設定されています。

  • マルチモーダル大容量枠

    テキストと画像を統合する 100 万トークン

    長大なコードベース、対話ログ、image_url キャプチャを 1,000,000 トークン枠内で横断分析し、1 回の実行で最大 64,000 トークンの構造化レポートや長文原稿を出力できます。

  • OpenAI 互換設計

    既存 SDK のまま SSE 配信と 128 ツール制御

    既存の OpenAI SDK から `/v1/chat/completions` へ `anthropic/claude-fable-5.2/chat` を指定するだけで、リアルタイム SSE ストリーミング、関数名指定の `tool_choice`、カスタム停止配列、直列・並列ツール実行をそのまま利用できます。

実行する前に

Claude Fable 5.2 を使う前に知っておきたいこと

チャット
テキストと画像入力のみ対応。適応思考が常時有効なため temperature / top_p は指定できません。

活用例

Claude Fable 5.2 API で作れるもの

  • リポジトリ横断のリファクタリングと移行計画

    データベーススキーマ、API 契約、結合テスト群を 1,000,000 トークンの文脈枠へ一括投入し、同期された移行手順とロールバック検証項目を立案できます。

  • 余韻のある長編フィクションと会話執筆

    小説全編の草稿とキャラクター設定バイブルを文脈に固定し、一貫した語り口、繊細な光描写、含みのあるやり取りを備えたロマンスやノワールの続編を書き継げます。

  • 画面 UI と構成図のビジュアル点検

    スクリーンショット、ワイヤーフレーム、システムトポロジ図を image_url ブロックでソースファイルと同時に渡し、レイアウト崩れと状態不整合を 1 ターンで特定できます。

  • 状態保持型の多ツール開発エージェント

    最大 128 件の関数を登録し、前段の実行結果を待つ必要があるデータベース確認やデプロイ手順では `parallel_tool_calls` を `false` にして逐次制御できます。

  • 深刻な障害の根本原因デバッグ

    複数サービスにまたがるログから分散競合状態、重複課金リトライ、断続的な本番デッドロックを解き明かす際に、reasoning_effort を high または max へ切り替えて深掘りできます。

プロンプト

コピーして使える Claude Fable 5.2 のプロンプト例

  • チャット

    キャンドル灯るパリの書斎での続編対話

    Continue the scene below for 350 to 450 words. Keep the candlelit Parisian study atmosphere, the slow-burn tension, and the rhythm of whispered dialogue without rushing the beat. Rain ticked steadily against the tall balcony panes of the sixth-arrondissement study. Past midnight, the room held two small pools of light from beeswax tapers guttering beside a brass inkwell and scattered manuscript pages. Julien, thirty-six, sat back in his leather desk chair, his ivory silk shirt unbuttoned at the throat and sleeves rolled neatly to his forearms, a fountain pen resting across his knuckles. Camille, thirty-four, crossed the parquet floor barefoot, her emerald silk evening dress catching the warm flicker as she leaned close to set a crystal coupe beside his draft. The thin left strap slipped an inch down her bare shoulder; neither of them made a move to adjust it. She held his gaze across the narrowing space, her voice dropping to a low murmur. "You told the gallery you burned my October letter," she said softly, fingertips grazing the edge of the locked top drawer. "Yet the cedar scent is still on your collar."

    うまくいく理由. 年齢、衣装、蝋燭の光、語数目標を明示することで、標準的な推論深度でも抑制の効いたロマンスの緊張感と歯切れよい会話リズムを Claude Fable 5.2 が維持できます。

    このプロンプトを試す
  • チャット

    3 サービス決済台帳の移行レビュー

    We are migrating a live immutable PostgreSQL billing ledger (180M rows) to monthly range partitions while introducing a transactional outbox worker that publishes settled-usage events to Kafka. Current constraints: - Peak write throughput is 1,400 ledger inserts/sec; read queries filter by (account_id, created_at DESC). - Settlement API workers hold short SERIALIZABLE transactions that verify account balance before inserting debit rows. - The new outbox poller runs 6 replicas with SELECT ... FOR UPDATE SKIP LOCKED in batches of 500. Audit this plan for: (1) lock contention or table-rewrite risks during partition cutover, (2) idempotency and ordering hazards if Kafka consumers process replayed outbox batches, and (3) a four-stage zero-downtime migration sequence with measurable abort thresholds.

    うまくいく理由. 具体的な構成前提と 3 つの監査観点を明示することで、ありきたりな一般論に文字数を浪費せず深い段階的推論の価値を最大限に引き出せます。

    このプロンプトを試す
  • チャット

    分散 Webhook リトライ競合の修正設計

    Production incident: roughly 0.04% of payment top-up webhooks deposit funds into an account twice even though `wallet_ledger` has `UNIQUE (webhook_event_id)`. Observed handler logic (Go + PostgreSQL READ COMMITTED): 1. Handler begins transaction T1. 2. Calls `SELECT id FROM wallet_ledger WHERE webhook_event_id = $1` (returns 0 rows). 3. Calls external risk service over HTTP (takes 180-900ms while holding T1 open). 4. Calls `UPDATE accounts SET balance_cents = balance_cents + $1 WHERE id = $2`. 5. Inserts into `wallet_ledger` with `ON CONFLICT (webhook_event_id) DO NOTHING` and commits. Notice step 5 ignores conflict errors rather than rolling back step 4. Trace the exact interleaving between two concurrent webhook deliveries that produces the duplicate deposit, provide the minimal SQL and Go fix that eliminates both the duplicate deposit and the long transaction hold, and design a deterministic Go test using a synchronization barrier to reproduce and prove the fix.

    うまくいく理由. ロックとトランザクション分離の厳密な交錯順序を追跡すべき高難度の並行不具合に絞って最大深度の推論を割り当てた好例です。

    このプロンプトを試す
  • チャット

    深夜セーヌ川望む客室の含み表現リライト

    Rewrite this two-page confrontation between two estranged auction-house rivals in their late thirties sharing a rain-soaked hotel suite overlooking the Seine at 1:00 a.m. Keep her burgundy satin robe loosely tied at the waist and his loosened black tie and open collar catching amber bedside lamplight. Trim overt exposition by 40%, deepen the murmured pauses, and end on a quiet line that leaves the reader guessing whether she reaches for the keycard or his collar.

    うまくいく理由. 削減率の数値目標と衣装・照明の演出指定を組み合わせ、大人のロマンスらしい洗練された余白を保ったピンポイント改稿を示します。

    このプロンプトを試す
  • チャット

    キャッシュ原稿を用いた整合性監査

    Using the static 60,000-word manuscript and character dossier pinned in the system prefix, audit Chapter 14's midnight conservatory meeting between Elena (35) and Marc (38). List every contradiction in wardrobe, candlelit room layout, earlier whispered promises, and timeline markers with exact chapter and paragraph citations.

    うまくいく理由. 不変の参照原稿をプレフィックスに固定し、検証可能な章・段落引用を求めつつ継続的な校正ターンを $0.72 / 1M のキャッシュ入力単価で回す構成です。

    このプロンプトを試す
  • チャット

    画面キャプチャと CSS の崩れ原因診断

    Inspect the attached mobile viewport screenshot (image_url) alongside the sticky navigation bar and modal CSS below. Explain why the checkout drawer clips under the header at 390px width, name the stacking-context rule causing the overlap, and return a minimal patch without breaking desktop sticky behavior.

    うまくいく理由. 添付した実画面スクリーンショットと CSS 抜粋を組み合わせ、実際の表示キャプチャから Claude Fable 5.2 に直接レイアウト不具合を診断させる実践例です。

    このプロンプトを試す

料金

Claude Fable 5.2 API の料金

入力 100 万トークンあたり $7.2、出力 100 万トークンあたり $36 から。

はじめ方

3 ステップで Claude Fable 5.2 API を使う

  1. ステップ 1

    静的な文脈をプレフィックス先頭に固定

    動的なユーザー発話より前に、システム規定、ツールスキーマ、参照コードベースや原稿を messages の最上部へ配置します。先頭部分をバイト単位で同一に保つことで、2 回目以降は $7.20 / 1M ではなく $0.72 / 1M のキャッシュ読み取り単価で精算されます。

  2. ステップ 2

    ターンごとに reasoning_effort を最適化

    標準的な執筆や通常改修は medium のまま進め、軽量な情報抽出では low へ下げ、難解な不具合解析では high または max へ引き上げます。内部トークン消費を不必要に膨らませないよう、「段階的に考えて」といった冗長な指示は省いてください。

  3. ステップ 3

    内部思考を見越して max_tokens を確保

    内部推論と可視テキストは同じ max_tokens(既定 4,096、上限 64,000)を分け合うため、high や max を選ぶ際は上限を十分に引き上げてください。枠が不足すると思考途中で最終回答が途切れる原因になります。

パラメーターの詳細とコード例は、このページ上部の API タブと Readme タブにあります。

FAQ

Claude Fable 5.2 API のよくある質問

Claude Fable 5.2 について

既存のクライアント実装を書き換えることなく、複数リポジトリの開発、画面デバッグ、長編文芸の執筆を Anthropic Claude Fable 5.2 へ統合できます。お使いの OpenAI 互換 SDK から `/v1/chat/completions` へ `anthropic/claude-fable-5.2/chat` を指定し、静的仕様書や原稿を先頭に固定して $0.72 / 1M のキャッシュ読み取りを活かしつつ、ターンごとに reasoning_effort を low から max まで調整してください。最新単価は /models/claude-fable-5-2 で確認でき、より大きな単一出力上限が必要な場合は /models/claude-fable-5 とも比較いただけます。

Claude のすべてのモデル11

関連モデルと次のステップ