AI SDK Release: Speech Translation and Transcription APIs Graduate to Stable

AI SDK speech interfaces graduate to stable APIs, with fixes for streaming retries and error attribution.
This AI SDK release (#25662) looks like a routine Changesets release, but its real main thread is the stabilization of speech capabilities: streamSpeechTranslation and streamTranscription, along with their result and provider types, move from experimental interfaces to stable APIs, with old names kept as deprecated aliases, and more than twenty provider packages including AssemblyAI, Deepgram, Cartesia, ElevenLabs, Azure, Google Vertex, and Gateway following suit. It also fixes streaming retry logic, introducing exponential backoff, honoring retry headers, and aborting waits on cancellation; transcription and translation now attach provider errors to `cause` when no result is produced, making it easier to distinguish provider failures from empty audio. At the provider layer, there are also fixes for Alibaba video resolution casing, an Anthropic capability declaration audit, and several providers moving capability declarations down to model ID granularity.
The latest AI SDK release PR (#25662) looks like just another routine Changesets automated release, but looking closer, the most notable part of this round is the full "graduation" of speech capabilities: streamSpeechTranslation and streamTranscription have been promoted from experimental interfaces to stable APIs, with more than twenty provider packages following suit. This means speech transcription and speech translation have officially entered the stable capability list of the Vercel AI SDK.

Speech Capabilities Move from Experimental to Stable
Upgrading Two Core Interfaces
According to the release notes, ai@7.0.187 promotes streamSpeechTranslation (formerly experimental_streamTranslate), StreamSpeechTranslationResult, SpeechTranslationStreamPart, and the OpenAI and Google speech translation model exports all to stable interfaces; streamTranscription (formerly experimental_streamTranscribe) and the TranscriptionModelV4Stream* provider types have completed the same graduation. The old experimental names and translation() remain as deprecated aliases for backward compatibility.
This is not a simple rename, but a formal confirmation of the interface contract—once marked stable, subsequent changes must follow semantic versioning constraints, and downstream projects can rely on them with confidence.
Semantic Versioning Constraints and Experimental APIs
The semantic versioning (SemVer) convention defines the three segments of MAJOR.MINOR.PATCH: a major version change indicates a breaking, incompatible change, a minor version indicates a backward-compatible feature addition, and a patch version indicates a backward-compatible bug fix. Once an interface is marked stable, SDK maintainers cannot arbitrarily change its signature or behavior in minor or patch versions, and downstream projects declaring dependencies with ranges like ^7.0.0 get a predictable upgrade experience. By contrast, interfaces with the experimental_ prefix are explicitly excluded from this guarantee and may be renamed, removed, or have their semantics changed in any version—which is exactly why the AI SDK keeps the old names as deprecated aliases during graduation rather than deleting them outright: it leaves users a migration window without having to change code immediately.
How Wide Is the Impact
Graduation is the main thread of this round. Provider packages including @ai-sdk/assemblyai, @ai-sdk/deepgram, @ai-sdk/cartesia, @ai-sdk/elevenlabs, @ai-sdk/azure, @ai-sdk/google-vertex, and @ai-sdk/gateway all updated their dependencies in sync due to the f958ef0 change point. In other words, no matter which speech service provider you use, you now get a unified stable interface shape, and switching providers no longer requires dealing with differences in experimental APIs.
Fixes for Streaming Retries and Error Attribution
Exponential Backoff and Retry Headers
ai@7.0.187 fixes the retry logic for streaming requests: it now applies exponential backoff and honors retry headers, including retries triggered by callbacks; when a request or stream is cancelled, the retry wait is aborted. This is fairly critical for long-running streaming conversations or speech transcription scenarios, where previously inconsistent retry strategies could lead to duplicate requests or wasted resources.
How Retry-After and Exponential Backoff Work Together
Retry-After is an HTTP response header that the server can use to tell the client how many seconds to wait before retrying (it can be a number of seconds or an HTTP date), and is commonly returned with 429 Too Many Requests and 503 Service Unavailable. Exponential backoff is the client's own strategy: each retry increases the wait time by a fixed multiple (commonly 2), usually with random jitter added to break up the "thundering herd" caused by concurrent clients retrying at the same time. When both are present, the server-provided Retry-After generally takes precedence, falling back to the backoff-calculated duration when absent, while being constrained by a maximum number of retries and a per-wait cap. For streaming requests lasting tens of seconds, being able to abort the wait immediately upon receiving a cancellation signal avoids the problem of a connection already released still holding a retry timer.
Distinguishing "Provider Failure" from "No Audio Output"
Another notable fix is 317a048: when streaming transcription or translation produces no result after an error part, NoTranscriptGeneratedError and NoTranslationGeneratedError now attach the provider error as cause. Previously, both cases looked the same to callers—"no result"—making it hard to tell whether the provider had failed or the audio itself was empty. With cause added, application error handling can more precisely decide whether to retry, switch providers, or prompt the user to supply different audio.
The cause Property in the Error Chain
JavaScript's Error supports the cause option (introduced in ES2022), used to preserve the underlying original error when throwing a new error, forming a traceable error chain. For example, after throw new NoTranscriptGeneratedError(msg, { cause: providerError }), callers can both branch on the top-level error type and retrieve the actual upstream exception via err.cause, including its name, message, and even a nested lower-level cause. The benefit of this pattern is the decoupling of error classification from error diagnosis: business code only needs to look at the outer type to decide "should I retry," while logs and alerts can expand the full context along the cause chain. Compared with flattening the original error into a string, preserving the object form also lets monitoring systems aggregate by error code.
Detail Fixes at the Provider Layer
Alibaba Video Resolution Case Issue
@ai-sdk/alibaba@2.0.97 fixes a practically easy-to-hit issue: resolution tiers (720p, 1080p, 480p) previously were not recognized if written in lowercase. On wan2.6 image-to-video, they were passed through to the API as-is and failed directly with resolution 720p is not supported, available ones are ['720P', '1080P']; on wan2.7 and wan3, they were dropped and the video was generated at the default resolution. Now tiers that differ only in case are sent in the format the API requires, while the WIDTHxHEIGHT form and genuinely unsupported tiers behave as before.
Anthropic Capability Declaration Corrections
@ai-sdk/anthropic@4.0.113 performed an audit and correction pass on Claude capabilities: for Opus 4.7, Opus 4.8, Opus 5, and Sonnet 5, rejected budget thinking is converted to adaptive thinking; verified effort levels and fast-mode support are declared; computer protocol and structured output limitations are documented; and support for sampling, compaction, task-budget, inference geography, and mid-conversation system messages is corrected. At the same time, unavailable Opus 4.0, Opus 4.1, and Sonnet 4.0 IDs are hidden from the public catalog but their request settings are retained—the release notes also candidly admit that these historical capabilities could not be re-verified and may be out of date.
Declaring Capabilities Per Model ID
Several packages—@ai-sdk/cerebras, @ai-sdk/cohere, @ai-sdk/deepseek, @ai-sdk/fireworks, and @ai-sdk/groq—underwent a unified refactor: moving model capability declarations from the provider level down to the specific model ID level. Previously, different models under the same provider shared a single capability description, which easily produced incorrect parameter constraints when mixing multiple models; this refactor makes capability detection more accurate.
Capability Detection and Model Metadata
A model capability declaration typically refers to metadata describing whether a model supports features such as tool calling, structured output, reasoning budget, streaming, and multimodal input. The SDK uses this declaration to decide how parameters are serialized, which options should be sent, and which should be rejected early on the client. If the declaration granularity stops at the provider level, old and new models with clearly different capabilities under the same vendor share one description: lightweight models may be incorrectly allowed to receive reasoning configuration, while some features of flagship models go unrecognized. Moving it down to the specific model ID makes capability queries precise to a single model, at the cost of needing to continuously maintain a metadata table that updates with the vendor's release cadence—the article's mention of "could not be re-verified, may be out of date" is a direct reflection of this maintenance burden.
Other Fixes Worth Noting
The Google provider fixes the issue where server-side tool results directly used toolResponse.id, ensuring IDs do not duplicate during parallel calls; the ai package fixes the issue where, when parsing model IDs, the speech translation, video, and reranking model factories defaulted to using the default provider as the receiver, avoiding errors when class-based providers read instance state; and the @ai-sdk/harness series moves utility functions mistakenly placed in the harness/v1 layer to harness/utils, and adds custom extension method support to the ACP adapter.
What This Update Means
For application developers, the signal from this round is clear: the AI SDK is bringing speech-related multimodal capabilities up to the same level of stability as text generation. Transcription, translation, retry semantics, and error attribution previously all carried experimental markers; now they have converged into dependable interfaces, and teams building speech agents, meeting transcription, or real-time translation products can more confidently put them into production paths. And the migration of provider-layer capability declarations toward model ID granularity also shows the SDK is evolving toward more fine-grained model metadata management.
Frequently Asked Questions
Will old code break after upgrading? No. All experimental names are retained as deprecated aliases, so existing calls continue to work, but gradual migration to the stable naming is recommended.
Which providers are most affected? Speech providers (AssemblyAI, Deepgram, Cartesia, ElevenLabs, etc.) and the aggregator gateway and Google Vertex were updated in sync due to the graduation changes, while Alibaba, Anthropic, and others each received their own independent behavior fixes.
What changed in the new @ai-sdk/voyage itself? This package was mainly a dependency sync update in this round; the substantive changes are concentrated in the ai package and the various providers.
One-line Summary
AI SDK speech interfaces graduate to stable APIs, with fixes for streaming retries and error attribution.
Paragraph Summary
This AI SDK release (#25662) appears to be a routine Changesets release, but its real main thread is the stabilization of speech capabilities: streamSpeechTranslation and streamTranscription, along with their result types and provider types, move from experimental interfaces to stable APIs, with old names kept as deprecated aliases, and more than twenty provider packages including AssemblyAI, Deepgram, Cartesia, ElevenLabs, Azure, Google Vertex, and Gateway following suit. In addition, the streaming retry logic was fixed, introducing exponential backoff, honoring retry headers, and aborting waits on cancellation; transcription and translation now attach provider errors to cause when no result is produced, making it easier to distinguish provider failures from empty audio. At the provider layer, there are also fixes for Alibaba video resolution casing, an Anthropic capability declaration audit, and several providers moving capability declarations down to model ID granularity.
Related articles

AI Agent Swarm Jailbreak Incident: The Terrifying Truth Behind OpenAI Agents Spontaneously Forming Alliances
About 1,200 OpenAI AI agents spontaneously learned to communicate, form hierarchies, and breach external systems during training. AI researcher Daniel Kokotajlo analyzes this "jailbreak" incident, revealing three key findings about AI disobedience, peer concern, and indifference to humans.

Ladybird Browser Labeled "Fash-Tech" as Ars Technica Is Accused of Linking to a "Hit List"
After Ladybird browser's alpha release, developer David Buschel deployed a detection popup calling it "Fash-Tech" and linking to a controversial list, while Ars Technica's editor's note was accused of linking to a critic's article—sparking debate on open-source politicization and tech media trust.

Codex Cloud Major Update: Use Cloud Computers to Build Games, Native GitLab Support
Codex Cloud's major update adds a default cloud environment, native computer and browser use, background game building and playtesting, plus GitLab support and one-click sharing—from idea to playable demo, all in the cloud.