Compute
Elastic Cloud Server
Huawei Cloud Flexus
Bare Metal Server
Auto Scaling
Image Management Service
Dedicated Host
FunctionGraph
Cloud Phone Host
Huawei Cloud EulerOS
Networking
Virtual Private Cloud
Elastic IP
Elastic Load Balance
NAT Gateway
Direct Connect
Virtual Private Network
VPC Endpoint
Cloud Connect
Enterprise Router
Enterprise Switch
Global Accelerator
Management & Governance
Cloud Eye
Identity and Access Management
Cloud Trace Service
Resource Formation Service
Tag Management Service
Log Tank Service
Config
OneAccess
Resource Access Manager
Simple Message Notification
Application Performance Management
Application Operations Management
Organizations
Optimization Advisor
IAM Identity Center
Cloud Operations Center
Resource Governance Center
Migration
Server Migration Service
Object Storage Migration Service
Cloud Data Migration
Migration Center
Cloud Ecosystem
KooGallery
Partner Center
User Support
My Account
Billing Center
Cost Center
Resource Center
Enterprise Management
Service Tickets
HUAWEI CLOUD (International) FAQs
ICP Filing
Support Plans
My Credentials
Customer Operation Capabilities
Partner Support Plans
Professional Services
Analytics
MapReduce Service
Data Lake Insight
CloudTable Service
Cloud Search Service
Data Lake Visualization
Data Ingestion Service
GaussDB(DWS)
DataArts Studio
Data Lake Factory
DataArts Lake Formation
IoT
IoT Device Access
Others
Product Pricing Details
System Permissions
Console Quick Start
Common FAQs
Instructions for Associating with a HUAWEI CLOUD Partner
Message Center
Security & Compliance
Security Technologies and Applications
Web Application Firewall
Host Security Service
Cloud Firewall
SecMaster
Anti-DDoS Service
Data Encryption Workshop
Database Security Service
Cloud Bastion Host
Data Security Center
Cloud Certificate Manager
Edge Security
Situation Awareness
Managed Threat Detection
Blockchain
Blockchain Service
Web3 Node Engine Service
Media Services
Media Processing Center
Video On Demand
Live
SparkRTC
MetaStudio
Storage
Object Storage Service
Elastic Volume Service
Cloud Backup and Recovery
Storage Disaster Recovery Service
Scalable File Service Turbo
Scalable File Service
Volume Backup Service
Cloud Server Backup Service
Data Express Service
Dedicated Distributed Storage Service
Containers
Cloud Container Engine
SoftWare Repository for Container
Application Service Mesh
Ubiquitous Cloud Native Service
Cloud Container Instance
Databases
Relational Database Service
Document Database Service
Data Admin Service
Data Replication Service
GeminiDB
GaussDB
Distributed Database Middleware
Database and Application Migration UGO
TaurusDB
Middleware
Distributed Cache Service
API Gateway
Distributed Message Service for Kafka
Distributed Message Service for RabbitMQ
Distributed Message Service for RocketMQ
Cloud Service Engine
Multi-Site High Availability Service
EventGrid
Dedicated Cloud
Dedicated Computing Cluster
Business Applications
Workspace
ROMA Connect
Message & SMS
Domain Name Service
Edge Data Center Management
Meeting
AI
Face Recognition Service
Graph Engine Service
Content Moderation
Image Recognition
Optical Character Recognition
ModelArts
ImageSearch
Conversational Bot Service
Speech Interaction Service
Huawei HiLens
Video Intelligent Analysis Service
Developer Tools
SDK Developer Guide
API Request Signing Guide
Terraform
Koo Command Line Interface
Content Delivery & Edge Computing
Content Delivery Network
Intelligent EdgeFabric
CloudPond
Intelligent EdgeCloud
Solutions
SAP Cloud
High Performance Computing
Developer Services
ServiceStage
CodeArts
CodeArts PerfTest
CodeArts Req
CodeArts Pipeline
CodeArts Build
CodeArts Deploy
CodeArts Artifact
CodeArts TestPlan
CodeArts Check
CodeArts Repo
Cloud Application Engine
MacroVerse aPaaS
KooMessage
KooPhone
KooDrive

Pay-per-Use

Updated on 2024-06-28 GMT+08:00

Pay-per-use is a billing mode where you pay after using the resources. This billing mode does not require you to make any prepayments or long-term commitments. This section describes the billing rules for pay-per-use resources.

Application Scenario

Pay-per-use is ideal when your resource needs fluctuate. For instance, in the context of AI-generated content (AIGC) inference for To Customer (ToC) services, customer service volumes fluctuate regularly over time. Adopting this billing mode can significantly reduce customers' service costs. You can select resource flavors on the pages for running ExeML jobs, creating notebook instances, creating training jobs, and deploying model services.

Constraints

Pay-per-use resource pools cannot be used across regions.

Applicable Billing Item

Compute resources can be billed in this mode.

Table 1 Applicable billing items

Billing Item

Description

Compute resource

Public resource pools

vCPU and GPU

Dedicated resource pools

ModelArts allows pay-per-use billing for both public and dedicated resource pools.

  • Assume that you need to purchase a pay-per-use dedicated resource pool. On the ModelArts management console, choose Dedicated Resource Pools > Elastic Cluster. On the Resource Pools tab, click Create. Then, set Billing Mode to Pay-per-use and view the price details in the lower left corner of the page. The price is calculated based on the resources selected for the resource pool.
  • Pay-per-use public resource pools cannot be purchased on the management console. You can directly select a public resource pool for AI development (including running ExeML jobs, creating notebook instances, creating training jobs, and deploying real-time services). For example, when you create a training job, you can view the price details at the bottom of the page.
    Figure 1 Price details for creating a training job

Billing Cycle

Pay-per-use resources are billed by second. A bill is generated on the hour (UTC+08:00). After the bill is generated, a new billing cycle starts.

NOTE:
  • For a dedicated resource pool, the billing starts when it is created, and ends when it is deleted.

    Creating a dedicated resource pool takes time. The billing starts when the dedicated resource pool is enabled, not during its creation process. You can view the time you obtained a dedicated resource pool in the Basic Information area on the details page, and view the time when the resource pool is successfully created in the Occurred At column of the event whose Details is Pool status changed, from Creating to Running.

  • For a public resource pool, the billing starts when an instance using the public resource pool is created, and ends when the instance is deleted.

    The instance can be:

    • Training jobs and real-time services created for running ExeML jobs
    • Notebook instances
    • Training jobs
    • Real-time services

For example, if you purchase a pay-per-use dedicated resource pool with compute resources (vCPUs) at 08:45:30 and delete it at 08:55:30, the billing cycle is from 08:00:00 to 09:00:00 and fees are generated from 08:45:30 to 08:55:30. The billing duration in this billing cycle is 600 seconds.

Billing Example

Assume that you purchase a pay-per-use dedicated resource pool (specifications: CPU: 8 vCPUs 32GB; number of compute nodes: 1) on April 18, 2023 at 09:59:30. The billing resources are compute resources (vCPUs). If you delete the resource pool on April 18, 2023 at 10:45:46, then:

  • The first billing cycle is from 09:00:00 to 10:00:00. Fees are generated from 09:59:30 to 10:00:00. The billing duration in this billing cycle is 30 seconds.
  • The second billing cycle is from 10:00:00 to 11:00:00. Fees are generated from 10:00:00 to 10:45:46. The billing duration in this billing cycle is 2,746 seconds.

You must pay for each billing cycle. Table 2 shows the billing formula. The Product Pricing Details page displays the hourly price of each resource. The price per second of each resource can be obtained by dividing their hourly price by 3600.

Table 2 Billing formula

Resource Type

Billing Formula

Unit Price

Compute resource (vCPU)

Specification unit price x Number of compute nodes x Billing duration

For details, see ModelArts Pricing Details.

The fee in the preceding example is calculated as follows:

$0.66 USD/hour x 1 x [(30 + 2746)/3600] hours = $0.50 USD

NOTICE:

The prices in this document are for reference only. The actual prices are subject to ModelArts Pricing Details.

Billing Impacts Following Configuration Changes

If you change the specifications after purchasing a pay-per-use resource pool, a new order is generated and you are billed based on the price of the new configuration. The old order automatically becomes invalid.

If you have purchased a pay-per-use resource pool and then changed the specifications in an hour, multiple billing records will be generated. The duration between the start and end time of each billing record is the validity period of the corresponding configuration.

For example, if you purchase a pay-per-use dedicated resource pool with the flavor modelarts.vm.cpu.8ud (8vCPUs 16GiB) and two compute nodes at 09:00:00, and add two nodes at 09:30:00 (four nodes in total after the upgrade), two billing records are generated between 09:00:00 and 10:00:00.

  • The first record corresponds to 09:00:00 to 9:30:00 and two compute nodes are billed.
  • The second record corresponds to 09:30:00 to 10:00:00 and four compute nodes are billed.

About Arrears

Figure 2 describes the status of pay-per-use resources in each period. After purchasing a resource, it remains operational throughout the billing cycle. This can be referred to as the validity period. If your account is in arrears, the resource enters the grace period and then the retention period.

Figure 2 Periods of pay-per-use resources

Arrears warning

Fees are deducted based on pay-per-use resources at the end of each billing cycle. When your account is in arrears, you will be notified by email, SMS, and internal message.

Impacts of arrears

After your account is in arrears, the pay-per-use resources will not become unavailable immediately. These resources enter the grace period. You need to pay fees for pay-per-use resources incurred during the grace period, which are counted as outstanding amount in the Billing Center. Huawei Cloud will automatically deduct the fees when you top up.

If you do not pay the arrears within the grace period, the resources enter the retention period and the resource status changes to Frozen. You cannot perform any operation on the pay-per-use resources in the retention period.

If you do not pay the arrears within the retention period, the compute resources will be released and data cannot be restored.

NOTE:
  • Both the grace period and retention period are 15 days.

Outstanding Balance

If your account is in arrears, some operations will be restricted. Top up your account as soon as possible. Table 3 describes the restricted operations.

Table 3 Restricted operations due to arrears

Feature

Restricted Operation

ExeML

Model training and deployment

DevEnviron > Notebook

Creating and starting notebook instances

Training Management > Training Jobs

Creating training jobs

Service Deployment > Real-Time Services

Deploying real-time services

Dedicated Resource Pools

Creating, freezing, unfreezing, and deleting dedicated resource pools

We use cookies to improve our site and your experience. By continuing to browse our site you accept our cookie policy. Find out more

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback