Skip to main content
Swytcho enforces rate limits to ensure fair, stable access to the API for all users. Limits are applied per API key and reset on a rolling window. Staying within your plan’s limits — and handling the rare case when you exceed them — keeps your integration reliable under production load.

Rate Limit Tiers

Limits are set by plan and measured along two axes: requests per minute (RPM) and tokens per minute (TPM).
Embedding requests (/v1/embeddings) and chat completion requests each count against the same per-key RPM and TPM limits. Plan your total API traffic budget accordingly.

Rate Limit Headers

Swytcho includes rate limit metadata in the HTTP response headers of every API call — not just when you are close to the limit. Read these headers proactively to throttle your requests before hitting the ceiling.

Example Response Headers

Use X-RateLimit-Remaining and X-RateLimit-Reset together to calculate how long to pause before your next request if you are approaching the limit.

When You Hit a Rate Limit

When you exceed your plan’s RPM or TPM limit, the API responds with an HTTP 429 Too Many Requests status and a Retry-After header that tells you exactly how many seconds to wait before retrying.
Never silently swallow or ignore 429 responses. Continuing to send requests after receiving a 429 without backing off will extend the time before your quota resets and may trigger temporary key suspension under Swytcho’s abuse prevention policy. Always implement a retry strategy.

Best Practices

Exponential Backoff

Implement exponential backoff with jitter to spread retry attempts and avoid synchronized bursts from multiple workers all retrying at the same moment.

Request Queuing

For high-throughput workloads, maintain a local request queue and a token bucket counter that mirrors X-RateLimit-Remaining. Dispatch requests from the queue only when you have remaining capacity. This smooths your traffic and prevents burst spikes that would trigger a 429.
If you are running multiple service instances, centralise your rate limit state in a shared store so all instances share the same token bucket. Per-instance counters lead to over-dispatching and avoidable 429 errors.

Request a Rate Limit Increase

If your application consistently requires more capacity than your plan provides, you can request a higher limit:
1

Open the Swytcho Dashboard

Navigate to Settings → Usage & Limits in the Swytcho Dashboard.
2

Submit a limit increase request

Click Request Increase, select the limit type (RPM or TPM), enter your required value, and describe your use case. Include traffic projections if available.
3

Wait for review

The Swytcho team reviews limit increase requests within 2 business days. You will receive an email confirmation when the new limit is active on your key.
4

Consider upgrading your plan

If you need a sustained high throughput, upgrading to the Pro or Enterprise plan is faster than a manual increase request and includes dedicated support. Visit the Pricing page for details.