Alibaba (Qwen)/Fast / Budget

Qwen 3.8 Flash

Qwen 3.8 Flash is Alibaba (Qwen)'s fastest and most affordable model, priced at $0.15/MTok input and $0.47/MTok output with a 1M context window. Prices from help.aliyun.com/en/model-studio (qwen3.8-flash, read 2026-10-11). Cache hit: $0.016/MTok input. Not yet benchmarked, so never recommended.

Input $/MTok

$0.15

Output $/MTok

$0.47

Context window

1M

Cache read discount

89% off

Qwen 3.8 Flash pricing breakdown

RateInput $/MTokOutput $/MTok
Standard$0.15$0.47
Cached read (89% off input)$0.02-
Cached write (no surcharge)$0.15-
Batch (50% off)$0.07$0.23

All rates in USD per million tokens. Prices verified against provider documentation.

Qwen 3.8 Flash task benchmarks

Confidence scores (0-100) and cross-provider rank for each task type. Rank 1 is best across all 88 models.

Not benchmarked. The third-party benchmark source used for confidence scores does not cover Alibaba (Qwen) models yet. Scores will appear here once independent benchmarks are published.

Qwen 3.8 Flash cost by use case

Estimated cost per API call using default token counts for each workload.

Use caseInput tokensOutput tokensCost / call
Code Generation2,0004,000$0.002180
Unit Test Generation3,0005,000$0.002800
SQL Generation1,5001,000$0.000695
API Generation3,0006,000$0.003270
Code Refactoring4,0004,000$0.002480
Code Review5,0002,000$0.001690
PR Review8,0003,000$0.002610
Security Review6,0002,500$0.002075
Bug Detection5,0002,000$0.001690
Document Summarization10,0001,000$0.001970
PDF Summarization15,0001,500$0.002955
Meeting Notes8,0002,000$0.002140

Monthly cost projections

Projected monthly spend at different call volumes, using code generation as a representative workload (2,000 input / 4,000 output tokens per call).

Calls / monthWithout cachingWith caching (89% read discount)
1K$2.18$1.99
10K$21.8$19.92
100K$218$199.25
500K$1,090$996.24
1M$2,180$1,992.47

Caching estimate assumes 70% of input tokens are cache reads. Your actual cache hit rate will depend on prompt structure and reuse.

Fast / Budget alternatives to Qwen 3.8 Flash

Same-tier models from other providers, sorted by input price.

ModelProviderInput $/MTokOutput $/MTokInput savings
GPT 5 NanoGPT$0.05$0.4067% cheaper
Claude Haiku 5.5Claude$0.10$0.5033% cheaper
GPT 4.1 NanoGPT$0.10$0.4033% cheaper
GPT 6 LunaGPT$0.10$0.5033% cheaper
Gemini 2.5 Flash-LiteGemini$0.10$0.4033% cheaper
GPT 4o MiniGPT$0.15$0.60Same price
DeepSeek FlashDeepSeek$0.15$0.60Same price
GPT 5.6 LunaGPT$0.20$1.2033% more
GPT 5.4 NanoGPT$0.20$1.2533% more
GPT 5 MiniGPT$0.25$2.0067% more
Gemini 3.1 Flash-LiteGemini$0.25$1.5067% more
Gemini 3.5 Flash-LiteGemini$0.30$2.50100% more
Gemini 2.5 FlashGemini$0.30$2.50100% more
GPT 4.1 MiniGPT$0.40$1.60167% more
GPT 3.5 TurboGPT$0.50$1.50233% more
GPT 3.5 Turbo (0125)GPT$0.50$1.50233% more
Gemini 3 FlashGemini$0.50$3.00233% more
GPT 5.4 MiniGPT$0.75$4.50400% more
Gemini 3.6 FlashGemini$0.75$3.75400% more
Gemini 3.7 FlashGemini$0.75$3.75400% more
Gemini 3.8 FlashGemini$0.75$3.75400% more
Claude Haiku 4.5Claude$1.00$5.00567% more
Gemini Robotics ER 2Gemini$1.00$5.00567% more
Grok Build 0.1Grok$1.00$2.00567% more
o3 MiniGPT$1.10$4.40633% more
o4 MiniGPT$1.10$4.40633% more
Gemini 2.5 Computer UseGemini$1.25$10.00733% more
Gemini 3.5 FlashGemini$1.50$9.00900% more
Gemini Omni 1.1 FlashGemini$1.50$9.00900% more
Gemini Omni FlashGemini$1.50$9.00900% more

Track your Qwen 3.8 Flash spend

See exactly how much you spend on Qwen 3.8 Flash and where you can save. Two-line wrapper install, no API keys shared.