How to use from
vLLM
Install from pip and serve model
# Install vLLM from pip:
pip install vllm
# Start the vLLM server:
vllm serve "WhiskyAKM/Qwen3.6-35B-A3B-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": "WhiskyAKM/Qwen3.6-35B-A3B-GGUF",
		"messages": [
			{
				"role": "user",
				"content": [
					{
						"type": "text",
						"text": "Describe this image in one sentence."
					},
					{
						"type": "image_url",
						"image_url": {
							"url": "https://cdn.britannica.com/61/93061-050-99147DCE/Statue-of-Liberty-Island-New-York-Bay.jpg"
						}
					}
				]
			}
		]
	}'
Use Docker
docker model run hf.co/WhiskyAKM/Qwen3.6-35B-A3B-GGUF:
Quick Links

Qwen3.6-35B-A3B - GGUF

GGUF quantizations of Qwen/Qwen3.6-35B-A3B, a Mixture-of-Experts multimodal model from the Qwen3.6 series with 35B total parameters and only 3B activated per token.

This repository contains GGUF conversions of the model, making it usable with llama.cpp and other GGUF-compatible inference engines.

Model Overview

Qwen3.6-35B-A3B is a multimodal model built by the Qwen Team that handles text, image, and video inputs and generates text output. It uses a hybrid linear attention + full attention architecture with Mixture-of-Experts, achieving strong agentic coding and reasoning performance while keeping the activated parameter count low for efficient inference.

Property Value
Architecture Qwen3_5MoeForConditionalGeneration
Parameters 35B total / 3B activated
Layers 40
Hidden Dimension 2048
Attention Layout 10 × (3 × Gated DeltaNet → 1 × Gated Attention)
Attention Heads 16 (Q), 2 (KV), head dim 256
Linear Attention Heads 32 (V), 16 (QK), head dim 128
Mixture of Experts 256 experts, 8 routed + 1 shared
Expert Intermediate Dim 512
Context Length 262,144 tokens (extensible to 1,010,000 via YaRN)
Vocabulary Size 248,320
Supported Modalities Text, Image, Video
RoPE Multimodal RoPE (interleaved), θ = 10,000,000
Multi-Token Prediction Trained with MTP

GGUF Files

File Format Size Description
qwen3.6-35b-a3b-Q4_0.gguf Q4_0 19G 4-bit, fastest inference
qwen3.6-35b-a3b-Q4_K_M.gguf Q4_K_M 21G K-quant, medium
qwen3.6-35b-a3b-Q4_K_S.gguf Q4_K_S 19G K-quant, small
qwen3.6-35b-a3b-Q5_K_M.gguf Q5_K_M 24G K-quant, medium
qwen3.6-35b-a3b-Q5_K_S.gguf Q5_K_S 23G K-quant, small
qwen3.6-35b-a3b-Q6_K.gguf Q6_K 28G K-quant, higher precision
qwen3.6-35b-a3b-Q8_0.gguf Q8_0 36G 8-bit, highest GGUF precision
qwen3.6-35b-a3b-bf16.gguf bf16 67G Full bfloat16 (unquantized)
mmproj.gguf - 861M Multimodal projector (vision)

A chat_template.jinja file is also provided for use with chat-based inference.

Note on mmproj: The mmproj.gguf file contains the vision projector needed for multimodal (image/video) inference. It is shared across all quantization variants.

Usage

llama.cpp (CLI)

# Run text-only inference
./llama-cli \
  -m qwen3.6-35b-a3b-Q4_K_M.gguf \
  -p "Explain quantum computing in simple terms." \
  --temp 1.0 --top-k 20 --top-p 0.95

llama-server (OpenAI-compatible API)

# Text-only
./llama-server \
  -m qwen3.6-35b-a3b-Q4_K_M.gguf \
  --host 0.0.0.0 --port 8080

# Multimodal (image + video)
./llama-server \
  -m qwen3.6-35b-a3b-Q4_K_M.gguf \
  --mmproj mmproj.gguf \
  --host 0.0.0.0 --port 8080

Multimodal (Image / Video)

For image and video inputs, use llama-server or llama-cli with the --mmproj flag pointing to mmproj.gguf. Refer to your inference engine's documentation for passing image/video data alongside text prompts.

Modality order tip: For best results, place image/video content before text in your prompt.

Generation Parameters

Recommended parameters from the model's generation_config.json:

Parameter Value
Temperature 1.0
Top-K 20
Top-P 0.95
BOS Token ID 248044
EOS Token ID 248044, 248046
Pad Token ID 248044

Recommended Sampling by Mode

Mode Temperature Top-P Top-K Presence Penalty Repetition Penalty
Thinking (general) 1.0 0.95 20 1.5 1.0
Thinking (coding/WebDev) 0.6 0.95 20 0.0 1.0
Instruct (non-thinking) 0.7 0.80 20 1.5 1.0

Thinking Mode

Qwen3.6 operates in thinking mode by default, generating reasoning content signified by <think>\n...\n</think>\n\n before producing the final response.

  • Enable (default): The model automatically generates thinking content before its final answer.
  • Disable: Set enable_thinking to false in the chat template kwargs (or equivalent in your inference engine) to obtain direct responses without thinking.

Qwen3.6 does not support the /think and /no_think soft switches from Qwen3. Thinking is controlled via API/chat template parameters.

Preserve Thinking

Qwen3.6 can optionally retain and leverage thinking traces from historical messages. Enable preserve_thinking in the chat template kwargs to keep full reasoning context across turns - particularly beneficial for agentic scenarios where it can improve decision consistency and reduce overall token consumption.

Key Features

  • Mixture of Experts: 35B total parameters with only 3B activated per token for efficient inference
  • Hybrid Attention: Gated DeltaNet (linear attention) with full attention every 4th layer
  • Multimodal: Text, image, and video understanding
  • Long Context: 262,144 token context window, extensible to 1,010,000 tokens via YaRN
  • Agentic Coding: Strong performance on SWE-bench, Terminal-Bench, and repository-level reasoning
  • Function Calling: Native support for structured tool use via <function=...> format
  • Multi-Token Prediction: Trained with MTP for speculative decoding acceleration
  • Multilingual: Support for 140+ languages

Processing Ultra-Long Texts

For contexts exceeding 262,144 tokens, YaRN RoPE scaling is recommended. The following RoPE parameters can be used to extend context up to ~1M tokens:

{
    "mrope_interleaved": true,
    "mrope_section": [11, 11, 10],
    "rope_type": "yarn",
    "rope_theta": 10000000,
    "partial_rotary_factor": 0.25,
    "factor": 4.0,
    "original_max_position_embeddings": 262144
}

Note: Static YaRN applies a constant scaling factor regardless of input length, which may impact performance on shorter texts. Only enable YaRN when long context is required, and adjust factor as needed (e.g., factor: 2.0 for ~524K context).

Acknowledgements

Citation

@misc{qwen36_35b_a3b,
    title = {{Qwen3.6-35B-A3B}: Agentic Coding Power, Now Open to All},
    url = {https://qwen.ai/blog?id=qwen3.6-35b-a3b},
    author = {{Qwen Team}},
    month = {April},
    year = {2026}
}

License

Apache License 2.0

Downloads last month
349
GGUF
Model size
36B params
Architecture
qwen35moe
Hardware compatibility
Log In to add your hardware

4-bit

5-bit

6-bit

8-bit

16-bit

Inference Providers NEW
This model isn't deployed by any Inference Provider. 🙋 Ask for provider support

Model tree for WhiskyAKM/Qwen3.6-35B-A3B-GGUF

Quantized
(805)
this model
Quantizations
1 model

Collection including WhiskyAKM/Qwen3.6-35B-A3B-GGUF