product · inferred from evidence
grok-4
A model for which structured outputs were broken in the API.
- xAI chat.parse() structured outputs not working with grok-4
When using the grok-4 model, chat.parse() for structured outputs fails, while the same code works fine with other models like grok-2-vision. Is structured output broken on grok-4? My schema is a straightforward Pydantic model and it parses