Qwen3 8B pricing & specs

Alibaba (Qwen) · released 2025-04-01 · ● verified 2026-11-17 · deprecated

This model is deprecated. Cheapest compatible replacement: Gemma 4 E2B IT.

input / 1M$0.18
output / 1M$0.70
context131.1K
max output8.2K

Qwen3 8B is an Alibaba (Qwen) model released on 2025-04-01. At $0.18 per million input tokens and $0.70 per million output tokens, its blended price of $0.31 per 1M tokens is lower than 72% of the 185 models we track. It offers text input, a 131.1K-token context window, built-in reasoning and tool calling. Its weights are open, so it can also be self-hosted.

// price history ($/1M tokens)

$0.805
input $/1Moutput $/1M2025-04-01 → 2026-11-17

// cheaper or similar alternatives

modelinoutctxvs Qwen3 8B
Gemma 4 E2B IT$0.04$0.08131.1K−83.9%
Qwen3.7 Flash$0.03$0.131M−82.3%
GPT OSS 20B$0.03$0.14131.1K−81.5%
GPT OSS 120B$0.037$0.17131.1K−77.3%
DeepSeek V4 Flash 0731$0.06$0.181.05M−71%

// embed this price badge

Show the live price of Qwen3 8B in your README or docs (updated daily):

Qwen3 8B API price badge
[![Qwen3 8B price](https://aisignals.dev/badge/alibaba/qwen3-8b.svg)](https://aisignals.dev/models/alibaba/qwen3-8b)

// faq

How much does Qwen3 8B cost?

Qwen3 8B costs $0.18 per million input tokens and $0.70 per million output tokens. At 50M input and 10M output tokens per month that is about $16.00.

What is the context window of Qwen3 8B?

131.1K tokens, with up to 8.2K output tokens per request.

What are cheaper alternatives to Qwen3 8B?

Gemma 4 E2B IT ($0.04 in / $0.08 out), Qwen3.7 Flash ($0.03 in / $0.13 out), GPT OSS 20B ($0.03 in / $0.14 out) offer the same input types and capabilities for less.

Is Qwen3 8B open weights?

Yes.

// spec sheet

input / 1M
$0.18
output / 1M
$0.70
blended (3:1)
$0.31
context
131.1K
max output
8.2K
input types
text
reasoning
yes
tool calling
yes
structured output
no
open weights
yes
knowledge cutoff
2025-04
price source
Alibaba (Qwen)

report a data error

// cost calculator

modelin $/1Mout $/1M= monthly
Gemma 4 E2B IT$0.04$0.08$2.80
Qwen3.7 Flash$0.03$0.13$2.80
GPT OSS 20B$0.03$0.14$2.90
Qwen3 8B$0.18$0.70$16.00

Base-tier list prices. Long-context tiers, caching and batch discounts are not included.