Users Pricing

forum

Home Forums How do you match OpenAI Batch API results to the requests that created them? – MindStick

How do you match OpenAI Batch API results to the requests that created them?

Suman Tamang 126 16 Oct 2026

I’m looking at using the OpenAI Batch API for a set of independent jobs, and I’m unsure how best to handle the results when they come back in a different order from the input file. Some requests may also fail while others complete.

What’s your approach to matching each result to its original input and handling retries without accidentally processing a job twice? I’d be interested in how people structure this in production, especially when a batch contains thousands of requests.


0 Answers

Markdown for AI

A clean, structured version of this page for AI assistants and LLMs.

Open .md