> 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
