[KongchangAI]
· 2 min read· 1,307 words

Major AI SDK Update: Speech Translation Goes Stable, Anthropic Capabilities Recalibrated

Major AI SDK Update: Speech Translation Goes Stable, Anthropic Capabilities Recalibrated

AI SDK promotes speech paths to stable, audits Anthropic capability declarations, and refines capabilities per model ID.

This AI SDK update focuses on consolidating experimental ambiguity. ai@7.0.187 promotes streamTranscription and speech translation APIs from experimental to stable, keeping old names as deprecated aliases, with multiple providers following in sync. The Anthropic provider completes a capability audit, converting unaccepted budget thinking to adaptive thinking and correcting capability declarations while hiding some unverifiable historical model IDs. Cerebras, Cohere, DeepSeek, Fireworks, and Groq switch to per-model-ID capability declarations. Streaming retries gain exponential backoff and retry-header support, provider errors are attached to cause on transcription/translation failure, and the SubQ provider is added as a major version.

This batch of AI SDK releases doesn't look like a routine patch iteration—it's more like a concentrated cleanup of legacy experimental branches. The speech transcription and speech translation paths both graduate from experimental to stable at the same time, Anthropic's capability declarations get recalibrated after an audit, and sub-model capability declarations start being refined model by model via ID. For developers who have long followed this SDK, this is an update whose changelog deserves a careful read.

Speech Paths Go Stable: The Experimental Prefix Retires

The clearest throughline of this update is the stabilization of two capabilities in ai@7.0.187: streamTranscription (formerly experimental_streamTranscribe) and the StreamSpeechTranslationResult type family plus the speechTranslation() provider shortcut (formerly experimental_streamTranslate) are both promoted to stable APIs. The old experimental names aren't removed—they're kept as deprecated aliases.

The impact of this change is broad: AssemblyAI, Azure, Cartesia, Deepgram, ElevenLabs, Google, Google Vertex, Gateway, and other provider packages all declare the same promotion in sync. In other words, speech transcription is no longer one vendor's experimental playground but a stable interface shared across the entire provider matrix.

One other detail worth noting: when streaming transcription or translation fails to produce a result after an error part appears, NoTranscriptGeneratedError and NoTranslationGeneratedError now attach the provider error to cause. Consumers of the result Promise can therefore distinguish between "vendor failure" and "the audio itself contains nothing recognizable"—a significant difference when debugging production issues.

Anthropic Provider Capability Audit

The changelog for @ai-sdk/anthropic@4.0.113 uses the word "audited," indicating this is a capability restatement based on verification. Specifically: for Opus 4.7, Opus 4.8, Opus 5, and Sonnet 5, unaccepted budget thinking is converted to adaptive thinking; verified effort levels and fast-mode support are declared; limitations around computer protocol and structured output are documented; and support for sampling, compaction, task-budget, inference-geography, and mid-conversation system messages is corrected.

At the same time, the IDs for Opus 4.0, Opus 4.1, and Sonnet 4.0 are hidden from the public catalog, while request settings remain. The release notes candidly acknowledge that these historical models' capabilities cannot be re-verified and may be outdated. This "hide but don't delete" approach is friendlier to existing callers than outright deprecation.

The difference between budget thinking and adaptive thinking: These are two ways Anthropic's Claude models control extended thinking. With budget thinking, the caller explicitly specifies a token budget cap, and the model reasons within that budget; with adaptive thinking, the model itself decides how deep to think and how many tokens to spend based on task complexity. In newer-generation models (such as Opus 4.7 and later), Anthropic no longer accepts callers passing a fixed budget, so the SDK layer must automatically convert the old parameter shape to adaptive mode—otherwise the request will be rejected by the API. This conversion is transparent to upper layers, but if your prompt strategy depends on precise control of the thinking budget, actual token consumption may deviate from expectations after conversion.

Effort levels: These refer to the reasoning effort tiers a model supports (such as low/medium/high), used to balance latency against quality. "Audited" means the tiers declared in the provider package have been verified model by model rather than carried over from old assumptions.

Per-Model-ID Capability Declaration Becomes the Provider Default

A group of providers underwent the same kind of refactor in the same version: Cerebras, Cohere, DeepSeekAd, Fireworks, and Groq all switched to declaring model capabilities "per model ID." The significance of this change is that capability judgments no longer rely on coarse provider-level assumptions but are bound to specific models. For engineering that mixes multiple models under one provider, this reduces runtime errors caused by "capabilities being falsely claimed."

Per-model-ID capability declaration: AI SDK provider packages need to describe to the core layer what capabilities each model supports—whether it supports tool calling, structured output, image input, streaming, specific reasoning parameters, and so on. Early implementations often made coarse-grained declarations at the provider level, causing weaker models under the same provider to be mislabeled as supporting a capability, only to error out on actual invocation. After switching to per-model-ID registration, supportsX-style checks bind to the specific model string, and the capability matrix can be precise down to a single model version. The cost is that provider packages must maintain longer capability tables, explicitly adding entries whenever a new model launches, and unregistered models fall back to conservative defaults.

Streaming Retry and Speech Translation Stability Fixes

ai@7.0.187 also fixes two easily overlooked issues that affect real-world reliability. First, streaming retries now use exponential backoff and respect retry headers, including retries specified by callbacks; when a request or stream is cancelled, the retry wait is aborted immediately. Second, when parsing model IDs, the model factory uses the default provider as the receiver when calling the factory functions for speech translation, video, and reranking, avoiding errors in class-based providers that depend on instance state.

Exponential backoff and retry headers: If retries after a failed streaming request use a fixed interval, they can easily form a retry storm when a vendor is briefly overloaded. Exponential backoff makes the wait time grow multiplicatively with each retry; respecting retry headers means that when the server returns Retry-After (or a vendor-specific retry hint header), the client waits for the server-suggested time instead of using its own backoff curve. Together, these significantly reduce secondary pressure on a vendor that is already failing. Cancellation semantics also require that the retry wait itself be interruptible—when the caller aborts a request or closes a stream, a retry sitting in backoff must give up immediately; otherwise you get hung requests that "were cancelled but are still reconnecting in the background."

Harness Layer and Ecosystem Adjustments

Harness-related packages move utility functions that were mistakenly placed in the harness/v1 layer to the harness/utils layer—an internal layering cleanup. The ACP-enabled adapters gain support for custom extension methods: harness-acp allows custom ACP extension methods required by adapters, and harness-cursor declares subagent support and a custom cursor/task ACP extension method.

Another signal is the major release of @ai-sdk/subquadratic@3.0.0, which adds the SubQ provider with two model types: language and decision. It's unusual for a provider package to start at a major version, and it can be seen as a footnote to this SDK's continued expansion in model types.

Upgrade Recommendations

If your project still uses experimental_streamTranscribe or experimental_streamTranslate, now is a good time to migrate to the stable names—the old names still work but are marked deprecated, and the future maintenance window is uncertain. For projects that rely on Anthropic's advanced reasoning parameters, check whether the budget-thinking-to-adaptive-thinking conversion logic conflicts with your existing prompt strategy. As for the providers that now declare capabilities per model ID, behavior changes mainly appear on capabilities that were previously falsely claimed; regression tests should cover scenarios that mix multiple models.

This batch of updates introduces no breaking API disruptions, but it consolidates a great deal of "experimental" and "uncalibrated" ambiguity into clear contracts. For production environments, this kind of cleanup has more long-term value than new features.

One-line Summary

AI SDK promotes speech paths to stable, audits Anthropic capability declarations, and refines capabilities per model ID.

Paragraph Summary

This AI SDK update is all about "consolidating experimental ambiguity." ai@7.0.187 promotes streamTranscription and speech translation APIs from experimental to stable interfaces, keeping the old experimental names as deprecated aliases, with AssemblyAI, Azure, Deepgram, ElevenLabs, Google, and other providers following in sync. The Anthropic provider completes a capability audit, converting unaccepted budget thinking to adaptive thinking, correcting declarations for effort levels, sampling, mid-conversation system messages, and more, and hiding some historical model IDs that can no longer be re-verified. Cerebras, Cohere, DeepSeek, Fireworks, and Groq switch to per-model-ID capability declarations. In addition, streaming retries introduce exponential backoff and retry-header support, transcription/translation failures attach the provider error to cause, and the SubQ provider is added as a major version.

#AI SDK#streamTranscription#speech translation#Anthropic#adaptive thinking#per model ID#exponential backoff
Share:

Related articles