SAVRN
Search Contact SAVRN

Open-weight model · Text generation

Qwen3-4B-Instruct-2507

by Qwen Qwen/Qwen3-4B-Instruct-2507

We introduce the updated version of the Qwen3-4B non-thinking mode, named Qwen3-4B-Instruct-2507, featuring the following key enhancements: - Significant improvements in general capabilities, including instruction following, logical reasoning, text…

Parameters4B
Context262,144
Weights8.0 GB
Licenseapache-2.0
AccessOpen weights
Monthly Downloads4M

Runs On

What it takes to serve Qwen3-4B-Instruct-2507 (4B parameters): the memory its weights need at each precision, and the cheapest way to rent enough data-center GPUs to hold them.

PrecisionWeightsMemory neededCheapest setupPer hourAlso fits
16-bit 8.0 GB 9.7 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
8-bit 4.0 GB 4.8 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00
4-bit 2.0 GB 2.4 GB 1x MI300X (192 GB)
Vultr
$1.85 1x H100 $1.99 · 1x MI325X $2.00

Memory is the weights at that precision plus 20% for the runtime and a short context; a long context needs more. Prices are the lowest on-demand hourly rates in the SAVRN Index, read Sep 18, 2026.

Model Card

By Qwen, published under apache-2.0, revision cdbee75f17c0.

Highlights

We introduce the updated version of the Qwen3-4B non-thinking mode, named Qwen3-4B-Instruct-2507, featuring the following key enhancements:

  • Significant improvements in general capabilities, including instruction following, logical reasoning, text comprehension, mathematics, science, coding and tool usage.
  • Substantial gains in long-tail knowledge coverage across multiple languages.
  • Markedly better alignment with user preferences in subjective and open-ended tasks, enabling more helpful responses and higher-quality text generation.
  • Enhanced capabilities in 256K long-context understanding.

Model Overview

Qwen3-4B-Instruct-2507 has the following features: - Type: Causal Language Models - Training Stage: Pretraining & Post-training - Number of Parameters: 4.0B - Number of Paramaters (Non-Embedding): 3.6B - Number of Layers: 36 - Number of Attention Heads (GQA): 32 for Q and 8 for KV - Context Length: 262,144 natively.

NOTE: This model supports only non-thinking mode and does not generate <think></think> blocks in its output. Meanwhile, specifying enable_thinking=False is no longer required.

Read the full model card (860 words)

Configuration

Architecture
Qwen3ForCausalLM
Context length (tokens)
262,144
Layers
36
Hidden size
2,560
Feed-forward size
9,728
Attention heads
32
Key/value heads
8
Head dimension
128
Vocabulary size
151,936
RoPE base
5,000,000
Stored precision
bfloat16
Model type
qwen3

Identity and Version

Repository
Qwen/Qwen3-4B-Instruct-2507
Publisher
Qwen
Task
Text generation
Modality
Text
Library
transformers
Parameters
4B parameters
Languages
Not stated by the source
Revision
cdbee75f17c01a7cc42f958dc650907174af0554
First published
2025-08-05
Last updated
2025-09-17

Files and Weights

13 files, 8.1 GB in total. The weights are 3 files totalling 8.0 GB in safetensors.

Weights3 files · 8.0 GB
Configuration3 files · 33.8 KB
Tokenizer4 files · 15.9 MB
Documentation2 files · 19.5 KB
Repository1 file · 1.6 KB
Every file
FileTypeSizeSHA-256
model-00001-of-00003.safetensorsWeights4.0 GB 75311d91bb08
model-00002-of-00003.safetensorsWeights4.0 GB 0b48adbb1f60
model-00003-of-00003.safetensorsWeights99.6 MB 7dd39ccca5e4
config.jsonConfiguration727 B
generation_config.jsonConfiguration238 B
model.safetensors.index.jsonConfiguration32.8 KB
LICENSEDocumentation11.3 KB
README.mdDocumentation8.2 KB
.gitattributesRepository1.6 KB
merges.txtTokenizer1.7 MB
tokenizer.jsonTokenizer11.4 MB aeb13307a71a
tokenizer_config.jsonTokenizer9.4 KB
vocab.jsonTokenizer2.8 MB

License and Download

License
apache-2.0
Access
Open weights, no gate
Download size
8.0 GB
Download from Qwen

Released by Qwen through ModelScope. Read the license.

Built From

Evaluations

Each result is shown as reported, with the conditions its reporter stated. None is a SAVRN measurement. A comparison lines two results up only when their configuration, unit and setup are all stated and identical.

BenchmarkConditionsResultReported byRevisionDate
Idavidrein/gpqa Task diamondMetric diamondComparison conditions not established 62 Model Card
Reported by a third party
Evaluated revision not stated 2026-01-27
TIGER-Lab/MMLU-Pro Task mmlu_proMetric mmlu_proComparison conditions not established 69.6 Model Card
Reported by a third party
Evaluated revision not stated 2026-02-03

Memory Requirements

PrecisionWeights in memory
As published8.0 GB
16-bit8.0 GB
8-bit4.0 GB
4-bit2.0 GB

Weights only, from the published parameter count; the key-value cache and runtime add to this.

Hosted Prices

HostInput / outputUnitObserved
Nscale$0.01 / $0.03input / output, per million tokensSep 18, 2026

From the SAVRN Index.

Built on This Model

Compare Qwen3-4B-Instruct-2507

Questions About Qwen3-4B-Instruct-2507

How much GPU memory does Qwen3-4B-Instruct-2507 need?

About 9.7 GB at 16-bit and 2.4 GB at 4-bit: the weights (4B parameters) plus a working margin. A long context needs more.

What is the cheapest GPU to run Qwen3-4B-Instruct-2507 on?

At 16-bit, 1x MI300X from $1.85 an hour; at 4-bit, 1x MI300X from $1.85 an hour, at the lowest on-demand prices the SAVRN Index lists.

Can I use Qwen3-4B-Instruct-2507 commercially?

Yes. Qwen3-4B-Instruct-2507 is released under Apache License 2.0. The Apache License 2.0 is a permissive open-source license. It permits commercial use, modification and redistribution. It requires keeping the license and copyright notices and any NOTICE file, stating significant changes, and it includes an express patent grant from contributors.

What is Qwen3-4B-Instruct-2507's context length?

262,144 tokens, from the maximum position embeddings in its published configuration.

Similar Models

Model · Text generation

Qwen3-4B

Qwen

Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models. Built upon extensive training, Qwen3 delivers groundbreaking advancements in reasoning, instruction-following, agent capabilities, and multilingual support, with the following key features: - Uniquely support of seamless switching between thinking mode (for complex logical reasoning, math, and coding) and non-thinking mode (for efficient, general-purpose dialogue) within single model, ensuring optimal performance across various scenarios. - Significantly enhancement in its reasoning capabilities, surpassing previous QwQ (in thinking mode) and…

Open weights apache-2.0 4B parameters 40,960 tokens transformers

Model · Text generation

Qwen3-4B-Base

Qwen

Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models. Building upon extensive advancements in training data, model architecture, and optimization techniques, Qwen3 delivers the following key improvements over the previously released Qwen2.5: Qwen3-4B-Base has the following features: For more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our blog, GitHub, and Documentation. The code of Qwen3 has been in the latest Hugging Face transformers and we advise you to use the latest version of transformers. With transformers<4.51.0, you will…

Open weights apache-2.0 4B parameters 32,768 tokens transformers

Model · Text generation

qwen3-4b-base-dapo-v4

Reliquary

Qwen3 is the latest generation of large language models in Qwen series, offering a comprehensive suite of dense and mixture-of-experts (MoE) models. Building upon extensive advancements in training data, model architecture, and optimization techniques, Qwen3 delivers the following key improvements over the previously released Qwen2.5: Qwen3-4B-Base has the following features: For more details, including benchmark evaluation, hardware requirements, and inference performance, please refer to our blog, GitHub, and Documentation. The code of Qwen3 has been in the latest Hugging Face transformers and we advise you to use the latest version of transformers. With transformers<4.51.0, you will…

Open weights apache-2.0 4B parameters 32,768 tokens transformers

Model · Text generation

RL-fromscratch

Tangyunbo

We introduce the updated version of the Qwen3-4B non-thinking mode, named Qwen3-4B-Instruct-2507, featuring the following key enhancements: - Significant improvements in general capabilities, including instruction following, logical reasoning, text comprehension, mathematics, science, coding and tool usage. - Substantial gains in long-tail knowledge coverage across multiple languages. - Markedly better alignment with user preferences in subjective and open-ended tasks, enabling more helpful responses and higher-quality text generation. - Enhanced capabilities in 256K long-context understanding. Qwen3-4B-Instruct-2507 has the following features: NOTE: This model supports only non-thinking…

Open weights apache-2.0 4B parameters 262,144 tokens transformers

This model is a fine-tuned version of cosmos1030/gmp-kd3e-1-s80pct-lr1e-420260916220740 on the trl-lib/ultrafeedbackbinarized dataset. It has been trained using TRL. This model was trained with DPO, a method introduced in Direct Preference Optimization: Your Language Model is Secretly a Reward Model.

Open weights 4B parameters 40,960 tokens transformers

Model · Text generation

qwen3-4b-ablation-poe-no-base

Yu

The full ImmuneCoT method fuses the two safety branches with a Base-adjusted product-of-experts Qimm(v) ∝ q̃rec(v)·q̃res(v)/qB(v). This checkpoint uses the naive fusion Qno-base(v) ∝ q̃rec(v)·q̃res(v) — the same branch weights (λrec=0.5, λres=0.7) but no division by the base distribution — isolating whether the gains come from combining Recognition+Response at all, or specifically from the Base-adjusted PoE term. Intended use: research reproducibility for the ImmuneCoT paper's RQ3 ablation.

Open weights apache-2.0 4B parameters 40,960 tokens transformers