Skip to main content

Rate Limits & Quotas

This document provides comprehensive information about rate limits, quotas, and usage restrictions on the Tydli platform.

Overview

Rate limiting protects the platform from abuse while ensuring fair resource allocation across all users. Limits apply at multiple levels: per-user, per-deployment, and per-OAuth-client.

User Rate Limits

Free Tier

Default limits for free tier accounts: See your dashboard or billing page for plan-specific limits. Paid plans offer:
  • More active deployments
  • Higher endpoints per deployment limit
  • Increased request quotas
  • Higher gallery deployment limits
  • Priority support
  • Custom limits available for enterprise
Gallery Deployment Limits by Plan:

Checking Your Limits

View current limits and usage:
  1. Dashboard Header: Shows current usage as percentage
  2. Settings Page: Detailed breakdown of limits
  3. API Response: Rate limit headers on every request

Request Rate Limits

Per-User Limits

Hourly Limit:
  • Window: Rolling 60-minute window
  • Enforcement: Per user_id
  • Applies to: All MCP server requests
  • Reset: Continuous rolling window
Monthly Limit:
  • Window: Calendar month (UTC)
  • Enforcement: Per user_id
  • Applies to: All MCP server requests
  • Reset: 1st day of month at 00:00 UTC

Rate Limit Response

When rate limit is exceeded, you’ll receive:
Client Handling:
  1. Check Retry-After header (seconds until reset)
  2. Implement exponential backoff
  3. Cache responses to reduce requests
  4. Consider upgrading plan if consistently hitting limits

OAuth Rate Limits

OAuth-Specific Limits

OAuth endpoints have separate rate limits to prevent brute-force attacks:

OAuth Limit Response

OAuth Best Practices

✅ DO:
  • Cache access tokens until expiration
  • Use refresh tokens to get new access tokens
  • Implement exponential backoff on 429 responses
  • Monitor token usage in your application
❌ DON’T:
  • Request new tokens for every API call
  • Ignore refresh token flow
  • Retry immediately on 429 errors
  • Create multiple OAuth clients unnecessarily

IP-Based Rate Limits

Public Endpoint Protection

For MCP servers configured with public access (no authentication required), additional IP-based rate limiting applies to protect against abuse and DDoS attacks:

IP Rate Limit Response

When IP rate limit is exceeded:

Blocked IP Response

If an IP has been blocked due to repeated abuse:

Best Practices for Public Endpoints

  • ✅ Implement client-side rate limiting
  • ✅ Use exponential backoff on 429 responses
  • ✅ Consider upgrading to OAuth authentication for production use
  • ✅ Monitor usage patterns in deployment logs
  • ✅ Contact support if you believe an IP block is in error

Deployment Limits

Active Deployments

  • Free Tier: 10 active deployments
  • Paid Tiers: See your plan details
Deployment States:
  • Active (counts toward limit): generating, deploying, ready
  • Inactive (doesn’t count): stopped, error, archived
Reaching Limit:
  • Cannot create new deployments until existing ones are stopped or deleted
  • Error message: "Maximum active deployments reached"
  • Solution: Stop unused deployments or upgrade plan

Endpoints per Deployment

  • Free Tier: 50 endpoints per deployment
  • Total across all deployments: 100 endpoints
  • Enforcement: At deployment creation time
Large API Specs:
  • If your OpenAPI spec exceeds endpoint limits, consider:
    • Splitting into multiple smaller specs
    • Removing rarely-used endpoints
    • Upgrading to a higher tier

AI Processing Limits

Document Processing

AI document processing (converting PDFs, Word docs, etc. to OpenAPI specs):

AI Limit Response

Checking AI Usage

Or use the database function:

Quota Management

Monitoring Usage

Real-Time Monitoring:
  1. Dashboard: Header shows current usage percentage
  2. Deployment Logs: Track individual request counts
  3. Usage Analytics: Detailed breakdown per deployment
Database Queries: Check current usage:
Check if rate limits allow new requests:
Get detailed usage with limit status:

Usage Optimization

Reduce Request Count:
  • Cache responses: Store frequently-accessed data
  • Batch operations: Combine multiple calls when possible
  • Use webhooks: Instead of polling for changes
  • Implement pagination: Request smaller data sets
Optimize Deployments:
  • Stop unused deployments: Free up quota
  • Consolidate APIs: Combine related specs
  • Remove redundant endpoints: Trim unused operations
AI Processing:
  • Pre-process documents: Clean up before upload
  • Use OpenAPI directly: Skip AI if you have specs
  • Batch document conversion: Plan conversions efficiently

Plan Upgrades

When to Upgrade

Consider upgrading if you:
  • Consistently hit rate limits
  • Need more than 10 active deployments
  • Require higher endpoint counts
  • Process more than 5 AI documents daily
  • Need priority support

How to Upgrade

  1. Navigate to Billing page in dashboard
  2. Review available plans and features
  3. Select plan that fits your needs
  4. Update payment information
  5. Instant upgrade (no downtime)
Pro Tips:
  • Limits increase immediately after upgrade
  • Usage tracking continues without reset
  • Existing deployments remain operational
  • No data migration required

Rate Limit Headers

All API responses include rate limit headers:
Client Implementation:

Troubleshooting

”Rate limit exceeded” errors

Immediate Solutions:
  1. Check Retry-After header for wait time
  2. Implement exponential backoff in your code
  3. Review recent usage in dashboard
  4. Consider upgrading plan if persistent
Long-Term Solutions:
  • Cache responses to reduce redundant requests
  • Batch operations to minimize API calls
  • Optimize client code to avoid unnecessary requests
  • Monitor usage trends and plan capacity

”Maximum deployments reached”

Solutions:
  1. Stop unused deployments (status → stopped)
  2. Delete archived deployments
  3. Consolidate similar APIs into one deployment
  4. Upgrade to plan with higher deployment limit

”Too many endpoints”

Solutions:
  1. Remove unused endpoints from OpenAPI spec
  2. Split large API into multiple deployments
  3. Upgrade to plan with higher endpoint limit
  4. Use separate deployments for different API versions

AI processing quota exceeded

Solutions:
  1. Wait until midnight UTC for quota reset
  2. Use pre-existing OpenAPI specs when available
  3. Pre-process documents to reduce complexity
  4. Upgrade to plan with higher AI limits

Database Functions Reference

Check Rate Limits

Get User Limits

Check Deployment Capacity

Get Current Usage

Support

Getting Help

If you experience rate limiting issues:
  1. Check Documentation: Review this guide and Troubleshooting
  2. View Logs: Check deployment logs for specific error details
  3. Monitor Dashboard: Track usage patterns in analytics
  4. Contact Support: Provide request_id from error response

Enterprise Plans

Need custom limits? Contact us for enterprise pricing:
  • Custom deployment limits
  • Dedicated infrastructure
  • Higher rate limits
  • SLA guarantees
  • Priority support
  • Custom integrations

References