# Handling WhatsApp voice notes with AI: transcription in Indian languages, and replies that make sense

By Shreyas Raj, founder of RapidXAI. Updated 2026-11-29.

**Short answer:** To handle WhatsApp voice notes with AI, receive the audio webhook, download the file from the Cloud API within minutes, send it to a speech-to-text model that supports your customers' Indian languages and code-mixing, pass the transcript to your bot, and reply in text or as a voice note. Sarvam's API covers 22 Indian languages plus Indian English with a code-mix mode at ₹0.49 a minute, as of November 2026 [5][6]. Test any model on 100 of your own voice notes before you trust it.

## The five-step voice note pipeline

1. **Receive.** WhatsApp sends your webhook an audio message with a media ID.
2. **Download.** Ask the Cloud API for the media URL, then fetch the file with your access token. The URL expires after 5 minutes [2].
3. **Transcribe.** Send the audio to a speech-to-text (ASR) model, with language detection or a language hint.
4. **Understand.** Give the transcript to your bot or LLM, exactly as if the customer had typed it.
5. **Reply.** Answer in text, or synthesise a voice note and send it back.

Steps 1, 2 and 5 are plumbing. Step 3 is where projects succeed or quietly fail (Hint: it is always the numbers and the names).

## The WhatsApp side: formats, limits and expiry

Voice notes from customers arrive as Ogg files encoded with Opus. The Cloud API accepts AAC, AMR, MP3, M4A and Ogg Opus audio, each up to 16 MB [1].

Two clocks matter. Media URLs expire 5 minutes after you request them, and media IDs from webhooks can only be downloaded for 7 days [2]. Download on arrival, not in a nightly batch.

Whatever your bot does with the audio, it is replying inside the 24-hour customer service window, because the customer just messaged you [10]. Free-form text and voice replies are allowed. They count as service messages, with 1,000 free per number each month [10].

### Sending a voice note back

To send a real voice note, with the microphone icon and auto-download, set the voice flag and send an Ogg file encoded with Opus, mono [1].

Keep it at 512 KB or smaller. Above that, WhatsApp shows a download arrow instead of a play button [1]. Quick math: at a 32 kbps Opus bitrate, 512 KB holds about two minutes of speech. Plenty.

Since March 2026, Meta also sends a "played" status webhook the first time the user plays your voice note [1]. Handy for knowing whether your answer actually landed.

## Why Indian voice notes are hard (researchers checked)

A 2023 Interspeech paper by Kaushal Bhogale, Mitesh Khapra and colleagues built Vistaar, a set of 59 benchmarks across Indian languages and domains [3]. They fine-tuned Whisper on 10.7K hours of public data in 12 Indian languages to make IndicWhisper.

IndicWhisper had the lowest word error rate on 39 of the 59 benchmarks, cutting WER by 4.1 points on average against public and commercial systems [3]. The headline lesson: no single model wins everywhere, so the domain matters as much as the language.

A year later, the IndicVoices project collected 7,348 hours of speech from 16,237 speakers across 145 districts and 22 languages [4]. 74% of it is extempore speech and only 9% is read text [4].

That ratio is your customers. Nobody reads a script into a voice note. They ramble, repeat, switch language mid-sentence and say "saade teen" when they mean 3.5.

> **Our take:** Benchmarks tell you which models to shortlist. Your own voice notes tell you which one to buy. Always run the test in the last section before going live.

## Choosing a speech-to-text model (as of November 2026)

| Option | Indian language coverage | Notable | Listed price |
|---|---|---|---|
| Sarvam (saaras:v4) | 22 Indian languages plus Indian and global English, with auto-detect [5] | Code-mix mode writes English words in Latin script and Indic words in native script. Accepts Ogg and Opus directly [5] | ₹0.49 per minute, ₹100 free credit on signup [6] |
| Google Cloud Speech-to-Text (Chirp 3) | Hindi, Bengali, Tamil, Telugu, Marathi, Gujarati, Kannada, Malayalam, Punjabi, Odia, Assamese, Urdu, Indian English [8] | Chirp 3 is offered in the eu and us locations [8] | Check Google's pricing page |
| OpenAI gpt-4o-mini-transcribe / gpt-4o-transcribe | Multilingual, not India-specific | Simple API and general-purpose. Test it on your regional languages before relying on it | $0.003 and $0.006 per minute [7] |
| AI4Bharat IndicConformer (self-hosted) | 22 Indian languages [9] | 600M parameters, MIT licence. Reports 13.2 Hindi WER on the Vaani benchmark [9] | Free model, you pay for GPUs |

Sarvam's REST endpoint is meant for audio under about 30 seconds, with a batch API for longer files [5]. Most voice notes fit. Route the occasional 3-minute monologue to batch.

### Code-mixing is the real test

Indian customers mix languages inside a sentence. Sarvam's documentation shows the output it aims for: "मेरा phone number है 9840950950" [5].

That mixed-script output is easier for an LLM to read than a fully transliterated mess. It also keeps numbers as digits, which is what your CRM wants.

More on this in our [Hinglish code-switching guide](/guides/hinglish-code-switching-voice-ai/).

## What it costs: rupee math

Assume 10,000 voice notes a month at an average of 30 seconds. That is 5,000 minutes of audio (our assumption, so measure your own average).

| Model | Rate | Monthly ASR cost |
|---|---|---|
| Sarvam | ₹0.49/min [6] | ₹2,450 |
| OpenAI gpt-4o-mini-transcribe | $0.003/min [7] | $15 |
| OpenAI gpt-4o-transcribe | $0.006/min [7] | $30 |

Either way, transcription is a rounding error next to one support agent's salary. Choose on accuracy for your languages, not on price.

The LLM call that reads the transcript and writes the reply usually costs more than the transcription. Short transcripts keep it cheap.

## Replying: text or voice?

Default to text. It is faster to read, easy to scroll back to, and holds addresses and order numbers without errors.

Reply with voice when the customer clearly prefers it: they sent three voice notes in a row, they write in a regional language, or the answer is a long explanation.

A neat trick: send both. A short voice note for warmth, then the key facts in text underneath.

Remember WhatsApp may also show the customer an automatic transcript of your voice note if they enabled it [1]. Speak clearly and avoid mumbled TTS voices.

For picking a voice, see our [text-to-speech guide](/guides/text-to-speech-explained/).

## Guardrails for the things that go wrong

- **Numbers.** Read back phone numbers, PIN codes, amounts and order IDs in text: "Just to confirm, order 44812?"
- **Names and places.** ASR mangles proper nouns. Match them against your product list, branch list or customer record before acting.
- **Low confidence.** If the transcript is very short or garbled, ask: "Sorry, I didn't catch that. Could you type it or send it again?"
- **Silence and noise.** Drop notes under a second or with no speech, instead of sending them to the LLM.
- **Anger or urgency.** Route to a human. The Business Messaging Policy requires a clear path to a person when you automate [11].

Store the transcript and a reference to the audio, not unlimited copies of customer voices. Treat recordings as personal data and keep them only as long as you need them.

## A test plan you can run this week

1. Export 100 real customer voice notes, spread across your top languages.
2. Have a native speaker write the correct transcript for each one. This is your ground truth.
3. Run all 100 through two or three shortlisted models.
4. Score word error rate per language, and separately score every number, name and address as right or wrong.
5. Feed the transcripts to your bot and check whether it took the right action, not just whether the words matched.
6. Pick the model with the best action accuracy. Re-run the test every quarter, because models change fast.

Step 5 is the one people skip. A transcript can have a 20% word error rate and still get the intent right, or a 5% one that swaps the only digit that mattered.

> **How we do it:** RapidXAI uses Sarvam for Indian languages in our voice and WhatsApp builds, Our rule: run this 100-note test on the business's own customer audio before go-live. See [our services](/services/).

## Questions people ask

### Can WhatsApp bots understand voice notes?
Not on their own. The Cloud API delivers the audio file. You transcribe it with a speech-to-text model and pass the text to your bot [1][2].

### What format are WhatsApp voice notes?
Ogg files encoded with the Opus codec. To send a voice note back, use mono Ogg Opus and set the voice flag [1].

### How long can I wait before downloading a voice note?
Media IDs from webhooks can be downloaded for 7 days, and each media URL expires 5 minutes after you request it. Download immediately [2].

### Which ASR works best for Hindi and Hinglish?
It depends on your audio. Research such as Vistaar found no single model best on every Indian benchmark. Shortlist Sarvam, Google Chirp 3 and OpenAI's transcribe models, then test on your own voice notes [3][5][7][8].

### How much does it cost to transcribe WhatsApp voice notes?
As of November 2026, Sarvam lists ₹0.49 a minute and OpenAI lists $0.003 a minute for gpt-4o-mini-transcribe. 5,000 minutes a month costs roughly ₹2,450 or $15 [6][7].

### Do replies to voice notes cost money?
They are service messages inside the 24-hour window. Each business number gets 1,000 free a month, then Meta charges per message [10].

## Sources

1. [Audio messages](https://developers.facebook.com/documentation/business-messaging/whatsapp/messages/audio-messages), Meta for Developers
2. [Media](https://developers.facebook.com/documentation/business-messaging/whatsapp/business-phone-numbers/media), Meta for Developers
3. [Vistaar: Diverse Benchmarks and Training Sets for Indian Language ASR (Interspeech 2023)](https://arxiv.org/abs/2305.15386), arXiv
4. [IndicVoices: Towards building an Inclusive Multilingual Speech Dataset for Indian Languages](https://arxiv.org/abs/2403.01926), arXiv
5. [Speech to Text API reference](https://docs.sarvam.ai/api-reference-docs/speech-to-text/transcribe), Sarvam AI Docs
6. [API pricing](https://www.sarvam.ai/api-pricing), Sarvam AI
7. [API pricing](https://developers.openai.com/api/docs/pricing), OpenAI
8. [Speech-to-Text supported languages](https://docs.cloud.google.com/speech-to-text/docs/speech-to-text-supported-languages), Google Cloud
9. [indic-conformer-600m-multilingual](https://huggingface.co/ai4bharat/indic-conformer-600m-multilingual), AI4Bharat on Hugging Face
10. [Pricing on the WhatsApp Business Platform](https://developers.facebook.com/docs/whatsapp/pricing), Meta for Developers
11. [WhatsApp Business Messaging Policy](https://whatsappbusiness.com/policy/), WhatsApp
