> For the complete documentation index, see [llms.txt](https://api-docs.speechace.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://api-docs.speechace.com/getting-started/pre-requisites/api-limits.md).

# 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 %}


---

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

```
GET https://api-docs.speechace.com/getting-started/pre-requisites/api-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.
