Home › Models › Qwen 3 8B
Qwen 3 8B API pricing
Qwen 3 8B is a model from Alibaba (Qwen) with a 131,072-token context window. Rates below are per 1,000,000 tokens, verified November 2026.
Price list
| Token class | Rate / 1M | Notes |
|---|---|---|
| Input | $0.05 | Prompt tokens not served from cache |
| Cached input | $0.005 | 90% below base input |
| Cache write |  | Not billed per token |
| Output | $0.20 | 4.0× the input rate |
| Batch API | −50% | Input and output, results within 24 h |
Open weights. Small, fast, cheap. Priced via Alibaba Cloud.
What Qwen 3 8B costs at three real workloads
Sticker prices rarely match the invoice. These three workloads use the rates above, with cache writes charged once per job and the batch discount applied only where the provider offers it.
| Workload | Requests | Tokens | Estimated cost |
|---|---|---|---|
| Support chat | 1,000 | 4K in / 600 out | $0.32 |
| RAG with caching | 1,000 | 50K in (45K cached) / 1K out | $0.677 |
| Nightly batch job | 10,000 | 10K in / 2K out | $4.50 |
Caching the 45K-token prefix saves about 75% on the RAG workload versus sending it uncached every call ($2.70 → $0.677). Batch mode halves the nightly job.
Where Qwen 3 8B sits in the market
Out of 37 models in this dataset, Qwen 3 8B ranks #1 cheapest by input rate, #2 by output rate, and #1 on a blended 1M-input-plus-250K-output workload.
| Model | Provider | Input | Output | Blended |
|---|---|---|---|---|
| Qwen 3 8B | Alibaba (Qwen) | $0.05 | $0.20 | $0.10 |
| Mistral Small | Mistral AI | $0.10 | $0.30 | $0.175 |
| Mistral Nemo | Mistral AI | $0.15 | $0.15 | $0.188 |
| GPT-6 Luna | OpenAI | $0.10 | $0.50 | $0.225 |
Blended cost = 1M input tokens + 250K output tokens at list price.
FAQ
How much does Qwen 3 8B cost per 1M tokens?
$0.05 per 1M input tokens and $0.20 per 1M output tokens on the standard tier.
Is prompt caching cheaper on Qwen 3 8B?
Yes. Cached input bills at $0.005 per 1M tokens, 90.0% below the $0.05 base input rate, with no separate cache-write rate published.
Does Qwen 3 8B support the Batch API?
Yes. Batch requests bill at roughly half the standard input and output rates: the nightly job above costs $9 at list price and about $4.50 in batch mode.
Keep reading
- All Alibaba (Qwen) models and rates
- Every model in the dataset, ranked by price
- Qwen 3 32B vs Qwen 3 8B
- GPT-6 Luna vs Qwen 3 8B
- Claude Haiku 4.5 vs Qwen 3 8B
- Calculate your own monthly cost with the free estimator
Run these numbers in the calculator