### 整体摘要
本次文档更新核心在于发布了新一代旗舰模型 **Claude Fable 5**(广泛可用)和 **Claude Mythos 5**(受限可用)。此次更新不仅引入了更强的推理能力,还改变了 API 的行为模式(强制自适应推理),更新了定价策略,并新增了自动安全回退机制。
### 关键主题
* **新一代模型发布**:引入了 **Claude Fable 5** 作为当前最强的广泛可用模型,以及 **Claude Mythos 5**(通过 Project Glasswing 提供)。两者均具备 1M token 的上下文窗口和 128k 的最大输出。
* **推理模式重大变更**:Fable 5 和 Mythos 5 **强制启用自适应推理**,不再支持手动配置 `extended thinking`(即 `thinking: {type: "enabled", budget_tokens: N}`),发送该配置将返回 400 错误。
* **API 结构更新**:API 枚举中新增 `claude-fable-5` 和 `claude-mythos-5`;拒绝响应类别新增 `reasoning_extraction`;工具搜索错误响应中新增 `error_message` 字段。
* **成本与限流调整**:Fable 5 价格显著高于 Opus 4.8(输入 $10/MTok,输出 $50/MTok),但在更高等级的 Tier 中提供了更高的限流阈值。
* **安全回退机制**:Fable 5 内置网络安全和生物学领域的安全分类器。触发时,会自动回退到 Opus 模型(4.8 或 4.7)处理请求。
### 影响级别:**高**
**理由**:此次更新涉及核心模型能力的迭代,引入了破坏性的 API 行为变更(如拒绝手动思考配置),且价格成倍增长。开发者如果希望迁移到新模型,必须修改代码以适应新的推理模式,并重新评估预算。
### 开发者行动项
1. **更新模型选择逻辑**:在代码和配置中添加对 `claude-fable-5` 和 `claude-mythos-5` 的支持,并注意 `best` 别名现在优先指向 Fable 5。
2. **移除手动思考配置**:如果计划使用 Fable 5 或 Mythos 5,必须移除请求中的 `thinking: {type: "enabled", budget_tokens: N}` 参数,转而依赖 `effort` 参数控制输出深度。
3. **重新评估预算与成本**:鉴于 Fable 5 的价格是 Opus 4.8 的两倍,请务必更新应用的成本计算逻辑,并考虑其对运营成本的影响。
4. **处理新的 API 响应字段**:更新错误处理逻辑以解析工具搜索中的 `error_message` 字段,并处理拒绝响应中新增的 `reasoning_extraction` 类别。
5. **监控安全回退行为**:了解 Fable 5 针对特定敏感内容的自动回退机制(自动切换至 Opus),并在必要时通过 `/config` 关闭“自动切换”或使用 `safe-mode` 进行调试。
💭 Model Reasoning
1. **Understand the Goal:** The user wants a concise, insightful analysis of a batch of documentation changes for "Claude Code" and "Claude API". The analysis should be in Chinese, focus on what matters to developers, and follow a specific markdown structure (Overall Summary, Key Themes, Impact Level, Action Items).
2. **Analyze the Input Data:** I have a list of 34 pages with diffs. I need to scan through them to identify the core changes.
* *Page: cli-reference.md*: Large table diff, mostly reformatting or whitespace changes? Actually, looking closer, it's just a snippet of the table. The snippet looks identical but is wrapped in a diff block. It shows flags like `--add-dir`, `--agent`, etc. *Self-correction*: The diff shows `+69 / -69`, suggesting a reformat or whitespace change, or perhaps a massive table update where lines are replaced but look the same in the snippet. Let's look at other pages to see if there's a pattern.
* *Page: costs.md*: Added note about "Fable 5" always using extended thinking and cannot be disabled.
* *Page: desktop.md*: Added note about "Fable 5" always using extended thinking. Updated model list description.
* *Page: github-actions.md*: Removed info box about Claude Opus 4.8 availability (likely outdated or replaced by new info).
* *Page: interactive-mode.md*: Added note that "Toggle extended thinking" has no effect on Fable 5.
* *Page: mcp.md*: Changed text about tool search support (removed specific version requirements "Sonnet 4 and later", just says "requires a model that supports...").
* *Page: model-config.md*:
* **Major Change**: Added `fable` alias.
* **Major Change**: New section "Work with Fable 5". Describes it as the most capable model for long sessions.
* Updated "best" alias to use Fable 5 if available.
* Updated environment variable list to include `ANTHROPIC_DEFAULT_FABLE_MODEL`.
* Clarified Fable 5 is not the default.
* **Major Change**: New section "Automatic model fallback". Fable 5 falls back to Opus (4.8 or 4.7) if safety classifiers trigger.
* *Page: settings.md*: Updated `alwaysThinkingEnabled` description: `MAX_THINKING_TOKENS=0` doesn't disable thinking on Fable 5.
* *Page: sub-agents.md*: Added `fable` to the list of available model aliases for subagents.
* *Page: intro.md*:
* **Major Update**: Introduced "Claude Fable 5" as the most capable widely released model.
* Introduced "Claude Mythos 5" via Project Glasswing.
* Updated Opus 4.8 description.
* *Page: get-started.md*: Updated Java SDK dependency from `2.35.0` to `2.39.0`.
* *Page: about-claude/models/overview.md*:
* **Major Update**: Added detailed table for Claude Fable 5 and Mythos 5.
* Updated pricing: $10/$50 per MTok.
* Context window: 1M tokens.
* Max output: 128k tokens.
* Availability: June 9, 2026 (Future date in prompt context, but I treat it as "now" for the docs).
* Extended thinking: No. Adaptive thinking: Yes.
* Updated Opus 4.8 description to "most capable *Opus-tier* model".
* *Page: about-claude/models/migration-guide.md*:
* **Major Update**: Added section "Migrating from Claude Mythos Preview to Claude Mythos 5".
* **Major Update**: Added section "Migrating from Claude Opus 4.8 to Claude Fable 5".
* Key change: Adaptive thinking is always on. Manual extended thinking rejected. Tokenizer changes (30% more tokens).
* *Page: about-claude/pricing.md*: Added pricing rows for Fable 5 and Mythos 5 ($10/$50 input/output). Batch pricing ($5/$25).
* *Page: about-claude/model-deprecations.md*: Note about Mythos Preview retirement.
* *Page: api/messages.md*:
* **API Change**: Added `claude-fable-5` and `claude-mythos-5` to model enums.
* **API Change**: Added `reasoning_extraction` to refusal categories (in addition to `cyber` and `bio`).
* **API Change**: `ToolSearchToolResultErrorParam` added `error_message` field.
* *Page: api/messages/count_tokens.md*: Same model enum updates.
* *Page: api/messages/batches/create.md*: Same model enum updates.
* *Page: api/models/list.md*: Added new capabilities/betas: `server-side-fallback-2026-06-01`, `fallback-credit-2026-06-01`.
* *Page: api/beta/files/upload.md*: Same capability updates.
* *Page: api/rate-limits.md*: Added rate limit tiers for Claude Fable 5.
* *Page: api/errors.md*: Updated "Prefill not supported" list to include Fable 5 and Mythos 5.
* *Page: build-with-claude/vision.md*: Added Fable 5/Mythos 5 to high-res image support list (same max res as Opus 4.8).
* *Page: build-with-claude/extended-thinking.md*:
* **Breaking/Behavioral Change**: Fable 5 and Mythos 5 *always* have extended thinking on. Manual config (`thinking: {type: "enabled"...}`) returns 400 error.
* Adaptive thinking is always on. `thinking: {type: "disabled"}` returns an error.
* *Page: build-with-claude/streaming.md*: Added note about server-side fallback events in streaming.
3. **Synthesize the Core Themes:**
* **New Models (The Headline):** Introduction of **Claude Fable 5** (widely available) and **Claude Mythos 5** (limited availability, Glasswing).
* **Fable 5 Characteristics:** Highest capability, adaptive reasoning (always on), no manual extended thinking support (it's built-in), safety classifiers triggering fallbacks.
* **API Changes:** New model IDs, new refusal category (`reasoning_extraction`), new error field (`error_message` in tool search), new beta capabilities (`server-side-fallback`).
* **Migration:** Guides provided for moving from Mythos Preview -> Mythos 5, and Opus 4.8 -> Fable 5. Key nuance: Fable 5/Mythos 5 reject manual `thinking` parameters and always use adaptive reasoning.
* **Pricing & Limits:** Fable 5 is significantly more expensive ($10/$50 vs Opus $5/$25) but has higher limits in higher tiers.
4. **Determine Impact Level:**
* **High**. This isn't just a minor tweak. It introduces the "next generation" models (Fable 5), changes fundamental behavior regarding how thinking works (adaptive vs manual), changes pricing, and introduces new API fields. Developers using the API or configuring models need to know about these changes, especially if they want to opt into the new models or if they rely on manual thinking configuration.
5. **Draft Action Items (in Chinese):**
* Update model selection logic to include `claude-fable-5` and `claude-mythos-5`.
* Review and remove manual `thinking` configuration if migrating to Fable 5/Mythos 5 (switch to `effort` parameter).
* Update budgeting/cost calculations due to the significant price increase of Fable 5 ($10/$50).
* Handle new API response fields: `error_message` in tool search errors and `reasoning_extraction` in refusal categories.
* Note that Fable 5 includes automatic fallback to Opus based on safety classifiers; monitor or configure this behavior if necessary.
6. **Draft the Response (in Chinese):**
* *Overall Summary*: 本次更新主要发布了下一代旗舰模型 **Claude Fable 5**(广泛可用)和 **Claude Mythos 5**(受限可用)。文档全面更新了模型配置、API 接口、定价策略以及迁移指南,重点强调了新模型的固定自适应推理模式及安全分类器回退机制。
* *Key Themes*:
* 新模型发布:Fable 5 & Mythos 5。
* 推理模式变更:新模型强制使用自适应推理,禁用手动扩展思考配置。
* API 更新:新增模型 ID、拒绝类别和错误字段。
* 成本与配额:Fable 5 价格翻倍,但高等级限流更高。
* 安全机制:Fable 5 包含自动回退到 Opus 的功能。
* *Impact Level*: High. 涉及核心模型能力、API 行为变更及价格调整。
* *Action Items*: (See step 5).
7. **Refine Language:** Ensure technical terms are handled correctly (e.g., "Adaptive Thinking", "Extended Thinking", "Safety Classifiers").
* *Refining the thinking block point*: It's important to note that Fable 5 rejects the manual `thinking` block. This is a breaking change for code that sends it explicitly.
8. **Final Polish:** Check against the requested format.
* *Summary*: 简洁有力。
* *Themes*: 覆盖全面。
* *Impact*: High 理由充分。
* *Actions*: 5 条清晰可执行。
*(Self-Correction on `cli-reference.md`)*: I initially thought it was whitespace. Looking at the snippet again, it seems the table formatting might have changed or it's just noise in the diff provided. Since the content (text) of the snippet shown is identical, I won't focus on it as a "major change" but rather treat the explicit content changes (Fable 5) as the drivers. The `+69/-69` suggests a table reformat or just the diff context is large. I will stick to the clear content changes found in other files.
*(Self-Correction on dates)*: The docs mention "June 9, 2026". I should mention these models are "Available" or "Launched" based on the doc state presented, regardless of the real-world date (which might be the prompt's fictional future). I will treat the docs as truth for this analysis.
9. **Final Output Generation** (matches the thought process).