Skip to main content
AI SDK+36 Positive

GILD Review

GILD's call and the buying facts behind it.

GILD analysis

AI SDK Review

openstatus, Helpmaton and BrainGrid ship production agents on the AI SDK, while Earendil's founder regrets his team's build on its provider layer and one PDF killed a container in a developer's production API. Vercel's free Apache 2.0 SDK gives TypeScript teams model calls, tools, agent loops and streaming UI across dozens of providers, with three majors in eleven months. Adopt it when the AI feature lives in a TypeScript product and someone owns upgrades.

  • Agent Frameworks
  • AI Costs

The decision

Best fit
TypeScript product teams building chat, structured output, and tool-using agents into a web app, with freedom to change model providers.
Consider another workflow
If long-running, stateful agents are the product, evaluate LangGraph; if you build only on OpenAI models and want handoffs with tracing in OpenAI's dashboard, evaluate the OpenAI Agents SDK.
Adoption condition
A pinned minor version with an owner for upgrades, explicit stop conditions and timeouts on every tool loop, and a decision between AI Gateway and your own provider keys.

Basis: AI SDK documentation, release history, and AI Gateway pricing, plus 94 public accounts, including measured production reports and eight named team accounts with their own words. Per-byte base64 encoding of a 14 MB PDF killed a 2 GB container. Claude structured output arrived as one 3,197-character chunk after more than 20 seconds of silence. In a pilot, measure eval pass rates per provider and the hours one major upgrade takes.

Buying & deployment factsWhat a team building on it should verify before production traffic grows.
How you buy it

Free, Apache 2.0

No paid tier. Providers bill tokens directly or through AI Gateway credits without markup.

Source 5, GitHub, vercel/ai LICENSE: vercel/ai LICENSESource 2, Vercel, Migration guide, AI SDK 7.0: Migration guide, AI SDK 7.0Source 1, Vercel, AI Gateway pricing: AI Gateway pricing

Details

The SDK is free under Apache 2.0, installed from npm as ai plus a provider package, with no paid tier. Providers bill tokens directly or through Vercel AI Gateway credits at list price without markup. Each Vercel team gets US$5 monthly gateway credit on selected models. Bring-your-own-key requires purchased credits.

Cost drivers

Model tokens

Your model's rate sets usage cost. AI Gateway adds fees for optional governance and trace drains.

Source 1, Vercel, AI Gateway pricing: AI Gateway pricingSource 8, vercel.com, AI Gateway FAQ: AI Gateway FAQ

Details

Model tokens are the main cost. On Pro and Enterprise, team-wide Zero Data Retention and a team-wide provider allowlist each add US$0.10 per 1,000 requests; the allowlist counts only successful ones. Trace drains cost US$0.05 per thousand traces plus US$0.50 per GB. Purchased gateway credits expire after one year.

Where it runs

Node.js 22

Or later, in your code on any cloud. AI SDK 7 requires ESM.

Source 2, Vercel, Migration guide, AI SDK 7.0: Migration guide, AI SDK 7.0Source 6, Vercel, AI SDK UI overview: AI SDK UI overviewSource 1, Vercel, AI Gateway pricing: AI Gateway pricingSource 9, vercel.com, AI Gateway OIDC authentication: AI Gateway OIDC authentication

Details

The SDK runs in your code on Node.js 22 or later, on Vercel or another cloud. AI SDK 7 requires ESM. UI hooks cover React, Vue, Svelte, and Angular. Any environment can call AI Gateway with an API key. Vercel deployments can use short-lived OIDC tokens.

What to verify

Three majors

AI SDK 5, 6, and 7 all still receive patches. Gateway budgets are soft caps.

Source 10, registry.npmjs.org, npm registry: ai: npm registry: aiSource 4, GitHub, vercel/ai releases: vercel/ai releasesSource 3, Vercel, Loop control: Loop controlSource 7, Vercel, AI Gateway budgets: AI Gateway budgetsSource 11, Vercel, AI SDK harnesses overview: AI SDK harnesses overview

Details

AI SDK 5, 6, and 7 shipped between July 2025 and June 2026, and all three still receive patches. Harness packages are experimental. ToolLoopAgent defaults to 20 steps, while WorkflowAgent has no limit. AI Gateway budgets are soft caps and exclude bring-your-own-key spend.

Sourced from Vercel documentation