This topic describes how to calculate the daily fee generated when you call the Content Moderation API.

Daily fee calculation method

After you submit a moderation request by referring to the API reference, Content Moderation returns machine-assisted moderation results to you. The machine-assisted moderation results may be definite. For example, a result of block is returned if the content contains violations, or a result of pass is returned if the content is normal. The machine-assisted moderation results may be indefinite. For example, a result of review is returned if the content requires human review.

When you use the Content Moderation API, you are charged based on the amount of data moderated and the machine-assisted moderation results by using the following formula: Daily fee = Amount of data moderated per day × Unit price of moderation. The amount of data moderated is calculated based on the number of moderation requests for a single moderation object in a single moderation scenario. The unit price of moderation consists of the unit price of data moderated with definite machine-assisted moderation results returned (a) and the unit price of data moderated with indefinite machine-assisted moderation results returned (b). The specific unit price varies with the moderation object, moderation scenario, and amount of data moderated per day. For more information about the unit price of moderation, see Unit prices in this topic. To be precise, you can calculate the daily fee by using the following formula: Daily fee = a × Amount of data moderated with definite machine-assisted moderation results returned + b × Amount of data moderated with indefinite machine-assisted moderation results returned.

Amount of data moderated per day

The number of requests is calculated based on the number of images or text entries to be moderated. Currently, the service is billed once per day. Content Moderation provides tiered pricing based on the number of images and text entries moderated per day by the Content Moderation API. You can enjoy a lower unit price for a larger amount of data moderated per day.

Note The daily fee for videos is calculated based on the number of captured frames.

The following table lists the tiered pricing for the amount of data moderated per day.

Amount of data moderated (Unit: pieces per day) Level
0 to 5,000 A
5,001 to 50,000 B
50,001 to 130,000 C
130,001 to 260,000 D
260,001 to 850,000 E
> 850,000 F

Unit prices

The unit price of moderation varies with the moderation scenario. The unit price of moderation consists of the unit price of data moderated with definite machine-assisted moderation results returned (a) and the unit price of data moderated with indefinite machine-assisted moderation results returned (b). Where,
  • (a) indicates the unit price of call requests for which the machine-assisted moderation results returned are definite.
  • (b) indicates the unit price of call requests for which the machine-assisted moderation results returned are indefinite.

For more information about the tiered pricing, see Content Moderation pricing.

Note
  • In some scenarios such as QR code detection, the machine-assisted moderation results returned are always definite. In this case, the unit price (b) is not applicable.
  • To moderate a video, you can use one of the following methods:
    • Capture frames and submit a sequence of consecutive frames. Content Moderation moderates the submitted frames.
    • Submit the video URL. Content Moderation downloads the video from the URL, captures frames, and then moderates the captured frames.

    When the daily fee is calculated, the call volume of a video is the number of frames that are captured, rather than the number of videos.

  • You are charged for text based on the number of text entries moderated by the Content Moderation API.