Skip to main content

Billing and cost management

This topic describes how to query billing details, allocate costs, handle overdue payments, and stop billing.

Query bills

Bills are generated only after a call is completed. Bills for model inference are generated with minute-level granularity, typically within 2 to 10 minutes. Bills for services such as batch inference, model training, and knowledge base are generated hourly. During peak business hours, the final billing time in the system prevails. Bill generation does not equal actual deduction. Pay-as-you-go billing uses the "reserve and settle monthly" model. For more information, see "Is pay-as-you-go billed in real time?" in the FAQ section below.

Cost

Open Cost. The page shows costs for model calls, model training, and model deployment.
  1. Select a statistical period and time range. You can view data by minute, hour, day, or month: minute supports up to 1 day, hour up to 7 days, day up to 31 days, and month up to 12 months.
  2. Select a grouping dimension: by model, category, API Key, workspace, region, or service site. API Keys are displayed by ID, not as plaintext keys.
  3. View the cost cards:
    • Total Cost: Total cost for the selected time range. Click Request Invoice to request an invoice.
    • Subscription Cost: Subscription costs such as Token Plan, provisioned throughput, model units, and savings plan.
    • Bill Cost: Pay-as-you-go costs for model calls, training, and deployment.
  4. View the Bill Trend: Shows only pay-as-you-go amounts and excludes subscription costs. Current month bills may be delayed.
  5. To set budgets or alerts, go to Budget Management.
To view earlier costs or calculate total historical spending, export bills month by month from Alibaba Cloud Expenses and Costs > Billing Details and aggregate them manually:
  1. Go to Expenses and Costs > Billing Details.
  2. Set Product Name to Alibaba Cloud Model Studio.
  3. Switch the billing month one at a time and export each month's bill as a CSV file. For the export steps, see Billing Details.
  4. Sum the exported data across all months to obtain your total historical spending.
All statistical period options on the Billing Details page are scoped to a single month, so cross-month aggregation is not supported and must be done manually after exporting each month. In the export dialog box, you can select content from the last 18 months for batch export.

Bill details

Open Billing Details. Bill Details groups costs by Model Calls, Model Training, Provisioned Throughput Units, and Dedicated Throughput Units. It includes only pay-as-you-go bill costs, not prepaid order costs. Only data from April 1, 2026 onward is available.
  • Filters: Filter by API Key, model, inference type, and time range. Inference types include real-time inference, offline batch inference, and online batch inference.
  • Table columns: Time, Model, Inference Type, Specification, Workspace, Billable Usage, Amount Due. Specification indicates the billing specification, such as input/output, cache hit status, or video resolution.
  • View the calculation: Click Details in a row to open the Cost Details - Model Name drawer. The drawer shows Amount Due = List Price Total - Total Discount, along with the original usage, usage after free quota deduction, list price total, and amount due. Total Discount includes savings plan deductions, promotions, and voucher discounts. If all usage is deducted by the free quota, the usage after free quota deduction is 0 and the amount due is 0.
  • Download: Click the download icon in the upper-right corner to export the bill for the current filters. Click Download Records to view export records from the last 7 days.
  • Duration-based items: In the Model Training, Provisioned Throughput Unit, and Dedicated Throughput Unit tabs, for items billed by usage × duration, select Minute. When you query by month, day, or hour, duration information is not available yet.
Some field values in Bill Details may be incomplete. For complete fields, go to Alibaba Cloud Expenses and Costs > Billing Details, and use the instance ID rules in Billing Details below.

Billing details

On the Alibaba Cloud Expenses and Costs Billing Details page, you can view complete bill fields. Bills for large model inference, deployment, and training can be broken down for review by API Key ID, workspace ID, model name, input/output type, invocation channel, and instance tag.

1. Download the bill

  1. On the Billing Details page, select a billing month.
  2. Select Product Name as Alibaba Cloud Model Studio, and click Search.
  3. At the top of the page, click Export Details to download the bill to your local computer.
  4. Open the file, locate the Asset/Resource Instance ID (Billing Granularity) column (labeled Instance ID (Billing Granularity) on the Billing Details page), and interpret it using the rules described in the next section.

2. Interpret key fields (model inference bills)

The field format described in this section applies to model inference bills. The instance ID field format for model training and fine-tuning bills is different (it uses an exclamation mark ! as the delimiter). For more information, see Training and fine-tuning bill fields below. Other billable items, such as Token Plan, knowledge base, web search, and ManagedAgent session runtime fees, also use different instance ID formats and are not covered by this section.
The "Asset/Resource Instance ID (Billing Granularity)" field uses a semicolon (;) as the delimiter. From left to right, the segments are ApiKeyID;workspace ID;model name;input/output type;invocation channel;free quota exhaustion flag. The segments have the following meanings:
  1. ApiKeyID: The ID of the API key used for the call. If this segment is empty, the call did not use an API key and typically came from the console or a managed service such as ManagedAgent. If it is not empty, the call was made from code, and you can use this ID to identify the specific API key.
  2. Workspace ID: The workspace that the call belongs to (for example, llm-xxx). Model Studio divides resources and workspaces by region. A workspace is the smallest unit for permission management (models and users) and for cost allocation in Alibaba Cloud bills.
  3. Model name: The model used for the call, for example, qwen-max.
  4. Input/output type: The billable usage type for this bill entry, such as input tokens (input_token) or output tokens (output_token).
  5. Invocation channel: The entry point that initiated the call. Common values:
    • Empty: A call made through the API.
    • bmp: A call made from model experience in the console.
    • assistant-api: A call made through the Assistant API.
    • responses: A call made through the Responses API.
    • evalModel: A call made through model evaluation.
    • batch: A call made through batch inference.
    • bailian-claude-code-proxy: A call made through the Anthropic-compatible API.
    • app: A call made from an application.
    • agent1: A call made through an agent application (Agent 1.0).
    • agent2: A call made through the new agent application (Agent 2.0).
    • managed agent: A call made through a ManagedAgent managed agent.
    • RAG: A call made through knowledge base retrieval or Q&A.
  6. Free quota exhaustion flag: 0 indicates that the feature is disabled, and 1 indicates that it is enabled.
Some bills omit trailing empty fields, so the actual number of segments may be less than six. If the fifth segment is 0 or 1, it is the free quota exhaustion flag and the invocation channel is empty. If the fifth segment is a channel code, it is the invocation channel and the free quota exhaustion flag is empty. Bills for tasks such as batch inference and model evaluation may be generated later than the call time. The actual bill is authoritative. For example:
  • 2469635;llm-xxx;qwen3.8-max;input_token;0: The invocation channel is empty and the free quota exhaustion flag is 0.
  • ;llm-xxx;agent_model_performance;input_token;managed agent: The call was made through ManagedAgent and the free quota exhaustion flag is empty.
Common formats:
  • Format A: Standard call (with an ApiKeyID)
    • Example: 12xxx;llm-xxx;qwen-max;output_token;app;0
  • Format B: Console call (without an ApiKeyID)
    • Example: ;llm-xxx;qwen-max;output_token;bmp;0
    • The first segment is empty, which indicates that the cost was incurred by a console call.
"Instance Tag": If you use tags for cost allocation, this column uses the following format:
  • Example: key:test1 value:test1; key:test2 value:test2
  • key represents the tag key, and value represents the tag value.
  • Multiple tags are separated by semicolons (;).

3. Training and fine-tuning bill fields

The "Asset/Resource Instance ID (Billing Granularity)" field in model training and model fine-tuning bills uses an exclamation mark ! as the delimiter. The common format is workspace ID!region!training task ID, which differs from the semicolon (;) format used for model inference bills. Example: ws-xxxxxxxxx!cn-beijing!qwen3-14b-ft-2026051510-1c3b
The Product Name field of a bill directly distinguishes billing types: training and fine-tuning fees correspond to the Product Name 百炼大模型训练. If you cannot identify the corresponding training task, you can match it by combining the billing month with the task submission time on the Model Fine-tuning page.

4. Data traceability and terms

  • Query an API Key: Copy the ApiKeyID from your bill and go to the API Key page to find the corresponding key name.
  • Query a workspace: Copy the Workspace ID from your bill, go to the Workspace Management page, and identify the specific workspace in the Workspace ID column of the list. The workspace you are currently in is displayed in the Default Workspace switcher in the upper-right corner of the console. Hover over it to view details such as its region, workspace ID, and creation time.

Cost allocation

Attach a tag to a workspace to allocate costs by department or project.
  1. Get workspace information: In Workspaces, identify the Workspace ID of the workspace to tag (for example, llm-xxx). Then, in Billing Details, find the region of the workspace.
  2. Attach a tag:
    1. On the Tag Management page, select Attach Tags to Resources.
    2. Set Resource Selection Method to Enter Multiple Resource IDs. On the product tab, search for and select Alibaba Cloud Model Studio: Workspace, select the corresponding workspace region, and enter the Workspace ID in the resource ID field. Then, click the button to attach the tag.
    3. On the attach tags page, create a tag key-value pair or use a preset tag that you have created to bind to the workspace. After you enter the key-value pair or select the preset tag, click OK.
    4. Enable the tag. Navigate to Cost Allocation Tags. In the tag key search box, enter the bound tag key, and click Search. Find your tag and click Enable in the Actions column.
  3. Verify: The cost allocation takes effect the next day (T+1). You can verify that the tag is correctly attached to the workspace by checking the Instance Tag column on the Billing Details page.

Overdue payments

An account is considered overdue if its available balance is less than zero. You can view it by hovering over the available balance area on the Expenses and Costs homepage. The balance is calculated by using the following formula: Available Balance = (Cash Balance + Credit Limit) - (Unsettled Amount for Current Month + Unsettled Amount for Previous Months).
  • Impact of overdue payments: The following applies only to Model Studio bills. Overdue-payment restrictions are isolated by commodity code. When one commodity code has an overdue payment, the services under that commodity code become unavailable and are restored after you settle the overdue amount. Services under other commodity codes remain available and continue to incur charges. For example, when Model Studio reserved capacity in your bill has an overdue payment, the provisioned throughput deployment service under that commodity becomes unavailable, but Model Studio model calls are not affected.
    • If you still have a free quota, savings plan, or resource plan quota: These are all isolated by commodity code. They offset only commodity codes that have no overdue payment and cannot be used for a commodity code that is overdue.
    • If you have purchased a Coding Plan or Token Plan: The plan quota is independent of your account balance and can be used during the overdue period. However, automatic renewal will fail, and the plan cannot be used after it expires.
  • View vouchers: In the lower-right corner of the Model Studio console, click the Expenses icon to open the Expenses and Costs console. In the left-side navigation pane, choose Account > Cards & Coupons to view your coupons, stored-value cards, and product vouchers. Vouchers and balance: Vouchers, including student-benefit coupons, are not counted as cash balance in your available balance. For pay-as-you-go usage, the system freezes the current month spending. Your actual account balance must be greater than the frozen amount before you can call models. For more information, see the voucher documentation.
  • Settle overdue payments: On the Expenses and Costs page, click Recharge, enter an amount, and then complete the payment.
  • Prevent overdue payments: On the High consumption alerts page, set a spending threshold to be notified when the threshold is reached.

Billing for asynchronous tasks when your account is overdue

Models for image and video generation use an asynchronous task mechanism. Task submission, generation completion, and fee settlement may occur at different times. 1. Overdue payment during task execution If your account is in a normal state when you submit a task, the task can be submitted and executed normally. If your account becomes overdue while the task is running, submitted tasks may still continue to execute. For tasks that complete successfully, the system still bills you based on actual usage even if your account is already overdue when the task completes. The related fees are added to your account bill and may further increase the overdue amount. 2. Overdue payment again after recharge Because there is a time lag between asynchronous task execution and fee settlement, some tasks may complete while your account is overdue but their fees have not yet been settled. Therefore, after you recharge your account to settle the overdue amount, you may still receive bills for previously submitted tasks, which can put your account into an overdue state again. 3. Recommendations We recommend that you monitor your account balance and bill changes in a timely manner. In particular, when you submit image and video generation and other asynchronous tasks in batches, keep sufficient account balance to avoid the account becoming overdue again due to delayed settlement of task fees. Note: Fees for asynchronous tasks are subject to the actual billing rules and the final bill. An overdue account does not mean that fees incurred by previously submitted tasks will be waived.

Stop billing (shut down services)

If you no longer use Model Studio, follow the instructions below to stop the related services and prevent further charges.
To proactively control cost limits in pay-as-you-go scenarios, go to Budget Management to set a monthly budget and enable "Stop Service When Budget Reached".
  • Stop model inference: Stop making API calls from your code and stop calls from the Experience Center in the console, and no further charges are incurred. To prevent accidental calls, you can delete created keys on the API Key page.
  • Stop model training: You are not charged when no model training tasks are running.
  • Stop Coding Plan billing: Coding Plan is a monthly subscription product that automatically stops at expiration. Mid-term cancellation and refunds are not supported. If you have auto-renewal enabled, disable it on the Coding Plan page.
  • Unsubscribe from Token Plan Team Edition: On the My Subscriptions page of the Token Plan console, unsubscribe seats that have not consumed any usage, and refunds are returned to the original payment account. If you no longer want to renew, disable auto-renewal.
  • Stop model deployment: Unpublish deployed models. The bill product names and subsequent operations for each billing method are as follows:
    • Pay-as-you-go by token calls (post-paid): The bill product name is Model Studio Large Model Inference. After you unpublish the deployment, no further call fees are generated for that deployment. You can also delete the API Key to prevent accidental calls.
    • Pay-as-you-go by computing units or model units (post-paid): The bill product name is Model Studio Model Unit (Pay-as-you-go). After you unpublish the deployment, duration-based billing stops.
    • Pay-as-you-go by provisioned throughput units (post-paid, hourly): The bill product name is Model Studio Reserved Capacity (Postpaid). After you unpublish the deployment, hourly billing stops.
    • Prepaid by provisioned throughput units (daily): The bill product name is Model Studio Reserved Capacity (Prepaid). After you unpublish the deployment, you must also unsubscribe from the instance on the Refund Management page. The used portion is settled at a 1.2x coefficient (for more information, see the refund instructions), and the remaining amount is refunded.

FAQ

When you view data by model, API Key, workspace, or other dimensions, some values may appear as "-" or be empty. Common causes:
  • Data for a specific dimension is delayed. Right after a call, the value may appear as "-" and change to the actual value after a few minutes or more.
  • An empty API Key usually indicates that the call came from the console.
  • For calls made through Batch Chat, API Key ID-related data is empty.
  • Region information is empty for some models.
  • The invocation method is empty for speech models.
A "-" or empty value does not affect the actual billed amount. To check specific costs, see Bill details.
Cause:
  • Billing latency: Model inference bills are aggregated by the minute and typically appear 2 to 10 minutes after a call. Bills for batch inference, model training, and knowledge base are aggregated hourly. Bill generation may be further delayed during peak hours.
  • Use of a non-commercial model: Models in public preview or invite-only testing do not generate billing records.
Solution: Wait for the billing interval to pass and then check again.
Cause: The same model is billed separately based on the billing type (such as input tokens, output tokens, or cache hits) and the invocation channel (such as an API call or console experience). For example, a single conversation with qwen3.6-plus generates two entries: "input tokens" and "output tokens".Solution: Use the Instance ID field in Billing Details to understand the specifics of each line item.
Cause: The "Billable Item" column on the bill is uniformly labeled "Large Model Text Consumption" and does not show the specific model name.Solution: Check the Asset/Resource Instance ID (Billing Granularity) column on the Billing Details page. This field is a semicolon-separated string. The part of the string that immediately follows the workspace ID (such as llm-xxx) is the model name. For example, in 12xxx;llm-xxx; qwen3.6-plus ;context_0-128k_input_token;bmp;0, the model is qwen3.6-plus.
Go to the Alibaba Cloud Model Studio console. In the left-side navigation pane, choose Cost and Usage > Model Usage.
No. Alibaba Cloud uses a "reserve and settle monthly" model for pay-as-you-go billing. The system first freezes part of the quota, and the final bill is generated and the actual amount is deducted after the monthly billing cycle ends (early in the next month).
Eligible fees:
  • Purchase a 50 CNY University AI Pass model savings plan: Its eligible scope is the same as that of the AI general-purpose savings plan, but its tiered discounts do not apply. Each person can use the credit for one purchase. The first self-paid purchase qualifies for a 50% subsidy. For details, refer to the activity page.
  • Offset post-paid model services: The credit can offset post-paid fees with the bill product names Model Studio Large Model Training, Model Studio Large Model Inference, Model Studio Large Model Deployment, and Model Studio Knowledge Base RAG. You can check the corresponding product names on the Billing Details page.
Ineligible fees:
  1. Post-paid fees for directly supplied third-party models and specified products: The 300 CNY credit claimed after July 14, 2026 cannot offset the following post-paid fees. Credits claimed before July 14, 2026 are not subject to this restriction:
    • Directly supplied third-party models: The 所属产品 field in the bill details shows 云市场三方.
    • Post-paid fees with any of the following 商品名称 (product names) on the bill:
      • 百炼大模型Happy系列
      • 百炼大模型-万相模型
      • 阿里云百炼大模型-向量排序模型
      • 百炼大模型-垂类模型
      • 百炼大模型-百聆语音模型
      • 百炼大模型-千问语音模型
      • 百炼大模型-千问全模态模型
      Check the 商品名称 (product name) on the Billing Details page. The following table lists example models for these products.
      The models under each product name change over time. This table lists only examples, not every model. Eligibility depends on the product name on the bill, not solely on whether a model appears in this table.
      Post-paid product nameExample models (not exhaustive)
      百炼大模型Happy系列happyhorse-1.0-i2v, happyhorse-1.0-t2v, happyhorse-1.0-video-edit, happyhorse-1.0-r2v, happyhorse-1.1-t2v, happyhorse-1.1-i2v, happyhorse-1.1-r2v
      百炼大模型-万相模型wan2.7-image, wan2.7-image-pro, wan2.7-t2v, wan2.7-i2v, wan2.7-r2v, wan2.7-videoedit, wan3.0-video, wan3.0-video-prime, wan2.7-t2v-2026-04-25, wan2.7-i2v-2026-04-25, wan2.7-t2v-2026-06-12, wan2.7-r2v-2026-06-12
      阿里云百炼大模型-向量排序模型qwen3.7-text-embedding, qwen3.7-text-embedding-flash, qwen3.7-text-rerank, qwen3-vl-embedding, qwen3-vl-rerank, tongyi-embedding-vision-flash-2026-03-06, tongyi-embedding-vision-plus-2026-03-06
      百炼大模型-垂类模型qwen-mt-image-2.0, qwen-flash-character, farui-flash, qwen-mt-uni, qwen3.8-livetranslate-flash-realtime, tongyi-xiaomi-analysis-pro, tongyi-xiaomi-analysis-flash, qwen-flash-character-2026-02-26, qwen3.5-livetranslate-flash-realtime-2026-05-19, qwen3.5-ocr
      百炼大模型-百聆语音模型fun-asr-flash-8k-realtime, qwen-audio-3.0-asr-flash, qwen-audio-3.0-asr-flash-streaming, qwen-audio-3.0-asr-flash-filetrans, fun-asr-flash-8k-realtime-2026-01-28, fun-asr-realtime-2026-02-28, fun-music-v1, fun-music-preview, fun-asr-flash-2026-06-15, qwen-audio-3.0-realtime-plus, qwen-audio-3.0-realtime-flash, qwen-audio-3.1-realtime-plus, qwen-audio-3.1-asr-flash, qwen-audio-3.1-asr-flash-filetrans, qwen-audio-3.1-asr-flash-streaming, qwen-audio-3.1-asr-flash-message, qwen-audio-3.1-tts-flash, qwen-audio-3.1-tts-next, cosyvoice-v3.5-flash, fun-cosyvoice-v3.6-flash, fun-cosyvoice-v3.6-plus, qwen-audio-3.0-tts-plus, qwen-audio-3.0-tts-flash, qwen-audio-3.1-tts-plus, cosyvoice-v3.5-plus
      百炼大模型-千问语音模型qwen3-asr-flash-realtime-2026-02-10, qwen3-asr-flash-2026-02-10, qwen3-tts-instruct-flash-realtime, qwen3-tts-instruct-flash-realtime-2026-01-22, qwen3-tts-instruct-flash, qwen3-tts-instruct-flash-2026-01-26, qwen3-tts-vc-2026-01-22, qwen3-tts-vd-2026-01-26
      百炼大模型-千问全模态模型qwen3.5-omni-plus-realtime-2026-03-15, qwen3.8-omni-flash, qwen3.8-omni-flash-realtime, qwen3.5-omni-flash-realtime, qwen3.5-omni-flash-realtime-2026-03-15, qwen3.5-omni-flash-2026-03-15, qwen3.5-omni-flash, qwen3.5-omni-plus, qwen3.5-omni-plus-realtime, qwen3.5-omni-plus-2026-03-15
  2. Bills with existing discounts or promotions: These bills cannot be offset regardless of when the credit was claimed.
    • How to check: If the 优惠 (discount) field in the bill details has an entry, the bill already has a discount or promotion.
    • Student and faculty verification: If you have completed both, bills with the 50% faculty discount cannot also be offset with the 300 CNY credit.
    • Model promotional discounts: When a model is offered at a promotional discount, pay-as-you-go calls to that model cannot be offset with the credit. If you need to call the model, consider purchasing a savings plan.
Purchasing a savings plan and offsetting post-paid fees are assessed separately:
  • Purchase a 50 CNY University AI Pass model savings plan: The 300 CNY credit can offset the purchase price. Usage of eligible models, including HappyHorse, is covered by the savings plan allowance.
  • After the savings plan allowance is exhausted: Any excess usage is billed post-paid and must be assessed under the post-paid rules above. For example, HappyHorse post-paid fees are billed under 百炼大模型Happy系列 and cannot be offset with a 300 CNY credit claimed after July 14, 2026.
For the complete activity rules, see the "Yun Gong Kai Wu" University Program.
Cause: Additional features of Model Studio, such as web search, are billed separately (post-paid) based on the number of calls and are invoiced separately from model inference fees. Even if you have not actively operated the console recently, if applications or code that you created in the past have the enable_search parameter enabled, each call still incurs web search fees.Alibaba Cloud account balance is managed at the account level: Model Studio/Qwen accounts are interconnected with Alibaba Cloud accounts. If other products under your Alibaba Cloud account (such as pay-as-you-go ECS and OSS) have unsettled charges, your available balance becomes negative, and an overdue payment is reported even if you have not used Model Studio/Qwen. After you settle the overdue payment for the corresponding product, Model Studio/Qwen returns to normal use.Solution:
  1. In Billing Details, filter for Alibaba Cloud Model Studio and check the Asset/Resource Instance ID (Billing Granularity) column to identify the model name and invocation channel that incurred the fees.
  2. Check whether enable_search is enabled in your application code or Model Studio application configuration. If you no longer need web search, set this parameter to false or remove it.
  3. If charges continue after you have stopped all calls, check whether other API Keys or applications are still running. You can check them one by one or delete unused keys on the API Key page.
The overdue-payment impact described in this topic is isolated by commodity code and applies only to commodity codes within Model Studio bills. It does not determine whether other Alibaba Cloud products, such as ECS and OSS, remain available or keep billing. When Model Studio has an overdue payment, whether other products are available during the account overdue state and how they are billed follow the documentation of those products.In the opposite direction, overdue payments of other products do affect Model Studio: the Alibaba Cloud account balance is managed at the account level. If products such as ECS have unsettled charges, the available balance becomes negative and an overdue payment is also reported for Model Studio. Model Studio returns to normal use after you settle the overdue payment of the corresponding product (see "Why do I have an overdue payment even though I have barely used the service?" above).
Cause:
  • Input tokens accumulate in long context conversations: When the same document is repeatedly included in a long context conversation, the input tokens of each request grow as the context accumulates, so a single call consumes far more tokens than a short conversation. For example, in one actual investigation, 43 of 47 calls each reached 580,000 to 600,000 input tokens, and the total input tokens exceeded 25 million, which depleted a balance of CNY 120 in about 20 minutes and resulted in an overdue payment.
  • Balance alert notifications are sent at a limited frequency: When the available balance of your account falls below the alert threshold, an SMS notification is sent once a day (for up to 5 consecutive days), and the recipient is the account contact. If you do not check the notifications in time, your balance may be depleted between two alerts.
  • Billing latency: Model inference bills are aggregated by the minute. Therefore, you may still receive bills generated by billing latency after the service is suspended, and the overdue amount may continue to increase after the suspension.
Solution:
  • Check the token consumption of individual calls on the Model Usage page to identify requests with high token usage.
  • Configure budgets and alerts on the Budget Management page, and check alert notifications promptly.
  • To stop billing immediately, delete the API keys that you no longer use on the API Key page.
Cause: Model deployment in Model Studio is billed by usage duration. Charges start as soon as a model finishes deployment and its status becomes Running, regardless of API calls. Even if you have not actively called the model via API, charges continue to accumulate as long as the deployment status is Running.Solution:
  • Go to the Dedicated Deployment page, take deployed models that you no longer use offline, and stop duration-based billing.
  • To prevent accidental calls from incurring inference fees, you can delete unused keys on the API Key page (note: deleted keys cannot be restored. Proceed with caution).
If you suspect that your account has been used by others and unexpected charges have been incurred, follow these steps to investigate:
  1. In Billing Details, filter for Alibaba Cloud Model Studio and check the ApiKeyID in the Asset/Resource Instance ID (Billing Granularity) column to identify the API Key that generated the charges.
  2. Go to the API Key page, check the creation time of each key, and confirm whether it was created by you. The API Key page only shows the creation time, not the invocation time.
  3. Check the call time distribution to identify abnormal invocation patterns that were not made by you: Go to the Model Usage page, filter by Model or API Key ID, and switch to the List view to view the call time distribution.
  4. If unauthorized invocations are found, immediately delete the corresponding API Key on the API Key page and regenerate it. Update all legitimate callers to use the new key.
Cause: Model Studio uses pay-as-you-go post-paid billing by default and does not grant token quotas in advance. Free quotas, resource plans, and savings plans are only offset methods for pay-as-you-go fees, while Coding Plan and Token Plan are subscription packages independent of the account balance. When multiple options coexist, the offset order is: free quota> resource plan> other model savings plans > AI general-purpose savings plan > pay-as-you-go. That is, the free quota is used first; after it is used up, resource plans and savings plans offset fees in turn; after all quotas of the same type expire or are exhausted, the excess automatically switches to pay-as-you-go and is settled with the account balance.Solution: First choose an option based on your call volume and willingness to commit, and then confirm it against the key rules in the following table:

Option

Billing model

Scenarios

Price level

Limits

Key rules

Pay-as-you-go (default)

Post-paid, billed by actual input/output token usage

Fluctuating usage, or trial before evaluation

Settled by actual input/output token usage, with no discount. The unit price per token is the highest among all options

No prepurchase is required, and it is available at any time; whether an overdue payment affects calls depends on the corresponding commodity code

Uses "reserve and settle monthly"; the final bill is generated and the actual amount is deducted after the monthly billing cycle ends (early in the next month); no prepurchase is required; whether an overdue payment affects calls depends on the corresponding commodity code

Free quota

Granted quota automatically offset after you activate the model service

Feature validation and small-scale trials

Free of charge, automatically granted after you activate the model service, and cannot be purchased on top

The quota and validity period are fixed, and billing automatically switches to pay-as-you-go after the quota is used up; after Stop when free quota is used up (worry-free mode) is enabled, savings plans cannot offset usage

Highest priority in the offset order, and other options are offset only after it is used up; after Stop when free quota is used up (that is, worry-free mode) is enabled in model settings, the service automatically stops once the quota is exhausted and no pay-as-you-go bills are generated; in this case, savings plans cannot offset usage, and you must manually disable this feature before the service resumes and switches to savings plan offset

Savings plan (AI general-purpose, recommended)

Commit to a monthly spend for 3, 6, 12, or 24 months in exchange for tiered discounts of up to 47% off

Long-term steady use of large model services

Tiered discounts based on the committed monthly spend: the higher the commitment, the greater the discount, up to 47% off; for the specific discount tiers, see Savings plans and resource plans

The commitment period is 3, 6, 12, or 24 months; the quota is issued monthly, and unused amounts do not carry over to the next cycle; it generally cannot be unsubscribed after it takes effect and starts offsetting

Offsets Alibaba Cloud-supplied all models, and a single purchase works across models; it takes effect immediately after purchase and offsets only fees incurred after it takes effect; the quota is issued on a rolling monthly basis, and unused amounts do not carry over to the next cycle; once it takes effect and an offset has occurred, it generally cannot be unsubscribed and can only run until it naturally expires

Coding Plan

Monthly subscription with a fixed monthly investment

Coding scenarios that require a fixed monthly cost

CNY 200/month, and the fixed monthly fee does not fluctuate with token usage

Can be used only in programming tool scenarios and cannot offset regular API calls or console inference fees; it stops automatically at expiration, and mid-term cancellation and refunds are not supported

The plan quota is independent of the account balance and can still be used during overdue periods, but overdue payments cause automatic renewal to fail; it stops automatically at expiration, and mid-term cancellation and refunds are not supported; if auto-renewal is enabled, disable it on the Coding Plan page

Token Plan

One-off purchase of credits, subscribed by seat

Team collaboration to share one quota

One-off payment, and the fee increases with the number of seats and the credits purchased

Only some models are supported; the quota is independent of the account balance; seats that have not consumed any usage can be unsubscribed

Only some models are supported; the plan quota is independent of the account balance; seats that have not consumed any usage can be unsubscribed by seat on the My Subscriptions page of the Token Plan console, and refunds are returned to the original payment account

In addition, the China site offers resource plans, which offset the real-time inference usage of specific models beyond the free quota:

Option

Billing model

Scenarios

Price level

Limits

Key rules

Resource plan

One-off prepurchase of a fixed amount of resources, such as tokens or images

Low usage, or calls concentrated on a single specific model

One-off payment, and the unit price is lower than pay-as-you-go

Matched strictly by model name and not shared across versions or sub-models (a qwen-plus resource plan cannot offset qwen-max call fees); the remaining quota is void after the validity period expires; billing automatically switches to pay-as-you-go after the quota is used up

Takes effect immediately after purchase, without manual activation or binding; the remaining quota is automatically void after the validity period expires; matched strictly by model name and not shared across versions or sub-models (for example, a qwen-plus resource plan cannot offset qwen-max call fees); billing automatically switches to pay-as-you-go after the quota is used up

If you need to cover multiple model versions at the same time, the AI general-purpose savings plan is a better choice. The international site does not offer resource plans; it offers savings plans only.Conclusion: For regular API call scenarios, choose the AI general-purpose savings plan first. For programming tool scenarios, choose the Coding Plan first. For long-term steady use of large model services, choose a savings plan; if your usage is low or concentrated on a single specific model, choose a resource plan; if a team needs to share one quota, choose Token Plan; if you want to lock in a fixed monthly cost for coding scenarios, choose Coding Plan; if you are only validating features, use up the free quota first and then decide whether to purchase a discounted option based on actual usage. For the discount tiers, purchase entry points, and effective rules of each option, see Savings plans and resource plans. For how to stop billing for each option, see the Stop billing (shut down services) section in this topic.
  1. Go to the Billing Details page.
  2. Click the Preferences (gear) icon above the billing table.
  3. In the Customize Columns dialog box, select Commodity Code. Return to the billing table to view the commodity code for each bill.