QPS statistics
This topic describes the viewing entry, statistical caliber, and business impact of AI Guardrails QPS Statistics, helping you assess the concurrency pressure and capacity of real-time detection.
What is QPS
QPS (Queries Per Second) is the number of requests sent to the AI Guardrails detection API and successfully processed per second. It measures the real-time detection throughput and concurrency pressure of your business. The console displays this metric in two places:
-
The Overview page's right-side Capacity card Peak QPS (Last 24 Hours): by default shows the maximum value on the curve of the MultiModalGuard API in the current region over the last 24 hours. Hover over the question mark to view the Data Source. Click the card or View All Interfaces to go to the QPS Statistics page.
-
The Results > QPS Statistics page: shows the API Real-Time QPS and Service Real-Time QPS line charts by filter condition.
Statistical caliber
-
Query range: the QPS Statistics page supports querying only data within the last 7 days; the Overview page Capacity card always shows the last 24 hours.
-
Statistics scope: only successful requests (return code code=200) are counted. Failed calls are not included in the QPS curve, so the curve value may be lower than the actual call volume sent by your business. The data is for reference only.
-
Filter dimensions: you can filter by time range, API, and Region. The selectable regions vary with the current region. For example, Shanghai can query Shanghai, Beijing, Shenzhen, and Hangzhou, while Singapore and Frankfurt can query only the local region.
-
Chart differences: synchronous APIs show API Real-Time QPS and Service Real-Time QPS. Asynchronous APIs (MultimodalAsyncModeration, MultiModalGuardAsync, VideoAsyncModeration, FileModeration, VoiceModeration) do not show QPS; instead they show Real-Time API Path Count (concurrent channels).
Business impact
-
The QPS curve reflects the concurrency pressure of your business's real-time detection and can be used for capacity assessment: first check the Peak QPS (Last 24 Hours) to judge the overall usage, then go to the QPS Statistics page to locate the pressure source by API and region.
-
AI Guardrails provides a free quota for the QPS of API calls. If you need a higher QPS beyond the free quota, in the tip bar on the QPS Statistics page, Purchase Expansion Package to increase the QPS quota.
-
When the Peak QPS (Last 24 Hours) continuously approaches the upper limit of the free quota, we recommend that you purchase an expansion package in advance to avoid requests being throttled for exceeding the quota.
FAQ
-
Why is the console QPS curve lower than the actual call volume of my business? The statistics scope includes only successful requests with return code code=200. Failed requests are not counted.
-
Why is there no QPS curve for some APIs? Asynchronous APIs are measured by concurrent channels. The page shows Real-Time API Path Count instead of QPS.
-
Why can't I query data older than 7 days? The time selector on the QPS Statistics page is limited to the last 7 days.
-
What should I do when QPS reaches the upper limit of the free quota? In the tip bar on the QPS Statistics page, Purchase Expansion Package to increase the QPS quota.