    

 ## On this page

  

 

 # get\_num\_threads

 Last update: 10.09.2025 

<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
&gt;&gt;&gt; model = client.model
&gt;&gt;&gt; num_threads = model.get_num_threads()

```