Qwen3 4B

by Alibaba

Qwen3-4B-FP8 is the FP8-quantized build of the 4 billion parameter model, aimed at on-device and edge inference with a small memory footprint while retaining instruction-following capability. The fine-grained quantization with a 128 block size trims memory needs for smaller hardware. Despite its compact size, the model supports switchable thinking and non-thinking modes: it can generate step-by-step reasoning in think blocks for mathematics, logic, and coding, or answer directly for conversational tasks. It supports a 128K context window for longer documents and code files, along with tool calling for agentic applications. Drawing on the broad pretraining of the Qwen3 family and strong multilingual coverage across 100+ languages, Qwen3-4B competes with larger models from earlier generations on general knowledge and reasoning. It suits mobile devices, embedded systems, rapid prototyping, and latency-sensitive scenarios. Open-weight under Apache 2.0.

Key info

Input
Output
Features
Context window
128K
Max output
8K

Available routes

No routes currently available — Qwen3 4B isn't routed through the Opper gateway right now. It may return.

Contact us about this model →

Available models from Alibaba

Start building with 700+ models

One API key. Every major provider. Up and running in minutes.

Get startedView Documentation
Qwen3 4B by Alibaba — not currently on Opper | Opper AI