> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.token_count_utils.num_tokens_from_functions

<code class="doc-symbol doc-symbol-heading doc-symbol-function" />

#### num\_tokens\_from\_functions

```python theme={null}
num_tokens_from_functions(functions, model='gpt-3.5-turbo-0613') -> int
```

Return the number of tokens used by a list of functions.<br />

<b>Parameters:</b>

| Name                         | Description                                                                     |
| ---------------------------- | ------------------------------------------------------------------------------- |
| `functions`                  | (list): List of function descriptions that will be passed in model.<br /><br /> |
| `model='gpt-3.5-turbo-0613'` |                                                                                 |

<b>Returns:</b>

| Type | Description                                           |
| ---- | ----------------------------------------------------- |
| int  | int: Number of tokens from the function descriptions. |

<br />
