ai 5.0.261
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.261 was published on 2026-09-18. 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.261 · Latest release
Package specifications
| Version | 5.0.261 |
|---|---|
| License declaration | Apache-2.0 |
| Published | 2026-09-18T22:28:08.753Z |
| Node.js requirement | >=18 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 4 |
| Peer requirement count | 1 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | 2936.86 KiB |
| Published file count | 24 |
| Package type | Not declared |
| ES module entry | ./dist/index.mjs |
| Default entry | ./dist/index.js |
| Side effects declaration | false |
| Direct advisories | 0 |
| Resolved graph dependencies | 10 |
| Repository stars | 27503 |
| Repository forks | 5433 |
Install ai 5.0.261
npm install ai@5.0.261 pnpm add ai@5.0.261 yarn add ai@5.0.261
Runtime dependencies
- @ai-sdk/gateway 2.0.153
- @ai-sdk/provider 2.0.4
- @opentelemetry/api 1.9.0
- @ai-sdk/provider-utils 3.0.37
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.
- @ai-sdk/gateway@2.0.153 — direct
- @ai-sdk/provider@2.0.4 — direct
- @ai-sdk/provider-utils@3.0.37 — direct
- @fastify/busboy@2.1.1 — indirect
- @opentelemetry/api@1.9.0 — direct
- @standard-schema/spec@1.1.0 — indirect
- @vercel/oidc@3.1.0 — indirect
- eventsource-parser@3.1.1 — indirect
- json-schema@0.4.0 — indirect
- undici@5.29.0 — indirect
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
- https://registry.npmjs.org/ai/5.0.261 — retrieved 2026-11-01T09:13:23.307Z
- https://api.deps.dev/v3/projects/github.com%2Fvercel%2Fai — retrieved 2026-11-01T04:59:12.159Z
- https://api.deps.dev/v3/systems/npm/packages/ai/versions/5.0.261 — retrieved 2026-11-01T09:13:23.719Z
- https://api.deps.dev/v3/systems/npm/packages/ai/versions/5.0.261:dependencies — retrieved 2026-11-01T09:13:23.751Z