Access 1 sarvamai model through the OpenRouter unified API including Sarvam-M. Compare pricing, context windows, benchmarks, and capabilities between different sarvamai models.
sarvamai requests made on OpenRouter
OpenRouter serves 1 sarvamai model behind one OpenAI-compatible API. Create an OpenRouter API key, point your client at https://openrouter.ai/api/v1, and set the model to an ID such as sarvamai/sarvam-m. The quickstart has request examples for every supported SDK.
Sarvam-M has the largest context window of any sarvamai model on OpenRouter, accepting up to 32,768 tokens per request.
Sarvam-M is the most recently added sarvamai model on OpenRouter, listed on May 25, 2025.