Qwen3-4B-Instruct-2507
Qwenapache-2.0text

Qwen3-4B-Instruct-2507

Updated Dec 5, 2026
Parameters
4B
Context
262,144
License
apache-2.0
Q4 GGUF
2.5 GB
Updated
Dec 5, 2026

Q4 GGUF download: unsloth/Qwen3-4B-Instruct-2507-GGUF - 2.5 GB on disk, read 2026-10-10. VRAM figures above are estimates; this is the actual file size.

Standard benchmarks

Performance across standard evaluations

BenchmarkScore
MMLU-Pro69.6
GPQA Diamond62

Additional scores from Hugging Face OpenEvals official leaderboards - updated 2026-12-05.

Will it run on your hardware?

Pick your GPU memory - see which quantizations fit, and the cheapest card for the rest

Runs on your 24 GB - best at FP16
4 of 4 quantizations fit Qwen3-4B-Instruct-2507 with real runtime overhead.
Q4_K_M
2 GB
Q5_K_M
3 GB
Q8_0
4 GB
FP16
8 GB
fits tight too big

Need an exact figure for your context length? Use the VRAM calculator.

Run it locally

Copy-paste - running in under a minute

vLLMOpenAI-compatible API
vllm serve Qwen/Qwen3-4B-Instruct-2507

New to this? Start with Ollama · serve to many users with vLLM.

Deep dive

Notes, sources, and the full write-up

Qwen3-4B-Instruct-2507Link to this section

Qwen3-4B-Instruct-2507 is a 4B-parameter apache-2.0 model from Qwen. At Q4_K_M it needs roughly 2 GB of VRAM, placing it in the cpu hardware tier.

SpecificationsLink to this section

SpecValue
Parameters4B
Context length262K tokens
Licenseapache-2.0
Modalitiestext
Released2025-08-05
WeightsQwen/Qwen3-4B-Instruct-2507

VRAM requirementsLink to this section

QuantVRAMRuns on
Q4_K_M~2 GBRTX 4060, RTX 3060 8GB
Q5_K_M~3 GBRTX 4060, RTX 3060 8GB
Q8_0~4 GBRTX 4060, RTX 3060 8GB
FP16~8 GBRTX 4060, RTX 3060 8GB

VRAM is estimated from parameter count; MoE models still need all weights resident.

How to runLink to this section

vLLM:

vllm serve Qwen/Qwen3-4B-Instruct-2507

PopularityLink to this section

Qwen3-4B-Instruct-2507 has 4,833,125 downloads in the last month on HuggingFace and 869 likes.

From the community

What users are saying

“I used the given script for inference with the following prompt. The output always starts with <toolcall> rather than following the specific instruction. And also there is tools are provided, just used the transformer script form the model card.”

“Now I'm using qwen3:4b-thinking-2507-q4KM. So as for me it's absolutely lost ability of instruction following in context of structured output at least. For example, in my case, I set a task to decompose a task and pass Pydantic a schema that specifies description, title types and other parameters for each field.”

“I noticed with all the small Qwen models (4B, VL 4B, 4B instruct), they think that they are other bigger version. They think they are 70B versions or other bigger version and that they are in the cloud.”

Frequently asked

Quick answers to common questions

How much VRAM does Qwen3-4B-Instruct-2507 need?

Qwen3-4B-Instruct-2507 with 4B parameters needs approximately 2 GB at Q4_K_M quantization. Use our VRAM calculator for an exact estimate.

Is Qwen3-4B-Instruct-2507 better than other Qwen models?

Qwen3-4B-Instruct-2507 has 4B parameters with 262,144 context - a strong choice for long-context, edge, general-chat.

What license is Qwen3-4B-Instruct-2507 under?

Qwen3-4B-Instruct-2507 is released under the apache-2.0 license, making it suitable for most commercial and personal projects.

What hardware runs Qwen3-4B-Instruct-2507 well?

With 4B parameters, Qwen3-4B-Instruct-2507 requires adequate VRAM. High-end GPUs like the RTX 4090 (24GB), RTX 5090 (32GB), or Mac Studio with unified memory are good options. Check our hardware directory for specific recommendations.

What is the best quantization for Qwen3-4B-Instruct-2507?

Q4_K_M is the recommended sweet spot - ~98% of FP16 quality at ~27% of the size. Q5_K_M (~3 GB) is an option if you have spare VRAM. Use our VRAM calculator to compare.

How long can Qwen3-4B-Instruct-2507's context window handle?

Qwen3-4B-Instruct-2507 supports a 262,144-token context window - enough for very long documents, codebases, or multi-turn conversations. Real-world usable context may vary by implementation.

What models compete with Qwen3-4B-Instruct-2507?

Qwen3-4B-Instruct-2507 competes with other models in its class. Browse our model directory for comparisons, benchmarks, and community reviews to find the best fit.

Can my GPU run Qwen3-4B-Instruct-2507?

Fit and estimated speed on popular hardware

Nearby options

Similar models and compatible hardware by spec