Hindi speech-to-text
Transcribe Hindi audio with language=hi. Whisper Large v3 supports it. $0.002 per audio minute, timestamps, SRT/VTT subtitles, files up to 100 MB.
| Whisper Large v3 | Parakeet TDT 0.6B v3 | |
|---|---|---|
| Supports Hindi | yes | no |
| Language code | hi | — |
| Price | $0.002 / minute | — |
| Model id | openai/whisper-large-v3 | — |
| Best for | Accuracy, 99 languages, auto-detect | — |
Quickstart
Passing language skips auto-detection, which improves both accuracy on short clips and latency.
curl https://api.inferenceapis.com/v1/audio/transcriptions \
-H "Authorization: Bearer $INFERENCE_API_KEY" \
-F "model=openai/whisper-large-v3" \
-F "language=hi" \
-F "file=@recording.mp3" \
-F "response_format=verbose_json"import os
from openai import OpenAI
client = OpenAI(base_url="https://api.inferenceapis.com/v1", api_key=os.environ["INFERENCE_API_KEY"])
with open("recording.mp3", "rb") as f:
r = client.audio.transcriptions.create(model="openai/whisper-large-v3", file=f, language="hi", response_format="verbose_json")
print(r.text)Cost and speed for Hindi audio
At $0.002 per minute, one hour of Hindi audio costs $0.12 and ten hours cost $1.20, on either model. In our measurement Whisper Large v3 ran at 0.047× real time, so a 30-minute recording returns in roughly 1.4 minutes. There is no daily cap on minutes; usage is limited by your prepaid balance.
Related languages: Urdu, Marathi, Gujarati, Punjabi, Bengali.
Tips for Hindi
- Whisper writes Hindi in Devanagari. For Hinglish (Hindi in Latin script) audio, a Latin-script
promptsteers the output script. - Kokoro has Hindi voices.
Subtitles
Use response_format=srt or vtt to get a subtitle file directly; timestamps come from the model's segment boundaries. For word-level timing use verbose_json with timestamp_granularities[]=word.
Text-to-speech in Hindi
The reverse direction is covered too: Kokoro has Hindi voices on the Text-to-Speech API. See Hindi text-to-speech for the voice list.
FAQ
Does auto-detection work for Hindi?
Yes — omit language and Whisper detects it from the first 30 seconds. Set it explicitly for short clips or mixed-language audio.
Can it translate Hindi to English?
Transcription returns Hindi text. For English output, transcribe first and translate the text with a chat model on the same key.
