Pular para o conteúdo principal

Rate Limits

Rate Limits are mechanisms that control how many requests or operations can be made within a specific time period. This practice is very common in various APIs as it helps prevent abuse and avoid overload.

Why Are Rate Limits Important?​

  1. Protection Against Abuse and API Attacks By enforcing request limits, we prevent malicious agents from making an excessive number of API calls to overload or disrupt the service.

  2. System Stability and Service Quality Limiting the number of requests ensures a more balanced distribution of resources. This way, when someone exceeds the request limit, the performance for other users remains unaffected. It guarantees equitable access to resources and maintains service quality.

How Does Rate Limiting Work?​

User-Level Rate Limit This establishes how many requests each user or API key can make within a specific time period. Rate limits are measured in two ways:

  • RPM (Requests Per Minute)
  • TPM (Tokens Per Minute)

The limit is reached when either of these metrics (RPM or TPM) hits its maximum value. For example, if you are allowed to send 10 requests per minute (RPM = 10) and 100 tokens per minute (TPM = 100), sending 9 requests that consume 1000 tokens would exhaust your token limit first, even if you haven't reached the 10-request limit within that minute.

Note:

  • Rate limits vary depending on the model used.
  • For even larger demands, please contact us at suporte@maritaca.ai

Usage Levels​

As your API usage and spending increase, you are automatically promoted to the next tier. Each tier provides higher rate limits for the models. Note: Initial credits and coupons do not count towards tier upgrades; only API spending does.

Tier 0

Required spending: R$ 0

To start testing

Tier 1

Required spending: any amount

Once you have paid usage

Tier 2

Required spending: R$ 100

More room for prototypes

Tier 3

Required spending: R$ 500

For consistent workloads

Tier 4

Required spending: R$ 2,000

Production operation

Tier 5

Required spending: R$ 5,000

High volumes and squads

Limits per tier​

S5, S5-br-sp, and S5-nano have the same limits in every tier (each model with its own quota). S5-free (available for a limited time) has a fixed limit, the same in every tier: 60 RPM, 256k input TPM and 256k output TPM (no Batch API).

Tier 0

Moderate entry for testing

ModelRPMTPM InTPM Out
S560128k10k
Previous-generation models
sabia-460128k10k
sabiazinho-460128k10k
sabia-360128k10k
sabia-3.160128k10k
sabiazinho-360128k10k
Tier 1

For MVPs and first customers

ModelRPMTPM InTPM Out
S51,0002M200k
Previous-generation models
sabia-41,0002M200k
sabiazinho-41,0002M200k
sabia-31,0002M200k
sabia-3.11,0002M200k
sabiazinho-31,0002M200k
Tier 2

Scaling with confidence

ModelRPMTPM InTPM Out
S51,5004M350k
Previous-generation models
sabia-41,5004M350k
sabiazinho-42,0004M400k
sabia-31,5004M350k
sabia-3.11,5004M350k
sabiazinho-32,0004M400k
Tier 3

Intensive flows

ModelRPMTPM InTPM Out
S52,0006M500k
Previous-generation models
sabia-42,0006M500k
sabiazinho-45,00020M800k
sabia-32,0006M500k
sabia-3.12,0006M500k
sabiazinho-35,00020M800k
Tier 4

Large-scale production

ModelRPMTPM InTPM Out
S55,00010M1M
Previous-generation models
sabia-45,00010M1M
sabiazinho-410,00050M2M
sabia-35,00010M1M
sabia-3.15,00010M1M
sabiazinho-310,00050M2M
Tier 5

Large operations

ModelRPMTPM InTPM Out
S510,00020M2M
Previous-generation models
sabia-410,00020M2M
sabiazinho-430,000100M10M
sabia-310,00020M2M
sabia-3.110,00020M2M
sabiazinho-330,000100M10M