# Specs and limits

Keep these specs and limits in mind when developing with UbiFunctions.

| Item                  | Description                                                                                                                                                                                                          | Value                                            |
| --------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------ |
| Supported libraries   | Libraries included in the Python and NodeJS runtimes for UbiFunctions.                                                                                                                                               | [Supported libraries](/ubifunctions/runtimes.md) |
| Code size             | The maximum code size for a UbiFunction.                                                                                                                                                                             | 48 MB                                            |
| Concurrent executions | The maximum number of activations for a single UbiFunction that can be running or queued at the same time. This limit is fixed, but it can be increased upon request.                                                | 1,000 concurrent executions                      |
| Logs                  | The maximum size of a UbiFunction log.                                                                                                                                                                               | 10 MB                                            |
| Memory                | The RAM available to the computing resources used by a UbiFunction. This limit can be increased upon request.                                                                                                        | 128 MB                                           |
| Rate limit            | The maximum number of activations that can be submitted per UbiFunction per minute. API calls that exceed this limit return HTTP `429 Too Many Requests`. This limit is fixed, but it can be increased upon request. | 1,800 activations per minute                     |
| Parameter size        | The maximum size of the body or payload attached to a request. This limit is fixed and cannot be changed.                                                                                                            | 1 MB                                             |
| Response size         | The maximum size of a UbiFunction response. This limit is fixed and cannot be changed.                                                                                                                               | 5 MB                                             |
| Timeout               | The maximum duration of a UbiFunction execution. This limit can be increased upon request, but it should never exceed 60,000 ms.                                                                                     | 40,000 ms                                        |
| Request headers       | The maximum size of a UbiFunction request headers.                                                                                                                                                                   | 8 KB                                             |
| Response headers      | The maximum size of a UbiFunction response headers.                                                                                                                                                                  | 4 KB                                             |


---

# Agent Instructions: 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:

```
GET https://dev.ubidots.com/ubifunctions/specs-and-limits.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
