Providers

Maya Open-Source

Maya Research's open-source Maya 2 Native, hosted by us: 12 Indian languages, in our voices or your own, through our LiveKit plugin, our Pipecat service or /v1/audio/speech, with no provider key.

View as Markdown

With our LiveKit plugin#

Maya Research’s open-source Maya 2 Native, which we run on our own GPU: our voices, or your own, in 12 Indian languages, with no provider key. Language codes are bare (hi, not hi-IN); leave language out and Maya picks it from the script of the text. Try every voice in the dashboard’s playground.

pip install livekit-plugins-tts-cache-router
agent.py
from livekit.plugins import tts_cache_router as tcr# The API key comes from TTS_CACHE_ROUTER_API_KEY.tts = tcr.TTS(    model="maya/maya-2-native",    voice="Monika",    language="hi",)

Pass tts to AgentSession(tts=tts). Set TTS_CACHE_ROUTER_API_KEY in the agent’s environment; Maya Open-Source needs no key of its own. TTS’s own arguments are on the plugin’s page.

Options#

tcr.TTS(...)’s settings for Maya Open-Source, in the router’s names: model, voice, language and speed as arguments, and the rest in the options dict (options={"name": value}). The router checks them; the languages per model are in Models and options.

modelstringRequired

One of maya/maya-2-native

Which model synthesizes the replies, with its provider.
voicestringRequired
A voice of the chosen model, passed to Maya Open-Source as given. See models and voices.
languagestring | nullOptional
A Maya Open-Source language code from languages, passed through as given. Leave it out and Maya Open-Source detects the language.
sample_rateintDefault 24000

One of 24000

Of the audio you receive, in Hz.
options.normalizeboolean | nullDefault null
Speak numbers, currency, dates, times, OTPs, phone numbers, URLs and emails as words in the request's language. Null: Maya's default (on).
options.temperaturenumber | nullDefault null

Range 0.1 – 1.5

Sampling temperature: lower is steadier, higher is more varied. Null: Maya's default.
options.top_kinteger | nullDefault null

Range 1 – 2048

Sample from the k likeliest codes. Null: Maya's default.
options.top_pnumber | nullDefault null

Range 0.0 – 1.0

Nucleus sampling, above 0 and at most 1. Null: Maya's default.
options.repetition_penaltynumber | nullDefault null

Range 0.0 – 5.0

Penalty on recently repeated codes. Null: Maya's default.
options.seedinteger | nullDefault null
Sampling seed, 0 to 2^63 - 1. The same seed repeats a take only when Maya runs the request alone. Null: a seed of Maya's.

Changing settings#

Replies that start afterwards use the new settings:

Python
tts.update_options(voice="Ritvik", options={"temperature": 0.8})# Another language: the voice can stay, though one trained on it sounds most native.tts.update_options(language="ta", voice="Kayal")

With Pipecat#

Our Pipecat service takes the same settings as the LiveKit plugin.

pip install pipecat-tts-cache-router
bot.py
import osfrom pipecat_tts_cache_router import TTSCacheRouterTTSServicetts = TTSCacheRouterTTSService(    api_key=os.environ["TTS_CACHE_ROUTER_API_KEY"],    settings=TTSCacheRouterTTSService.Settings(        model="maya/maya-2-native",        voice="Monika",        language="hi",    ),)

Put tts in your pipeline where a TTS service goes, after the LLM. The rest is on the service’s page.

/v1/audio/speech#

The router’s OpenAI-shaped /v1/audio/speech with maya/maya-2-native as the model, so the OpenAI SDK works with the base URL and key changed. Maya has no API of its own to mirror: this is its HTTP API.

import osfrom openai import OpenAIclient = OpenAI(    base_url="https://api.media.ttscacherouter.dev/v1",    api_key=os.environ["TTS_CACHE_ROUTER_API_KEY"],)with client.audio.speech.with_streaming_response.create(    model="maya/maya-2-native",    voice="Monika",    input="नमस्ते, आपका ऑर्डर कल पहुँच जाएगा।",    response_format="mp3",    extra_body={"language": "hi"},) as response:    response.stream_to_file("speech.mp3")
  • response_format: pcm or wav (16-bit, 24000 Hz, mono) or mp3 (24000 Hz mono), each made by Maya itself. There is no mulaw, alaw, opus or flac, and the router never re-encodes.
  • The other fields are top-level, as the OpenAI SDK’s extra_body: language, normalize, temperature, top_k, top_p, repetition_penalty and seed. Their ranges are in Models and options. Maya takes no speed.
  • A browser can call it too: the router answers CORS on /v1/audio/speech and /v1/voices for this site, which is how the dashboard’s playground plays Maya.

Voices#

Our voices, each cloned from a recording made for voice agents. Every voice speaks every language; it sounds most native in its recording’s language, and elsewhere speaks cross-lingually, with some of that accent. voice is the name, in any case.

VoiceProfileRecorded in
BuntyYoung male voice, friendly, casualHindi
MonikaYoung female voice, warm, helpfulHindi
UmanandaAdult male voice, steady, friendlyAssamese
RimjhimYoung female voice, clear, expressiveBengali
MuskanAdult female voice, warm, sweetGujarati
SrivatsaAdult male voice, casual, naturalKannada
MahendranYoung male voice, relatable, naturalMalayalam
SunainaAdult female voice, warm, clearMalayalam
AmoghYoung male voice, casual, engagingMarathi
KalyaniYoung female voice, warm, gentleMarathi
SwastikAdult male voice, casual, warmOdia
RaqibYoung male voice, warm, conversationalPunjabi
VennilaYoung female voice, warm, easygoingTamil
BhaavanaYoung female voice, natural, warmTelugu

GET /v1/voices lists them with ?provider=maya, each with its language and profile, followed by your org’s custom voices. The languages are Assamese (as), Bengali (bn), English (en), Gujarati (gu), Hindi (hi), Kannada (kn), Malayalam (ml), Marathi (mr), Odia (or), Punjabi (pa), Tamil (ta) and Telugu (te).

Maya reads the tags [laughs], [sighs], [whispers], [sad] and [excited] in the text, best effort.

Custom voices#

Your org’s own voices, each cloned from one recording you hold the rights to and spoken by your org alone. Create one on the dashboard’s Voices page or with POST /v1/custom-voices, then pass its id (cv_…) as voice. Enabled per org on request. See Custom voices.

What is cached#

  • Each sentence: the router splits the text at sentence ends (including ।) and at the opening sentence’s first comma, with the splitter it uses for Sarvam and Raya, and sends each piece to Maya on its own. A sentence your org has synthesized before with the same voice, language, settings and format comes from the cache, whatever text surrounds it.
  • Our plugins, /v1/stream and /v1/audio/speech share cached sentences when the request is the same. PCM and WAV share entries; MP3 has its own.
  • Only a complete take is cached: one Maya ended on its own. A take cut short (by Maya’s length or loop guard, an error or an interruption) is never cached.
  • An entry belongs to the model revision we run. When we upgrade Maya’s weights, your sentences are synthesized afresh the next time.
  • Audio is kept for your org’s retention, counted from its last use.

Pricing#

  • $0.003 per 1,000 characters Maya synthesizes (₹0.30), taken from your credit. There is no provider bill: we run the GPU.
  • $0.002 per 1,000 characters served from the cache, as for every provider.
  • The $10 of credit every new org starts with covers Maya too. See Pricing and billing.

Limits and timeouts#

  • Maya runs on one GPU server of ours in Delhi, India. If it is down, Maya requests fail with provider_unavailable until it is back; sentences already in your cache still play. We will add servers as traffic grows.
  • When the GPU is at capacity, Maya refuses a request before any audio rather than slowing every stream down, and you get provider_rate_limited.
  • Maya’s first audio for a sentence within 5 seconds, then 5 seconds at most between chunks; otherwise the sentence fails with provider_timeout.

Errors#

Maya's refusals become the router's error codes, as for every provider.

  • provider_rate_limited, with the message “Maya Open-Source is at capacity, try again”: the GPU is full. Retry after a moment.
  • provider_rejected: Maya refused the request, with its message passed through.
  • provider_unavailable: the GPU server can’t be reached or failed. provider_timeout: it sent nothing in time.
  • bad_request: an unknown voice or language, or a setting out of range, refused before anything reaches Maya. There is never a provider_key_missing.

The rest are on Errors.

About Maya 2 Native#

Maya 2 Native is an open-weights text-to-speech model made by Maya Research and released on 25 October 2026. We run it unchanged; Maya Research doesn’t operate this service.

  • License. The weights and the inference code are Apache-2.0. It builds on Qwen3-1.7B-Base (Apache-2.0), Kyutai’s Mimi codec (CC-BY-4.0) and SpeechBrain’s ECAPA-TDNN (Apache-2.0). The model card has the details.
  • What it speaks. 12 languages, 24 kHz mono, streamed in 80 ms frames. Through us: PCM, WAV and MP3.
  • How it was evaluated, as Maya Research reports it: #2 in VoiceArena’s Hindi real-time ranking (Elo 1047 ±11, checked 27 October 2026), and a character error rate of 2.9–3.5% over 6,000 held-out texts in the 12 languages, by three speech recognizers. These are automated judges; there is no human listening study.
  • Where it is weaker, by the model card: Assamese, which no voice is trained on; one- or two-word replies, whose voice is less stable; web addresses, symbols, long digit strings and heavily mixed languages.
  • Where it runs. One GPU server of ours at E2E Networks in Delhi, India; your text goes there for synthesis and nowhere else.