This topic describes how to calculate the daily cost of API calls in Content Moderation.

Daily cost calculation method

After you submit a moderation request, the machine-assisted moderation results will be returned. The machine-assisted moderation results may be definite. For example, block is returned if the content contains violations, or pass is returned if the content is normal. The machine-assisted moderation results may be indefinite. For example, review is returned if the content requires manual review. For more information about the Content Moderation API, see the API Reference.

When you use the Content Moderation API, you are charged based on the number of items moderated and the machine-assisted moderation results. The number of items moderated is calculated based on the number of moderation requests for a single moderated object in a single moderation scenario. Two types of unit price for moderation are provided: the unit price of the definite moderation results and that of the indefinite moderation results. The specific price is determined by the moderated object, moderation scenario, and number of items moderated daily. For more information about prices, visit Content Moderation Pricing. The daily cost calculation method is as follows: Daily cost = Unit price of definite moderation results x number of items moderated with definite moderation results returned + the unit price of indefinite moderation results x number of items moderated with indefinite moderation results returned.

Volume price levels

The number of requests is calculated based on the number of images or text entries to be moderated. The service is billed once per day. Content Moderation uses the volume pricing model and provides multiple price levels 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 volume of moderated items.

Note The daily cost of video moderation is calculated based on the number of captured frames.

The following table lists the price level that is applied to each quantity range.

Number of images or text entries moderated per day Level
0~5,000 A
5,001~50,000 B
50,001~130,000 C
130,001~260,000 D
260,001~850,000 E
>850,000 F

Unit prices

The unit price varies with the moderation scenario. Two types of unit price for moderation are provided: the unit price of the definite moderation results and that of the indefinite moderation results.
  • The unit price of the definite moderation results indicates the unit price of call requests for which the machine-assisted moderation results returned are definite.
  • The unit price of the indefinite moderation results indicates the unit price of call requests for which the machine-assisted moderation results returned are indefinite.

For more information about unit prices for specific quantity ranges, visit Content Moderation Pricing.

Note
  • In some scenarios such as QR code moderation or video moderation, the machine-assisted moderation results returned are definite. In this case, the unit price of indefinite moderation results is not applicable.
  • To moderate a video, you can use one of the following methods:
    • Capture frames and submit the 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.

    The daily cost of video moderation is calculated based on the number of frames captured from the moderated videos rather than the number of moderated videos.

  • For the text that is moderated by the Content Moderation API, you are charged based on the number of text entries.