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
| Rate | Input $/MTok | Output $/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.
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.
Estimated cost per API call using default token counts for each workload.
| Use case | Input tokens | Output tokens | Cost / call |
|---|---|---|---|
| Code Generation | 2,000 | 4,000 | $0.002180 |
| Unit Test Generation | 3,000 | 5,000 | $0.002800 |
| SQL Generation | 1,500 | 1,000 | $0.000695 |
| API Generation | 3,000 | 6,000 | $0.003270 |
| Code Refactoring | 4,000 | 4,000 | $0.002480 |
| Code Review | 5,000 | 2,000 | $0.001690 |
| PR Review | 8,000 | 3,000 | $0.002610 |
| Security Review | 6,000 | 2,500 | $0.002075 |
| Bug Detection | 5,000 | 2,000 | $0.001690 |
| Document Summarization | 10,000 | 1,000 | $0.001970 |
| PDF Summarization | 15,000 | 1,500 | $0.002955 |
| Meeting Notes | 8,000 | 2,000 | $0.002140 |
Projected monthly spend at different call volumes, using code generation as a representative workload (2,000 input / 4,000 output tokens per call).
| Calls / month | Without caching | With 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.
Same-tier models from other providers, sorted by input price.
| Model | Provider | Input $/MTok | Output $/MTok | Input savings |
|---|---|---|---|---|
| GPT 5 Nano | GPT | $0.05 | $0.40 | 67% cheaper |
| Claude Haiku 5.5 | Claude | $0.10 | $0.50 | 33% cheaper |
| GPT 4.1 Nano | GPT | $0.10 | $0.40 | 33% cheaper |
| GPT 6 Luna | GPT | $0.10 | $0.50 | 33% cheaper |
| Gemini 2.5 Flash-Lite | Gemini | $0.10 | $0.40 | 33% cheaper |
| GPT 4o Mini | GPT | $0.15 | $0.60 | Same price |
| DeepSeek Flash | DeepSeek | $0.15 | $0.60 | Same price |
| GPT 5.6 Luna | GPT | $0.20 | $1.20 | 33% more |
| GPT 5.4 Nano | GPT | $0.20 | $1.25 | 33% more |
| GPT 5 Mini | GPT | $0.25 | $2.00 | 67% more |
| Gemini 3.1 Flash-Lite | Gemini | $0.25 | $1.50 | 67% more |
| Gemini 3.5 Flash-Lite | Gemini | $0.30 | $2.50 | 100% more |
| Gemini 2.5 Flash | Gemini | $0.30 | $2.50 | 100% more |
| GPT 4.1 Mini | GPT | $0.40 | $1.60 | 167% more |
| GPT 3.5 Turbo | GPT | $0.50 | $1.50 | 233% more |
| GPT 3.5 Turbo (0125) | GPT | $0.50 | $1.50 | 233% more |
| Gemini 3 Flash | Gemini | $0.50 | $3.00 | 233% more |
| GPT 5.4 Mini | GPT | $0.75 | $4.50 | 400% more |
| Gemini 3.6 Flash | Gemini | $0.75 | $3.75 | 400% more |
| Gemini 3.7 Flash | Gemini | $0.75 | $3.75 | 400% more |
| Gemini 3.8 Flash | Gemini | $0.75 | $3.75 | 400% more |
| Claude Haiku 4.5 | Claude | $1.00 | $5.00 | 567% more |
| Gemini Robotics ER 2 | Gemini | $1.00 | $5.00 | 567% more |
| Grok Build 0.1 | Grok | $1.00 | $2.00 | 567% more |
| o3 Mini | GPT | $1.10 | $4.40 | 633% more |
| o4 Mini | GPT | $1.10 | $4.40 | 633% more |
| Gemini 2.5 Computer Use | Gemini | $1.25 | $10.00 | 733% more |
| Gemini 3.5 Flash | Gemini | $1.50 | $9.00 | 900% more |
| Gemini Omni 1.1 Flash | Gemini | $1.50 | $9.00 | 900% more |
| Gemini Omni Flash | Gemini | $1.50 | $9.00 | 900% more |
See exactly how much you spend on Qwen 3.8 Flash and where you can save. Two-line wrapper install, no API keys shared.