This topic describes the billing rules and pricing for model training and model deployment on Alibaba Cloud Model Studio.
Training billing
Text generation models – Qwen
| Method | Billed by training tokens |
| Formula | Model training fee = (Total tokens in training data + Total tokens in mixed training data) × Number of epochs × Training unit price (Minimum billing unit: 1 token)View the estimated training fee at the bottom of the model training console, and click Computing Details to view the total number of training tokens, number of epochs, and training unit price. |
- Qwen
- Qwen-VL
Model service | Model Code | Price |
|---|---|---|
Qwen3.8-27B | qwen3.8-27b | ¥0.05/1K tokens |
Qwen3.7-Plus-2026-05-26 | qwen3.7-plus-2026-05-26 | ¥0.35/1K tokens |
Qwen3.6-27B | qwen3.6-27b | ¥0.05/1K tokens |
Qwen3.6-Flash-2026-04-16 | qwen3.6-flash-2026-04-16 | ¥0.05/1K tokens |
Qwen3.6-Plus-2026-04-02 | qwen3.6-plus-2026-04-02 | ¥0.3/1K tokens |
Qwen3.5-27B | qwen3.5-27b | ¥0.05/1K tokens |
Qwen3.5-9B | qwen3.5-9b | ¥0.02/1K tokens |
Qwen3.5-4B | qwen3.5-4b | ¥0.015/1K tokens |
Qwen3.5-Flash-2026-02-23 | qwen3.5-flash-2026-02-23 | ¥0.05/1K tokens |
Qwen3.5-Plus-2026-02-15 | qwen3.5-plus-2026-02-15 | ¥0.3/1K tokens |
Qwen3-32B | qwen3-32b | ¥0.04/1K tokens |
Qwen3-30B-A3B-Instruct-2507 | qwen3-30b-a3b-instruct-2507 | ¥0.03/1K tokens |
Qwen3-14B | qwen3-14b | ¥0.03/1K tokens |
Qwen3-8B | qwen3-8b | ¥0.006/1K tokens |
Qwen3-4B-Instruct-2507 | qwen3-4b-instruct-2507 | ¥0.006/1K tokens |
Qwen3-1.7B | qwen3-1.7b | ¥0.0045/1K tokens |
Qwen3-0.6B | qwen3-0.6b | ¥0.003/1K tokens |
Qwen2.5-72B-Instruct | qwen2.5-72b-instruct | ¥0.15/1K tokens |
Qwen2.5-32B-Instruct | qwen2.5-32b-instruct | ¥0.03/1K tokens |
Qwen2.5-14B-Instruct | qwen2.5-14b-instruct | ¥0.03/1K tokens |
Qwen2.5-7B-Instruct | qwen2.5-7b-instruct | ¥0.006/1K tokens |
Qwen-Plus-Character-2025-11-06 | qwen-plus-character-2025-11-06 | ¥0.15/1K tokens |
Image generation models – Wan
Method | Billed by training tokens |
Formula | Model training fee = Total training tokens × Training unit price (Billing unit: per 1,000 tokens) |
Formula for total training tokens
Formula for total training tokens
- max_steps: A hyperparameter specified during training, representing the maximum number of training steps (configured when creating a fine-tuning job).
- Lstep: The token consumption per step. The formula is: Lstep = ∑i∈batch Litem(i) ≤ Lmax Lstep is approximately equal to Lmax. Lmax is determined by the max_token_length and generation_type, as shown below:
generation_type | max_token_length | Lmax |
|---|---|---|
t2i (text-to-image) | 1k | 12,800 |
2k | 23,220 | |
i2i (image-to-image) | 1k | 23,220 |
2k | 32,000 |
Model | Code | Training price (per 1K tokens) |
|---|---|---|
Wan image generation | wan2.7-image-pro | CNY 0.08 |
Wan image generation | wan2.7-image | CNY 0.08 |
Billing example
Billing example
- From the table: Lmax = 12,800 (generation_type=t2i, max_token_length=1k), Lstep ≈ Lmax = 12,800
- Total training tokens ≈ 200 × 12800 = 2560000 = 2560 thousand tokens
- Model training fee ≈ 2560 × 0.08 = CNY 204.8
Image generation models – Qwen
Method | Billed by training tokens |
Formula | Model training fee = Total training tokens × Training unit price (Billing unit: per 1,000 tokens) |
Formula for total training tokens
Formula for total training tokens
- n_epochs: A hyperparameter specified during training, representing the number of training epochs (configured when creating a fine-tuning job).
- N: The total number of images in the training set.
- max_pixels: A hyperparameter specified during training, representing the maximum number of pixels per image (configured when creating a fine-tuning job). Valid values are
1k(1024×1024) and2k(2048×2048). - Compression ratio: The fixed VAE compression ratio, which is 1024 (32×32).
- GPU coefficient: A resource scheduling coefficient that is dynamically adjusted based on job scheduling.
Model | Code | Training price (per 1K tokens) |
|---|---|---|
Qwen image generation | qwen-image-2.0 | CNY 0.02 |
Qwen image generation | qwen-image-2.0-pro | CNY 0.02 |
Billing example
Billing example
- Tokens per image = max_pixels / Compression ratio = 1024×1024 / 1024 = 1024
- Total training tokens = 1000 × 1 × 1024 × 8 = 8192000 = 8192 thousand tokens
- Model training fee = 8192 × 0.02 = CNY 163.84
max_pixels | n_epochs | Estimated tokens | Estimated fee (CNY) |
|---|---|---|---|
1k | 800 | 6,553,600 | 131.07 |
1k | 1,000 | 8,192,000 | 163.84 |
1k | 2,000 | 16,384,000 | 327.68 |
2k | 800 | 26,214,400 | 524.29 |
2k | 1,000 | 32,768,000 | 655.36 |
2k | 2,000 | 65,536,000 | 1310.72 |
- The GPU coefficient is dynamically adjusted based on job scheduling. The value 8 in the example and the table above is used only to illustrate the calculation. For actual token consumption, see the
usagefield returned by the Query a fine-tuning job operation. Your bill is the final authority on fees. batch_sizedoes not affect billing or the total training tokens.
Video generation models – Wan
Method | Billed by training tokens |
Formula | Model training fee = Total training tokens × Training unit price (Billing unit: per 1,000 tokens) |
Formula for total training tokens
Formula for total training tokens
- N: Total number of videos in the training set.
- max_pixels: A hyperparameter specified during training, representing the maximum number of pixels for a video (configured when creating a fine-tuning job).
-
n_epochs: A hyperparameter specified during training, representing the number of loops (configured when creating a fine-tuning job).
- The conversion between n_epochs and steps is:
steps = n_epochs × ⌈dataset_size / batch_size⌉, i.e.,n_epochs = steps / ⌈dataset_size / batch_size⌉. - When the dataset contains only 1 sample and batch_size = 1, n_epochs = steps. We recommend a total of at least 800 steps.
- The conversion between n_epochs and steps is:
-
Billing duration calculation rule for a single video: First, round the original video duration (in seconds) to the nearest integer, then determine the final value based on model limits.
- wan2.7 model:
Billing duration=min(10, rounded duration), meaning a single video is billed for a maximum of 10 seconds. - wan2.5 model:
Billing duration=min(10, rounded duration), meaning a single video is billed for a maximum of 10 seconds. - wan2.2 model:
Billing duration=min(5, rounded duration), meaning a single video is billed for a maximum of 5 seconds.
- wan2.7 model:
Model | Code | Training price (per 1K tokens) |
|---|---|---|
Wan image-to-video (first frame-based) | wan2.7-i2v | CNY 2 |
wan2.2-i2v-flash | CNY 0.06 | |
wan2.5-i2v-preview | CNY 0.32 | |
Image-to-video (first and last frame-based) | wan2.7-i2v | CNY 2 |
wan2.2-kf2v-flash | CNY 0.06 |
Billing examples
Billing examples
- wan2.7-i2v cost estimation (single data)
n_epochs = steps / ⌈1(dataset_size) / 1(batch_size)⌉ = steps.Training unit price = CNY 2/thousand tokens. Taking max_pixels = 36864 and n_epochs = 800 as an example:- Total training tokens = 10 × (36864 / 1024) × 800 = 288,000 = 288 thousand tokens
- Model training fee = 288 × 2 = CNY 576
max_pixels | Common steps | n_epochs | Estimated tokens | Estimated cost (CNY) |
|---|---|---|---|---|
36864 | 800 | 800 | 288,000 | 576 |
1,000 | 1,000 | 360,000 | 720 | |
2,000 | 2,000 | 720,000 | 1,440 | |
65536 | 800 | 800 | 512,000 | 1,024 |
1,000 | 1,000 | 640,000 | 1,280 | |
2,000 | 2,000 | 1,280,000 | 2,560 | |
102400 | 800 | 800 | 800,000 | 1,600 |
1,000 | 1,000 | 1,000,000 | 2,000 | |
2,000 | 2,000 | 2,000,000 | 4,000 |
- wan2.7-i2v cost estimation (multiple data)
-
Duration calculation:
- Video 1: 3.4 seconds is rounded to 3. Billable duration = min(10, 3) = 3.
- Video 2: 11.5 seconds is rounded to 11. Billable duration = min(10, 11) = 10.
- Total billable duration = 3 + 10 = 13 seconds.
- Total training tokens = 13 × (36864/1024) × 800 = 374,400 = 374.4 thousand tokens.
- Model training fee = 374.4 × 2 = CNY 748.8.
Speech synthesis models – CosyVoice
Method | Billed by tokens consumed during training |
Unit price | CNY 0.2 per 1,000 tokens |
Formula | Model training fee = Total consumed tokens × Training unit price |
Formula for total consumed tokens
Formula for total consumed tokens
lm_max_epoch and fm_max_epoch are hyperparameters set when creating the fine-tuning job, representing the number of LM and FM training epochs. The training set duration is the total duration in seconds of all audio files in the fine-tuning dataset. Increasing either epoch count or enlarging the training set increases token consumption linearly.Deployment billing
Text generation models: Qwen
- Billing by usage duration (Provisioned Throughput)
- Billing by usage duration (Dedicated Throughput)
- By model token usage
- Billing by usage duration (Model Unit)
Fee = Usage duration × (Input TPM unit price × Input TPM + Output TPM unit price × Output TPM)Post-paid is calculated hourly: the usage duration unit is hours, and the unit price is taken from the "Continuous 1 hour" column in the table below; prepaid is calculated daily: the usage duration unit is days, and the unit price is taken from the "Continuous 1 day" column in the table below.- Prepaid orders take effect in real time after payment, with a validity period of N days ending at 23:59 on day N. If the order is placed after 22:00, the expiration date will be automatically extended by 1 day.
- After a prepaid order expires, the service will be stopped with a 2-hour delay, and resources will be retained for 14 hours after the stop and then released.
- Prepaid orders support early termination; the used portion is settled at a 1.2x coefficient for refund. For details, see Refund rules for configuration downgrades.
- For post-paid billing, if the account is in arrears, the deployed resources will continue to be retained and billed for 24 hours, during which the service can still be used normally. After 24 hours, the system stops billing, the model deployment enters an arrears state, and the underlying resources will be deleted, but the model deployment task will be retained. After the arrears are paid, the system will reallocate resources and restore usage (fees will continue to accrue after restoration). If you do not want to continue incurring fees, you can delete the model deployment task, and billing will stop after successful deletion.
- In this case (only under the "auto-overflow" strategy), the API response Header will include:
x-dashscope-ptu-overflow:true. - For TPM statistics, go to: Model Monitoring (Beijing).
- North China 2 (Beijing)
- Singapore
- Qwen
- DeepSeek
- Qwen-VL
- GLM
Model Name | Model Code | Max input tokens | Post-paid input Per 10K TPM/hour | Post-paid output Per 1K TPM/hour | Prepaid input Per 10K TPM/day | Prepaid output Per 1K TPM/day |
|---|---|---|---|---|---|---|
Qwen3.8-Max | qwen3.8-max | 1M | ¥28.8 | ¥8.64 | ¥345.6 | ¥103.68 |
Qwen3.7-Flash-2026-07-15 | qwen3.7-flash-2026-07-15 | 128K | ¥0.48 | ¥0.19 | ¥5.76 | ¥2.3 |
Qwen3.7-Max-2026-05-20 | qwen3.7-max-2026-05-20 | 256K | ¥28.8 | ¥8.64 | ¥345.6 | ¥103.68 |
Qwen3.7-Plus-2026-05-26 | qwen3.7-plus-2026-05-26 | 256K | ¥4.8 | ¥1.92 | ¥57.6 | ¥23.04 |
Qwen3.6-Plus-2026-04-02 | qwen3.6-plus-2026-04-02 | 128K | ¥4.8 | ¥2.88 | ¥57.6 | ¥34.56 |
Qwen3.5-Plus-2026-04-20 | qwen3.5-plus-2026-04-20 | 128K | ¥1.92 | ¥1.15 | ¥23.04 | ¥13.82 |
Qwen3-Max-2025-09-23 | qwen3-max-2025-09-23 | 128K | ¥7.68 | ¥3.08 | ¥92.16 | ¥36.96 |
Qwen-Flash-2025-07-28 | qwen-flash-2025-07-28 | 128K | ¥0.36 | ¥0.36 | ¥4.32 | ¥4.32 |
Qwen-Plus-2025-12-01 | qwen-plus-2025-12-01 | 128K | ¥1.92 | Non-thinking: ¥0.48 Thinking: ¥1.92 | ¥23.04 | Non-thinking: ¥5.76 Thinking: ¥23.04 |
Image generation models – Wan
Deployment is free. Invocations are billed at the standard rate of the fine-tuned base model. For the training workflow, see Fine-tune image generation models.
Model ID | LoRA Deployment & Invocation Price |
|---|---|
wan2.7-image-pro | CNY 0.50/image |
wan2.7-image | CNY 0.20/image |
Image generation models – Qwen
Deployment is free. Invocations are billed at the standard rate of the fine-tuned base model. For the training and deployment workflow, see Fine-tune image generation models.
Model ID | LoRA Deployment & Invocation Price |
|---|---|
qwen-image-2.0 | CNY 0.20/image |
qwen-image-2.0-pro | CNY 0.50/image |
Video generation models – Wan
Fine-tuned Wan video generation models:
- Model deployment: Free
- Model invocation: Billed at the standard rate of the fine-tuned base model. For details, see model pricing
Speech synthesis models – CosyVoice
Model name | Model code | Model unit type | Hourly price (CNY) | Monthly price (CNY) |
|---|---|---|---|---|
cosyvoice-v3-flash | cosyvoice-v3-flash | MU5 | ¥21 | ¥10,139 |
FAQ
Q: When does billing for model deployment start?
A: Billing starts when the model status changes to Running. No charges apply during Deploying, Overdue Payment, or Deployment Failed.
For monthly subscriptions, the billing period starts when the status changes to Running.
Q: Am I charged if I cancel a training job?
A: Yes. If you cancel training manually, you are charged for all tokens processed before cancellation. Training jobs interrupted by system errors or other non-user causes are not charged.
Q: How do I view invocation statistics for a deployed model?
A: Visit the Model Monitoring (Beijing), Model Monitoring (Virginia), or Model Monitoring (Singapore) page.
