ai 5.0.185

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@5.0.185 was published on 2026-05-05. 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 5.0.185 · Latest release

Package specifications

Version5.0.185
License declarationApache-2.0
Published2026-05-05T18:22:50.850Z
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 size2785.70 KiB
Published file count24
Package typeNot declared
ES module entry./dist/index.mjs
Default entry./dist/index.js
Side effects declarationfalse
Direct advisories0
Resolved graph dependencies8
Repository stars27503
Repository forks5433

Install ai 5.0.185

npm install ai@5.0.185
pnpm add ai@5.0.185
yarn add ai@5.0.185

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