# API Limits

The Speechace API has the following audio length and file size limits to be adhered to:

| Limit            | Basic      | Pro        | Premium   |
| ---------------- | ---------- | ---------- | --------- |
| Max Audio Length | 15 seconds | 45 seconds | 2 minutes |
| Max File Size    | 1.9 MB     | 2.5 MB     | 3.8 MB    |

{% hint style="info" %}

## **Recording Audio** <a href="#recording-audio" id="recording-audio"></a>

Speechace supports a wide range of audio formats commonly used on the web, including WAV, MP3, M4A, OGG, WEBM, and AIFF.&#x20;

To optimize file size and enhance performance, we recommend recording audio using the following settings:

* *sample size*: 16-bit
* *sample rate*: 16Khz
* *channels*: 1 (i.e. mono)
  {% endhint %}
