As my colleague mentioned, your app can definitely use Apple Foundation Models together with other models. One example is that you can use your own model to implement a use case-specific filter to filter the responses that the Apple Foundation Models generated but don't fit your concrete use case.
However, if your question is whether you can use the API the FoundationModels
framework provides to access your own model, the answer is no – You can't replace the system-provided models with your own and still use the features the framework provides, like guided generation and tool calling.
Best,
——
Ziqiao Chen
Worldwide Developer Relations.