Skip to main content

Training and deployment pricing

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

For the model training workflow, see Model fine-tuning. After training is completed, the new model must first undergo model deployment before it can be evaluated and called.
MethodBilled by training tokens
FormulaModel 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

For the model training workflow, see Image generation model fine-tuning. After training is completed, the new model must first undergo model deployment before it can be called.

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

‘TrainingTokensTotal≈max_steps×Lstep‘`Training Tokens Total\approx max\_steps \times L_{step}`Where:
  • 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∈batchLitem(i)≤Lmax‘`L_{step} = \sum_{i \in batch} L_{item}^{(i)} \leq L_{max}` 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

Suppose you fine-tune the wan2.7-image-pro model for t2i. The parameters are: max_steps = 200, max_token_length = "1k", and the training price is CNY 0.08 per 1,000 tokens:
  • 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

For the model training workflow, see Image generation model fine-tuning. After training is completed, the new model must first undergo model deployment before it can be called.

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

‘Total training tokens=n_epochs×N×(max_pixels/Compression ratio)×GPU coefficient‘`\text{Total training tokens} = n\_epochs \times N \times (max\_pixels / \text{Compression ratio}) \times \text{GPU coefficient}`Where:
  • 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) and 2k (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

Suppose you fine-tune the qwen-image-2.0 model with a training set of 1 image. The parameters are: n_epochs = 1000, max_pixels = "1k", the training price is CNY 0.02 per 1,000 tokens, and the GPU coefficient is 8:
  • 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
The following table estimates token consumption and fees per training image, assuming a GPU coefficient of 8. For a training set of N images, multiply the values by N.

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 usage field returned by the Query a fine-tuning job operation. Your bill is the final authority on fees.
  • batch_size does not affect billing or the total training tokens.

Video generation models – Wan

For the model training workflow, see Model fine-tuning. After training is completed, the new model must first undergo model deployment before it can be called.

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

‘TrainingTokensTotal=(∑i=1Nbilling duration of videoi)×max_pixels1024×n_epochs‘`Training Tokens Total = \left( \sum_{i=1}^{N} \text{billing duration of video}_i \right) \times \frac{max\_pixels}{1024} \times n\_epochs`Where:
  • 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.
  • 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.

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

  1. wan2.7-i2v cost estimation (single data)
Assume a training set contains 1 video with a duration of 10 seconds. With batch_size = 1 (recommended), 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

  1. wan2.7-i2v cost estimation (multiple data)
Assume a training set contains 2 videos with durations of 3.4 seconds and 11.5 seconds. Parameters: max_pixels = 36864, n_epochs = 800. Training unit price = CNY 2/thousand tokens:
  • 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

The CosyVoice model fine-tuning service is available only in the China (Beijing) region. For the model training workflow, see CosyVoice model fine-tuning. After training is completed, the new model must first undergo model deployment before it can be called.

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

The token consumption of a single job is estimated as follows:‘Consumed tokens=(lm_max_epoch+fm_max_epoch)×25×Training set duration (s)‘`\text{Consumed tokens} = (lm\_max\_epoch + fm\_max\_epoch) \times 25 \times \text{Training set duration (s)}`Where 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.
When the model input exceeds the maximum input tokens, the relevant calls automatically switch to the pay-as-you-go mode of the current model; when the purchased TPM is exceeded, requests are handled according to the overflow policy selected at creation ("auto overflow" switches to pay-as-you-go billing, "reserved capacity only" returns 429). In this case, inference performance may degrade, and requests are subject to the traffic control applied to the public traffic of the current snapshot model in the workspace; the fee is charged at the model calling (pay-as-you-go) rate.
  • 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).
For the specific fee reduction and refund rules in scale-down (quota decrease) scenarios, see Description of downgrade refund rules.
Reserved throughput supports tiered capacity coefficients for long inputs and cache discounts. For more information, see Reserved throughput billing.
  • 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

CosyVoice model fine-tuning is available only in the China (Beijing) region.
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

FAQ

Q: When does billing for model deployment start?

A: Billing for model deployment starts when the model deployment is complete, that is, when the model status is Running. No fees are charged when the model status is Deploying, Overdue Payment, or Deployment Failed. For monthly prepaid billing, the monthly subscription time starts to be consumed after the model status changes to Running.

Q: Am I charged if I cancel model training?

A: Yes. After you manually cancel training, the consumed tokens will still be billed. The training fee is estimated based on the consumed tokens, and the final fee is subject to your bill. For training jobs interrupted due to other reasons, Alibaba Cloud Model Studio will not charge you any training fee.

Q: How do I view the invocation statistics of a deployed model?

A: Visit the Model Monitoring (Beijing), Model Monitoring (Virginia), Model Monitoring (Singapore), or Model Monitoring (China (Hong Kong)) page (China (Hong Kong) supports only basic monitoring; advanced monitoring and logs are unavailable). The Model Monitoring page supports filtering by time range (3 hours, 6 hours, 12 hours, 24 hours, today, yesterday, one week, custom) and by inference type. The summary area at the top shows the total number of models, total invocations, total failures, average invocation duration, and average time to first packet, and the model list at the bottom shows metrics such as total invocations, failed invocations, failure rate, average invocation duration, and average first-token latency for each model. Click Monitor to view detailed data for a single model.