> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nixflex.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Handle API rate limits

> Handle Nixflex API rate limits using RateLimit-Limit, RateLimit-Remaining and Retry-After. Keep request quotas separate from call capacity and feature limits.

**FIXED · account** Inbound and outbound share the account/API-key concurrency budget. Read max\_concurrent for the effective limit.

**NOT OFFERED → do this instead · number** No per-number concurrency reservation exists. Queue or pace each business within the shared account call budget.

**YOU CAN CHANGE · account** Pace submissions. Accepted work may wait for capacity.

**SCOPE · operation** Check the code and details to distinguish refusal, acceptance and unknown outcome before retrying.

[Read the compact AI rules](https://docs.nixflex.com/ai-rules.md#limits-errors)

Use the returned rate-limit guidance to control request frequency and keep call capacity checks separate.

Guide: **API reference** · Topic: **Rate limits**

**The important part**

* Read the actual rate-limit headers when returned.
* A rate limit and call capacity are separate controls.

[Business guide](https://docs.nixflex.com/guides/business/billing.md) · [Developer guide](https://docs.nixflex.com/guides/developer/rate-limits.md) · [Glossary](https://docs.nixflex.com/guides/glossary.md)

Requests use the limit assigned to the authenticated account key. Read the response headers instead of hard-coding a requests-per-minute value.

## Headers

| Header | Meaning |
| - | - |
| `RateLimit-Limit` | The current request allowance. |
| `RateLimit-Remaining` | Requests remaining in the current window. |
| `Retry-After` | Seconds to wait when the request is throttled. |

An authenticated request over its allowance returns **429 `rate_limit_exceeded`**. Its message is `Rate limit exceeded. Retry after N seconds.`, where N is the returned wait. Details contain `limit` and `retry_after_seconds`.

Account signup is separate: [Create an account](https://docs.nixflex.com/api-reference/account/create-key.md) is limited to three attempts per address per hour and can return `429 key_creation_rate_limited`. Invalid credentials can be refused before rate-limit headers are added.

## Respond to throttling

Wait at least `Retry-After`, spread requests with jitter and use a bounded deadline. Cache catalog reads and stop polling completed jobs. Reduce concurrency when repeated throttles occur.

Do not automatically repeat a call, SMS, payment or other write after a timeout or throttle. Use the endpoint’s refusal and receipt to decide whether work occurred; see [retry guidance](https://docs.nixflex.com/api-reference/retries.md) and [idempotency](https://docs.nixflex.com/api-reference/idempotency.md).

## Other limits

Call capacity, balance, daily Knowledge allowances and resource counts are separate from the HTTP request allowance. Codes such as `busy`, `base_limit`, `session_limit` and `training_limit` describe their own limits. More HTTP capacity does not remove them. Use the endpoint’s error table and the [error catalog](https://docs.nixflex.com/api-reference/errors.md).

## Next steps

* [API overview](https://docs.nixflex.com/api-reference/introduction.md)
* [Errors and recovery](https://docs.nixflex.com/api-reference/errors.md)
* [Retry rules](https://docs.nixflex.com/api-reference/retries.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.