Inefficient algorithm for MiniMax TTS
# support
b
Hi, The way VAPI handles TTS from minimax will hit the rate limit on almost all their plans within a very short time. I have been testing MiniMax with VAPI, and I can’t even get a call to last a few seconds without hitting the rate limit. The issue seems to be that VAPI is constantly hitting minimax for fragments of a sentence, and instead of just sending the entire sentence and streaming the result, it splits up the sentence into multiple parts that will then be streamed? Can this be changed in anyway? As it stands, it does 10+ requests in <4 seconds of call time, which is a little aggressive imo.
v
To help reduce MiniMax TTS rate limiting, enable voice response caching in your configuration. This will cache repeated phrases and minimize duplicate requests:
Copy code
json
{
  "voice": {
    "provider": "minimax",
    "cachingEnabled": true
  }
}
Set
cachingEnabled
to
true
in your MiniMax voice config to reduce API calls for repeated text
([documentation](https://docs.vapi.ai/changelog/2025/9/11)). Source: - [Voice Enhancements & Minimax Improvements](https://docs.vapi.ai/changelog/2025/9/11)
b
This doesn’t solve the issue
right now VAPI seems to be chunking the assistants speech on every period, which is not what I am expecting. Even when I adjust the punctuation boundaries to not include periods, it still will split it up by every period in the sentence
adjusting the cachingEnabled and chunkPlan do nothing as well
@User can I pleae get some input on this?
Any updates on this?
c
you can also try disabling chunking completely:
Copy code
{
  "voice": {
    "provider": "minimax",
    "cachingEnabled": true,
    "chunkPlan": {
      "enabled": false
    }
  }
}
b
disabling or enabling chunking doesnt seem to do anything
Hi? Any ideas on this?….
How is minimax even being used on this platform? The rate limit is triggered almost instantly no matter what features are set
k
if you are using your own API key for minimax, we suggest removing it. VAPI's default API key for minimax has a higher rate limit