ollama-ai-provider-v2

Use Ollama with the Vercel AI SDK, implementing the official Ollama API. This provider has minimal dependencies and is web-compatible out of the box.

ollama-ai-provider-v2@4.1.0 was published on 2026-10-22. Its manifest declares 2 runtime dependencies and 2 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=22.

All ollama-ai-provider-v2 versions · Permanent reference to 4.1.0

Package specifications

Version4.1.0
License declarationApache-2.0
Published2026-10-22T14:40:51.722Z
Node.js requirement>=22
Type declarationsBundled declarations
Runtime dependency count2
Peer requirement count2
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size347.47 KiB
Published file count10
Package typeNot declared
ES module entry./dist/index.mjs
Default entry./dist/index.js
Side effects declarationfalse
Direct advisories0
Resolved graph dependencies7
Repository starsUnknown
Repository forksUnknown

Install ollama-ai-provider-v2 4.1.0

npm install ollama-ai-provider-v2@4.1.0
pnpm add ollama-ai-provider-v2@4.1.0
yarn add ollama-ai-provider-v2@4.1.0

Runtime dependencies

Peer requirements

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