Qwen3-30B-A3B-Instruct-2507 Q4_K_M needs 18.93 GiB
Needs 18.93 GiB: Qwen3-30B-A3B-Instruct-2507 Q4_K_M at 8,192 tokens is an estimate of 18.16 GiB–18.93 GiB. Checkpoint Qwen/Qwen3-30B-A3B-Instruct-2507. File is 18,556,686,752 bytes. No device is selected, so this is demand only, not a fit.
Specific checkpoints with sourced architecture and weight files. GGUF Q4_K_M (Unsloth): 18.16 GiB–18.93 GiB at 8,192 tokens, 1 sequence, FP16 KV, llama.cpp.
Publisher and provenance
- PublisherQwen
- Hugging Face
Qwen/Qwen3-30B-A3B-Instruct-2507 - Revision
0d7cf23991f47feeb3a57ecb4c9cee8ea4a17bfe - Total parameters30,532,122,624
- Active parameters3,300,000,000
- Layers48
- Query heads32
- KV heads4 (gqa)
- Head dimension128
- Recorded context capability262,144
- Completenesscomplete · full
Active parameters describe tokens' routed compute, not the full resident model weight footprint. Full-resident weight estimates use total parameters.
Memory layers in this estimate
Artifact bytes, raw KV, engine extras, and total demand are separate. This is not a runtime trace.
- Weight artifact
- 17.28 GiB (18,556,686,752 bytes)
- Raw KV cache
- 0.75 GiB (805,306,368 bytes)
- Engine extras / workspace
- 0.13 GiB–0.90 GiB
- Total estimated demand
- 18.16 GiB–18.93 GiB
Published artifacts
| Quantization | Selected files | Bytes | Engine | Evidence |
|---|---|---|---|---|
| BF16 safetensors bf16 | 61,064,245,248 (56.87 GiB / 61.06 GB) | vllm, sglang, unspecified | file-metadata | |
| GGUF Q4_K_M (Unsloth) gguf-q4_k_m | Qwen3-30B-A3B-Instruct-2507-Q4_K_M.gguf | 18,556,686,752 (17.28 GiB / 18.56 GB) | llama.cpp, ollama, unspecified | file-metadata |
| GGUF Q5_K_M (Unsloth) gguf-q5_k_m | Qwen3-30B-A3B-Instruct-2507-Q5_K_M.gguf | 21,725,581,728 (20.23 GiB / 21.73 GB) | llama.cpp, ollama, unspecified | file-metadata |
| GGUF Q6_K (Unsloth) gguf-q6_k | Qwen3-30B-A3B-Instruct-2507-Q6_K.gguf | 25,092,532,640 (23.37 GiB / 25.09 GB) | llama.cpp, ollama, unspecified | file-metadata |
| GGUF Q8_0 (Unsloth) gguf-q8_0 | Qwen3-30B-A3B-Instruct-2507-Q8_0.gguf | 32,483,932,576 (30.25 GiB / 32.48 GB) | llama.cpp, ollama, unspecified | file-metadata |
| INT4 theoretical | No published file | 15,266,061,312 (theoretical) | — | theoretical |
Memory by quantization and context
Concurrent sequences = 1. KV defaults to FP16. The range includes documented runtime extras for the listed engine. These figures use the same core as the interactive calculator.
| Quantization | 2,048 tokens | 8,192 tokens | 32,768 tokens |
|---|---|---|---|
| BF16 safetensors | 57.68 GiB–59.56 GiB | 58.25 GiB–60.14 GiB | 60.50 GiB–62.46 GiB |
| GGUF Q4_K_M (Unsloth) | 17.59 GiB–18.32 GiB | 18.16 GiB–18.93 GiB | 20.41 GiB–21.34 GiB |
| GGUF Q5_K_M (Unsloth) | 20.55 GiB–21.33 GiB | 21.11 GiB–21.94 GiB | 23.36 GiB–24.35 GiB |
| GGUF Q6_K (Unsloth) | 23.68 GiB–24.53 GiB | 24.24 GiB–25.14 GiB | 26.49 GiB–27.55 GiB |
| GGUF Q8_0 (Unsloth) | 30.57 GiB–31.55 GiB | 31.13 GiB–32.16 GiB | 33.38 GiB–34.57 GiB |
| INT4 theoretical Theoretical rows are not downloadable artifacts. | 14.53 GiB–19.11 GiB | 15.09 GiB–19.81 GiB | 17.34 GiB–22.58 GiB |
Raw KV contribution
Standard GQA/MHA raw KV is 2 × layers × kvHeads × headDim × tokens × sequences × bytes per element. This page uses KV heads (4), not query heads (32). Using query heads would overstate this cache by 8×.
- 8,192 tokens, 1 sequence, FP16: 805,306,368 bytes (0.7500 GiB)
- 32,768 tokens: 3,221,225,472 bytes (3.00 GiB)
Related pages
Sources
- Qwen3-30B-A3B-Instruct-2507 model card
- config.json — revision 0d7cf23991f47feeb3a57ecb4c9cee8ea4a17bfe
- safetensors index — metadata.total_size=61064245248
- Artifact repo unsloth/Qwen3-30B-A3B-Instruct-2507-GGUF
Assumptions that affect this result
- Requested context is within the recorded native window of 262144 tokens.
- Full-resident weight estimates use total parameters, including inactive MoE experts.
- This MoE lists 30532122624 total parameters and 3300000000 active parameters. Active-parameter compute is not used as the weight-residency figure.
- Weight bytes come from the selected weight files only, not from every file in the repository.
- Download file size is not peak GPU memory. Runtime layout, allocator padding, and KV are extra.
- Counted files: Qwen3-30B-A3B-Instruct-2507-Q4_K_M.gguf.
- Context budget is the number of cached tokens per sequence (prompt plus reserved generation).
- Concurrent sequences share one model replica; weights are not multiplied by sequence count.
Calculator
Loading catalog snapshot…
Search or pick a catalog checkpoint to see memory demand.