Appearance
Bill query and cost management
Query billing details, analyze bills, and stop billing.
Query bills
Note
Coding Plan does not generate pay-as-you-go bills. View your plan usage on the Coding Plan page.
Billing cycle
Billing occurs only after a service is called.
Model inference: Bills are generated at minute-level granularity.
Other services (batch inference, model training, knowledge base, etc.): Bills are generated at hour-level granularity.
Bill generation may be delayed. For example, model inference bills are typically generated 2 to 10 minutes after a call. During peak hours, bill generation may take longer.
1. Query inference costs for a specific model
To find the inference cost for a specific model, such as qwen-plus:
On the Billing Details page, select a billing period.
Set Commodity Name to Model Studio Foundational Model Inference, and then click Search.
In the Instance ID column, find all instances related to qwen-plus.
Sum the Payable Amount for these instances to get the total inference cost for the model in the selected month.
2. Query total cost of Model Studio
View spending trends for Alibaba Cloud Model Studio or specific services. View total cost of model inference
On the cost analysis page, set Cost Type to payable amount.
Set Time Unit to Month and select a time range, such as May 2025 to October 2025.
Set Product Detail to Model Studio Foundational Model Inference to view the total model inference cost within the selected time range.
Total cost of all Model Studio services
On the cost analysis page, set Cost Type to payable amount.
Set Time Unit to Month and select a time range, such as October 2025.
Set Product to Alibaba Cloud Model Studio to view the cost of Model Studio within the selected time range.
3. Query token consumption in detailed bills
On the Billing Details page, on the Billing Center Bills Detailed Bills tab, set Statistical Item to Billable Item and export the bill to view the Token usage.
Analyze bill details
Starting September 7, 2024, bills for Model Studio Foundational Model Inference, deployment, and training provide more granular detail. View costs by API Key ID, workspace ID, model name, input/output type, and invocation channel.
**1.**Download the bill
On the Billing Details page, select a billing period.
Set Product to Alibaba Cloud Model Studio, and then click Search.
In the upper-right corner of the bill list, click the Export Bill CSV to download the bill to your local computer.
Open the file, locate the Instance ID column, and then check the entries based on the rules described in the following sections.
2. Interpret key fields
"Instance ID" field: This field contains multiple data points separated by semicolons (😉.
Example:
text_token;llm-xxx;qwen-max;output_token;appThis represents
billing type;workspace ID;model name;input/output type;invocation channel.
3. Data traceability and terms
Query API Key: Copy the
API Key IDfrom the bill and go to the Model Studio API Key Management page to find the corresponding key name.Query workspace: Copy the
workspace IDfrom the bill. Go to the Workspaces page to confirm the specific workspace.Invocation channel descriptions:
app: Called from an application (code).bmp: Called from the Playground in the console.assistant-api: Called via the Assistant API.
Stop billing
If you no longer need Model Studio, stop billing to avoid additional charges.
1. Unsubscribe from Coding Plan
Coding Plan auto-renews monthly. To stop future charges, turn off auto-renewal on the Coding Plan page.
2. Stop model inference
Action: No fees are generated after you stop using the service. For example, stop using the Playground in the Model Studio console and stop all API calls in your code.
Suggestion: To prevent accidental calls, go to the Model Studio console, select a region in the upper-right corner, and go to the API Key page to delete your API keys.
3.Stop model training
- Action: No charges are generated without active training tasks.
FAQ
Q: Why is my bill delayed?
A: Possible reasons:
Billing latency : Bills for model inference are aggregated and generated at minute-level granularity . A bill is typically generated 2 to 10 minutes after a call completes. Bills for other services (such as batch inference, model training, and knowledge bases) are aggregated and generated at hour-level granularity. During peak hours, bill generation may be delayed.
Using non-commercial models: Models in public or invite-only preview do not generate billing records.
Q: Why does a model have multiple bill entries?
A: The fees for the same model are billed separately by billing type (input tokens, output tokens, cache hits, etc.) and invocation channel (API calls, console experience, etc.).
For example, a conversation that uses the qwen3.6-plus model generates two billing records: one for input tokens and one for output tokens. Check the instance ID field in Analyze bill details to understand each record.
Q: How can I identify the model for a bill entry?
A: Check the Instance ID (Billing Granularity) column on the Billing Details page.
Fields are separated by semicolons (😉. In most cases, the field that immediately follows the workspace ID (for example, llm-xxx) is the model name.
Example:
12xxx;llm-xxx;qwen3.6-plus;context_0-128k_input_token;bmp;0. This indicates fees for theqwen3.6-plusmodel.
Q: Where can I view model call statistics?
A: Go to the Model Studio console, select a region in the upper-right corner, and go to the Monitoring page.
Q: Is pay-as-you-go billing real-time?
A: No. Pay-as-you-go billing uses a reservation and monthly settlement model. The system holds a portion of your balance. At the end of each billing cycle (at the beginning of the next month), a final bill is generated and payment is deducted.