diff --git a/snapshots/anthropic/api-release-notes.md b/snapshots/anthropic/api-release-notes.md index 3e07d76..a858e93 100644 --- a/snapshots/anthropic/api-release-notes.md +++ b/snapshots/anthropic/api-release-notes.md @@ -5,4 +5,20 @@ For release notes on Claude Apps, see the Release notes for Claude Apps in the C For updates to Claude Code, see the complete CHANGELOG.md in the `claude-code` repository. +### June 29, 2026 + +- We've removed fast mode for Claude Opus 4.6. Requests to `claude-opus-4-6` with `speed: "fast"` no longer run at fast speed or premium pricing: they run at standard speed, are billed at standard rates, and do not return an error. The response's `usage.speed` field reports the speed used. To continue using fast mode, migrate to Claude Opus 4.8. Read more in Fast mode. + +### June 26, 2026 + +- We've raised rate limits across the Claude API. Claude Sonnet and Claude Haiku rate limits now match Claude Opus at every usage tier, and usage tiers have been consolidated into three: Start, Build, and Scale. Most organizations move to a higher tier, no organization receives lower limits than before, and no action is required. You can view your tier and current limits in the Claude Console. + +### June 25, 2026 + +- We've deprecated fast mode for Claude Opus 4.7, with removal on July 24, 2026. After removal, requests to `claude-opus-4-7` with `speed: "fast"` will return an error. Migrate to fast mode for Claude Opus 4.8. Read more in Fast mode. + +### June 18, 2026 + +- The Python, TypeScript, Go, Java, Ruby, PHP, and C# SDKs now include support for `code_execution_20260120`, the code execution tool version that adds REPL state persistence and is the minimum version for programmatic tool calling. To adopt it, set the tool's `type` to `code_execution_20260120`; no beta header is required. It's available on Claude Fable 5, Claude Mythos 5, Claude Opus 4.5 and newer, and Claude Sonnet 4.5 and newer; see the model compatibility table. + ### June 15, 2026 @@ -23,13 +39,12 @@ For updates to Claude Code, see the complete CHANGELOG.md in the `claude-code` r - Claude Fable 5 and Claude Mythos 5 use the tokenizer introduced with Claude Opus 4.7. Compared to models before Claude Opus 4.7, the same text produces roughly 30% more tokens. Use the token counting API with `model: "claude-fable-5"` to measure your prompts under the new tokenizer. - Claude Fable 5 runs safety classifiers on requests and during response generation. When a classifier declines a request, the Messages API returns `stop_reason: "refusal"`. You are not billed for a request refused before any output is generated. An opt-in `fallbacks` parameter (in beta on the Claude API and Claude Platform on AWS; not supported on the Message Batches API) re-runs refused requests on another model, billed at the fallback model's rates. See Handling stop reasons. -- The - `stop_details.category` - field on refusal responses now includes - `"reasoning_extraction"` - on Claude Fable 5, returned when a request is blocked under Anthropic's Terms of Service restrictions on reverse engineering or duplicating model outputs. The existing - `"cyber"` - and - `"bio"` - categories are unchanged. No beta header is required. +- The `stop_details.category` field on refusal responses now includes `"reasoning_extraction"` on Claude Fable 5, returned when a request is blocked under Anthropic's Terms of Service restrictions on reverse engineering or duplicating model outputs. The existing `"cyber"` and `"bio"` categories are unchanged. No beta header is required. +- On Claude Fable 5 and Claude Mythos 5, adaptive thinking is the only thinking mode: `thinking: {"type": "disabled"}` is not supported, and manual extended thinking budgets and assistant prefill are not supported (both return a 400 error). See Migrating from Claude Mythos Preview to Claude Mythos 5. +- On Claude Fable 5 and Claude Mythos 5, `thinking.display` defaults to `"omitted"`, the same as Claude Opus 4.8, Claude Opus 4.7, and Claude Mythos Preview; set `display: "summarized"` to receive readable thinking summaries. The raw chain of thought is never returned; pass thinking blocks back unchanged in multi-turn conversations on the same model. See Thinking output on Claude Fable 5 and Claude Mythos 5. +- Claude Fable 5 requires 30-day data retention on the Claude API and is not available under zero data retention. See Model-specific data retention requirements. +- Claude Managed Agents now supports scheduled deployments, letting you run sessions on a cron schedule without managing your own scheduler. +- Claude Managed Agents vaults now support environment variable credentials, so you can securely inject secrets into the agent's sandbox for CLIs, SDKs, and other services that authenticate through environment variables. +- The `session.thread_*` webhook events now include a `session_thread_id` field identifying the multi-agent thread that triggered the event. +- We've released a Swift package in beta that adds Claude as a server-side `LanguageModel` in Apple's Foundation Models framework. Call Claude through the same `LanguageModelSession` API as Apple's on-device model on iOS 27, macOS 27, visionOS 27, and watchOS 27 (beta). ### June 5, 2026 @@ -48,7 +63,21 @@ For updates to Claude Code, see the complete CHANGELOG.md in the `claude-code` r ### May 28, 2026 -- We've launched Claude Opus 4.8 (claude-opus-4-8), our most capable generally available model. Claude Opus 4.8 supports a 1M token context window by default on the Claude API, Amazon Bedrock, and Vertex AI (200k on Microsoft Foundry), 128k max output tokens, and the same set of tools and platform features as Claude Opus 4.7. See What's new in Claude Opus 4.8 for capability improvements, new features, and migration guidance. +- We've launched Claude Opus 4.8 (claude-opus-4-8), our most capable generally available model. Claude Opus 4.8 supports a 1M token context window by default on the Claude API, Amazon Bedrock, Google Cloud, and Microsoft Foundry, 128k max output tokens, and the same set of tools and platform features as Claude Opus 4.7. See What's new in Claude Opus 4.8 for capability improvements, new features, and migration guidance. - We've launched mid-conversation system messages. On Claude Opus 4.8, you can send `role: "system"` messages after a user turn (subject to placement rules) in the `messages` array, preserving prompt cache hits when instructions change during a long-running session. No beta header is required. - The `stop_details` field on refusal responses is now publicly documented; it returns a `category` (`cyber`, `bio`, or `null`) and a human-readable `explanation`, so your application can route different classes of refusal to the right next step. No beta header is required. +- On Claude Opus 4.8, the effort parameter defaults to `high` across all surfaces, including Claude Code and the Messages API. +- On Claude Opus 4.8, the minimum cacheable prompt length for prompt caching is 1,024 tokens, lower than on Claude Opus 4.7. +- With adaptive thinking enabled, Claude Opus 4.8 triggers reasoning only when a turn needs it, reducing wasted thinking tokens compared to Claude Opus 4.7 at the same effort level. +- Claude Opus 4.8 supports high-resolution image input (up to 2576 pixels on the long edge), same as Claude Opus 4.7. +- Task budgets now support Claude Opus 4.8. +- The advisor tool now supports Claude Opus 4.8. +- Computer use now supports Claude Opus 4.8. +- Fast mode for Claude Opus 4.8 is available as a research preview on the Claude API only. +- Setting the sampling parameters `temperature`, `top_p`, or `top_k` to a non-default value returns a 400 error on Claude Opus 4.8, same as on Claude Opus 4.7. See the migration guide for details. +- In Claude Code, we've expanded Auto mode to more users for long-running tasks. See the Claude Code documentation. +- In Claude Code, Max plan users now default to fast mode on Claude Opus 4.8. See the Claude Code documentation. +- In Claude Code, Workflows are available as a research preview, letting you define and run multi-step agentic plans. See the Claude Code documentation. +- We've deprecated fast mode for Claude Opus 4.6, with removal approximately 30 days after launch. Migrate to fast mode for Claude Opus 4.8 or Claude Opus 4.7. Read more in Fast mode. +- For updates to claude.ai, Cowork, Claude for Microsoft 365, and other Claude apps in this release, see the release notes for Claude Apps. ### May 27, 2026 @@ -85,4 +114,9 @@ For updates to Claude Code, see the complete CHANGELOG.md in the `claude-code` r - Webhooks for Claude Managed Agents are now supported. Webhook event types include session and vault lifecycle events. See Subscribe to webhooks. - Additional filtering and sorting options are now supported for Claude Managed Agents. Sessions can be filtered by status, and events can be filtered by type. Events can now be filtered by creation time. +- Dreams for Claude Managed Agents are now available as a research preview. A dream reads an existing memory store alongside past session transcripts and produces a reorganized output memory store with duplicates merged, stale entries replaced, and new insights surfaced. Dreams require the `dreaming-2026-04-21` beta header in addition to the standard `managed-agents-2026-04-01` header. Request access to try it. + +### May 4, 2026 + +- Workload Identity Federation is now generally available. Authenticate workloads to the Claude API with short-lived OIDC tokens from your own identity provider (AWS IAM, Google Cloud, GitHub Actions, Kubernetes, Microsoft Entra ID, Okta, SPIFFE, and more) instead of long-lived static API keys. Configure issuers and federation rules in the Claude Console, and the SDK handles token exchange and refresh automatically. See Authentication. ### April 30, 2026 @@ -90,4 +124,8 @@ For updates to Claude Code, see the complete CHANGELOG.md in the `claude-code` r - We've retired the 1M token context window beta (`context-1m-2025-08-07`) for Claude Sonnet 4.5 and Claude Sonnet 4. The beta header now has no effect on these models, and requests exceeding the standard 200k-token context window return an error. To use the 1M context window, migrate to Claude Sonnet 4.6 or Claude Opus 4.6, where it's generally available at standard pricing with no beta header required. +### April 29, 2026 + +- We've released the Claude API skill, an open-source Agent Skill that gives Claude up-to-date reference material for building on the Messages API and Claude Managed Agents across 8 languages. The skill is bundled with Claude Code and available in the Anthropic skills repository. + ### April 24, 2026 @@ -106,4 +144,7 @@ For updates to Claude Code, see the complete CHANGELOG.md in the `claude-code` r - We've launched Claude Opus 4.7, our most capable generally available model for complex reasoning and agentic coding, at the same $5 / $25 per MTok pricing as Opus 4.6. See What's new in Claude Opus 4.7 for capability improvements, new features, and the updated tokenizer. Opus 4.7 includes API breaking changes versus Opus 4.6; see Migrating to Claude Opus 4.7 before upgrading. - Claude in Amazon Bedrock is now open to all Amazon Bedrock customers. Claude Opus 4.7 and Claude Haiku 4.5 are available self-serve from the Bedrock console through the Messages API endpoint at `/anthropic/v1/messages`, in 27 AWS regions with global and regional endpoints. +- We've launched task budgets in beta on Claude Opus 4.7. Give Claude an advisory token budget for a full agentic loop (thinking, tool calls, tool results, and output) and the model sees a running countdown, using it to prioritize work and finish gracefully as the budget is consumed. Include the `task-budgets-2026-03-13` beta header in your requests. +- Claude Opus 4.7 supports high-resolution image input, raising the maximum image resolution from 1568 to 2576 pixels on the long edge for improved performance on computer use, screenshot understanding, and document analysis. High-resolution support is automatic and requires no beta header; images may use up to approximately 3x more image tokens than on prior models. +- We've added the `xhigh` effort level on Claude Opus 4.7. `xhigh` sits between `high` and `max` and is tuned for long-running agentic and coding tasks (over 30 minutes) with token budgets in the millions. No beta header is required. ### April 14, 2026 @@ -167,7 +208,6 @@ For updates to Claude Code, see the complete CHANGELOG.md in the `claude-code` r - We've launched the compaction API in beta, providing server-side context summarization for effectively infinite conversations. Available on Opus 4.6. - We've introduced data residency controls, allowing you to specify where model inference runs with the `inference_geo` parameter. US-only inference is available at 1.1x pricing for models released after February 1, 2026. -- The 1M token context window is now available in beta for Claude Opus 4.6, in addition to Sonnet 4.5 and Sonnet 4. - Long context pricing - applies to requests exceeding 200k input tokens. +- The 1M token context window is now available in beta for Claude Opus 4.6, in addition to Sonnet 4.5 and Sonnet 4. Long context pricing applies to requests exceeding 200k input tokens. +- Fine-grained tool streaming is now generally available on all models and platforms (no beta header required). ### January 29, 2026 @@ -355,4 +395,7 @@ For updates to Claude Code, see the complete CHANGELOG.md in the `claude-code` r - We've launched the Code execution tool in public beta, a tool that enables Claude to execute Python code in a secure, sandboxed environment. - We've launched the MCP connector in public beta, a feature that allows you to connect to remote MCP servers directly from the Messages API. +- To increase answer quality and decrease tool errors, we've changed the default value for the `top_p` nucleus sampling parameter in the Messages API from 0.999 to 0.99 for all models. To revert this change, set `top_p` to 0.999. Additionally, when extended thinking is enabled, you can now set `top_p` to values between 0.95 and 1. +- We've moved our Go SDK from beta to GA. +- We've included minute and hour level granularity to the Usage page of Console alongside 429 error rates on the Usage page. ### May 21, 2025 @@ -392,4 +435,5 @@ For updates to Claude Code, see the complete CHANGELOG.md in the `claude-code` r - `bash_20250124`: Same functionality as previous version but is independent from computer use. Does not require a beta header. - `text_editor_20250124`: Same functionality as previous version but is independent from computer use. Does not require a beta header. + - `computer_20250124`: Updated computer use tool with new command options including "hold_key", "left_mouse_down", "left_mouse_up", "scroll", "triple_click", and "wait". This tool requires the "computer-use-2025-01-24" anthropic-beta header. Learn more in Tool use with Claude. ### February 10th, 2025