A reliable AI system is defined as much by the moment it refuses to switch as by the moment it succeeds.
When a provider starts streaming a response, the system has crossed a boundary. Before the first token, a request can still be routed, retried, or rejected. After the first token, a second provider is not a transparent fallback. It is a different conversation with a different accounting story.
Make the boundary explicit in the adapter contract, then test it as a property of the system.
The tradeoff
Retries are attractive because they make dashboards look healthy. But a retry that changes the provider after output has started can duplicate usage, confuse the user, and make a later audit impossible to explain. Reliability is not the absence of failure. It is the ability to fail without inventing a story.
if (streamStarted) {
return forwardProviderError(error);
}
return retryWithBoundedJitter(request);The useful design move is to keep the provider adapter canonical and let the policy layer decide the retry boundary. This leaves the streaming path small enough to reason about and makes the dangerous case visible in review.
Takeaway
In production AI, a fallback is only safe while the request is still reversible. After the first token, preserve the stream, preserve the evidence, and make the failure legible.