Skip to content
JS
Package

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.

v4.0.1, 8 Jul 2026Apache-2.0ESM + CommonJSTypes: BundledCloud SDKs
$ npm install ollama-ai-provider-v2

Key numbers

As of 25 Sept 2026
Weekly downloads
639.6k
+3793% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
2 months ago
v4.0.1
GitHub stars
105
32 forks
Open issues / PRs
1 / 7
Contributors
-
Commits, last 52 weeks
293

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 874.8k (18 Aug 2026)Low 6k (23 Sept 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

639,597 downloads last week, 3,134,742 in the last month. The 12-month change of +3793% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
2142 in total
Latest version
4.0.1, 8 Jul 20262 months ago
First published
11 Jun 2025
Last push to GitHub
23 Sept 20261 day before the snapshot
Repository archived
No
Open issues
1
Open pull requests
7
Commits, last 52 weeks
293
Dependents on npm
94

Major versions

  1. v4 first release 4.0.0, 8 Jul 2026
  2. v3 first release 3.0.1, 15 Jan 2026
  3. v2 first release 2.0.0, 29 Dec 2025
  4. v1 first release 1.0.0, 9 Aug 2025
  5. v0 first release 0.0.1, 11 Jun 2025

Recent releases

VersionPublished
4.0.18 Jul 2026
4.0.08 Jul 2026
3.6.011 Jun 2026
3.5.113 May 2026
3.5.017 Mar 2026
3.4.09 Mar 2026
3.3.116 Feb 2026
3.3.010 Feb 2026
3.0.47 Feb 2026
3.0.327 Jan 2026
3.0.222 Jan 2026
3.0.115 Jan 2026
2.0.029 Dec 2025
1.5.519 Nov 2025
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=22
Runtimes
-
Unpacked size (npm)
347 kB
Dependencies (2)
@ai-sdk/provider@ai-sdk/provider-utils
Peer dependencies (2)
aizod
npm install ollama-ai-provider-v2
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ollama-ai-provider-v2@4.0.1/
  • unpkghttps://unpkg.com/ollama-ai-provider-v2@4.0.1/
  • esm.shhttps://esm.sh/ollama-ai-provider-v2@4.0.1
PackageWeekly downloadsGzipLast releaseModuleComparison
zhipu-ai-provider8k-1 month agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.