ai icon indicating copy to clipboard operation
ai copied to clipboard

New Provider: @ai-sdk/sarvam

Open snhsish opened this issue 9 months ago • 3 comments

Description

I'd like to propose adding a 1st party @ai-sdk/sarvam provider for Sarvam AI

Sarvam provides a few models and APIs covering chat completion, text-to-speech (TTS), speech-to-text (STT) and translation with 20+ Indian languages.

Sarvam is the leading provider for Indic language AI. Adding @ai-sdk/sarvam would make it easy for developers building multi-lingual apps targeting users to plug into the SDK without custom wrappers.

I am willing to build and maintain this provider myself following the existing contribution guidelines.

  • I have already worked on the initial v0.0.0 release for the package and ready to create a PR as soon as this issue is validated.

References: Docs: https://docs.sarvam.ai/ API Reference: https://docs.sarvam.ai/api-reference-docs/introduction

Thank You

AI SDK Version

No response

Code of Conduct

  • [x] I agree to follow this project's Code of Conduct

snhsish avatar Feb 19 '26 13:02 snhsish

Hey! There is already a community provider for Sarvam 😊

I also saw an additional one here too.

nicoalbanese avatar Feb 19 '26 14:02 nicoalbanese

Hey! There is already a community provider for Sarvam 😊

I also saw an additional one here too.

Thanks for mentinioning the community providers, but my proposal was for a first party provider as @ai-sdk/sarvam.

But the community providers get the job done well either ways. Thank you for your time

snhsish avatar Feb 19 '26 15:02 snhsish

Identify issue type

Identified as Feature
Confidence: High

Rationale

This requests new first-party provider and model/API support rather than reporting broken existing behavior.

Evidence

  • The issue proposes adding a new first-party @ai-sdk/sarvam provider.
  • The requested provider would add support for Sarvam AI chat, TTS, STT, and translation APIs.
  • The author clarified that the request is specifically for first-party support despite existing community providers.

lgrammel avatar Jul 22 '26 11:07 lgrammel