Model-driven apps do not have the same capabilities as canvas apps when it comes to using AI Builder models. Only the Business Card Reader control can be used in a model-driven app.
The business card reader is available in the Dynamics 365 Sales app, in the Quick create form of the Lead entity.
The prediction model cannot be used directly in a model-driven app. However, the prediction model sets a field with the prediction value. This outcome field can be displayed in a model-driven app.
If you need to include AI in a model-driven app, add the AI Builder model to a canvas app and embed the canvas app in a model-driven app form.
Portal apps cannot use AI Builder models, but a data change made to the Common Data Service by a portal user could trigger a Power Automate flow that uses an AI Builder model.
You can use AI Builder with Power Automate to automatically enhance data created and updated in a model-driven app.