after testing on 30K+ images , I’ve switched from gpt-5-mini to gpt-4.1-mini for analyzing images with structured output. The gpt-5-mini output violates the json schema on most submissions, especially for images containing text. gpt-4.1-mini almost always returns a valid response .