Can a failed streamed or tool-using request be replayed on another model?

A failed model response is not proof that the workflow did nothing. Before replaying a streamed or tool-using request on another model, ask: what has already become visible or taken effect?

The safe Claude-to-GPT fallback section of this error-handling guide makes two useful points: both routes must satisfy the same application contract, and blindly replaying a request after tool execution, data writes, or partial streaming can duplicate operations or confuse users. It recommends resuming from a checkpoint or returning a controlled failure. This is Japanese-language guidance published September 3, 2026, not a demonstration that any particular pair of models is interchangeable.

Here is how I would turn that warning into an application recovery policy. The policy below is a design recommendation, not a description of built-in gateway behavior.

Classify the effects before choosing the next route

State at failure Recovery decision
No output exposed and no tool effects, with evidence for both Consider a bounded replay on a compatible route. “Nothing logged” is not enough evidence.
Partial text already shown, no tool mutation Mark the response interrupted. If offering a fresh generation, give it an explicit replacement boundary rather than silently appending a second model’s answer.
Tool effect confirmed Preserve the completed step and its result. Resume only unfinished work from an application checkpoint, if the alternate route can consume that context.
Tool call sent, outcome unknown Reconcile with the tool’s authoritative record before issuing the effect again. If that is impossible, stop with an explicit unresolved outcome.

Streaming and tool execution need different safeguards. Partial text can leave a user with two conflicting answers; a repeated write can leave two actual records. Neither problem is solved merely by receiving a successful response from the fallback model.

Make the checkpoint useful outside the original model

I would persist the workflow step, tool operation identity, confirmed result, unresolved operations, and whether output has been exposed. A checkpoint should describe application progress—not just save the prompt and assume the next model will reconstruct it correctly.

For tools that support idempotency, keep the same business-operation key when retrying the same effect, within that tool’s documented scope and retention rules. A new model attempt should not automatically mean a new business operation. An application-generated key provides no deduplication guarantee if the downstream tool ignores it.

There is also a gap a checkpoint cannot close by itself: a tool may commit before the application records its result. Recovery needs remote readback or supported deduplication to address that ambiguity. Otherwise, controlled failure is safer than guessing that the write failed.

Compatibility remains a prerequisite. Test tool schemas, structured outputs, and required input capabilities on both routes. A checkpoint does not make their outputs equivalent.

Test the boundary, not just the fallback response

A useful fault-injection exercise is to interrupt the workflow after visible text, after a confirmed write, and after a write whose acknowledgement is lost. For each case, inspect the number of downstream effects, the saved recovery state, and what the user sees. A final HTTP success alone is not the acceptance criterion.

The practical dividing line is not “primary model failed.” It is whether the application can account for prior effects well enough to continue without replaying them blindly.

A useful teaching exercise here is to make the lost acknowledgement visible without involving a real service. I would use a fake tool that records an operation and then raises a timeout before returning its result.

Assume the exercise tool supports an authoritative lookup by a stable operation ID. Start with one intended write, op-1, and keep the fake tool’s stored records separate from the application’s checkpoint. Then run these proposed cases:

  1. The tool stores op-1, but the application receives only the timeout. On recovery, the lookup returns the stored result. The controller should preserve that result and continue after the write, with exactly one stored operation.
  2. The same acknowledgement is lost, but the lookup is unavailable. The controller should stop with an unresolved outcome. It should neither invent a successful result nor issue another write merely to obtain an acknowledgement.
  3. The application saves the confirmed result and then crashes before answering the user. Resuming should use the saved result, without invoking the write again.

For each case, inspect both the tool’s record count and the application’s final message. A test that checks only for “no exception” can miss a duplicate effect; a test that checks only record count can miss a false claim that the task finished.

These are proposed fixtures, not an executed test. The lookup capability is an explicit exercise prerequisite, not a guarantee from CometAPI or an arbitrary downstream tool. Keeping the tool record and checkpoint separate makes the commit-before-checkpoint gap concrete.