@openrouter/ai-sdk-provider
OpenRouter provider for Vercel AI SDK enabling access to multiple LLMs.
Model SDKsNPM
3. Used by agents' projects
Dependency in 28 public GitHub projects set up for AI coding agents that we scanned (0.4%).
4. Agent access
Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.
From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error
What @openrouter/ai-sdk-provider does
OpenRouter provider for Vercel AI SDK enabling access to multiple LLMs.
@openrouter/ai-sdk-provider popularity
Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated
How @openrouter/ai-sdk-provider is used
- @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%).
By coding agent
Often used with
More about @openrouter/ai-sdk-provider
Alternatives
@openrouter/ai-sdk-provider This page
Official TypeScript SDK for accessing OpenAI APIs including GPT and embeddings.
Official TypeScript SDK for calling Claude API and building agent applications.
Official JavaScript client library for Ollama to run and interact with local language models.
Official TypeScript SDK for calling Groq's fast language models API.
TypeScript SDK for programmatic control of GitHub Copilot CLI via JSON-RPC.
Official TypeScript SDK for calling Mistral's language models and APIs.
Genkit AI framework plugin for Google Gemini and other Google AI APIs.
Vercel AI provider for running LLMs locally using Ollama.
Get started
Install it.
npm install @openrouter/ai-sdk-providerNo step-by-step start for @openrouter/ai-sdk-provider yet: we have not written its hand-checked card.