> For the complete documentation index, see [llms.txt](https://wiki.thescriptersguild.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://wiki.thescriptersguild.com/scripting/nodes/ai-advanced/get-available-ai-unit-count.md).

# Get Available AI Unit Count

![](https://692276616-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FN06Vv6nlwviUQ4hI2Kkd%2Fuploads%2Fgit-blob-3b6bffbfbbd6eabd2bdfcb41cd53855c1ce61c6a%2Fget-available-ai-unit-count.png?alt=media)

## Description

Returns the number of AI units that can be spawned before reaching the runtime budget limit

## Node Type

Nodes fall into two basic categories: Data and Execution. This node supplies Data for an Execution node.

## Inputs

| Input | Type | Required | Description |
| ----- | ---- | -------- | ----------- |
| N/A   | N/A  | N/A      | N/A         |

## Outputs

| Output                  | Type   | Description                                                                       |
| ----------------------- | ------ | --------------------------------------------------------------------------------- |
| Available AI Unit Count | Number | Total Count of AI Units that can be spawned before reaching runtime budget limit. |

\
\
**Contributors**

AddiCt3d 2CHa0s
