Qwen3.5
Optimal Cognitive Core’s Qwen3.5-4B fine-tune supports multi-turn assistance, function calls and image input. The indexed GGUF includes the draft block in the weight download. Image input uses the separate F16 projector.
Quick Launch Command
Commands for GGUF Q4_K_M · adjust hardware and context in the CLI Generator
# Prerequisites: a CUDA toolkit matching your driver (nvcc --version), Python 3
# Install on Linux (with CUDA)
sudo apt install -y build-essential cmake git
git clone https://github.com/ggml-org/llama.cpp && cd llama.cpp
cmake -B build -DGGML_CUDA=ON
cmake --build build --config Release -j$(nproc)
# Download the model (installs the hf CLI the next line needs)
pip install -U huggingface_hub
hf download bartowski/occ-ai_OCC-4B-GGUF --include "occ-ai_OCC-4B-Q4_K_M.gguf" --local-dir ./models
# Run
./build/bin/llama-server \
-m ./models/occ-ai_OCC-4B-Q4_K_M.gguf \
--host 127.0.0.1 --port 8080 \
-ngl 99 \
-np 1 \
-c 4096 \
-t 8Quantization Variants
Per-quant VRAM, quality loss, and inference speed on RTX 4090
Measured = run on this site · Estimated = not run here: calculated, or a figure this site has not verified · Community = public reports
| Format | Level | BPW | VRAM | PPL Loss | Speed | Source | Actions |
|---|---|---|---|---|---|---|---|
| GGUF | Q4_K_M | 5.19 | 3.1 GB | — | — | Estimated | |
| GGUF | Q5_K_M | 6.21 | 3.6 GB | — | — | Estimated | |
| GGUF | Q8_0 | 8.53 | 5.0 GB | — | — | Estimated |
Which file each size is for
Weights use recorded file bytes where available, otherwise BPW. Both receive a separate 2% planning allowance. VRAM at 4K includes KV and a 10% activation buffer (GiB). Downloads use decimal GB. Separate vision projectors are excluded from this table.
- GGUF Q4_K_Mbartowski/occ-ai_OCC-4B-GGUF · occ-ai_OCC-4B-Q4_K_M.gguf · 2.80 GB (2,804,466,944 bytes) · + vision projector 0.67 GB, separate · listing read 2026-11-29
- GGUF Q5_K_Mbartowski/occ-ai_OCC-4B-GGUF · occ-ai_OCC-4B-Q5_K_M.gguf · 3.36 GB (3,357,007,104 bytes) · + vision projector 0.67 GB, separate · listing read 2026-11-29
- GGUF Q8_0bartowski/occ-ai_OCC-4B-GGUF · occ-ai_OCC-4B-Q8_0.gguf · 4.61 GB (4,610,577,664 bytes) · + vision projector 0.67 GB, separate · listing read 2026-11-29
Running OCC-4B locally
At Q4_K_M and 4K of context, OCC-4B needs about 3.1 GB — 2.7 GB of weights, 0.13 GB of KV cache and a 0.3 GB activation buffer. The smallest cards in this index that clear that comfortably are 4 GB ones — 2 of them, from the RTX 3050 Ti Laptop GPU up — and 122 of the 122 cards here do. These are calculated figures, not measurements: the estimate stops counting a card as comfortable at 88% of its VRAM, which is roughly the room a desktop session needs.
What longer context costs
Going from 4K to 32K adds about 0.87 GB, taking the total to 4.0 GB. That is gentler than the parameter count suggests: only 8 of 32 layers keep a KV cache that grows with context, so the cache scales at a fraction of the usual rate. The model's native window is 256K; holding all of it at Q4_K_M would need about 12 GB.
Which build to download
This index only tracks OCC-4B in GGUF, across 3 levels (Q4_K_M, Q5_K_M, Q8_0). No per-level perplexity sweep has been published for this model, so the quality column is empty rather than estimated — within one model, more bits per weight is the only ordering the data supports. No throughput has been measured for this model on this site's hardware. GGUF runs on llama.cpp and Ollama across NVIDIA, AMD and Apple silicon; AWQ and GPTQ target vLLM on CUDA and ROCm; EXL2 is ExLlamaV2 — CUDA only, and now archived, so local use rather than serving.
Common questions
- How much VRAM does OCC-4B need?
- About 3.1 GB at Q4_K_M with 4K of context and batch 1, rising to roughly 4.0 GB at 32K. That figure is weights plus KV cache plus a 10% activation buffer, calculated from the model's architecture rather than measured on a card.
- Will OCC-4B run on a 4GB GPU?
- Yes — at Q4_K_M and 4K context it needs about 3.1 GB, which leaves 0.9 GB spare on a RTX 3050 Ti Laptop GPU, or on any of the other 4 GB cards here (2 in all). That is the smallest size in this index that clears it comfortably; 122 of 122 do.
- Which quantization of OCC-4B should I use?
- No published quality comparison exists for this model, so pick by footprint: Q4_K_M is the level most people run, and a higher bits-per-weight level is more faithful. All 3 levels in the index are Q4_K_M, Q5_K_M, Q8_0.
Where this model fits
Sized at Q4_K_M with a 4K context window, smallest card first. Comfortable means the estimate uses at most 88% of the memory.
How to actually run this
Deployment guides for this model and this class of hardware.
Similar models
Compare with Gemma 3Gemma 3 4B IT
Google Gemma 3
Google Gemma 3 multimodal 4B. 128K context; strong vision + text on 8GB cards.
Gemma 4 E4B IT
Google Gemma 4
Google's on-device Gemma 4: about 4.7B parameters doing the work plus a 2.8B per-layer embedding table, a 128K window, and image and audio input. Only 4 of its 42 layers keep a cache that grows with context, so the full 128K window costs about 2.0 GB of cache. At Q4_K_M it needs about 5.3 GB at 4K, comfortable on an 8 GB card, and 7.5 GB at 128K, tight on an 8 GB card. An 8 GB Mac gives its GPU about 6 GB, so 5.3 GB at 4K is tight on an 8 GB Mac. Sizes here count the whole model in GPU memory, which is what a Mac or a full GPU load uses; llama.cpp keeps the embedding table in system RAM instead, so on a discrete card real VRAM use is lower than shown. Sizes come from unsloth's files (Q4_K_M 5.0 GB, Q8_0 8.2 GB); other publishers' Q4_K_M files are up to 0.4 GB larger. The image and audio encoder is a separate 1.0 GB file.
Gemma 4 E2B IT
Google Gemma 4
The smallest Gemma 4: about 2.3B parameters doing the work plus a 2.3B per-layer embedding table, a 128K window, and image and audio input. Its cache barely grows — 3 of 35 layers track the full context, about 0.8 GB at 128K. At Q4 it is about 3.0 GB at 4K and 3.8 GB at the full window — comfortable on any card in this index and on an 8 GB Mac. Sizes count the whole model in GPU memory; llama.cpp keeps the embedding table in system RAM, so on a discrete card it needs roughly 1.3 GB less VRAM than shown at Q4. Sizes use the calculator's generic rates — no GGUF file size could be checked.
Qwen3.5 4B
Alibaba Qwen3.5
The 4B size of Qwen3.5, for 4 to 8 GB cards, base-model Macs and CPU-only machines. Only 8 of its 32 layers keep a growing KV cache. At Q4_K_M it needs about 3.3 GB at 4K context and 4.3 GB at 32K, so a 6 GB card is enough for long chats; its full 256K window needs about 12 GB. Reasoning is off by default on the small Qwen3.5 sizes, and it reads images through a separate vision encoder. Sizes come from the published GGUF file sizes, and no per-level quality loss has been published.
This page's figures change when the model or the runtime does.Last updated 2026-11-29 RSS → /feed.xml