IQ

IQuest Coder V1 40B Thinking

IquestGGUF by xhxlbUpdated 2026-03-14
Download on Hugging Face
Parameters39.8B
Context128K
Layers80
Architectureqwen2
Smallest quant14.8 GB
Quick answer

IQuest Coder V1 40B Thinking needs about 27.2 GB of memory at Q4_K_M (a 24.0 GB file) with an 8K context window, so it fits on a 32 GB GPU. This repository has 13 quants, from 14.8 GB (Q2_K) to 79.6 GB (F16). Longer context needs more: at 32K tokens the KV cache alone adds about 10.7 GB.

IQuest Coder V1 40B Thinking is a 39.8B-parameter Iquest model in GGUF format, quantized by xhxlb. Its trained context length is 128K tokens. The repository has 13 quant files, from 14.8 GB (Q2_K) to 79.6 GB (F16).

Quants & memory

QuantFileEst. memoryvs VRAMResultDownload
Q2_K14.8 GB 18.0 GB
Too big Get file →
Q3_K_S17.4 GB 20.5 GB
Too big Get file →
Q3_K_M19.2 GB 22.4 GB
Too big Get file →
Q3_K_L20.8 GB 24.0 GB
Too big Get file →
Q4_022.5 GB 25.7 GB
Too big Get file →
Q4_K_S22.7 GB 25.9 GB
Too big Get file →
Q4_K_M24.0 GB 27.2 GB
Too big Get file →
Q5_027.4 GB 30.6 GB
Too big Get file →
Q5_K_S27.4 GB 30.6 GB
Too big Get file →
Q5_K_M28.2 GB 31.4 GB
Too big Get file →
Q6_K32.6 GB 35.8 GB
Too big Get file →
Q8_042.3 GB 45.5 GB
Too big Get file →
F1679.6 GB 82.8 GB
Too big Get file →

What GPU do you need for IQuest Coder V1 40B Thinking?

These figures add the file size, an fp16 KV cache at an 8K context window (worked out from this model’s own header) and about 0.5 GB for the runtime. They are estimates, so leave a little headroom, and expect to use less context or a smaller quant if you are right at the limit.

  • 4 GB VRAM: no quant fits at an 8K context.
  • 6 GB VRAM: no quant fits at an 8K context.
  • 8 GB VRAM: no quant fits at an 8K context.
  • 12 GB VRAM: no quant fits at an 8K context.
  • 16 GB VRAM: no quant fits at an 8K context.
  • 24 GB VRAM: the best quant that fits is Q3_K_L (20.8 GB file, about 24.0 GB in use).
  • 32 GB VRAM: the best quant that fits is Q5_K_M (28.2 GB file, about 31.4 GB in use).
  • 48 GB VRAM: the best quant that fits is Q8_0 (42.3 GB file, about 45.5 GB in use).

Which IQuest Coder V1 40B Thinking quant should you choose?

Q4_K_M is the usual starting point for IQuest Coder V1 40B Thinking: it balances file size and quality well. Here it is a 24.0 GB file.

The Q8_0 file is 42.3 GB, about 1.8 times the size of Q4_K_M. It keeps the weights closer to the original, which only matters if you have the memory to spare.

If memory is tight, the smallest file is Q2_K at 14.8 GB, with the quality trade-offs that come with fewer bits. Use it only when memory is very tight. Expect a clear drop in quality, which is usually worse on small models and easier to live with on large ones.

New to quant names? Read GGUF quantization explained.

Specifications

Architecture from the GGUF header

Architectureqwen2
Parameters39.8B
Layers80
Trained context131,072 tokens
KV cache (fp16)320 KB per token

Source

Quantized byxhxlb
FamilyIquest
Licenseother
Downloads (HF)104
Last updated2026-03-14

Frequently asked questions about IQuest Coder V1 40B Thinking

How much VRAM does IQuest Coder V1 40B Thinking need?

About 27.2 GB at Q4_K_M with an 8K context window. That is the 24.0 GB file, plus the KV cache and roughly 0.5 GB of runtime overhead. Smaller quants need less and longer context needs more.

Can I run IQuest Coder V1 40B Thinking on an 8 GB GPU?

Not at an 8K context. The smallest file needs about 18.0 GB, so you would need a larger GPU or CPU offloading.

What is the file size of IQuest Coder V1 40B Thinking GGUF?

It depends on the quant: Q2_K is 14.8 GB, Q3_K_S is 17.4 GB, Q3_K_M is 19.2 GB, Q3_K_L is 20.8 GB, Q4_0 is 22.5 GB, Q4_K_S is 22.7 GB and 7 more.

What context length does IQuest Coder V1 40B Thinking support?

The GGUF header lists a trained context length of 131,072 tokens (128K). The KV cache grows with the context you use: about 2.7 GB at 8K and 10.7 GB at 32K.

Where can I download IQuest Coder V1 40B Thinking GGUF?

The files are on Hugging Face in the xhxlb/IQuest-Coder-V1-40B-Thinking-GGUF repository. The download buttons on this page open the file on Hugging Face. ggufmodels.com does not host any model files.

What license does IQuest Coder V1 40B Thinking use?

Hugging Face lists the license as other. Licenses can differ between the quantized files and the original model, so check the repository and the base model before commercial use.

Other GGUFs of IQuest-Coder-V1-40B-Thinking

Similar models

Browse all →

More from xhxlb

All by xhxlb →

More Iquest models

All Iquest →

Other large models

All large models →