Where they go
Each component takes afallbacks list, tried in order:
A fallback entry cannot have fallbacks of its own.
When a call moves to a fallback
- LLM: when a reply fails before any of it is spoken, the turn is re-run on the next model. A network or server error that comes back within a second and a half gets one more try on the same model first; a slower one, a rate limit, an authentication error or a missing model moves straight on. A reply the caller has already started hearing is never re-run.
- Speech-to-text: when the provider’s connection fails. A connection that was working gets one reconnect first; one that never connects moves straight on. What the caller said while it was down is passed to the fallback.
- Text-to-speech: when the voice fails or cannot connect. The fallback voice speaks the interrupted reply from its start.
Multilingual agents
Withmultilingual_config:
- Speech-to-text:
transcriber.fallbackson the agent apply to every language, each in that language.languages.<code>.transcriber.fallbacksreplaces them for one language. - Text-to-speech: each language sets its own in
languages.<code>.synthesizer.fallbacks. The agent-levelsynthesizer.fallbackscover the main language (active_language) only. - LLM: one list for the whole call, in
llm_agent.llm_config.fallbacks.
Checks when you save
Fallbacks are held to the same checks as the models they stand in for, on create and on every update:- A retired model, an unknown voice or an out-of-range setting is refused, as for the agent’s own.
- A speech-to-text fallback must offer the agent’s language (each language’s, on a multilingual agent):
Transcriber fallback '<provider>' model '<model>' is not available for language '<code>'. - A custom TTS cannot be a fallback voice:
Custom TTS isn't supported as a fallback voice yet. - An LLM fallback must be on
openai,azure,bedrock,sarvam,customor Bolna’s hosted models:LLM fallback provider '<provider>' is not supported as a fallback. - A fallback no Bolna region can serve alongside the rest of the agent is refused, as the same pairing would be for the agent’s own models.
Keys and billing
- A fallback runs on your own key for its provider when you have connected one, and on Bolna’s otherwise. It never uses the key of the provider it stands in for.
- How a fallback is charged follows how the call is billed:
- Flat per-minute rate (your agent’s models are all preferred models): the call is charged at that rate whatever served it.
- Plan: each component your plan covers is charged at the plan’s rate whatever served it. The other components follow the usage-based rules below.
- Usage-based rates: the call is charged as if your agent’s own models served all of it: fallback LLM tokens at your agent’s model rate (or the fallback’s own rate if your agent’s model has none), fallback voice characters at your agent’s voice rate, and speech-to-text minutes at your agent’s rate. Two exceptions:
- A fallback on Bolna’s key that stands in for a provider on your own key or endpoint is charged at the fallback’s own usage-based rate, since Bolna does not charge for a component on your own key.
- Usage a fallback served on your own key is not charged.
What you see on the execution
Each fallback that served appears inusage_breakdown.fallback_usage on the execution and in your webhook payload: