ai 6.0.252

AI SDK by Vercel - build apps like ChatGPT, Claude, Gemini, and more with a single interface for any model using the Vercel AI Gateway or go direct to OpenAI, Anthropic, Google, or any other model provider.

ai@6.0.252 was published on 2026-08-12. Its manifest declares 4 runtime dependencies and 1 peer requirement. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=18.

All ai versions · Permanent reference to 6.0.252 · View npm registry JSON · Latest release

Package specifications

Version6.0.252
License declarationApache-2.0
Published2026-08-12T16:01:08.246Z
Node.js requirement>=18
Type declarationsBundled declarations
Runtime dependency count4
Peer requirement count1
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size6665.90 KiB
Published file count524
Package typeNot declared
ES module entry./dist/index.mjs
Default entry./dist/index.js
Side effects declarationfalse
Direct advisories0
Resolved graph dependencies10
Repository stars27685
Repository forks5500

Install ai 6.0.252

npm install ai@6.0.252
pnpm add ai@6.0.252
yarn add ai@6.0.252

Runtime dependencies

Peer requirements

  • zod ^3.25.76 || ^4.1.8

Optional dependencies

  • None declared

Resolved dependency graph

This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

Evidence and freshness