    

 ## On this page

  

 

 # get\_num\_threads

 Last update: 02.04.2026 

<a id="ansys.meshing.prime.Model.get_num_threads"></a>

#### Model.get\_num\_threads()

Get the number of threads enabled for multithreaded operation.

**Returns:**

**[`int`](https://docs.python.org/3.11/library/functions.html#int)**

Returns the number of threads.

**Return type:**

[`int`](https://docs.python.org/3.11/library/functions.html#int)

### Examples

```pycon
>>> model = client.model
>>> num_threads = model.get_num_threads()

```