Foundation Models not working: "Model is unavailable" error on iPad Pro M4

I am excited to try Foundation Models during WWDC, but it doesn't work at all for me. When running on my iPad Pro M4 with iPadOS 26 seed 1, I get the following error even when running the simplest query:

let prompt = "How are you?"                            
let stream = session.streamResponse(to: prompt)
for try await partial in stream {
    self.answer = partial
    self.resultString = partial
}

In the Xcode console, I see the following error:

assetsUnavailable(FoundationModels.LanguageModelSession.GenerationError.Context(debugDescription: "Model is unavailable", underlyingErrors: []))

I have verified that Apple Intelligence is enabled on my iPad. Any tips on how can I get it working? I have also submitted this feedback: FB17896752

Answered by DTS Engineer in 842701022

Did you check the model availability before using it, as shown in the Apple sample code? That can probably give you a better idea about why the model is unavailable.

One typical reason is that Apple Intelligence isn't enabled on the device, which you have ruled out. The other thing I am wondering is if the issue is related to the supported languages and regions. Did you try to set your system language to English and region to United States?

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

I am getting similar error, MODEL NOT AVAILABLE. I am running XCODE BETA Version 26.0 beta (17A5241e) Mac Sequoia 15.5 on high performance Mac Pro

Trying running sample code from Video

import FoundationModels import Playgrounds

#Playground { if #available(iOS 26.0, *) { let session = LanguageModelSession() } else { // Fallback on earlier versions } let response = try await session.respond(to: "Whats a good name for a trip to Japan? Reply only with a title") }

Cannot find 'session' in scope.

DOES THIS WORK on SIMULATORS with the Beta or is there something I am missing?

Accepted Answer

Did you check the model availability before using it, as shown in the Apple sample code? That can probably give you a better idea about why the model is unavailable.

One typical reason is that Apple Intelligence isn't enabled on the device, which you have ruled out. The other thing I am wondering is if the issue is related to the supported languages and regions. Did you try to set your system language to English and region to United States?

Best,
——
Ziqiao Chen
 Worldwide Developer Relations.

I experienced the same issue, but I set my region to United States, the device language to English, and Siri’s language to English, and after waiting a while, it was resolved!

Foundation Models not working: "Model is unavailable" error on iPad Pro M4
 
 
Q