How Are Requests Counted?
Each calling of an API is counted as a request. When you perform operations on OBS through OBS Console, tools, APIs, or SDKs, you are actually calling APIs.
Request Types
OBS requests fall into the following types:
- Read requests: GET (for downloading objects), HEAD (for obtaining bucket locations or bucket policies), LIST (for listing objects), and others
- Write requests: PUT/POST (for uploading objects), COPY (for copying objects), and others
- Delete requests: DELETE (for deleting objects or canceling multipart uploads) and others
- Storage class transition requests: requests generated when objects are transitioned from Standard to Infrequent Access or Archive or from Infrequent Access to Archive during the execution of a lifecycle rule
Billing
If you buy a Standard storage package, you will receive a free quota of read and write requests for each month. The free quota is used first. After the free quota is used up, subsequent requests are billed on a pay-per-use basis. If you continue to purchase additional Standard storage packages, the free requests rewarded to you will be accumulated.
Except the requests whose status code returned by the server is 5XX or 403, all other requests are counted in the number of requests.
Examples
Example 1
Take object upload for example. Each time you upload an object or an object part is counted as a request. Assuming that a folder has 100 objects:
- If you call the PutObject API to upload all objects, sending 100 PUT requests means that the number of requests is 100.
- If you use multipart upload tasks to upload the large objects in the folder, the final number of requests is greater than 100, because the processing of object parts will increase the number of requests. In addition, extra requests are required for initializing multipart upload tasks and merging parts into objects.
Example 2
Each operation on OBS Console delivers a request that is counted for billing.
For example, when you open the home page of OBS Console, the list of buckets is loaded. In this process, requests are sent to obtain the bucket list and bucket locations. Then when you switch to the Overview page of a bucket, requests are sent to query bucket storage information and bucket metadata.
Example 3
Take object download as an example. Each time you download an object is counted as a request. Assume that you need to download 100 objects:
- Downloading 100 Standard or Infrequent Access objects will send 100 GET requests.
Billing FAQs
- How Do I Purchase OBS?
- Why Is OBS Still Unavailable Even Though My Account Is Topped Up and There Are No Outstanding Bills?
- Why Does My Bucket Generate Storage Fees Even Though There Are No Objects in It?
- Why Am I Still Being Billed for Pull Traffic Used by CDN Acceleration When I Already Have a Pull Traffic Package?
- Why Am I Still Being Billed After I Purchased a Resource Package?
- What Is a Standard Storage Package (Multi-AZ) Used For?
- Do I Need to Purchase an Outbound Internet Traffic Package If I Already Have a Pull Traffic Package?
- Why Does My Bucket Generate Traffic When There Are No Objects in It?
- How Are Requests Counted?
- Do I Have to Purchase a Resource Package? Can I Apply a Package to a Specific Bucket?
- Can I Unsubscribe from or Modify a Resource Package?
- Can I Purchase Requests?
- Do Parallel File Systems Support Resource Packages?
- Which Types of Resource Packages Will Reset Their Quota by Month and Which Types Will Not?
- Will the Remaining Package Quota in a Given Month Be Carried over to the Following Month?
- Will My Data Write Be Restricted When My OBS Package Has Been Used Up?
- Why Is There a Charge of $0.01 USD on My OBS Bill?
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more