We have a tool that breaks long films into one-minute and six-minute segments and has a model describe each one. The last step for each segment pulls that material together into a single JSON record. On three long films, some of those records came back cut off part-way through. The text simply stopped, and a JSON object that stops halfway does not parse.
The cap was the size of a normal answer
The merged text for a segment usually ran 1,400 to 1,800 tokens. The output limit for that step was 1,800 tokens. So the cap was not a margin above normal output; it sat at the top of the normal range. A segment that needed a little more than usual hit the ceiling, and the model stopped writing wherever it happened to be.
That is easy to misread as the model being unreliable with JSON. The format was not the problem. The output was being stopped before the model could close it.
Raised to 3,200, with one exception
The limit was raised from 1,800 to 3,200 tokens, a change of a few lines. After that, every one-minute and six-minute segment of all three films was analyzed: 100 of 100 and 17 of 17 for the first film, 92 of 92 and 16 of 16 for the second, 55 of 55 and 10 of 10 for the third. The project’s 35 tests passed.
One segment did not come through. A single segment of the first film, cut at a larger grain than the one- and six-minute windows, was truncated on both attempts even at 3,200. The fix written down for it is to raise the limit further for that segment alone and run it again; as of the log this post is based on, that has not been done. So 3,200 is not a proven ceiling. It was enough for everything else we ran, and there is already one case where it was not.
If an output cap sits near the size of a typical answer, ordinary variation turns into broken output. Check how long the answers actually run before choosing the limit, and leave room above it.