How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "prithivMLmods/Qwen3-4B-Thinking-2507-GGUF"
# Call the server using curl (OpenAI-compatible API):
curl -X POST "http://localhost:8000/v1/chat/completions" \
	-H "Content-Type: application/json" \
	--data '{
		"model": "prithivMLmods/Qwen3-4B-Thinking-2507-GGUF",
		"messages": [
			{
				"role": "user",
				"content": "What is the capital of France?"
			}
		]
	}'
Use Docker
docker model run hf.co/prithivMLmods/Qwen3-4B-Thinking-2507-GGUF:
Quick Links

Qwen3-4B-Thinking-2507-GGUF

Qwen3-4B-Thinking-2507 is a 4-billion-parameter causal language model specialized for advanced thinking and reasoning tasks, featuring significant improvements in logical reasoning, mathematics, science, coding, and academic benchmarks typically requiring human expertise. It supports an extremely long native context length of 262,144 tokens, enabling deep and complex problem-solving. Unlike prior versions, this model operates solely in "thinking mode," automatically generating intermediate reasoning steps enclosed in special tags to enhance transparency and interpretability of its outputs. It has 36 layers, uses a GQA attention mechanism with 32 query heads and 8 key-value heads, and benefits from pretraining and post-training stages to optimize both quality and depth of reasoning.

Qwen3-4B-Thinking-2507 also improves general capabilities such as instruction following, tool usage, text generation, and alignment with human preferences, making it suitable for highly complex reasoning tasks in scientific, coding, and academic domains. The model is fully integrated with the Hugging Face transformers library and can be deployed with extended context support via toolkits like vLLM and SGLang. Detailed benchmarks, deployment guidelines, and usage examples are available in its official repository, making it an excellent choice for research and applications requiring transparent, scalable AI reasoning.

Model Files

File Name Size Quant Type
Qwen3-4B-Thinking-2507.BF16.gguf 8.05 GB BF16
Qwen3-4B-Thinking-2507.F16.gguf 8.05 GB F16
Qwen3-4B-Thinking-2507.F32.gguf 16.1 GB F32
Qwen3-4B-Thinking-2507.Q2_K.gguf 1.67 GB Q2_K
Qwen3-4B-Thinking-2507.Q3_K_L.gguf 2.24 GB Q3_K_L
Qwen3-4B-Thinking-2507.Q3_K_M.gguf 2.08 GB Q3_K_M
Qwen3-4B-Thinking-2507.Q3_K_S.gguf 1.89 GB Q3_K_S
Qwen3-4B-Thinking-2507.Q4_K_M.gguf 2.5 GB Q4_K_M
Qwen3-4B-Thinking-2507.Q4_K_S.gguf 2.38 GB Q4_K_S
Qwen3-4B-Thinking-2507.Q5_K_M.gguf 2.89 GB Q5_K_M
Qwen3-4B-Thinking-2507.Q5_K_S.gguf 2.82 GB Q5_K_S
Qwen3-4B-Thinking-2507.Q6_K.gguf 3.31 GB Q6_K
Qwen3-4B-Thinking-2507.Q8_0.gguf 4.28 GB Q8_0

Quants Usage

(sorted by size, not necessarily quality. IQ-quants are often preferable over similar sized non-IQ quants)

Here is a handy graph by ikawrakow comparing some lower-quality quant types (lower is better):

image.png

Downloads last month
505
GGUF
Model size
4B params
Architecture
qwen3
Hardware compatibility
Log In to add your hardware

2-bit

3-bit

4-bit

5-bit

6-bit

8-bit

16-bit

32-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. ๐Ÿ™‹ Ask for provider support

Model tree for prithivMLmods/Qwen3-4B-Thinking-2507-GGUF

Quantized
(145)
this model

Collection including prithivMLmods/Qwen3-4B-Thinking-2507-GGUF