sarvam-ai-sdk has 732 recorded weekly downloads on npm, an increase of 63.8% over the past 30 days.
It ranks #1450 of 2,256 tracked npm listings by weekly downloads.
Over 90 days, weekly downloads changed by +285%.
PluginStats has 543 daily observations since Apr 23, 2025; the latest is from Oct 17, 2026.
About sarvam-ai-sdk
AI SDK - Sarvam Provider
The Sarvam provider for the AI SDK contains language model support for the Sarvam chat completion, Text-to-Speech and Speech-to-Text APIs.
Setup
The Sarvam provider is available in the sarvam-ai-sdk module. You can install it with
[!WARNING] This package only works with Vercel AI-SDK v7, not v8. Make sure to install ai@7 in your project.
Version Compatibility
| Sarvam AI SDK Version | Vercel AI SDK Version |
| 0.5.x (beta) | 8.x.x (beta) | | 0.4.x (current) | 7.x.x (current) | | 0.3.x | 6.x.x | | 0.2.x | 5.x.x | | 0.1.x | 4.x.x |
Provider Instance
You can import the default provider instance sarvam from sarvam-ai-sdk:
Create .env file with API key from Sarvam Dashboard
Example
Text-to-Speech
Speech-to-Text
Translation
NB: Only translates prompt and role:user messages, not role:system not role:assistant.
Transliterate
NB: Only transliterates prompt and role:user messages, not role:system not role:assistant.
Language Identification
NB: Only identifies prompt and role:user messages, not role:system not role:assistant.
Tool Calling
Generating Structured Outputs
EVE Agents
Build durable agents with Vercel's Eve Framework.
All APIs
Documentation
• Sarvam provider documentation • Sarvam API documentation • AI-SDK documentation • Sarvam AI-SDK Provider • Eve agent configuration
Description from the npm listing.
- ai
- ai-sdk
- eve
- vercel
- sarvam
- india
- bharat
Where sarvam-ai-sdk sits in the listing
Each band is one page of 20. Weekly downloads on a log scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Recent observations
Full history (543)Similar npm AI SDKs plugins
Data source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/sarvam-ai-sdk. First seen Oct 16, 2026; last successful collection Oct 19, 2026. See the methodology.