Model guide
Qwen3.5 4B
Qwen3.5 4B is a small text-and-image model with a hybrid attention architecture. It is a different generation from the text-only original Qwen3 4B, so old runner compatibility and cache assumptions do not automatically carry across. Try a screenshot or image question only after the application confirms support for this exact model.
At a glance
- Parameters
- 4B
- Accepts
- Text · Image
- Returns
- Text
- Published context limit
- 262,144 tokens
- Model format
- safetensors · GGUF
- Software and download hosts
- Ollama · MLX. Follow the exact setup below; this list does not establish support for every format, input type or software version.
- Suggested compression
- Q4_K_M
- Model-weight download
- Q4_K_M weights · 2.71 GBlmstudio-community (community conversion)Qwen3.5-4B-Q4_K_M.gguf
- Image-projector download
- mmproj-Qwen3.5-4B-BF16.gguf · 0.68 GB. Both downloads total 3.38 GB.
- Languages
- 201 languages and dialects (publisher coverage)
- License
- Apache-2.0
Will it fit?
Qwen3.5 4B · Q4_K_M download. Fit depends on your computer, the app you run it in and the conversation length you need. Image processing and any companion files need additional memory.
Check on your computerBest for
- Ask what sits immediately left of a named object in a screenshot. This exercises the Qwen3.5 image path as well as text generation.
Choose something else when
- The listed GGUF needs its matching projector for the image check.
Using image input
Image setup: follow the image check.
First setup
Check a representative task
Check one screenshot through a runner that supports Qwen3.5’s image components.
Setup for this check: Open llama.cpp image setup and start the server with the matching projector.
In the llama.cpp vision session, attach this image and paste the question below. Keep the answer key out of the prompt. Crop to the table if you cannot save the image.
From the image layout, what is directly below the desk? What is immediately left of the door? Do not describe colors.
Check the result: Chair is directly below Desk. Desk is immediately left of Door. No colors are specified.
The image attachment and matching image-processing components must actually be loaded. A text-only run, or an answer inferred from pasted text, does not pass the image check. This small fixture does not establish accuracy on scans, complex charts or real documents.
This creates a 4,096-token copy of qwen3.5:4b-q4_K_M named qwen3-5-4b-short-context. Save the following as a file named Modelfile in your working folder:
FROM qwen3.5:4b-q4_K_M
PARAMETER num_ctx 4096
Then run these commands from that folder:
ollama pull qwen3.5:4b-q4_K_M
ollama create qwen3-5-4b-short-context -f ./Modelfile
ollama run qwen3-5-4b-short-context
Run the task check. Attach the image in a client that supports image input for this model. While the model is loaded, run ollama ps in another terminal and check CONTEXT and PROCESSOR.
The recorded Ollama package is Q4_K_M: 2.65 GB of model weights and 0.68 GB of media companion weights. Use Ollama 0.30.0 or a supporting newer release. A Hugging Face GGUF or MLX checkpoint is a separate representation; choose the matching source and runner in the memory calculator.
See Ollama context settings and the Modelfile instructions.
Open LM Studio’s Discover tab, search for lmstudio-community/Qwen3.5-4B-GGUF, and download Qwen3.5-4B-Q4_K_M.gguf (Q4_K_M, 2.71 GB). See the download files. Select the file in Chat, set context to 4,096, then load it. These instructions load text only. To run the image task check, select the llama.cpp tab and complete its matching-projector setup. Do not assume that loading this file in LM Studio also loaded its image components. If it will not load, open LM Studio Model Will Not Load.
Open a terminal in the extracted llama.cpp release folder. On Windows, replace ./llama-server below with .\llama-server.exe:
Image input with mmproj-Qwen3.5-4B-BF16.gguf
Download mmproj-Qwen3.5-4B-BF16.gguf into the extracted llama.cpp folder.
./llama-server -hf lmstudio-community/Qwen3.5-4B-GGUF -hff Qwen3.5-4B-Q4_K_M.gguf --mmproj "mmproj-Qwen3.5-4B-BF16.gguf" -c 4096 --host 127.0.0.1 --port 8080
Open the local chat at http://127.0.0.1:8080, attach the image from the task check, and run that check. Press Ctrl+C in the server terminal before switching to the text-only setup.
Text only
./llama-server -hf lmstudio-community/Qwen3.5-4B-GGUF -hff Qwen3.5-4B-Q4_K_M.gguf --no-mmproj -c 4096 --host 127.0.0.1 --port 8080
The server downloads the selected model. Wait for the model to load, then open the local chat at http://127.0.0.1:8080. Keep the server terminal open; press Ctrl+C there to stop the server. The file list identifies the exact download. If the command fails: Unknown architecture? Update the runner. Allocation failed? Retry with less context or a smaller weight file. This command deliberately disables the projector for a text-only baseline.
Load the model, start a fresh chat and time your usual prompt. Record time until the first useful word and time until the full answer. Note the processor, context and output length when comparing another run. Use the same picture at the same resolution.
