FoundationModels.Release
------------------------

Release memory for a loaded model.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [FoundationModels](component_FoundationModels.md) | [15.5](newinversion155.md) | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |

MBS( "FoundationModels.Release"; FoundationModel ) 

**MBS**( **"FoundationModels.Release";** /\* Release memory for a loaded model. \*/  
**$FoundationModel**) /\* The identifier for the model.e.g. $model \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| FoundationModel | The identifier for the model. | $model |

### Result

Returns OK or error.

### Description

Release memory for a loaded model.  
### See also

- [FoundationModels.Available](FoundationModelsAvailable.md)
- [FoundationModels.List](FoundationModelsList.md)
- [FoundationModels.Prewarm](FoundationModelsPrewarm.md)
- [FoundationModels.ReleaseAll](FoundationModelsReleaseAll.md)
- [FoundationModels.Respond](FoundationModelsRespond.md)

### Example Databases

- [Mac and iOS/Foundation Models](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Mac%20and%20iOS/Foundation%20Models.shtml#3ScriptAnchor_)

### Blog Entries

- [New in MBS FileMaker Plugin 15.5](https://www.mbsplugins.de/archive/2025-11-25/New_in_MBS_FileMaker_Plugin_15/monkeybreadsoftware_blog_filemaker)
- [Use Foundation Models in FileMaker](https://www.mbsplugins.de/archive/2025-10-02/Use_Foundation_Models_in_FileM/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 1st October 2025 , last changed 1st October 2025

  
[FoundationModels.Prewarm](FoundationModelsPrewarm.md) - [FoundationModels.ReleaseAll](FoundationModelsReleaseAll.md)

[HTML Version](FoundationModelsRelease.shtml)