Models JSON Schema Support #162495
Replies: 4 comments 3 replies
-
| Hey, great question! Yeah, it’s true that as of now, JSON schema response format is only officially supported in GPT-4o via the OpenAI API. Even though models like 4o-mini and others in the 4.1 family exist, they currently don’t expose that schema support publicly. | 
Beta Was this translation helpful? Give feedback.
-
| Hey @rajveerappan, thanks for nudging us on this! I'll spin up an issue to get this supported on all applicable models. Can I ask - are you building something with 4o-mini or a 4.1 variant that requires specific JSON schema support? Always curious what our users are building :) | 
Beta Was this translation helpful? Give feedback.
-
| OpenAI added JSON schema response format support in January 2024 for the gpt-4o model in the Chat Completions API, but as of now, that specific support is not available for the gpt-4.0-turbo, gpt-4.0-turbo-mini, gpt-4.1, gpt-4.1-mini, or gpt-4.1-nano models via the same interface. | 
Beta Was this translation helpful? Give feedback.
-
| 
 JSON schema support is limited to GPT-4o because it was specifically optimized for reliable schema outputs. Other models like 4o-mini and 4.1 variants weren’t initially fine-tuned for strict schema adherence. The feature is rolling out gradually—it's already supported via API for newer models, and wider product support will likely come in future updates. | 
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Question
Body
Models added json schema response format support back in January for just 4o and that's still the case even though 4o-mini and all the 4.1 variants including the mini/nano ones support json schema via the OpenAI API.
What is the reason the schema support is limited to 4o and is there a plan to expand that support?
Beta Was this translation helpful? Give feedback.
All reactions