Billing methods
Visual Intelligence API supports three billing methods: pay-as-you-go, subscription resource plans (category-specific and general-purpose), and subscription QPS. This topic describes the detailed billing rules and purchase instructions for each method.
If you have questions about API access, API usage, or other visual AI capabilities of the Alibaba Cloud Visual Intelligence API, you can join our DingTalk support group by searching for the group number 23109592.
Notes
If you purchase both a subscription resource plan and subscription QPS, the offset order is as follows:
Subscription QPS > Category-specific subscription resource plan > General-purpose subscription resource plan > Pay-as-you-go
The order takes effect within 24 hours after payment.
You must activate the services for all Visual Intelligence API capabilities before you can use them. Service activation is free.
For the pay-as-you-go billing method, you can use the service immediately after activation. Billing starts upon first use.
For subscription resource plans and subscription QPS, you must purchase a plan after you activate the service. If you purchase a plan but do not activate the service, you cannot use the corresponding capabilities.
Pay-as-you-go
Billing rules
Within a calendar month, you are charged based on tiered pricing that corresponds to your number of billable calls. With this method, you use the service first and pay later.
Billing examples
Example 1:
Assume that in January, you use the license plate recognition capability 15,000 times. The fee is calculated as follows: 10,000 × CNY 0.15 + 5,000 × CNY 0.1 = CNY 2,000
Capability Name
Calls
Price
License Plate Recognition
0 < Calls (per month) ≤ 10,000
CNY 0.15/call
10,000 < Calls (per month) ≤ 100,000
CNY 0.1/call
100,000 < Calls (per month) ≤ 1,000,000
CNY 0.06/call
Calls (per month) > 1,000,000
CNY 0.02/call
Example 2:
For the Video Understanding, Video Production, and Video Segmentation capabilities, billing is based on video duration.
For example, if you use comprehensive video enhancement and the output video is 2 minutes and 20 seconds long with a frame rate of 60 fps and a resolution of 1080p, the fee is calculated as follows: 2 × CNY 16 + (20/60) × CNY 16 = CNY 37.3
Frame Rate/Resolution
Frame rate ≤ 30 fps
30 fps < Frame rate ≤ 60 fps
60 fps < Frame rate ≤ 120 fps
Resolution ≤ 720p
CNY 4/minute
CNY 8/minute
CNY 16/minute
720p < Resolution ≤ 1440p
CNY 8/minute
CNY 16/minute
CNY 32/minute
1440p < Resolution ≤ 2160p
CNY 24/minute
CNY 48/minute
CNY 96/minute
Subscription resource plans
Billing rules
With this method, you purchase resource plans for specific capabilities in advance. When fees are settled, your usage is first offset by your resource plans.
Validity period: Resource plans are valid for 1 year. You can purchase multiple plans. After each use, resource points are deducted based on the offset factor.
Alert notifications: When 20% of the points in your resource plan remain, the system sends an alert by text message.
Resource plan exhaustion or expiration: After your resource plan points are used up or the plan expires, if you continue to call the API, you are charged at the pay-as-you-go rate.
Offset order for multiple resource plans: If you purchase multiple resource plans, the offset order is as follows.
Resource plans are offset based on their expiration time. The plan that expires first is offset first.
If the expiration times are the same, plans are offset based on the order in which they were purchased. The plan purchased first is offset first.
If you purchase multiple resource plans of the same type in a single order, their purchase and expiration times are the same. In this case, a plan from the order is offset at random.
Subscription resource plans are divided into the following two types:
Category-specific subscription resource plan: Supports only a single capability.
General-purpose subscription resource plan: Supports multiple capabilities, including the Visual AI General-purpose Image Resource Plan and the General-purpose Video Duration Resource Plan. For details about the applicable capabilities, see the following table.
General-purpose Subscription Resource Plan Type
Scope of Application
Face and Body
Face Liveness for App, Server-side Face Liveness, Image Face Fusion, Face Retouching, Character Stylization, Portrait Sketch Stylization, Face Restoration and Enhancement, Face Liveness Detection, Celebrity Recognition, Public Figure Recognition, Smart Skin Retouching SD, Smart Skin Retouching HD, Smart Face Slimming SD, Smart Face Slimming HD, 1:1 Face Comparison, 1:N Face Search, Infrared Face Liveness Detection, Masked Face 1:1 Comparison, Face Detection and Landmark, Expression Recognition, Face Information Desensitization, Human Pose Estimation, Human Counting, Action and Behavior Recognition, Video Liveness Detection
Segmentation and Matting
Profile Picture Segmentation, Food Segmentation, General Segmentation, Product Segmentation, Human Segmentation, High-definition Human Segmentation, General High-definition Segmentation, Sky High-definition Segmentation, Fine-grained Mask Segmentation, Apparel Segmentation, Hair Segmentation, Skin Segmentation
Image Production
Image Super Resolution, Image Clipping, Caption Removal, Image Retouching, Smart Composition, Image Colorization, Image Exposure Scoring, Image Color Enhancement, Human Removal from Image, Logo Removal from Image, Composition Aesthetics Scoring, Invisible Text Watermark for Images, Invisible Image Watermark for Images, Image Definition Scoring, Generative Image Super Resolution
Object Detection
Object Detection, White Background Detection, Vehicle Congestion Detection, IPC Image Object Detection, Entity Detection
Image Recognition
Scene Recognition, General Image Tagging, Ad Material Analysis, Color Recognition, Element Recognition, Garbage Classification
Product Understanding
Product Categorization
Video Understanding
Video Thumbnail, Shot Parsing, Video OCR, Video Splitting, Video Quality Assessment
Video Production
Video Color Correction, Video Portrait Cartoonization, Video Frame Interpolation, Video Caption Removal, Video Aspect Ratio Transformation, Video Logo Removal, General Video Production, Comprehensive Video Enhancement, Video Super Resolution, General Video Face Fusion, Template-based Video Face Fusion
Video Segmentation
Video Portrait Segmentation
Billing example
Assume you purchase a 5,000-point resource plan for the object detection capability for CNY 50. Each call deducts 0.2 points. The number of available calls is calculated as follows: 5,000 / 0.2 = 25,000 calls.
Capability Name | Resource Plan Specification | Available Calls | Offset Factor | Price |
Object Detection | 5,000 points | 25,000 times | 0.2 points/call | CNY 50 |
10,000 points | 50,000 calls | CNY 95 | ||
50,000 points | 250,000 times | CNY 450 | ||
500,000 points | 2.5 million times | CNY 4,000 | ||
5,000,000 points | 25 million times | CNY 35,000 | ||
20,000,000 points | 100 million times | CNY 120,000 |
Purchase a resource plan
This section uses the purchase of a resource plan for the Face Detection and Landmark capability (the Visual AI General-purpose Image Resource Plan) as an example.
Log on to the Visual Intelligence API console. In the left-side navigation tree, choose Open Capabilities > Face and Body.
Activate the Face and Body service as prompted.
On the Service List tab, find Face Detection and Landmark and click Purchase in the Resource Plan column.
On the purchase page for the Visual AI General-purpose Image Resource Plan, select a Resource Plan Specification and Quantity, and then click Buy Now.
Confirm the order and complete the payment.
Subscription QPS
Billing rules
You can purchase a specific number of queries per second (QPS) in advance based on your business needs. QPS is the maximum number of requests that can be processed per unit of time. After you purchase QPS, fees for the number of calls are waived during the validity period.
Upgrades and downgrades: Within the validity period, subscription QPS supports renewal, upgrades, and temporary upgrades. The platform does not limit the number of upgrades. You cannot perform a downgrade after an upgrade.
QPS expiration: After your subscription QPS expires, calls to capabilities that support pay-as-you-go are charged at the pay-as-you-go rate. For capabilities that do not support pay-as-you-go, the QPS reverts to the default of 2. To avoid business disruptions, renew your plan before it expires.
You can directly purchase up to 30 QPS for Segmentation and Matting and up to 50 QPS for Face and Body. If you require a higher QPS, contact us through the DingTalk group (23109592).
QPS from different billing methods cannot be combined. The QPS from a subscription QPS plan, the default QPS for pay-as-you-go, and the default QPS for a resource plan cannot be stacked.
For more information, see QPS overview.
Billing examples
For example, if you need 40 QPS for the 1:1 face comparison capability, you can choose Pay-by-Day or Pay-by-Month. The fees are as follows:
Purchase by day: 12.8 × 10 + 10.8 × 30 = CNY 452/day
Purchase by month: 218 × 10 + 188 × 30 = CNY 7,820/month
Capability Name | Purchased QPS | Purchase by Day | Purchase by Month |
1:1 Face Comparison | 0 < QPS ≤ 10 | CNY 12.8/day/QPS | CNY 218/month/QPS |
10 < QPS ≤ 50 | CNY 10.8/day/QPS | CNY 188/month/QPS | |
50 < QPS ≤ 100 | CNY 9.8/day/QPS | CNY 136/month/QPS | |
100 < QPS | CNY 9.0/day/QPS | CNY 126/month/QPS |
Purchase QPS
This section uses the purchase of QPS for the Face Detection and Landmark capability as an example.
Log on to the Visual Intelligence API console. In the left-side navigation tree, choose Open Capabilities > Face and Body.
Activate the Face and Body service as prompted.
On the Service List tab, find Face Detection and Landmark and click Scale-out (Free Calls) in the QPS Scale-out column.
On the purchase page for Face and Body QPS, select the QPS quantity for Face Detection and Landmark and a Duration, and then click Buy Now.
Confirm the order and complete the payment.
Upgrade QPS
If your purchased subscription QPS cannot meet your business needs, you can temporarily or permanently upgrade your plan. Currently, the maximum QPS you can purchase or upgrade to is 50 QPS for Face and Body, 30 QPS for Segmentation and Matting, and 100 QPS for Object Detection and Video Production.
Temporary upgrade: Allows you to increase your QPS for a short period. This change can be reverted and does not require a long-term commitment.
Upgrade: Permanently upgrade your QPS.
In the Capability Service List, find the target service and click the Temporary Upgrade or Upgrade button in the QPS Scale-out column.
Purchase an offline SDK
After you purchase an offline software development kit (SDK), you must activate it in the console to obtain a usage license. The license validity period starts on the day of activation. Activate the license promptly after purchase.
This section uses the purchase of the Body Keypoints offline SDK as an example.
Log on to the Visual Intelligence API console. In the left-side navigation tree, choose Offline SDK > Offline SDK Capability Management.
Click Buy Now below Body Keypoints, or click Buy Now on the right.
On the purchase page for the Visual Intelligence API Offline SDK, select an Applicable Terminal and Duration, check Body Keypoints, and then click Buy Now.
Confirm the order and complete the payment.
Return to the console. On the Offline SDK > Offline SDK Capability Management page, find the purchased SDK instance in the Order List area and click Activate on the right. After the instance is activated, you can obtain the license and start using the SDK.
Billing methods supported by each capability
Face and Body
If you have purchased a category-specific subscription resource plan for the Face and Body category, the system has automatically upgraded it to a general-purpose subscription resource plan for free. You do not need to pay extra for this upgrade.
Capability Name | Pay-as-you-go | Category-specific Subscription Resource Plan | General-purpose Subscription Resource Plan | Subscription QPS |
Face Detection and Landmark | Automatically upgraded to a general-purpose subscription resource plan for free | |||
1:1 Face Comparison | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Masked Face 1:1 Comparison | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Human Detection | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Server-side Face Liveness | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
App-Based Face Authentication | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
Image Face Fusion | Automatically upgraded to a general-purpose subscription resource plan for free | |||
1:N Face Search | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
Facial Attribute Recognition | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Face Retouching | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
Character Stylization | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
Face Restoration and Enhancement | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
Portrait Sketch Stylization | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
Face Liveness Detection | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Infrared Face Liveness Detection | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Online Proctoring | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Human Structured Attributes | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Public Figure Recognition | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
Celebrity Recognition | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
Fingerprint Extraction | Not supported | Not supported | Not supported | |
Smart Skin Retouching | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
Smart Face Slimming | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
Expression Recognition | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Face Information Desensitization | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Human Pose Estimation | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Human Counting | Automatically upgraded to a general-purpose subscription resource plan for free | |||
Action and Behavior Recognition | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported | ||
Video Liveness Detection | Automatically upgraded to a general-purpose subscription resource plan for free | Not supported |
OCR
Capability Name | Pay-as-you-go | Category-specific Subscription Resource Plan | General-purpose Subscription Resource Plan | Subscription QPS |
License Plate Recognition | Not supported | Not supported | ||
Driver License Recognition | Not supported | Not supported | ||
Vehicle License Recognition | Not supported | Not supported | ||
General OCR | Not supported | Not supported | ||
ID Card Recognition | Not supported | Not supported | ||
VAT Invoice Recognition | Not supported | Not supported | ||
Bank Card Recognition | Not supported | Not supported | ||
Business License Recognition | Not supported | Not supported | ||
QR Code Recognition | Not supported | Not supported | ||
VIN Code Recognition | Not supported | Not supported | ||
PDF Recognition | Not supported | Not supported | ||
Quota Invoice Recognition | Not supported | Not supported | ||
VAT Invoice Roll Recognition | Not supported | Not supported | ||
Train Ticket Recognition | Not supported | Not supported | ||
Table Recognition | Not supported | Not supported | ||
Taxi Invoice Recognition | Not supported | Not supported |
Product Understanding
Capability Name | Pay-as-you-go | Single-Category Resource Plan (Subscription) | General-purpose Subscription Resource Plan | Subscription QPS |
Product Categorization | Not supported | Not supported |
Content Moderation
Capability Name | Pay-as-you-go | Category-specific Subscription Resource Plan | General-purpose Subscription Resource Plan | Subscription QPS |
Image Junk Content Detection | Not supported | Not supported | ||
Smart Image Pornography Detection | Not supported | Not supported | ||
Sensitive Image Content Detection | Not supported | Not supported | ||
Image Logo Recognition | Not supported | Not supported | ||
Image Threat Recognition | Not supported | Not supported | ||
Inappropriate Image Scene Detection | Not supported | Not supported | ||
Text Junk Content Detection | Not supported | Not supported | ||
Text Ad Content Detection | Not supported | Not supported | ||
Sensitive Text Content Detection | Not supported | Not supported | ||
Terrorism-related Text Content Detection | Not supported | Not supported | ||
Abusive Text Content Detection | Not supported | Not supported | ||
Pornographic Text Content Detection | Not supported | Not supported | ||
Spam Text Content Detection | Not supported | Not supported | ||
Prohibited Text Content Detection | Not supported | Not supported |
Image Recognition
Capability Name | Pay-as-you-go | Category-specific Subscription Resource Plan | General-purpose Subscription Resource Plan | Subscription QPS |
General Image Tagging | Not supported | |||
Scene Recognition | Not supported | |||
Ad Material Analysis | Not supported | |||
Color Recognition | Not supported | |||
Element Recognition | Not supported | |||
Garbage Classification | Not supported |
Image Production
Capability Name | Pay-as-you-go | Category-specific Subscription Resource Plan | General-purpose Subscription Resource Plan | Subscription QPS |
Image Definition Scoring | Not supported | Not supported | ||
Image Super Resolution | Not supported | Not supported | ||
Image Color Enhancement | Not supported | Not supported | ||
Human Removal from Image | Not supported | Not supported | ||
Image Colorization | Not supported | Not supported | ||
Image Clipping | Not supported | Not supported | ||
Caption Removal | Not supported | Not supported | ||
Logo Removal from Image | Not supported | Not supported | ||
Image Retouching | Not supported | Not supported | ||
Smart Composition | Not supported | Not supported | ||
Invisible Image Watermark for Images | Not supported | Not supported | ||
Invisible Text Watermark for Images | Not supported | Not supported | ||
Composition Aesthetics Scoring | Not supported | Not supported | ||
Image Exposure Scoring | Not supported | Not supported | ||
Generative Image Super Resolution | Not supported | Not supported |
Segmentation and Matting
Capability Name | Pay-as-you-go | Subscription resource plan for a single category | General-purpose prepaid resource plan | Subscription QPS |
General Segmentation | ||||
Product Segmentation | ||||
Human Segmentation | ||||
High-definition Human Segmentation | ||||
Profile Picture Segmentation | ||||
General High-definition Segmentation | Not supported | |||
Sky High-definition Segmentation | Not supported | |||
Fine-grained Mask Segmentation | Not supported | |||
Food Segmentation | Not supported | |||
Apparel Segmentation | ||||
Hair Segmentation | ||||
Skin Segmentation |
Object Detection
Capability Name | Pay-as-you-go | Subscription Resource Plan for a Single Category | General-purpose Subscription Resource Plan | Prepaid QPS |
Object Detection | Not supported | |||
Vehicle Congestion Detection | Not supported | |||
White Background Detection | Not supported | |||
IPC Video Object Detection | Not supported | Not supported | Not supported | |
IPC Image Object Detection | ||||
Main Object Detection | Not supported |
Image Analysis and Processing
Capability Name | Pay-as-you-go | Category-specific Subscription Resource Plan | General-purpose Subscription Resource Plan | Subscription QPS |
COVID-19 Auxiliary Diagnosis | Not supported | Not supported | Not supported | |
Chest CT Lung Nodule Detection | Not supported | Not supported | Not supported | |
Chest CT Plain Scan Screening | Not supported | Not supported | Not supported |
Visual Search
Capability Name | Pay-as-you-go | Category-specific Subscription Resource Plan | General-purpose Subscription Resource Plan | Prepaid QPS |
Duplicate Image Detection | Not supported | Not supported | Not supported |
Video Understanding
Capability Name | Pay-as-you-go | Category-specific Subscription Resource Plan | General-purpose Subscription Resource Plan | Subscription QPS |
Video Thumbnail | Not supported | Not supported | ||
Shot Parsing | Not supported | Not supported | ||
Video OCR | Not supported | Not supported | ||
Video Splitting | Not supported | Not supported | ||
Video Quality Assessment | Not supported | Not supported |
Video Production
Capability Name | Pay-as-you-go | Category-specific Subscription Resource Plan | General-purpose Subscription Resource Plan | Subscription QPS |
Video Color Correction | Not supported | Not supported | ||
Video Caption Removal | Not supported | Not supported | ||
Video Logo Removal | Not supported | Not supported | ||
Video Aspect Ratio Transformation | Not supported | Not supported | ||
General Video Production | Not supported | Not supported | ||
Comprehensive Video Enhancement | Not supported | Not supported | ||
Video Super Resolution | Not supported | Not supported | ||
Video Frame Interpolation | Not supported | Not supported | ||
Video Portrait Cartoonization | Not supported | Not supported | ||
General Video Face Fusion | Not supported | Not supported | ||
Template-based Video Face Fusion | Not supported |
Video Segmentation
Capability Name | Pay-as-you-go | Category-specific Subscription Resource Plan | General-purpose Subscription Resource Plan | Subscription QPS |
Video Portrait Segmentation | Not supported | Not supported |