What is an operation?

Operations are used to track usage levels across time and across products. Each API call that consumes operations will return a specific field to let you know how many operations were used.

The dashboard lets you track your usage levels, including the operations consumed.

Visual Moderation

For Visual Moderation, the number of operations consumed will depend on the models chosen.

Models that belong to the same group are only counted once per request. For instance, using the recreational_drug, alcohol and tobacco models in a given request will count as 1 operation. Most groups count as 1 operation, while some more demanding models count as several operations:

GroupModelsOperations
All nudity modelsnudity nudity-1.0 nudity-1.0 nudity-2.0 nudity-2.1 1
Violence, Gore, Weapon, Self-harmweapon gore gore-2.0 violence self-harm 1
Face / People modelsfaces face-analysis 1
Face Age Estimationface-age 1
Face Presence Detectionface-presence 1
Restricted contentrecreational_drug alcohol tobacco medical gambling money 1
Hate & Offensiveoffensive offensive-2.0 1
AI-generated media detectiongenai 5
Deepfake detectiondeepfake 5
OCR, Text, QR codestext text-content text-content-2.0 qr-content ocr 1
Sensitive scenesdestruction military 1
Content descriptiontype properties 1
Quality assessmentquality 1
People Countingpeople-counting 1
Liveness Detectionliveness 10
Recapture Detectionrecapture 3

Please note that this pricing may not apply to accounts on legacy models (from before 2025).

For Videos, GIF images and batch requests, the number of operations is multiplied by the number of frames analyzed.

Video Moderation defaults at 1 frame analyzed every 2 seconds, but you can change this setting.

Text Moderation

For Text Moderation, operations are counted on a per-message basis. Rule-based moderation counts as 1 operation per 1000 characters. As an example, if you do rule-based moderation on a text that is 1800 characters long, that will count as 2 operations.

Text Classification (ML) models count as 1 operation per 1000 characters for each model requested. As an example, using the general and self-harm models on a text that is 1800 characters long will count as 4 operations. When rule-based moderation and Text Classification models are combined in a single request, only the Text Classification models are counted.

Audio Analysis

For AI Music detection, 1 operation is consumed for each 10-second music chunk. So if you analyze a 37-second audio file, that will count as 4 operations.

For AI Speech detection, 1 operation is consumed for each 10-second audio chunk. So if you analyze a 37-second audio file, that will count as 4 operations.