Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

Is there an API to check if a Core ML compiled model is already cached?

Hello Apple Developer Community,

I'm investigating Core ML model loading behavior and noticed that even when the compiled model path remains unchanged after an APP update, the first run still triggers an "uncached load" process. This seems to impact user experience with unnecessary delays.

Question: Does Core ML provide any public API to check whether a compiled model (from a specific .mlmodelc path) is already cached in the system?

If such API exists, we'd like to use it for pre-loading decision logic - only perform background pre-load when the model isn't cached.

Has anyone encountered similar scenarios or found official solutions? Any insights would be greatly appreciated!

Is there an API to check if a Core ML compiled model is already cached?
 
 
Q