Providers often bill for failed, empty, or filtered responses. Aurex classifies outcomes, optionally retries or falls back, and accounts for loss avoided.
Agent hint
Use when explaining billed-but-failed spend, why Aurex is not a hosted gateway, or observe→enforce rollout.
In scope
Out of scope
Aurex is an in-process library, not a hosted LLM gateway. Retries and fallbacks run inside your application using your API keys and customer-registered callables.
By default resilience.enabled=false — no behavior change until you opt in. Recommended rollout:
loss_avoided without retrying.max_extra_cost_usd ceiling.Flow (enforce mode)
LLM call → classify response/exception → if retryable and under cost cap → retry or fallback callable → log_event with outcome, projected_cost, loss_avoided → cloud sync → dashboard reliability metrics