JSON Mode, introduced by OpenAI in November 2023, is an API setting that guarantees the model's output is always a valid JSON document. What used to be a polite request in the prompt is now enforced at the model level, eliminating parse errors in end-to-end applications. Anthropic, Google, and other providers added similar capabilities to their own APIs. JSON Mode only guarantees format, not schema — for full schema conformance you reach for the next step up, Structured Output.
MEVZU N°124ISTANBULYEAR I — VOL. III
Glossary · Beginner · 2023
JSON Mode
An API setting that guarantees the model's output is valid JSON.
- EN — English term
- JSON Mode
- TR — Turkish term
- JSON Modu