Inference calls to built-in models incur model invocation fees billed by usage such as tokens, audio and video duration, and number of images, independent of workspace CU compute resource fees.
Billing Overview
Compute Resources (CU): The compute resources required for job execution, billed the same way as existing CU billing.
AI Service Invocation Fee: Fees incurred by calling built-in models, billed independently by usage such as tokens, audio and video duration, and number of images.
For billing of related cloud products, see Billable Items.
Billing Rules
Billing Unit:
Billed by token: includes text generation, speech synthesis, embedding, and rerank models. Prices are in CNY per 1,000 tokens on the China site and USD per 1,000 tokens on the international site. Input tokens and output tokens are billed separately.
Billed by duration: includes video generation and speech recognition models. Prices are in CNY per second on the China site and USD per second on the international site.
Billed by number of images: includes image generation models. Prices are in CNY per image on the China site and USD per image on the international site.
Billing Cycle: Settled once per minute (based on UTC+8 time), generating bills and deducting fees, with a billing latency of approximately 1 to 10 minutes.
Billing Dimensions: Billed by the combination of
Region × Model × Input Range or Output Specification × Usage Type. Per-minute cost = Σ(actual usage per type × unit price).Free Tier: The first 1 million tokens per primary account per region per calendar month (based on UTC+8 time) are free (input and output combined). Exceeding usage is billed at listed prices. For models that are not billed by token, usage is converted into tokens by the following rules and counted against the free tier:
Image generation models (such as qwen-image-3.0-pro and qwen-image-3.0): each image consumes 10,000 tokens of the free tier.
Video generation models (such as happyhorse-1.1-t2v, happyhorse-1.1-i2v, and happyhorse-1.1-r2v): each second consumes 30,000 tokens of the free tier.
Speech recognition models (such as qwen-audio-3.0-asr-flash-filetrans, qwen-audio-3.0-asr-flash, and fun-asr): each second consumes 10 tokens.
Billed by token
For models billed by token, the fee of each request is metered by the following types:
Standard Input Token: Billed at the base input unit price.
Standard Output Token: Billed at the base output unit price.
Implicit Cache Hit Input Token: Except for models that are otherwise specified, billed at 20% of the base input price.
Explicit Cache Creation Input Token: Except for models that are otherwise specified, billed at 125% of the base input price.
Explicit Cache Hit Input Token: Except for models that are otherwise specified, billed at 10% of the base input price.
Per-minute request cost = Σ(token usage per type × unit price). The unit price of cache-type tokens = base input unit price × billing coefficient.
Billed by duration
For models billed by duration, the fee of each request is metered by the following types:
Input duration: billed at the input unit price.
Output duration: billed at the output unit price.
Per-minute request cost = Σ(billed duration per type × unit price). The billed duration varies by model: some models are billed by input duration only, some by output duration only, and some by both. For details, see the pricing tables.
Billed by number of images
For models billed by number of images, the fee of each request is metered by the following types:
Number of input images: billed at the input unit price.
Number of output images: billed at the output unit price.
Per-minute request cost = Σ(number of images per type × unit price). The billed number of images varies by model: some models are billed by input images only, some by output images only, and some by both. For details, see the pricing tables.
Pricing
Actual prices are subject to billing statements.
Base Pricing
The following tables show the base unit prices of standard input/output tokens, duration, and number of images. Cache-type tokens are billed at the base prices multiplied by the corresponding coefficients. For details, see Cache Token Billing Coefficients.
Chinese mainland: such as China (Hangzhou) and China (Beijing).
Outside the Chinese mainland: includes all regions outside the Chinese mainland, such as China (Hong Kong), Singapore, and US.
For the region list, see Supported regions.
Qwen
Chinese mainland
Model | Input range (1K tokens) | Input (USD/1K tokens) | Output (USD/1K tokens) |
qwen3.8-max | 0~1,000 | 0.00198 | 0.005941 |
qwen3.7-max | 0~1,000 | 0.00198 | 0.005941 |
qwen3.7-plus | 0~256 | 0.00033 | 0.00132 |
256~1,000 | 0.00099 | 0.003961 | |
qwen3.6-plus | 0~256 | 0.00033 | 0.00198 |
256~1,000 | 0.00132 | 0.007921 | |
qwen3.5-plus | 0~128 | 0.000132 | 0.000792 |
128~256 | 0.00033 | 0.00198 | |
256~1,000 | 0.00066 | 0.003961 | |
qwen3.7-flash | 0~32 | 0.000033 | 0.000132 |
32~256 | 0.000099 | 0.000396 | |
256~1,000 | 0.000198 | 0.000792 | |
qwen3.6-flash | 0~256 | 0.000198 | 0.001188 |
256~1,000 | 0.000792 | 0.004753 | |
qwen3.5-flash | 0~128 | 0.000033 | 0.00033 |
128~256 | 0.000132 | 0.00132 | |
256~1,000 | 0.000198 | 0.00198 | |
qwen3.5-omni-plus | 0~1,000 | Text/image/video tokens: 0.001155; Audio tokens: 0.008746 | Text tokens: 0.006601; Audio tokens: 0.03515 |
qwen3.5-omni-flash | 0~1,000 | Text/image/video tokens: 0.000363; Audio tokens: 0.00297 | Text tokens: 0.002195; Audio tokens: 0.011882 |
qwen3.5-ocr | 0~1,000 | 0.000083 | 0.00033 |
qwen-vl-ocr | 0~1,000 | 0.00005 | 0.000083 |
qwen-mt-plus | 0~1,000 | 0.000297 | 0.000891 |
qwen-mt-flash | 0~1,000 | 0.000116 | 0.000322 |
Outside the Chinese mainland
Model | Input range (1K tokens) | Input (USD/1K tokens) | Output (USD/1K tokens) |
qwen3.8-max | 0~1,000 | 0.002473 | 0.00742 |
qwen3.7-max | 0~1,000 | 0.003093 | 0.009276 |
qwen3.7-plus | 0~256 | 0.000495 | 0.001979 |
256~1,000 | 0.001484 | 0.005936 | |
qwen3.6-plus | 0~256 | 0.000619 | 0.00371 |
256~1,000 | 0.002474 | 0.007421 | |
qwen3.5-plus | 0~128 | 0.000485 | 0.002906 |
128~256 | 0.000485 | 0.002906 | |
256~1,000 | 0.000606 | 0.003634 | |
qwen3.7-flash | 0~32 | 0.000037 | 0.000161 |
32~256 | 0.000124 | 0.000495 | |
256~1,000 | 0.000247 | 0.000989 | |
qwen3.6-flash | 0~256 | 0.000309 | 0.001855 |
256~1,000 | 0.001236 | 0.004947 | |
qwen3.5-flash | 0~128 | 0.00012 | 0.000485 |
128~256 | 0.00012 | 0.000485 | |
256~1,000 | 0.000198 | 0.000485 | |
qwen3.5-omni-plus | 0~1,000 | Text/image/video tokens: 0.001731; Audio tokens: 0.013605 | Text tokens: 0.010265; Audio tokens: 0.054416 |
qwen3.5-omni-flash | 0~1,000 | Text/image/video tokens: 0.000495; Audio tokens: 0.00371 | Text tokens: 0.002721; Audio tokens: 0.014717 |
qwen-vl-ocr | 0~1,000 | 0.000085 | 0.000194 |
qwen-mt-plus | 0~1,000 | 0.00298 | 0.008926 |
qwen-mt-flash | 0~1,000 | 0.000194 | 0.000593 |
For details about how text, images, videos, and audio of the Qwen-Omni series are converted into tokens, see Qwen-Omni: rules for converting audio, images, and videos into tokens.
DeepSeek
Chinese mainland
Model | Input range (1K tokens) | Input (USD/1K tokens) | Output (USD/1K tokens) |
deepseek-v4-pro | 0~1,000 | 0.00198 | 0.003961 |
deepseek-v4-flash-0731 | 0~1,000 | 0.000165 | 0.00033 |
Outside the Chinese mainland
Model | Input range (1K tokens) | Input (USD/1K tokens) | Output (USD/1K tokens) |
deepseek-v4-pro | 0~1,000 | 0.002968 | 0.005936 |
deepseek-v4-flash-0731 | 0~1,000 | 0.000247 | 0.000495 |
GLM
Chinese mainland
Model | Input range (1K tokens) | Input (USD/1K tokens) | Output (USD/1K tokens) |
glm-5.2 | 0~1,000 | 0.00132 | 0.004621 |
Outside the Chinese mainland
Model | Input range (1K tokens) | Input (USD/1K tokens) | Output (USD/1K tokens) |
glm-5.2 | 0~1,000 | 0.001731 | 0.005442 |
Embedding
Chinese mainland
Model | Input type | Input (USD/1K tokens) |
qwen3.7-text-embedding | Text | 0.000083 |
text-embedding-v4 | Text | 0.000083 |
qwen3-vl-embedding | Text | 0.000116 |
Image | 0.000297 |
Outside the Chinese mainland
Model | Input type | Input (USD/1K tokens) |
text-embedding-v4 | Text | 0.000085 |
Rerank
Chinese mainland
Model | Input type | Input (USD/1K tokens) |
qwen3-rerank | Text | 0.000083 |
qwen3-vl-rerank | Text | 0.000116 |
Image | 0.000297 |
Outside the Chinese mainland
Model | Input type | Input (USD/1K tokens) |
qwen3-rerank | Text | 0.000124 |
Qwen-Audio-TTS
Speech synthesis models are billed by input token usage. 1 character = 1.5 tokens.
Chinese mainland
Model | Input (USD/1K tokens) |
qwen-audio-3.0-tts-plus | 0.015402 |
qwen-audio-3.0-tts-flash | 0.011002 |
Outside the Chinese mainland
Model | Input (USD/1K tokens) |
qwen-audio-3.0-tts-plus | 0.01649 |
qwen-audio-3.0-tts-flash | 0.012367 |
CosyVoice
Speech synthesis models are billed by input token usage. 1 character = 1.5 tokens.
Chinese mainland
Model | Input (USD/1K tokens) |
cosyvoice-v3.5-plus | 0.016503 |
cosyvoice-v3.5-flash | 0.008801 |
Qwen-Audio-ASR
Speech recognition models are billed by the duration of the input audio.
Chinese mainland
Model | Input (USD/second) |
qwen-audio-3.0-asr-flash-filetrans | 0.000036 |
qwen-audio-3.0-asr-flash | 0.000036 |
Outside the Chinese mainland
Model | Input (USD/second) |
qwen-audio-3.0-asr-flash-filetrans | 0.000043 |
qwen-audio-3.0-asr-flash | 0.000043 |
Fun-ASR
Speech recognition models are billed by the duration of the input audio.
Chinese mainland
Model | Input (USD/second) |
fun-asr | 0.000036 |
Outside the Chinese mainland
Model | Input (USD/second) |
fun-asr | 0.000043 |
Qwen-Image
Image generation models are billed by the number of input and output images.
Chinese mainland
Model | Output specification | Input (USD/image) | Output (USD/image) |
qwen-image-3.0 | 1k | 0.003301 | 0.029705 |
2k | 0.003301 | 0.029705 | |
qwen-image-3.0-pro | 1k | 0.003301 | 0.041256 |
2k | 0.003301 | 0.082513 |
Outside the Chinese mainland
Model | Output specification | Input (USD/image) | Output (USD/image) |
qwen-image-3.0 | 1k | 0.00371 | 0.037102 |
2k | 0.00371 | 0.037102 | |
qwen-image-3.0-pro | 1k | 0.00371 | 0.049469 |
2k | 0.00371 | 0.092755 |
HappyHorse
Video generation models are billed by output duration.
Chinese mainland
Model | Output specification | Output (USD/second) |
happyhorse-1.1-t2v | 480P | 0.074262 |
720P | 0.148523 | |
1080P | 0.198031 | |
happyhorse-1.1-i2v | 480P | 0.074262 |
720P | 0.148523 | |
1080P | 0.198031 | |
happyhorse-1.1-r2v | 480P | 0.074262 |
720P | 0.148523 | |
1080P | 0.198031 |
Outside the Chinese mainland
Model | Output specification | Output (USD/second) |
happyhorse-1.1-t2v | 480P | 0.086571 |
720P | 0.173143 | |
1080P | 0.222612 | |
happyhorse-1.1-i2v | 480P | 0.086571 |
720P | 0.173143 | |
1080P | 0.222612 | |
happyhorse-1.1-r2v | 480P | 0.086571 |
720P | 0.173143 | |
1080P | 0.222612 |
Cache Token Billing Coefficients
Cost of cache tokens = base input unit price of the corresponding model × billing coefficient × token usage. For more information, see Context Cache.
Except for models that are otherwise specified, the cache token billing coefficients are as follows:
Token type | Billing coefficient | Description |
Implicit cache hit | ×0.2 | Billed at 20% of the base input price |
Explicit cache creation | ×1.25 | Billed at 125% of the base input price |
Explicit cache hit | ×0.1 | Billed at 10% of the base input price |
Billing Example
Scenario: Using qwen3.6-plus in the China North 2 (Beijing) region (input range 0~256K tokens), with cumulative consumption of 5,000K input tokens and 1,200K output tokens.
Fee Calculation:
Input fee: 5,000 × 0.00033 = 1.65 USD
Output fee: 1,200 × 0.00198 = 2.376 USD
Total: 4.026 USD
Scenario (billed by number of images): Using qwen-image-3.0 in the China North 2 (Beijing) region (output specification 1k), with 20 reference images uploaded and 100 images generated.
Fee Calculation:
Input image fee: 20 × 0.003301 = 0.06602 USD
Output image fee: 100 × 0.029705 = 2.9705 USD
Total: 3.03652 USD
Scenario (billed by duration - video generation): Using happyhorse-1.1-t2v in the China North 2 (Beijing) region (output specification 720P) to generate ten 5-second videos, with a total output duration of 50 seconds.
Fee Calculation:
Video generation fee: 50 × 0.148523 = 7.42615 USD
Total: 7.42615 USD
Scenario (billed by duration - speech recognition): Using qwen-audio-3.0-asr-flash in the China North 2 (Beijing) region to recognize audio, with a total recognition duration of 3,600 seconds.
Fee Calculation:
Speech recognition fee: 3,600 × 0.000036 = 0.1296 USD
Total: 0.1296 USD
Bill Details
Bills are itemized by region, workspace ID, Flink usage type, model, token type or usage type, and input range or output specification.
Download Bills
Log on to the Bill Details page and select the billing period.
Set Product to Realtime Compute for Apache Flink, and set Product Name to Realtime Compute for Apache Flink_AI_PAYG_International, and click Search.
Click the export icon in the upper-right corner of the bill list to download the bill.
Open the bill file and locate the Instance ID (billing granularity) column. This field is separated by semicolons (;) in the following format:
Models billed by token:
Region;Workspace ID;Project Name;Flink Usage;Model;Token Type;Input RangeSegment
Description
Region
Region of the workspace
Workspace ID
Unique identifier of the Flink workspace
Project Name
Currently empty; reserved field
Flink Usage
Model usage scenario; valid values:
ai_functionorflink_agentsModel
Name of the invoked LLM
Token Type
Input Token or Output Token
Input Range
Upper bound marker of the input token range, such as 128, 256, 1000, etc.
Models billed by duration or number of images:
Region;Workspace ID;Project Name;Flink Usage;Model;Output Specification;Usage TypeSegment
Description
Region
Region of the workspace
Workspace ID
Unique identifier of the Flink workspace
Project Name
Currently empty; reserved field
Flink Usage
Model usage scenario; valid values:
ai_functionorflink_agentsModel
Name of the invoked LLM
Output Specification
For models billed by number of images: the image resolution, such as 1k, 2k, or 4k.
For models billed by duration: the video resolution for video generation models, such as 480P, 720P, or 1080P. Speech recognition (ASR) models do not distinguish output specifications and are marked as all.
Usage Type
For models billed by number of images: input images and output images.
For models billed by duration: input duration and output duration.
Overdue Payment
After an overdue payment occurs, the service is suspended and all jobs that use built-in models cannot invoke models.
The service is automatically restored after you top up your account.
Model invocation requests during the overdue period are not processed, and the corresponding jobs may fail.
Stop Billing
To stop AI service billing, click Disable Service on the AI Service page in the console. After you disable the service:
All jobs will be unable to call the built-in model service.
No further AI service invocation fees will be incurred.
Workspace CU compute resource fees are not affected.
Before disabling the AI service, ensure that no jobs depend on built-in models. Otherwise, jobs may fail at runtime.