← AI PulseAug 4, 2026

Wire · news · Multi-source brief

Vercel AI SDK Baseten Integration Updates Embeddings Client

The Vercel AI SDK's @ai-sdk/baseten package, released as version 2.1.0, now makes the native performance client for embeddings an opt-in feature.

By Illumora Editorial

Source · Aug 4, 2026, 5:16 AM · On Illumora · Aug 4, 2026, 5:28 AM

Media from the primary source — shown here so you can stay on Illumora.

Synthesized from multiple allowlisted primaries on the same event. Lanes →

Brief drafted by Illumora’s editorial model from the linked primary source. Ops desk reviews flagged pieces. How we write →

Read the source →Vercel AI SDK Changelog — Release @ai-sdk/valibot@3.0.20 · vercel/ai
Save

Vercel AI SDK has updated its @ai-sdk/baseten package to version 2.1.0, modifying how its native performance client handles embeddings. This change, noted across several Vercel AI SDK changelog entries, makes the native performance client an opt-in component.

Previously, the @basetenlabs/performance-client was a required dependency. This client is a NAPI addon, comprising 16 platform binary packages and consuming between 5-16 MB of installed space. It could not load in edge runtimes, and bundlers were unable to resolve its platform binaries. The client was imported at the module top level, meaning all consumers incurred its overhead, even if they did not use embeddings.

Key Points

  • The @ai-sdk/baseten package has been released as version 2.1.0.
  • The native performance client for embeddings is now opt-in.
  • The @basetenlabs/performance-client is no longer a direct dependency.
  • The client is a NAPI addon, consisting of 16 platform binary packages.
  • The installed size of the client ranges from 5-16 MB.
  • The previous client could not load in edge runtimes.
  • Embeddings now use plain HTTP to an OpenAI-compatible endpoint.

Context

According to the Vercel AI SDK changelogs, the prior implementation meant that the performance client was imported at the module top level. This design caused every consumer to bear the cost of the dependency, even if their application did not utilize embeddings. The client's platform binaries were also difficult for bundlers to resolve, and it was incompatible with edge runtimes.

Why It Matters

This update addresses issues related to package size, runtime compatibility, and unnecessary dependencies for developers using the Vercel AI SDK with Baseten. By making the native performance client opt-in, developers can reduce their application's footprint and improve compatibility with edge environments, while still retaining the option for client-side batching and request hedging when needed.

What To Do

  • Note that @ai-sdk/baseten is now at version 2.1.0.
  • If using Baseten embeddings, consider whether the native performance client is necessary for your application.
  • If client-side batching and request hedging are desired, install @basetenlabs/performance-client separately.
  • Pass the PerformanceClient constructor to createBaseten if opting into the native client.
  • Verify that your embedding deployments are configured to serve via an OpenAI-compatible endpoint.