Best suited for
- 01
Voice agents
Generate natural conversational responses between speech-to-text and text-to-speech models in a voice agent stack.
- 02
Customer support agents
Use tool calls to connect customer conversations to support actions in your application.
- 03
Code-mixed dialogue
Handle conversations that move between Indian languages, romanised text and English.
API usage
Build with the Sarvam SDK
pip install --upgrade sarvamaiV1 · Sarvam SDK · Chat Completionsfrom sarvamai import SarvamAIclient = SarvamAI(api_subscription_key="YOUR_SARVAM_API_KEY")response = client.chat.completions(model="sarvam-105b-conversations",messages=[{"role": "user", "content": "who are you?"}],temperature=1,top_p=1,max_tokens=100,)print(response.choices[0].message.content)
- 01 Install the Sarvam SDK
Install
sarvamaifor Python or JavaScript. Store your key inSARVAM_API_KEY. - 02 Choose your model
Use model ID
sarvam-105b-conversations. The SDK callshttps://api.sarvam.ai/v1/chat/completionsfor this example.V1 Chat Completions. Thinking is disabled for this short reply.
API reference - 03 Validate your application
Check output quality, supported parameters and tool behaviour on representative requests before moving production traffic.
Frequently asked questions
Explore other models
View catalogueSarvam 105B
- Sarvam
- Chat
- Indian languages
Chat and tool calling across Indian languages and English, trained from scratch by Sarvam.
GLM 5.3 Flash
- Z.ai
- Chat
- Vision
Faster open-weight reasoning model for coding agents, tool use and multimodal image understanding.
Gemma 4 31B
- Chat
- Vision
31B-parameter instruction-tuned model for text and image understanding, with tool calling and optional reasoning.
Build with frontier open-weight models. Served from India.
Build with frontier open-weight models. Served from India.