Currently, if you put in a fine-tuned openai model (starts with ft: ) it doesn't match against the model list that support StructuredMode. https://developers.openai.com/api/reference/resources/fine_tuning PR here to fix: https://github.com/prism-php/prism/pull/958