# 按需计费

按需付费是一种计费方法，允许您先使用资源，后付费。计费周期通常按天或按小时计算。\
如果在每个计费周期结束时，您的账户余额不足以支付扣除费用，您的资源将进入资源停服状态。请确保及时充值以避免服务停服或资源释放。

## 场景 <a href="#title-mls-lcm-zcp" id="title-mls-lcm-zcp"></a>

建议在以下情况下选择高度灵活的按需付费计费模式：

* 您的资源需求随机且不可预测。
* 您需要短期使用资源。

## 冻结金

* 在按需付费计费模式下，系统会在您的订单中暂时“冻结”一个计费周期的金额，以验证您的账户是否有效且余额充足。这是为了保证交易的顺利进行。这个计费周期的金额称为冻结金。
* 如果您的账户余额不足以支付冻结金，您将无法完成资源激活。
* 当您的资源释放且无逾期付款时，冻结金将被解冻并返还至账户余额。如果有剩余的应付账款，冻结金将用于抵扣。

{% hint style="info" %} <mark style="color:blue;">**注意**</mark>

<mark style="color:blue;">您可以在</mark> <mark style="color:blue;">**财务中心**</mark> <mark style="color:blue;">中</mark> [<mark style="color:purple;">充值余额</mark>](/welcome/cn/platform/billing-center/refill-balance.md)<mark style="color:blue;">。</mark>
{% endhint %}

## 计费周期

计费周期是指企业提供的服务计算和计费的时间单位。Zenlayer 按需付费资源的计费周期通常按天或按小时计算。

按需付费资源通常按天或按小时结算。当一个结算周期结束并扣除费用后，会生成账单。如果您的账户余额不足以扣除费用，您的资源将进入资源停服状态。

## 逾期付款

当您的账户出现逾期付款时，所有按需付费资源都会被资源停服。逾期付款可能会导致资源停服，甚至资源释放。建议您确保账户余额充足以支付资源费用。


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.console.zenlayer.com/welcome/cn/pricing/general-pricing-rules/pay-as-you-go.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
