---
last_updated: 2026-11-28
source_url: https://opper.ai/alibaba/qwen3-4b-fp8
title: "Qwen3 4B by Alibaba"
description: "Qwen3 4B FP8 by Alibaba, a compact quantized model with switchable thinking mode for on-device inference."
---

# Qwen3 4B

By [Alibaba](https://opper.ai/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: Text
- Output: Text
- Features: Reasoning, Tools
- 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 [hello@opper.ai](mailto:hello@opper.ai) about this model.

## Available models from Alibaba

- [Qwen4-Max](https://opper.ai/alibaba/qwen4-max)
- [Qwen3.8 Max](https://opper.ai/alibaba/qwen3-8-max)
- [Qwen3.8 27B](https://opper.ai/alibaba/qwen3-8-27b)
- [Qwen3.8-2.4T-A95B](https://opper.ai/alibaba/qwen3-8-2-4t-a95b)
- [Qwen3.8 Flash-Next](https://opper.ai/alibaba/qwen3-8-flash-next)
- [Qwen3.7-Max](https://opper.ai/alibaba/qwen3-7-max)
