Llama.ModelSize
---------------

Queries the model size.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [Llama](component_Llama.md) | [16.1](newinversion161.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "Llama.ModelSize"; LlamaSession ) 

**MBS**( **"Llama.ModelSize";** /\* Queries the model size. \*/  
**$LlamaSession**) /\* The session identifier.e.g. $$session \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| LlamaSession | The session identifier. | $$session |

### Result

Returns number or error.

### Description

Queries the model size.  
### See also

- [Llama.Tokenize](LlamaTokenize.md)

This function is free to use.

Created 12nd February 2026 , last changed 12nd February 2026

  
[Llama.ModelMetadata](LlamaModelMetadata.md) - [Llama.New](LlamaNew.md)

[HTML Version](LlamaModelSize.shtml)