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)You can view the estimated training fee at the bottom of the model training console and click Billing Details to view the total training tokens, number of epochs, and training unit price. |
- Qwen-VL
- Qwen
Model service | Model Code | Price |
|---|---|---|
Qwen3-VL-8B-Instruct | qwen3-vl-8b-instruct | ¥0.012/1K tokens |
Qwen3-VL-8B-Thinking | qwen3-vl-8b-thinking | ¥0.012/1K tokens |
Qwen3-VL-4B-Instruct | qwen3-vl-4b-instruct | ¥0.006/1K tokens |
Qwen2.5-VL-72B-Instruct | qwen2.5-vl-72b-instruct | ¥0.05/1K tokens |
Qwen2.5-VL-32B-Instruct | qwen2.5-vl-32b-instruct | ¥0.02/1K tokens |
Qwen2.5-VL-7B-Instruct | qwen2.5-vl-7b-instruct | ¥0.01/1K tokens |
Image generation models – Wan
Method | Billed by training tokens |
Formula | Model training fee = Total training tokens × Training unit price (Billing unit: per 1K 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 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 service | Model Name | 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 1K 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 service | Model Name | 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 cost (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 1K 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 service | Model Name | 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 example
Billing example
- 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 12. Billable duration = min(10, 12) = 10.
- Total billable duration = 3 + 10 = 13 seconds.
- Total training tokens = 13 × (36864/1024) × 800 = 374400 = 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/1K 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
- Billed by usage duration (reserved throughput, high-speed mode)
- 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 immediately after payment, with a validity period of N days, ending at 23:59 on day N.
- When a prepaid order expires, the service stops immediately (calls are unavailable, but renewal is still allowed); resources are released 2 hours after the service stops.
- Prepaid orders support early service termination, with the used portion settled and refunded at a factor of 1.2. For more information, see Description of downgrade refund rules.
- With pay-as-you-go billing, if your account has an overdue payment, the deployed resources become unavailable and are no longer billed; the service resumes after the overdue payment is settled.
- 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-Flash | qwen3.8-flash | 128K | ¥2.88 | ¥0.97 | ¥34.56 | ¥11.66 |
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
For Wan image generation models fine-tuned with SFT-LoRA, deployment is free, and invocations are billed at the standard invocation rate of the fine-tuned base model. For the model training and deployment workflow, see Fine-tune image generation models.
Model Name | LoRA deployment and invocation price |
|---|---|
wan2.7-image-pro | CNY 0.50/image |
wan2.7-image | CNY 0.20/image |
Image generation models – Qwen
For Qwen image generation models fine-tuned with SFT-LoRA, deployment is free, and invocations are billed at the standard invocation rate of the fine-tuned base model. For the model training and deployment workflow, see Fine-tune image generation models.
Model Name | LoRA deployment and 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 invocation rate of the base model used for fine-tuning. For details, see model pricing
Speech synthesis models – CosyVoice
After deployment, a fine-tuned CosyVoice model is billed by the <strong>usage duration of model units</strong>. The formula is: $\text{Fee} = \text{Usage duration (hours)} \times \text{Number of model units} \times \text{Model unit price}$.
Where $\text{Number of model units} = \text{Model units per replica} \times \text{Number of replicas}$. For the available deployment templates and their model unit types, see [Deployment templates](/en/model-studio/fine-tune-speech-synthesis-model-by-api) in Fine-tune CosyVoice.
Model Name | Model Code | Model Unit Specification | Hourly unit price (CNY) | Monthly subscription unit price (CNY) |
|---|---|---|---|---|
cosyvoice-v3-flash | cosyvoice-v3-flash | MU5 | ¥21 | ¥10,139 |