Apple on-device AI models

Hello,

I am studying macOS26 Apple Intelligence features.

I have created a basic swift program with Xcode. This program is sending prompts to FoundationModels.LanguageModelSession. It works fine but this model is not trained for programming or code completion.

Xcode has an AI code completion feature. It is called "Predictive Code completion model".

So, there are multiple on-device models on macOS26 ? Are there others ?

Is there a way for me to send prompts to this "Predictive Code completion model" from my program ?

Thanks

Predictive code completion in Xcode uses a model trained specifically for Swift and Apple SDKs. It is a productivity feature to help you while writing code in Xcode — it is not part of the Apple SDK where you can invoke it from your app's code.

— Ed Ford,  DTS Engineer

Apple on-device AI models
 
 
Q