In this article
Confirm each input row has a corresponding result, with structured validation and failures attributed to the correct row.
On November 19, 2026, LiteLLM 1.108.12 LTS listed a Vertex AI and Gemini batch fix. The release notes describe a case where one json_schema row caused the other rows in a Vertex batch file to fail. This is a change in the gateway release. The right acceptance test checks the behavior of a mixed input file using the same gateway and backend entry point that the operator will deploy.
Make the rows distinguishable
Prepare a small batch with a deliberately simple structured-output request and ordinary requests that can be identified individually. Give each row a benign marker in its input and keep a local lookup from that marker to the intended output. Keep the structured schema valid and minimal for the initial test. If the schema itself is rejected by the provider, that outcome cannot establish whether LiteLLM correctly handles a supported mixed batch.
Run mixed and isolated controls
Run the ordinary requests as their own file, then run the schema request on its own. Run all the same requests together and compare the outcomes. Keep the target model, gateway version and submitted formats stable across these runs. If the all-ordinary batch succeeds but the mixed case fails, investigate the translation and validation of each row before assuming the upstream model is unavailable.
Reconcile the result by row
Check the provider output locations, individual outcomes and expected structured fields. Match using a stable recorded identifier or a separate input lookup. Do not assume result ordering if the service cannot guarantee it. Report a missing row, a rejected row and an invalid generated value as different failures. A completed job status can coexist with a partial outcome.
Retry only unfulfilled work
When the system permits selective retry, build the next batch from unfulfilled records and preserve the identifiers of earlier successful results. This keeps a partial failure from duplicating already delivered work. Record the gateway version and provider job identifier with the acceptance outcome. An operator should be able to distinguish a repeated delivery from a successfully repaired input row.
Sources
Related reading
Earn rental income from GPUs
Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.