The hidden cost of structured output
Four 2026 studies, and why no vendor documentation mentions this.
Read the guide →Language models are strong at structuring, categorising and explaining data. They are unreliable at silently doing arithmetic on it.
Extraction, classification, reshaping, spotting patterns and explaining what a number means are all well within reach. Multi-step calculation performed invisibly inside the answer is not, and the failure is quiet: you get a plausible number with no indication that it was produced rather than computed.
Two defences. Ask for the working to be shown so it can be checked. Or, where the platform allows it, ask for the calculation to be run in code rather than reasoned about, which turns an estimate into an actual computation.
Most analysis disagreements are definition disagreements. State the rules explicitly and the output becomes reproducible instead of a matter of taste.
Categorise each row using only these categories: [list].
If a row does not clearly fit, put it in "unclear" rather than choosing the closest option.
Rules:
- A row counts as [X] only when [explicit condition].
- Ignore rows where [field] is empty.
- Segments with fewer than 30 responses must be flagged, not reported as findings.
Output a table with: original row, category, and the phrase that decided it.
Do not compute any totals. I will do that myself.The final line is deliberate. Ask for the categorisation and do the counting in a spreadsheet, and you get the model's strength without its weakness.
Forcing results into JSON makes them machine-readable, and 2026 research shows it can measurably reduce quality on harder tasks, with the effect depending on how capable the model is. The practical fix is to let the model reason in plain text first and produce the structured object afterwards, rather than forcing the schema from the first token.
There is a second trap in the monitoring. Schema validity is not correctness. A response can be structurally perfect and semantically wrong, and if your dashboard only tracks validity it will look healthy while the answers degrade.
Four 2026 studies, and why no vendor documentation mentions this.
Read the guide →Building a test set so you can tell whether a change actually helped.
Read the guide →What to strip out before customer or employee data goes anywhere near a prompt.
Read the guide →