Verified November 2026

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.

$0.05Input / 1M tokens
$0.20Output / 1M tokens
$0.005Cached input / 1M
131,072Context window

Price list

Qwen 3 8B rates in USD per 1M tokens, November 2026
Token classRate / 1MNotes
Input$0.05Prompt tokens not served from cache
Cached input$0.00590% below base input
Cache write—Not billed per token
Output$0.204.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.

WorkloadRequestsTokensEstimated cost
Support chat1,0004K in / 600 out$0.32
RAG with caching1,00050K in (45K cached) / 1K out$0.677
Nightly batch job10,00010K 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.

ModelProviderInputOutputBlended
Qwen 3 8BAlibaba (Qwen)$0.05$0.20$0.10
Mistral SmallMistral AI$0.10$0.30$0.175
Mistral NemoMistral AI$0.15$0.15$0.188
GPT-6 LunaOpenAI$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

Run these numbers in the calculator