API Chat Completions issue: json_schema in wrong order, GPT-5.5
OpenAI Developer Community
May 19, 2026
When:
Model: gpt-5.5 Endpoint: Chat Completions response_format/text.format: json_schema
Symptom:
GPT-5.5, Chat Completions: AI model is producing its output JSON in the wrong order, disobeying the schema, and only on Chat Completions, not Responses. This ruins the chain-of-thought necessary for quality decision-making.
GPT-5.5, Responses: AI model is not given a logit enforcement of when it is in a string or out, and produces unescaped double-quotes, and breaks out of the JSON. Even the playground parser knows it is bad JSON, because it doesn’t highlight.
AI diagnoses itself:
Chat Completions - wrong
Responses - correct (but damaged output with unescaped quotes)
{
"contains_person": false,
"is_known_person": false,
"name": "none",
"unencumbered": true,
"justification": "["contains_person", "is_known_person", "name", "unencumbered", "justification", "release_to_user"]",
"release_to_user": true
}
Chat Completions, GPT-5.4 - Correct
{
"contains_person": false,
"is_known_person": false,
"name": "none",
"unencumbered": true,
"justification": "['contains_person', 'is_known_person', 'name', 'unencumbered', 'justification', 'release_to_user']",
"release_to_user": true
}
Responses, GPT-5.4 - AI is again able to produce bad JSON in its answer.
Moderation-like json_schema being used (click for more details)
Additionally, developer functions are denied on Chat Completions with GPT-5.5 and GPT-5.4. If intentional, this is abhorrent.
Discussion in the ATmosphere