> For the complete documentation index, see [llms.txt](https://dev.ubidots.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.ubidots.com/ubifunctions/runtimes.md).

# Runtimes

Ubidots supports the following runtimes:

* [Python](/ubifunctions/runtimes/python.md)
* [NodeJS](/ubifunctions/runtimes/nodejs.md)
* [Custom Runtimes](/ubifunctions/runtimes/custom-runtimes.md)

## Runtime versions

Ubidots supports the following runtime versions:

| Language | Versions              |
| -------- | --------------------- |
| Python   | 3.9, 3.11, 3.13, 3.14 |
| Node.js  | 20, 22, 24            |

New UbiFunctions use **Python 3.14 Base** by default.

## Layers

Each runtime version is offered in one or more layers. Each layer includes a specific set of libraries and capabilities.

* **Lite:** The lightest option. It offers a minimal environment that is fast and efficient.
* **Base:** A step up from `Lite`. It includes more libraries for broader functionality.
* **Full:** The most complete general-purpose option. It is available only for Python runtimes on Enterprise licenses or above.
* **ML Inference:** Runs pre-trained machine learning models (TensorFlow Lite and ONNX). Python only.
* **ML Classical:** Trains and runs classical machine learning and statistical models in the function itself (scikit-learn, statsmodels). Python only.

{% hint style="info" %}
The ML runtimes are enabled per account. To enable them, [reach out to our support team](https://help.ubidots.com/en/articles/4683984-need-support-find-ubidots-in-app-chat-channel).
{% endhint %}

The following table shows which layers are available for each runtime version:

| Runtime     | Lite | Base | Full | ML Inference | ML Classical |
| ----------- | :--: | :--: | :--: | :----------: | :----------: |
| Python 3.9  |   ✓  |   ✓  |   ✓  |              |              |
| Python 3.11 |   ✓  |   ✓  |   ✓  |       ✓      |              |
| Python 3.13 |   ✓  |   ✓  |   ✓  |              |              |
| Python 3.14 |   ✓  |   ✓  |      |       ✓      |       ✓      |
| Node.js 20  |   ✓  |   ✓  |      |              |              |
| Node.js 22  |   ✓  |   ✓  |      |              |              |
| Node.js 24  |   ✓  |   ✓  |      |              |              |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://dev.ubidots.com/ubifunctions/runtimes.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
