Structured Outputs (Strict JSON Schema) is a deterministic constrained decoding engine provided by OpenAI and leading API platforms guaranteeing that LLM outputs conform 100% strictly to a developer-supplied JSON Schema; by setting `strict: true` with a Pydantic/JSON Schema definition, the API backend compiles the schema into a context-free grammar (CFG) constraint mask, masking invalid token logits to
−∞ at every autoregressive step to guarantee zero syntax or structural violations.