AgentCore Gateway Now Supports Rate Limiting for AI Traffic
Amazon Web Services
Anthropic
OpenAI
Amazon Bedrock AgentCore gateway, a fully managed serverless AI gateway, now supports rate limiting for AI traffic. This feature provides fine-grained control over per-user traffic, including request rate limits (RPS/RPM), token rate limits (TPM), and connection rate limits (CPS). The gateway supports customer-defined limits and service quotas, with dimension keys like targetName, toolName, qualifiedModelId, and identity claims for flexible configuration.
Amazon Bedrock AgentCore gateway, a fully managed, serverless AI gateway providing a single secure entry point for AI traffic, now supports rate limiting. This allows fine-grained control over how much traffic individual users can consume through the gateway. Rate limiting gives per-user control over usage of tools, inference models, and agents, with OAuth or IAM-based rules for requests per minute, concurrent connections, and token throughput. The gateway supports three target types: MCP targets, inference targets, and HTTP passthrough targets. Supported rate limit metrics include request rate limits (RPS/RPM) for all targets, token rate limits (TPM) for inference targets, and connection rate limits (CPS) for all targets. Dimension keys define how traffic is grouped into rate buckets, including targetName, toolName, qualifiedModelId, and identity claims like JWT claims and IAM principals. Entries specify allowed throughput per bucket, with wildcard support. Two layers of rate limiting are enforced: customer-defined limits and service quotas. Customer-defined limits include user-level, target-level, and hybrid target-user level limits. An example configuration shows per-group and per-user limits for Basic, Advanced, and Beta user groups, with restricted models for Beta users.
- Abbreviations
- AWS = Amazon Web Services — Amazon Web Services
- RPS = requests per second — запросов в секунду
- RPM = requests per minute — запросов в минуту
- TPM = tokens per minute — токенов в минуту
- CPS = connections per second — соединений в секунду
- JWT = JSON Web Token — JSON Web Token
- IAM = Identity and Access Management — управление доступом и идентификацией
- CLI = Command Line Interface — интерфейс командной строки
- MCP = Model Context Protocol — протокол контекста модели
- LLM = Large Language Model — большая языковая модель
- RBAC = role-based access control — управление доступом на основе ролей
Source: AWS ML blog —
original
