Skip to content

DeepSeek V3.1 (Q8_K_XL) — 191.4 GBon Scaleway L40S-4-48G

DeepSeek
Code Multilingual Thinking Tool Calls
Q8_K_XL Scaleway L40S-4-48G

Overview

DeepSeek V3.1 is a 684.53B parameter moe language model by DeepSeek, with code, multilingual, thinking, tool-calls capabilities. It supports a context window of up to 163,840 tokens.

DeepSeek V3.1 is a 685-billion-parameter Mixture-of-Experts model from DeepSeek, activating 8 of 256 experts per token plus one shared expert. It delivers frontier-level performance on code generation, reasoning, and multilingual tasks while using far fewer active parameters per inference step than comparably sized dense models. The model supports thinking mode, tool calling, and nine languages. With a 160K context window, it requires multi-GPU or distributed setups but quantizes down to Q2 levels for reduced VRAM footprint.

At Q8_K_XL quantization (high quality tier), the model weighs 726.99 GB. This exceeds the 192 GB of VRAM on Scaleway L40S-4-48G. Inference is still possible via CPU offload or memory-mapped loading from disk, but expect significantly reduced performance.

Hardware Requirements

Model size 726.99 GB
VRAM available 192 GB
VRAM used 191.4 GB
System RAM 384 GB
Min RAM required 714 GB
GPU layers 61 / 61
Context size 108,749
Backend cuda13
Flash attention Yes
Reading from disk Yes

Performance Notes

Deploy

Prerequisites

Ensure your GPU nodes are prepared with the NVIDIA container toolkit:

ansible-playbook prositronic.infra.nvidia_container_toolkit

Command

helmfile --state-values-file <(curl -s https://www.prositronic.eu/values/deepseek-v3-1/q8_k_xl/nvidia-l40s-192gb.yaml) apply

Generated values.yaml

/values/deepseek-v3-1/q8_k_xl/nvidia-l40s-192gb.yaml

Loading values…

Frequently Asked Questions

How much VRAM does DeepSeek V3.1 (Q8_K_XL) need?

The Q8_K_XL quantization of DeepSeek V3.1 requires 726.99 GB. All 61 layers fit in the 192 GB of VRAM available on Scaleway L40S-4-48G, enabling full GPU acceleration.

Can I run DeepSeek V3.1 on Scaleway L40S-4-48G?

Yes. Scaleway L40S-4-48G provides 192 GB of VRAM, which is enough to run DeepSeek V3.1 (Q8_K_XL) with all layers on the GPU for optimal performance.

What is quantization?

Quantization reduces a model's numerical precision from its original floating-point format to a more compact representation. This shrinks the file size and VRAM footprint, making it possible to run large models on consumer hardware. The trade-off is a small reduction in output quality. Q8_K_XL compresses DeepSeek V3.1 from its original size down to 726.99 GB.

What quantization should I choose for DeepSeek V3.1?

Q8_K_XL is a high-quality quantization. Higher-quality quants (Q8, Q6) preserve more model accuracy but need more VRAM. Lower quants (Q4, Q3, Q2) reduce VRAM usage at the cost of some quality. Choose based on your available hardware and quality requirements.

What is flash attention and why is it enabled?

Flash attention is a memory-efficient algorithm that speeds up the attention mechanism in transformer models. It reduces VRAM usage during inference by avoiding the materialisation of the full attention matrix. For DeepSeek V3.1 on Scaleway L40S-4-48G, flash attention is enabled to maximise context length and throughput within the available 192 GB of VRAM.

What is MoE and how does it affect deployment?

DeepSeek V3.1 uses a Mixture-of-Experts (MoE) architecture with 256 experts, of which 8 are active per token. This means only a fraction of the model weights are used for each inference step, allowing MoE models to be larger in total parameter count while remaining efficient at inference time.

Last updated: March 5, 2026