[KongchangAI]
· 1 min read· 977 words

AI SDK Voyage 2.0.90 Patch Release: Query Model Capabilities Without API Requests

AI SDK Voyage 2.0.90 Patch Release: Query Model Capabilities Without API Requests

AI SDK Voyage 2.0.90 patch exports typed model capability query functions that need no API request.

The Voyage provider package in Vercel's AI SDK ecosystem has released patch 2.0.90. Its core change is exporting a provider-specific model capability query function supporting typed model IDs, endpoint-specific capability descriptions, and provider option documentation and support markers—available without API requests or extra configuration. The version also bumps @ai-sdk/provider-utils to 5.0.88 with a restrained scope. The article notes that turning model capabilities from runtime probes into compile-time consumable typed metadata lets IDE completion and TypeScript checks give answers directly, easing multi-model routing, parameter validation, and dynamic UI rendering. For RAG and semantic retrieval scenarios using Voyage's embedding and reranking capabilities, this update fills in the capability description layer rather than changing invocation behavior; the mention of endpoint-specific capabilities shows granularity refined to specific API endpoints. Upgrading is low-risk, but watch for type mismatches from multiple coexisting provider-utils versions.

AI SDK Voyage 2.0.90 Released

The Voyage provider package in Vercel's AI SDK ecosystem has released patch version 2.0.90. For developers building RAG or semantic retrieval applications with @ai-sdk/voyage, the value of this update lies in decoupling "model capability information" from runtime requests and turning it into statically accessible, typed data.

Core Contents of the Patch Update

According to the release notes on GitHub, 2.0.90 is a patch change, primarily consisting of one feature export: exporting a provider-specific model capability query function, with support for typed model IDs, endpoint-specific capability descriptions, and documentation and support status of provider options. The official notes specifically mention that this information can be obtained without making API requests or additional configuration.

In terms of dependencies, this version also updates @ai-sdk/provider-utils to 5.0.88. The change was introduced by commit 52a423f and released with GitHub's verified signature, representing a routine version sync within the ecosystem.

Why "Querying Capabilities Without API Requests" Matters

Under the traditional approach, developers wanting to know what input types a model supports or what limitations an endpoint has often have to read documentation, inspect type definitions, or simply fire off a probe request. The first two can easily drift out of sync with the real implementation, while the latter introduces latency, quota consumption, and failure-handling logic.

Once model capabilities become typed query functions, IDE autocompletion and TypeScript type checking can provide answers directly. This is especially practical for toolchains that need to perform model routing, parameter validation, and dynamic UI rendering on the frontend or at build time—capability metadata becomes a compile-time consumable resource rather than a runtime uncertainty.

Release page screenshot

RAG (Retrieval-Augmented Generation) is a technical paradigm that combines external knowledge retrieval with language model generation: after a user asks a question, the system first retrieves the most relevant fragments from a vector database or document store, then inserts these fragments as context into the prompt for the model to generate an answer. It enables the model to answer questions in private domains or with strong time sensitivity without retraining, at the cost of introducing retrieval latency and recall quality risks. Semantic retrieval is the retrieval-side foundation of RAG: it encodes queries and documents into vectors (embeddings) separately, then ranks candidate results by vector similarity rather than literal keyword matching, so it can handle cases where literal matching fails, such as paraphrasing and cross-language queries.

Reranking is often used as the second stage of semantic retrieval: a batch of candidates is first recalled through lower-cost vector retrieval, then a more refined reranking model scores each "query-document" pair and reorders them to improve the precision of the final Top-K. The embedding and reranking capabilities that Voyage provides in the AI SDK correspond precisely to the two key stages of the RAG pipeline—"vectorization" and "fine ranking"—which is why its capability metadata is meaningful for toolchains.

What This Means for Developers Using Voyage Embedding Models

In the AI SDK, Voyage primarily provides embedding and reranking capabilities, which occupy a foundational position in scenarios such as retrieval-augmented generation, vector database writes, and semantic search. Version 2.0.90 itself does not change model invocation behavior; rather, it fills in the "capability description layer."

In practice, this means: when building multi-model fallback chains or selecting embedding models by capability, developers can use the same set of typed query interfaces to obtain capability information from each provider without writing separate probe code for each one. The descriptions and support markers for provider options also make configuration meanings more transparent, reducing silent errors such as "configured but not taking effect."

Release Cadence and Ecosystem Signals

2.0.90 is a patch release within the minor version sequence, with a restrained scope of changes, consistent with the rolling release cadence of AI SDK provider packages. Worth noting is the mention of "endpoint-specific capabilities" in the commit—it suggests that capability descriptions are no longer loosely bound to models but refined down to specific endpoints. For providers like Voyage that offer multiple API forms, this granularity is closer to real-world usage.

This approach of front-loading and typing metadata is also a common direction in recent AI toolchains: abstracting model differences into statically analyzable data so that upper-layer code can make correct branching decisions at compile time.

Typed metadata refers to modeling descriptive information as TypeScript types or constant objects, rather than free-text documentation or runtime strings. The benefits are: field names and values are constrained by the compiler, so typos, missing fields, or use of nonexistent options will cause compile-time errors; IDEs can provide autocompletion and navigation; and upper-layer code can perform exhaustive branch checks based on types (such as switch statements covering all endpoint types). Compared with reading descriptions from documentation, typed metadata's single source of truth stays in sync with the code implementation, significantly reducing "configured but not taking effect" problems caused by documentation lag.

Endpoint-specific capabilities are a finer granularity than "model-level capabilities": the same model may expose different parameter sets and limits through different endpoints such as /embeddings and /rerank (such as maximum batch size, supported input types, and returned fields). If capabilities are attached only at the model level, these differences cannot be expressed. Refining capability descriptions down to the endpoint level means callers can accurately determine before sending a request whether an endpoint supports a given provider option, thereby completing parameter validation and fallback decisions at build time or in the routing layer without relying on error codes after a failed request to infer them.

Upgrade Recommendations

For projects that have pinned dependency versions, 2.0.90 is a low-risk patch update, and the main benefit of upgrading is gaining typed capability query support. Note that @ai-sdk/provider-utils is simultaneously upgraded to 5.0.88; if the project also depends on other AI SDK provider packages, it is advisable to check version compatibility together to avoid type mismatches caused by multiple coexisting versions of provider-utils.

#AI SDK#Voyage#model capabilities#TypeScript#RAG#embeddings#reranking
Share:

Related articles