{
 "kind": "tool",
 "slug": "ollama-ai-provider",
 "path": "tools/ollama-ai-provider/",
 "name": "Ollama AI Provider",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Model SDKs",
   "tools/ai-sdks/"
  ]
 ],
 "lead": "Vercel AI provider for running LLMs locally using Ollama.",
 "chips": [
  {
   "label": "Model SDKs",
   "path": "tools/ai-sdks/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install ollama-ai-provider"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/sgomez/ollama-ai-provider"
  },
  {
   "label": "Website",
   "href": "https://github.com/sgomez/ollama-ai-provider"
  },
  {
   "label": "API page",
   "path": "apis/ollama/"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Apache-2.0",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/sgomez/ollama-ai-provider"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Quiet for a year",
   "status": "cond",
   "sub": "Last change Jan 17, 2025",
   "note": "Latest GitHub release Jan 17, 2025. ",
   "src": "https://github.com/sgomez/ollama-ai-provider"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "9 projects",
   "status": "info",
   "sub": "#25 of 92 in its category",
   "note": "Dependency in 9 public GitHub projects set up for AI coding agents that we scanned (0.1%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What Ollama AI Provider does",
   "parts": [
    {
     "t": "prose",
     "text": "Vercel AI provider for running LLMs locally using Ollama."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "Ollama AI Provider popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "36",
       "of": "/ 100",
       "l": "Gid Score, #3620 overall"
      },
      {
       "n": "200K",
       "l": "downloads a week, npm"
      },
      {
       "n": "340",
       "l": "GitHub stars"
      },
      {
       "n": "9",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How Ollama AI Provider is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "Ollama AI Provider is a dependency in 9 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 42 projects, and what it is used with below comes from all of them.",
      "The most used alternative in our scan is OpenAI (286 projects).",
      "Projects that use it most often also use concurrently (66.7%), Husky (64.3%), Jest (61.9%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "7 projects, 0.3%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "7 projects, 0.2%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 66.7% of its projects",
       "v": "concurrently",
       "path": "tools/concurrently/"
      },
      {
       "l": "In 64.3% of its projects",
       "v": "Husky",
       "path": "tools/husky/"
      },
      {
       "l": "In 61.9% of its projects",
       "v": "Jest",
       "path": "tools/jest/"
      },
      {
       "l": "In 61.9% of its projects",
       "v": "cross-env",
       "path": "tools/cross-env/"
      },
      {
       "l": "In 59.5% of its projects",
       "v": "pnpm",
       "path": "tools/pnpm/"
      },
      {
       "l": "In 59.5% of its projects",
       "v": "Sharp",
       "path": "tools/sharp/"
      },
      {
       "l": "In 59.5% of its projects",
       "v": "Turborepo",
       "path": "tools/turbo/"
      },
      {
       "l": "In 59.5% of its projects",
       "v": "viem",
       "path": "tools/viem/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about Ollama AI Provider",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/sgomez"
       ]
      },
      {
       "title": "More in Model SDKs",
       "path": "tools/ai-sdks/",
       "items": [
        {
         "text": "AI SDK",
         "path": "tools/ai/"
        },
        {
         "text": "OpenAI Python Library",
         "path": "tools/openai-pypi/"
        },
        {
         "text": "Anthropic Python SDK",
         "path": "tools/anthropic/"
        },
        {
         "text": "Google GenAI Python SDK",
         "path": "tools/google-genai-pypi/"
        },
        {
         "text": "Hugging Face Hub",
         "path": "tools/huggingface-hub/"
        },
        {
         "text": "LiteLLM",
         "path": "tools/litellm/"
        },
        {
         "text": "Ollama",
         "path": "tools/ollama-pypi/"
        },
        {
         "text": "Transformers.js",
         "path": "tools/huggingface/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "Ollama AI Provider",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 36",
        "200K/wk"
       ]
      },
      {
       "name": "OpenAI",
       "why": "Official TypeScript SDK for accessing OpenAI APIs including GPT and embeddings.",
       "path": "tools/openai-npm/",
       "facts": [
        "Apache-2.0",
        "Gid 81",
        "62.5M/wk"
       ]
      },
      {
       "name": "Anthropic SDK",
       "why": "Official TypeScript SDK for calling Claude API and building agent applications.",
       "path": "tools/anthropic-ai/",
       "facts": [
        "Apache-2.0",
        "Gid 74",
        "75M/wk"
       ]
      },
      {
       "name": "Google Generative AI",
       "why": "Official SDK for Google Gemini API to build AI-powered applications.",
       "path": "tools/google-genai-npm/",
       "facts": [
        "Apache-2.0",
        "Gid 69",
        "34.2M/wk"
       ]
      },
      {
       "name": "Groq SDK",
       "why": "Official TypeScript SDK for calling Groq's fast language models API.",
       "path": "tools/groq-sdk/",
       "facts": [
        "Apache-2.0",
        "Gid 47",
        "1.2M/wk"
       ]
      },
      {
       "name": "Mistral AI",
       "why": "Official TypeScript SDK for calling Mistral's language models and APIs.",
       "path": "tools/mistralai-mistralai/",
       "facts": [
        "Apache-2.0",
        "Gid 45",
        "6.7M/wk"
       ]
      },
      {
       "name": "Replicate",
       "why": "JavaScript client library for calling Replicate's AI model API.",
       "path": "tools/replicate-npm/",
       "facts": [
        "Apache-2.0",
        "Gid 41",
        "713K/wk"
       ]
      }
     ],
     "more": "Compare Ollama AI Provider with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install ollama-ai-provider"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for Ollama AI Provider yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm ollama-ai-provider"
  ],
  [
   "Category",
   "Model SDKs"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "35.5"
  ],
  [
   "Rank in category",
   "#25 of 92"
  ],
  [
   "GitHub",
   "sgomez/ollama-ai-provider"
  ],
  [
   "Last change",
   "Jan 17, 2025"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/sgomez.png"
}