- What's New
- Function Overview
- Product Bulletin
- Service Overview
-
Billing
- Billing Overview
- Billing Modes
- Billing Items
- Billing Examples
- Billing Mode Changes
- Renewing Subscriptions
- Bills
- Arrears
- Billing Termination
- Cost Management
-
Billing FAQ
- Why Do I Get Additional Charges or Arrears After Purchasing a Package?
- Why Can I Still Call the Service and Incur Arrears When My Account Balance Is Zero?
- Why Do I Get Additional Charges or Arrears After Unsubscribing from an OCR Service?
- Can I Refund a Package After I Buy It?
- How Is Billing Handled When a Package Is Used Up? And How Can I Check the Remaining Quota and Receive Alerts for My Package?
- How Does a Member Account Use a Package Purchased by an Enterprise Master Account?
- What Is Fee Deduction Order for Multiple Packages?
- What are Grace Period and Retention Period?
- What Is Considered Valid Billing for OCR?
- Can Different API Packages Be Shared?
- Can OCR Be Charged by Project?
- Getting Started
- User Guide
- SDK Reference
- API Reference
-
FAQs
- Subscription
-
Token-based Authentication
- What Are the Username, Domain Name, and Project Name in the Token Message Body?
- Why Is the Error Message "The account is locked." Displayed?
- Why Is the Error Message "The username or password is wrong." Displayed?
- Why Does the Token Retrieval Process Return a 401 Status Code?
- Why Does the Token Fail to Be Obtained When I Use Postman to Call an ORC API?
- Why Don't I Have Programming Access Permissions?
- Why Does the Header Overflow When I Use Postman to Call an OCR API?
-
API
- How Do I View the API Usage?
- Why Is the Actual Number of API Calls Inconsistent with the Record Displayed on the Management Console?
- Does OCR Support Batch Processing?
- Can the OCR Results Be Converted into Word, TXT, or PDF Files?
- How Do I Obtain the Base64 Code of an Image?
- What Is the Number of Concurrent OCR API Calls?
- How Do I Use OCR APIs?
- Can the Region Where OCR Is Called Be Different from the Region Where OBS Resources Are Located?
- Can the Input Data of OCR Be Stored Locally?
- How Do I Improve the Recognition Speed?
- How Do I Convert a PDF to an Image?
- Can OCR Read Images from Non-Huawei Cloud Storage?
-
SDK
- Do OCR SDKs Need to Be Purchased?
- Do OCR SDKs Need Maven to Manage Dependency Packages?
- How Do I Change the Response Type in Returned Results?
- How Can I Fix an SSL Configuration Error?
- How Can I Fix a "connect timed out" Error?
- Why Does the Project ID Fail to Be Obtained?
- What Should I Do if I Forget My AK and SK?
-
Error Code
- Why Do I Fail to Call an OCR API?
- How Do I Handle the Error APIG.0301?
- How Do I Handle the Error APIG.0201?
- How Do I Handle the Error APIG.0101?
- How Do I Handle the Error APIG.0106?
- How Do I Handle the Error APIG.0308?
- How Do I Handle the Error ModelArts.0212?
- How Do I Handle the Error ModelArts.4603 or ModelArts.4704?
- How Do I Handle the Error ModelArts.4204?
- Permissions
- Data Security and Privacy
- Regions and AZs
- General Consulting
- Videos
- Glossary
- More Documents
- General Reference
Show all
Copied.
Overview
OCR provides two billing modes, package and pay-per-use, to meet the needs in different scenarios.
- Package: a prepaid mode where payment is made in advance and billed according to the subscription term. The larger the package specifications, the greater the discount. This mode is generally suitable for mature businesses with long-term stable needs.
- Pay-per-use: It is a postpaid mode where payment is made after usage, and billing is based on the actual number of successful API calls. The pay-per-use mode allows you to flexibly adjust resource usage based on actual business needs, without the need to pre-set resources, thereby reducing the risk of over or under provisioning. This mode is typically suitable for scenarios with unstable needs.
Table 1 compares the two billing modes.
Billing Mode |
Package |
Pay-per-Use |
Payment |
Prepaid |
Postpaid |
Billing Method |
Billed by the subscription term you purchase The package has a validity period of one year and will not be automatically extended upon expiration. Please use it within the validity period. |
You are billed based on the number of API calls. |
Changing the Billing Mode |
Package can be changed to pay-per-use. If you do not renew or purchase a new package in a timely manner after the package expires or is used up, the system will automatically switch to pay-per-use billing. |
Pay-per-use can be changed to package. |
Application Scenarios |
For scenarios where resource usage can be predicted, this pricing mode is more cost-effective than pay-per-use. This mode is recommended for long-term users. |
This mode is suitable for scenarios where there are fluctuations in the demand for compute resources. The service can be subscribed to and unsubscribed from at any time. |
Other |
Compared to pay-per-use, package offers a greater discount. The package fee is a one-time payment, and this mode can take effect immediately.
Packages can be used together. If you purchase multiple packages, the deduction rules are as follows:
|
Default billing mode |
- OCR can operate properly even if it is not deployed in the region where it is called. Generally, you are advised to choose a region close to you or your target users to reduce network latency and improve access speed.
- OCR is billed on a pay-per-use basis by default. After purchasing a package, the package fee will be deducted first. If the usage exceeds the purchased package quota, the excess will be automatically billed on a pay-per-use basis.
- When using pay-per-use billing, the calling region must be consistent with the region where the service is subscribed to. Otherwise, an error message ModelArts.4204 Service is not enabled. will be prompted. For example, if you subscribe to Passport OCR in the AP-Bangkok region, you should call the service in the region where you subscribe to it.
- When using package billing, the region where you call the API must be the same as the region where you purchase the package. Packages do not support cross-region API calls, otherwise additional charges or arrears may occur.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot