Mindket

Qwen3-4B-Instruct-2507

Newversion 1 · updated

Overview

Answers chat prompts with a 4B model that skips visible thinking and reads up to 256K tokens of context. For developers who want a small open assistant for reasoning, coding and tool use.

Qwen3-4B-Instruct-2507 is a kit in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page, a zip of its files. Nothing in it runs by itself.

At a glance

You need
  • Python with pip
  • A recent transformers release, since versions below 4.51.0 fail with a KeyError for qwen3
  • About 8 GB of disk space for the BF16 weights, or about 2 GB at 4-bit (an estimate)
Runs in
  • Your own computer with Python and the transformers library
  • SGLang or vLLM, which can serve it behind an OpenAI-compatible API
  • Qwen Chat, the hosted chat the card links
Start with
pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-Instruct-2507

About

What it is

Qwen3-4B-Instruct-2507 is the 2507 refresh of Qwen3-4B for the setting that skips thinking. The Qwen team made it. It has 4.0B parameters and answers directly, without writing think blocks. The card lists gains in instruction following, reasoning, math, science, coding and tool use.

Who it suits

Developers and students who want a small open model for chat, reasoning and long documents on modest hardware.

IndustryWho uses itHow they use itExample
SoftwareDevelopersAdd a small assistant to an appAnswer user questions inside a product
EducationStudentsPractice with math and logic promptsWork through a reasoning puzzle
WritingContent teamsDraft and edit text with an open modelWrite a short article draft

If you want a model that shows its reasoning steps, you can skip it, since it supports only non-thinking mode.

Where to use it

  • Your own computer with Python and the transformers library
  • SGLang or vLLM, which can serve it behind an OpenAI-compatible API
  • Qwen Chat, the hosted chat the card links
Use caseWhoWhat they get back
Chat answersAnyoneDirect replies without think blocks
Long documentsAnalystsUnderstanding across up to 262,144 tokens
Tool useDevelopersFunction-calling style answers

How to set it up

  • Python with pip
  • A recent transformers release, since versions below 4.51.0 fail with a KeyError for qwen3
  • About 8 GB of disk space for the BF16 weights, or about 2 GB at 4-bit (an estimate)
  1. Install the Hugging Face hub tool.
  2. Download the model files.
  3. Run the card's Python snippet, which loads the tokenizer and model and prints a reply.
pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-Instruct-2507

How to use it

Send a user message through the chat template, generate, and decode the new tokens. The card's snippet asks for a short introduction to large language models.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Qwen/Qwen3-4B-Instruct-2507"

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)

# prepare the model input
prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

# conduct text completion
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=16384
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()

content = tokenizer.decode(output_ids, skip_special_tokens=True)

print("content:", content)

Example

You run the snippet unchanged. The model writes a short introduction to large language models and the script prints it after the label content.

For newcomers and experts

If you are new, run the snippet and change only the prompt. Because this model never writes think blocks, you do not need to set a thinking flag.

For experts, the card lists 36 layers, 32 query heads and 8 key-value heads, with a native context of 262,144 tokens. For serving, it names sglang 0.4.6.post1 or newer and vllm 0.8.5 or newer.

  1. You write a user message
  2. The chat template formats it
  3. The model answers directly, with no think block
  4. You decode the new tokens

Good to know

The card's table compares this model with the older Qwen3-4B non-thinking mode and two others on AIME25.

AIME25 scores from the card
Qwen3-4B-Instruct-250747.4 points
GPT-4.1-nano22.7 points
Qwen3-30B-A3B Non-Thinking21.6 points
Qwen3-4B Non-Thinking19.1 points
  • License: Apache 2.0, as the Hugging Face record lists it.
  • Cost to run: no API key or account is named. You need hardware that can hold the weights.
  • Data it reaches: downloading reaches Hugging Face. The snippet does not describe reaching other files or the web.
  • Not for: step-by-step reasoning traces. It answers directly and never writes think blocks, so pick another model if you want them.

README and files

README

Qwen3-4B-Instruct-2507

Answers chat prompts with a 4B model that skips visible thinking and reads up to 256K tokens of context. For developers who want a small open assistant for reasoning, coding and tool use.

Made by Qwen on Hugging Face. These notes are Mindket's, written from its model page and model card; the model's own files and license are on Hugging Face.

About

What it is: Qwen3-4B-Instruct-2507 is the 2507 refresh of Qwen3-4B for the setting that skips thinking. The Qwen team made it. It has 4.0B parameters and answers directly, without writing think blocks. The card lists gains in instruction following, reasoning, math, science, coding and tool use.

Who it suits: Developers and students who want a small open model for chat, reasoning and long documents on modest hardware.

Industry | Who uses it | How they use it | Example
Software | Developers | Add a small assistant to an app | Answer user questions inside a product
Education | Students | Practice with math and logic prompts | Work through a reasoning puzzle
Writing | Content teams | Draft and edit text with an open model | Write a short article draft

If you want a model that shows its reasoning steps, you can skip it, since it supports only non-thinking mode.

Where to use it:

  • Your own computer with Python and the transformers library
  • SGLang or vLLM, which can serve it behind an OpenAI-compatible API
  • Qwen Chat, the hosted chat the card links
Use case | Who | What they get back
Chat answers | Anyone | Direct replies without think blocks
Long documents | Analysts | Understanding across up to 262,144 tokens
Tool use | Developers | Function-calling style answers

How to set it up:

  • Python with pip
  • A recent transformers release, since versions below 4.51.0 fail with a KeyError for qwen3
  • About 8 GB of disk space for the BF16 weights, or about 2 GB at 4-bit (an estimate)
  1. Install the Hugging Face hub tool.
  2. Download the model files.
  3. Run the card's Python snippet, which loads the tokenizer and model and prints a reply.
pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-Instruct-2507

How to use it: Send a user message through the chat template, generate, and decode the new tokens. The card's snippet asks for a short introduction to large language models.

from transformers import AutoModelForCausalLM, AutoTokenizer

model_name = "Qwen/Qwen3-4B-Instruct-2507"

# load the tokenizer and the model
tokenizer = AutoTokenizer.from_pretrained(model_name)
model = AutoModelForCausalLM.from_pretrained(
    model_name,
    torch_dtype="auto",
    device_map="auto"
)

# prepare the model input
prompt = "Give me a short introduction to large language model."
messages = [
    {"role": "user", "content": prompt}
]
text = tokenizer.apply_chat_template(
    messages,
    tokenize=False,
    add_generation_prompt=True,
)
model_inputs = tokenizer([text], return_tensors="pt").to(model.device)

# conduct text completion
generated_ids = model.generate(
    **model_inputs,
    max_new_tokens=16384
)
output_ids = generated_ids[0][len(model_inputs.input_ids[0]):].tolist()

content = tokenizer.decode(output_ids, skip_special_tokens=True)

print("content:", content)

Example: You run the snippet unchanged. The model writes a short introduction to large language models and the script prints it after the label content.

For newcomers and experts: If you are new, run the snippet and change only the prompt. Because this model never writes think blocks, you do not need to set a thinking flag.

For experts, the card lists 36 layers, 32 query heads and 8 key-value heads, with a native context of 262,144 tokens. For serving, it names sglang 0.4.6.post1 or newer and vllm 0.8.5 or newer.

You write a user message
The chat template formats it
The model answers directly, with no think block
You decode the new tokens

Good to know: The card's table compares this model with the older Qwen3-4B non-thinking mode and two others on AIME25.

Title: AIME25 scores from the card
Qwen3-4B-Instruct-2507: 47.4 points
GPT-4.1-nano: 22.7 points
Qwen3-30B-A3B Non-Thinking: 21.6 points
Qwen3-4B Non-Thinking: 19.1 points
  • License: Apache 2.0, as the Hugging Face record lists it.
  • Cost to run: no API key or account is named. You need hardware that can hold the weights.
  • Data it reaches: downloading reaches Hugging Face. The snippet does not describe reaching other files or the web.
  • Not for: step-by-step reasoning traces. It answers directly and never writes think blocks, so pick another model if you want them.

On Hugging Face, 13 November 2026

  • Task: text generation
  • Library: transformers
  • Parameters: 4B
  • Weights: about 8 GB in BF16; about 2 GB at 4-bit (estimate)
  • Formats: Safetensors
  • Downloads in the last 30 days: 2,592,168
  • Likes: 1,053
  • License: apache-2.0
  • Quantized versions: 379
  • Fine-tunes: 2,755
  • Tags: transformers, safetensors, qwen3, text-generation, conversational

Links

Get the model

Download its files with Hugging Face's command line:

pip install -U huggingface_hub
hf download Qwen/Qwen3-4B-Instruct-2507

Then follow the usage in its model card. Nothing in this kit runs by itself.

Files
README.md  5 KB

1 file, 5 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Compare with similar

Listed Hugging Face models in the same category that share the most tags with this one.

ProductDownloads, last 30 daysLikesParametersLicenseLast change
Qwen3-4B-Instruct-2507 This page2,592,1681,0534Bapache-2.0
Qwen3-0.6BShares qwen3 · text-generation · conversational19,718,5991,894752Mapache-2.0
Qwen3-14BShares qwen3 · text-generation · conversational12,965,37654014.8Bapache-2.0
Qwen3-8BShares qwen3 · text-generation · conversational6,269,1412,1848.2Bapache-2.0
Qwen3-1.7BShares qwen3 · text-generation · conversational3,203,4906182Bapache-2.0
Qwen3-4BShares qwen3 · text-generation · conversational3,186,5317984Bapache-2.0
Numbers as Mindket last read them, from 2026-11-12 to 2026-11-13.

Reviews

No ratings yet

Write a review

No reviews yet.

What people say

Posts and comments that name this project on Hacker News, Bluesky, X, Reddit, Facebook and YouTube, found by a weekly search and on Trendshift. Mindket doesn’t write or check them. Open one to read it where it was posted.

ag8Launch HN: RunRL (YC X25) – Reinforcement learning as a serviceHey HN, we’re Andrew and Derik at RunRL (https://runrl.com/). We've built a platform to improve models and agents with reinforcement learning. If you can define a metric, we'll make your model or agent better, without you having to think about managing GPU clusters. Here's a demo video:…71 points · 22 repliesJoe MullerUpgrading my clipboard with Qwen 3 📋🔥 I'm running Qwen3-ASR-1.7B and Qwen3-4B-Instruct-2507 on a single RTX 5090 with vLLM. STT and LLM calls run locally Voice -> LLM -> Updated clipboard Clibbits is easily my favorite project to date youtu.be/YQdRbs9EHTg5 likesbythreadsLaunch HN: Magnitude (YC S25) – Self-optimizing inference engine for agentsOk so i took the time to benchmark this on the following on my m5 max 128gb: Qwen3-4B-Instruct-2507-4bit Qwen3.5-35B-A3B-4bit Qwen3.5-9B-MLX-4bit Qwen3-Reranker-0.6B-4bit Qwen3-Coder-30B-A3B-Instruct-4bit qwen2.5:0.5b and the results are what i kinda expected to begin with, this adds next to…contingenciesHow to setup a local coding agent on macOSpi + Qwen3-4B-Instruct-2507 / Qwen3.6-35B-A3B-4bit / Qwen3.6-40B-Claude-4.6-Opus-Deckard-Heretic-Uncensored-Thinking-4.5bit-msq depending how seat-of-pants I want to fly on memory.mingodadHow to run Qwen 3.5 locallyI'm still a bit confused because it says "All uploads use Unsloth Dynamic 2.0" but then when looking at the available options like for 4 bits there is: IQ4_XS 5.17 GB, Q4_K_S 5.39 GB, IQ4_NL 5.37 GB, Q4_0 5.38 GB, Q4_1 5.84 GB, Q4_K_M 5.68 GB, UD-Q4_K_XL 5.97 GB And no explanation for what they…nistenQwen3-4B-Thinking-2507If you want to have an opinion on it, just install lmstudio and run the q8_0 version of it i.e. here https://huggingface.co/bartowski/Qwen_Qwen3-4B-Instruct-2507.... you can even run it on a 4gb raspberry pi Qwen_Qwen3-4B-Instruct-2507-Q4_K_L.gguf https://lmstudio.ai/ Keep in mind if you run it at…

Searched

More from Mindket

See all from Mindket

upscaler

uwg · Kit

Holds a set of image upscaling models gathered from the OpenModelDB community, for people who want to enlarge low-resolution pictures with AI on their own comp…

New

Pixel Art XL

nerijs · Kit

A pixel art style add-on for Stable Diffusion XL that turns text prompts into pixel-style images, with an optional LCM LoRA for faster runs. For game makers, d…

New

VibeVoice-1.5B

microsoft · Kit

Turns written conversations into spoken audio with up to four speakers and about 90 minutes of speech, an open Microsoft text-to-speech model for research on p…

New

Similar in Developer

See all in Developer

voicetut-egyptian-tashkeel

masterofaudio2077 · Kit

Reads Egyptian Arabic text aloud and follows the short vowel marks you write into it. A fine-tune of VoiceTut-TTS that keeps its 19 built-in voices and voice c…

New

Runs Meta's Llama 3.1 8B Instruct chat model in 4-bit AWQ form, so it fits on a GPU with about 4 GiB of free memory for the weights. For developers who want a…

New

Ru-Jev

besktech · Kit

Scores a Russian-first decision from a context and a list of options, giving a probability for yes/no, choice or rating questions. Runs on a plain CPU, for tea…

New