{
 "kind": "tool",
 "slug": "openrouter-ai-sdk-provider",
 "path": "tools/openrouter-ai-sdk-provider/",
 "name": "@openrouter/ai-sdk-provider",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Model SDKs",
   "tools/ai-sdks/"
  ]
 ],
 "lead": "OpenRouter provider for Vercel AI SDK enabling access to multiple LLMs.",
 "chips": [
  {
   "label": "Model SDKs",
   "path": "tools/ai-sdks/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install @openrouter/ai-sdk-provider"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/OpenRouterTeam/ai-sdk-provider"
  },
  {
   "label": "Website",
   "href": "https://github.com/OpenRouterTeam/ai-sdk-provider"
  }
 ],
 "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/OpenRouterTeam/ai-sdk-provider"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Sep 19, 2026. ",
   "src": "https://github.com/OpenRouterTeam/ai-sdk-provider"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "28 projects",
   "status": "info",
   "sub": "#13 of 92 in its category",
   "note": "Dependency in 28 public GitHub projects set up for AI coding agents that we scanned (0.4%).",
   "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 @openrouter/ai-sdk-provider does",
   "parts": [
    {
     "t": "prose",
     "text": "OpenRouter provider for Vercel AI SDK enabling access to multiple LLMs."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "@openrouter/ai-sdk-provider popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "56",
       "of": "/ 100",
       "l": "Gid Score, #1388 overall"
      },
      {
       "n": "5.6M",
       "l": "downloads a week, npm"
      },
      {
       "n": "697",
       "l": "GitHub stars"
      },
      {
       "n": "28",
       "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 @openrouter/ai-sdk-provider is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "@openrouter/ai-sdk-provider is a dependency in 28 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (0.6% of the 4,867 JavaScript/TypeScript ones), #13 of 92 in model sdks.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 167; those are left out of every share on this page.",
      "The most used alternative in our scan is OpenAI (286 projects).",
      "Projects that use it most often also use AI SDK (100.0%), Zod (96.4%), dotenv (82.1%).",
      "It is more common in projects set up for Kiro (5.0%) than for GitHub Copilot (0.2%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "21 projects, 0.6%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "20 projects, 0.8%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "7 projects, 5.0%",
       "v": "Kiro",
       "path": "agents/kiro/"
      },
      {
       "l": "6 projects, 0.2%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "5 projects, 1.1%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 100.0% of its projects",
       "v": "AI SDK",
       "path": "tools/ai/"
      },
      {
       "l": "In 96.4% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 82.1% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 75.0% of its projects",
       "v": "Prettier",
       "path": "tools/prettier/"
      },
      {
       "l": "In 64.3% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 42.9% of its projects",
       "v": "Fuse.js",
       "path": "tools/fuse-js/"
      },
      {
       "l": "In 42.9% of its projects",
       "v": "lru-cache",
       "path": "tools/lru-cache/"
      },
      {
       "l": "In 42.9% of its projects",
       "v": "uuid",
       "path": "tools/uuid/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about @openrouter/ai-sdk-provider",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "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": "Google Generative AI",
         "path": "tools/google-genai-npm/"
        },
        {
         "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/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "@openrouter/ai-sdk-provider",
       "me": true,
       "facts": [
        "Apache-2.0",
        "Gid 56",
        "5.6M/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": "Ollama JavaScript Library",
       "why": "Official JavaScript client library for Ollama to run and interact with local language models.",
       "path": "tools/ollama-npm/",
       "facts": [
        "MIT",
        "Gid 57",
        "1.3M/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": "GitHub Copilot SDK",
       "why": "TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC.",
       "path": "tools/github-copilot-sdk-npm/",
       "facts": [
        "MIT",
        "Gid 48",
        "1.5M/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": "Genkit Google AI",
       "why": "Genkit AI framework plugin for Google Gemini and other Google AI APIs.",
       "path": "tools/genkit-ai-googleai/",
       "facts": [
        "Apache-2.0",
        "Gid 39",
        "50.7K/wk"
       ]
      },
      {
       "name": "Ollama AI Provider",
       "why": "Vercel AI provider for running LLMs locally using Ollama.",
       "path": "tools/ollama-ai-provider/",
       "facts": [
        "Apache-2.0",
        "Gid 36",
        "200K/wk"
       ]
      }
     ],
     "more": "Compare @openrouter/ai-sdk-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 @openrouter/ai-sdk-provider"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for @openrouter/ai-sdk-provider yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm @openrouter/ai-sdk-provider"
  ],
  [
   "Category",
   "Model SDKs"
  ],
  [
   "License",
   "Apache-2.0"
  ],
  [
   "Gid Score",
   "55.6"
  ],
  [
   "Rank in category",
   "#13 of 92"
  ],
  [
   "GitHub",
   "OpenRouterTeam/ai-sdk-provider"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/openrouterteam.png"
}