Only using my 11labs API key in SELECTED cases?
# support
e
Hello, I want to use one of my Professional Voice Clone from ElevenLabs in some cases, so therefore I had to insert my ElevenLabs API key. The problem is that it's $0.10/minute, much more expensive than the $0.036 cents that VAPI charges per minute of speech How can I only use my 11labs API key in certain cases, and use Vapi's 11labs key in other cases? I'm using the web SDK and creating dynamic assistants by the way Thank you
d
You’ve added your ElevenLabs API key to Vapi to access your Professional Voice Clone, which costs $0.10 per minute significantly higher than Vapi’s rate of $0.036 per minute for speech. Your goal is to use your API key only when necessary (for your Professional Voice Clone) and rely on Vapi’s ElevenLabs key for other cases, all within the Web SDK while creating dynamic assistants. Vapi’s documentation doesn’t explicitly support multiple API keys for the same provider within a single account, so you need a creative yet effective workaround.
e
Yes indeed, can I get some help with this please?
s
You can create API key on assistant level that way you solve it.
e
thanks Sahil can you explain that please? is that in the docs ?
s
When making calls via API, in the voice section of the assistant object you can define the API key there for 11labs when you want to use it and remove it when you don't want to.
e
ok thank you!
s
Glad the issue was resolved. If you need additional assistance, please let us know