Qwen3 4B Instruct is Alibaba's language model with a 262K context window and up to 33K output tokens, available from 2 providers, starting at $0.01 / 1M input and $0.03 / 1M output. An instruction-tuned 4B Qwen3 model offering efficient text generation and reasoning in a small parameter footprint.
Specifications
Canonical IDalibaba-qwen3-4b-instruct
TypeLanguage
StatusActive
CreatorAlibabaAlibaba
Providers
Context Window262K tokens
Max Output33K tokens
Input ModalitiesText
Output ModalitiesText
Parameters4B
Benchmarks
Intelligence Index
6.8
#371
Math Index
52.3
#128
MMLU-Pro
0.6
#249
GPQA
0.4
#391
HLE
0.0
#433
LiveCodeBench
0.2
#240
AIME
0.2
#91
IFBench
0.3
#303
Time to First Token
SciCode
0.2
#384
MATH-500
0.8
#88
AIME 2025
0.5
#128
LCR
0.1
#320
TerminalBench Hard
0.0
#260
TAU2
0.3
#257
Output TPS
0.0
#274

Capabilities

Input1/5
Text
Image·
Audio·
Video·
PDF·
Output1/5
Text
Image·
Audio·
Video·
Embedding·
Capabilities2/13
Reasoning·
Adaptive Reasoning·
Function Calling
Parallel Function Calling·
Structured Outputs
Native JSON Schema·
Web Search·
URL Context·
Computer Use·
Code Execution·
File Search·
Prompt Caching·
Assistant Prefill·

Pricing by Provider

US Dollar ($)
Per 1M tokens
ProviderStandard
Input
$ / 1M
Output
$ / 1M
Fireworks AI logo
Fireworks AI
fireworks_ai/accounts/fireworks/models/qwen3-4b-instruct-2507
$0.2$0.2
Hugging Face logo
Hugging Face
nscale:Qwen/Qwen3-4B-Instruct-2507
$0.01$0.03

Cost Calculator

US Dollar ($)
Preset:

Cheapest Instances to Run It

Cloud GPU instances that can host Qwen3 4B Instruct, ranked by cheapest on-demand price. The model needs about 10 GB of GPU memory at FP16 precision (estimated from its parameter count), so treat the fit as guidance rather than a guarantee.

All clouds
FP16 (full precision)
US Dollar ($)
Instance
Cloud
GPU
VRAM
Price
Cheapest region
Standard_NV4as_v4AzureAMD Radeon Instinct MI2516 GB$0.233/hrwestus2
g5g.xlargeAWST4g16 GB$0.420/hrus-east-1
Standard_NV8as_v4AzureAMD Radeon Instinct MI2516 GB$0.466/hrwestus2
7 more instances can run Qwen3 4B Instruct
Unlock the full ranked list and FP8 / INT4 quantization with a CloudPrice subscription.

Versions

VersionReleasedContextInput / 1MOutput / 1MStatus
Voyage 4 NanoAvailable
Qwen3 Embedding 0.6B33K$0.010Available
Qwen3 Embedding 4B41K$0.020Available
Qwen3 Embedding 8B41K$0.020Available
Qwen3 14B132K$0.060$0.200Available
Qwen3 32B131K$0.050$0.100Deprecated
Qwen3 8B131K$0.035$0.138Available
Qwen3 4B Instruct262K$0.010$0.030Current
KwaiPilot KAT 32B Dev131K$0.900$0.900Available
Qwen3 0.6B41K$0.100$0.100Available
Qwen3 1.7B131K$0.100$0.100Available

Model IDs

accounts/fireworks/models/qwen3-4b-instruct-2507
alibaba-qwen3-4b-instruct
fireworks_ai/accounts/fireworks/models/qwen3-4b-instruct-2507
huggingface-reasoning-qwen3-4b-instruct-2507
lemonade/Qwen3-4B-Instruct-2507-GGUF
qwen3-4b-2507-instruct
qwen3-4b-2507-instruct-reasoning
qwen3-4b-instruct
qwen3-4b-instruct-reasoning