Skip to main content
Watch: I Built an AI App Without Leaving Databricks

Alibaba Cloud (Qwen) - Closed weights

Qwen3-Coder-Flash pricing and specs

Qwen3-Coder-Flash is a closed-weights model from Alibaba Cloud (Qwen) that costs $0.30 per 1M input tokens and $1.50 per 1M output tokens on the first-party API, with a 1M-token context window.

Last verified from alibabacloud.com. All sources

Input / 1M
$0.30
Output / 1M
$1.50
Context
1M tokens
Weights
Closed

Pricing per 1M tokens

ItemPrice / 1M tokens
InputPrompts up to 32,000 tokens$0.30
OutputPrompts up to 32,000 tokens$1.50
Cache readPrompts up to 32,000 tokens$0.03
Cache write (5 minutes)Prompts up to 32,000 tokens$0.375
Long-context inputPrompts over 32,000 tokens$0.50
Long-context outputPrompts over 32,000 tokens$2.50

Note: International (Singapore) list prices. The text generation page lists it as a legacy model. Four input-length tiers, each billing the whole request: up to 32K $0.3 / $1.5; 32K to 128K $0.5 / $2.5 (recorded as long-context pricing); 128K to 256K $0.8 / $4; 256K to 1M $1.6 / $9.6. cache read/cache write are explicit-cache read and creation for the up-to-32K tier; implicit cache hits are $0.06 in that tier. The alias currently points to qwen3-coder-flash-2025-07-28. The console states context 1M and max output 64K; recorded as 1,000,000 and 65,536.

Specs

Context window
1,000,000 tokens
Max output
65,536 tokens
Release date
Provider
Alibaba Cloud (Qwen)
API model id
qwen3-coder-flash
Weights
Closed weights

What Qwen3-Coder-Flash costs in practice

Worked from the standard list rates above, with the math shown so you can swap in your own token counts. These use the base rates, which apply while each request's prompt stays at or under 32,000 tokens; above that, Qwen3-Coder-Flash bills $0.50 input and $2.50 output for the whole request.

One agent session

1M input tokens and 100K output tokens, no caching.

  • Input1M x $0.30 = $0.30
  • Output0.1M x $1.50 = $0.15

$0.45per session

A chat app

10,000 requests a day at 2K input and 500 output tokens each.

  • Input20M x $0.30 = $6.00
  • Output5M x $1.50 = $7.50

$13.50per day

$405.00 per 30-day month

The same session at a 90% cache hit

90% of the input is read from the prompt cache. The one-time cache write premium is not included.

  • Cached input0.9M x $0.03 = $0.027
  • Uncached input0.1M x $0.30 = $0.03
  • Output0.1M x $1.50 = $0.15

$0.207per session

Compare with

ModelInput / 1MOutput / 1M
Qwen3-Coder-Flash (this page)$0.30$1.50
Aya Expanse 32BCohere$0.50$1.50
Gemini 3.1 Flash-LiteGoogle$0.25$1.50
GPT-3.5 TurboOpenAI$0.50$1.50
Mistral Large 3Mistral AI$0.50$1.50
Qwen3.6-FlashAlibaba Cloud (Qwen)$0.25$1.50
Qwen3-VL-PlusAlibaba Cloud (Qwen)$0.20$1.60
Qwen3.7-PlusAlibaba Cloud (Qwen)$0.40$1.60
Qwen-PlusAlibaba Cloud (Qwen)$0.40$1.20
Qwen3.5-35B-A3BAlibaba Cloud (Qwen)$0.25$2
Qwen3.5-Omni-FlashAlibaba Cloud (Qwen)$0.40$2.20

FAQ

How much does Qwen3-Coder-Flash cost per million tokens?

Qwen3-Coder-Flash costs $0.30 per 1M input tokens and $1.50 per 1M output tokens on Alibaba Cloud (Qwen)'s first-party API, per alibabacloud.com on October 17, 2026. Per 1M tokens, cache reads cost $0.03. Prompts over 32,000 tokens are billed at $0.50 input and $2.50 output for the whole request.

What is Qwen3-Coder-Flash's context window?

Qwen3-Coder-Flash has a 1,000,000-token context window and returns up to 65,536 output tokens per response.

Are Qwen3-Coder-Flash's weights open?

No. Qwen3-Coder-Flash is a closed-weights model. You call it through Alibaba Cloud (Qwen)'s API as qwen3-coder-flash.

When was Qwen3-Coder-Flash released?

Alibaba Cloud (Qwen) released Qwen3-Coder-Flash on July 29, 2025.

Sources

Last verified from alibabacloud.com.

Newsletter

Get model price changes as they ship

One email per week. New model releases, price cuts and what they mean for your bill.