Sarvam Models
Sarvam Models hear, speak, translate, and read across 22 Indian languages and English, including code-mixed input such as Hinglish, the way people actually talk and write. Use them to power voice agents, transcribe calls and meetings, give your product a natural voice, localize content, and turn scanned documents into structured data.
This page covers one model per section. Each section says what the model is for, shows what it returns, and ends with a first call you can copy in Python, JavaScript, or cURL.
Pro, Growth, and Business plans have their own per-unit rates. See Pricing, Credits & Rate Limits for every plan, or compare and switch plans on the Sarvam Dashboard.
Start here
Pick a task to jump to its model. Click a model ID to copy it.
Set up once
Every example on this page assumes the SDK is installed and your key is in SARVAM_API_KEY.
Get a key from Key Management on the Sarvam Dashboard.
Speech to text
Saaras v4 turns speech into text, from a 5-second voice note to a 2-hour call recording. It detects the spoken language for you, and it’s tuned for 8 kHz telephony audio, so it fits voice agents and contact centres as well as recorded media.
Saaras v4
LatestSpeech to text for 22 Indian languages and English. One mode parameter returns a transcript, an English translation, verbatim text, romanized text, or code-mixed text.
Best for
- Voice agents and IVR on 8 kHz telephony audio
- Call analytics, with speaker diarization on batch
- Code-mixed speech such as Hinglish, and domain terms via
keyterms
- Languages
- 23, detected automatically
- APIs
- REST · Batch · Realtime
- Audio per request
- 30 s on REST, 2 hr per batch file
- Output modes
- 5, set with
mode
One recording, five outputs
The mode parameter picks the kind of text you get back. The audio and the endpoint stay the same.
These are live outputs for a Hindi recording of “मेरा फोन नंबर है 9840950950”:
Choose how to send audio
All three APIs run Saaras v4 with the same five modes. Pick by how the audio reaches you.
See Which API to Use for the full comparison.
Transcribe your first clip
The response holds the transcript and the detected language. language_probability is included
when you leave language_code unset and Saaras detects the language:
Good to know
- Send WAV, MP3, AAC, FLAC, OGG, and more. The format is detected for you.
- Set
language_codewhen you know the language, or leave it unset for automatic detection. - Pass up to 50 names, brands, or domain terms as
keytermsto help Saaras spell them right. See Keyterm Prompting.
Languages: 22 Indian languages and English
Hindi hi-IN · Bengali bn-IN · Tamil ta-IN · Telugu te-IN · Kannada kn-IN · Malayalam ml-IN ·
Marathi mr-IN · Gujarati gu-IN · Punjabi pa-IN · Odia od-IN · English en-IN · Assamese as-IN ·
Urdu ur-IN · Nepali ne-IN · Konkani kok-IN · Kashmiri ks-IN · Sindhi sd-IN · Sanskrit sa-IN ·
Santali sat-IN · Manipuri mni-IN · Bodo brx-IN · Maithili mai-IN · Dogri doi-IN
Saaras also recognizes Global English alongside Indian English.
Text to speech
Bulbul turns text into natural speech in 10 Indian languages and English. Start with
Bulbul v4 Flash for new work: it has 200+ voices and the lower price. Both Bulbul models share
one request and response shape, so moving between them is a change to model and speaker.
Bulbul v4 Flash
LatestNatural Indian voices: 200+ voices across 11 languages, each tuned for a kind of work such as support calls, companionship, narration, or news.
Best for
- Voice agents and IVR prompts, streamed over WebSocket
- Narration, e-learning, and audio content
- Code-mixed text, such as Hindi with English words
- Languages
- 11
- APIs
- REST · HTTP stream · WebSocket
- Text per request
- 2,500 chars on REST
- Voices
- 200+, tuned by use case
Hear Bulbul v4 Flash
Each voice is tuned for a kind of work, such as support calls, narration, or news. Play a sample,
then copy its speaker value into your request.
Generate your first audio
The response is {"request_id": "...", "audios": ["<base64 audio>"]}. Join the audios strings
and decode them to get the audio file.
Good to know
- Shape the delivery with
pace(0.5 to 2.0),pitch(-0.5 to 0.5),loudness(0.1 to 2.5), andtemperature(0.01 to 1.0), on both models. - Choose
output_audio_codec:wav(default),mp3,aac,flac,opus,linear16,mulaw, oralaw. - Set
speech_sample_ratefrom 8 kHz for telephony up to 48 kHz on REST, and up to 24 kHz when streaming. The default is 22,050 Hz. - Control how brand names and acronyms are spoken with a pronunciation dictionary (
dict_id).
Already using named speakers such as shubh? Bulbul v3 keeps them:
Bulbul v3
API default37 named speakers such as Shubh, Ritu, and Simran, on the same request and response contract as v4 Flash.
Best for
- Integrations already tuned to a v3 speaker
- Classic named voices, such as
shubh
- Languages
- 11
- APIs
- REST · HTTP stream · WebSocket
- Text per request
- 2,500 chars on REST
- Speakers
- 37 named voices
Languages: 10 Indian languages and English
Hindi hi-IN · English en-IN · Bengali bn-IN · Gujarati gu-IN · Kannada kn-IN · Malayalam ml-IN ·
Marathi mr-IN · Odia od-IN · Punjabi pa-IN · Tamil ta-IN · Telugu te-IN
Both models speak all 11. Bulbul v4 Flash has dedicated voices for nine of them, and any v4 voice
speaks Malayalam and Odia. For code-mixed speech, write Indic words in their native script and
English words in English, for example आपका order confirm हो गया है.
Formal translation
Sarvam Translate translates text into formal, official-sounding language across all 22 scheduled Indian languages and English. Use it for government notices, legal and policy text, and anything that must cover every scheduled language with one model.
Sarvam Translate
Formal translation across all 22 scheduled Indian languages and English, for text that has to read as official.
Best for
- Government and public-service communication
- Legal, policy, and public notices
- One model for every scheduled Indian language
- Languages
- 23
- Style
- Formal
- Source language
- Set in
source_language_code - Text per request
- 2,000 chars
See the output
A live output for “Your EMI of Rs. 3000 is pending. Please pay by Friday.” translated to Hindi:
आपकी 3000 रुपये की ईएमआई लंबित है। कृपया शुक्रवार तक भुगतान कर दें।
Translate your first sentence
The response holds the translation and the source language:
Good to know
- Always set
model="sarvam-translate:v1". A request withoutmodelgoes to Mayura. - Set
source_language_codeto the input’s language. Sarvam Translate doesn’t detect it. - Set
speaker_gendertoMaleorFemale(the default) to match the speaker’s grammatical gender in languages such as Hindi, where verb forms change with it. - Set
numerals_format="native"for native digits, such as ३००० in Hindi. - To translate whole files and keep their layout, use Document Translation.
Languages: 22 Indian languages and English
Assamese as-IN · Bengali bn-IN · Bodo brx-IN · Dogri doi-IN · English en-IN · Gujarati gu-IN ·
Hindi hi-IN · Kannada kn-IN · Kashmiri ks-IN · Konkani kok-IN · Maithili mai-IN · Malayalam ml-IN ·
Manipuri mni-IN · Marathi mr-IN · Nepali ne-IN · Odia od-IN · Punjabi pa-IN · Sanskrit sa-IN ·
Santali sat-IN · Sindhi sd-IN · Tamil ta-IN · Telugu te-IN · Urdu ur-IN
Conversational translation
Mayura translates text the way people talk, in 10 Indian languages and English. Pick a style
with mode, from formal to code-mixed, and get the output in native or Roman script. Use it for
chat, customer support, app copy, and SMS.
Mayura
API defaultTranslation that sounds the way people talk: formal, colloquial, or code-mixed, in native or Roman script.
Best for
- Chat, customer support, and app copy
- Hinglish-style output that keeps everyday English words
- Romanized output for SMS and search
- Languages
- 11, source detected with
auto - Styles
- 4, set with
mode - Output script
- Native or Roman
- Text per request
- 1,000 chars
One sentence, three styles
mode sets how the text sounds, and output_script sets the script it’s written in. Live outputs
for “Your EMI of Rs. 3000 is pending. Please pay by Friday.” translated to Hindi:
mode also takes classic-colloquial and code-mixed, and output_script also takes
fully-native and spoken-form-in-native. See Mayura for each one.
Translate your first message
The response has the same shape as Sarvam Translate’s. With "auto", source_language_code in the
response is the language Mayura detected.
Good to know
mayura:v1is the default model onPOST /translate, so existing calls withoutmodelalready use it.- Keep each request to 1,000 characters. Split longer text by sentence.
- Set
speaker_gendertoMaleorFemale(the default) to match the speaker’s grammatical gender in languages such as Hindi. - Set
numerals_format="native"for native digits, such as ३००० in Hindi.
Languages: 10 Indian languages and English
Bengali bn-IN · English en-IN · Gujarati gu-IN · Hindi hi-IN · Kannada kn-IN · Malayalam ml-IN ·
Marathi mr-IN · Odia od-IN · Punjabi pa-IN · Tamil ta-IN · Telugu te-IN
Documents
Sarvam Vision reads PDFs and scanned pages in 22 Indian languages and English. You call it through Document AI: pick the operation that matches the output you need, and Sarvam Vision does the reading.
Sarvam Vision
A 3B vision language model that reads PDFs and scans in 23 languages, keeping tables, reading order, and layout.
Best for
- Digitizing scanned archives and records
- Invoices, KYC, and forms, as structured fields
- RAG ingestion of documents in Indian languages
- Languages
- 23
- APIs
- Document AI · Parse · Extract
- Input
- PDF, PNG, JPEG
- Output
- HTML, Markdown, JSON, CSV, XLSX
Parse or Extract
Parse your first document
A Document AI call runs as a job. Submit the file, poll until the job finishes, then fetch the output.
Good to know
- Document AI uses
language(notlanguage_code) andoutput_formatvalues"md","html", or"json". - The Python example needs
sarvamai0.1.50 or later, and the JavaScript example 1.1.23 or later. - The Parse and Extract guides cover every option, with cURL. Page and file-size limits are in Languages, Formats & Limits.
Languages: 22 Indian languages and English
Hindi hi-IN · Bengali bn-IN · Tamil ta-IN · Telugu te-IN · Marathi mr-IN · Gujarati gu-IN ·
Kannada kn-IN · Malayalam ml-IN · Assamese as-IN · Urdu ur-IN · Sanskrit sa-IN · Nepali ne-IN ·
Dogri doi-IN · Bodo brx-IN · Punjabi pa-IN · Odia od-IN · Konkani kok-IN · Maithili mai-IN ·
Sindhi sd-IN · Kashmiri ks-IN · Manipuri mni-IN · Santali sat-IN · English en-IN
Build with Sarvam Models
The models chain together with the same key and SDK. Each card below opens a guide for a common pipeline.