worked from the real config file, every number computed
Can DeepSeek V3 run on an RTX 4090? Memory, speed and cost, with the sums shown
DeepSeek V3DeepSeekRTX 4090NVIDIA, 24 GB
Not on one GPU
Not on one RTX 4090. In FP8, the format it is published in, its weights take 625 GiB, and vLLM uses 22.1 GiB of each card, so it needs 32 RTX 4090 GPUs in 4 machines of 8 (tensor parallel 8, pipeline parallel 4). Split that way, there is room for 4 conversations of 8,192 tokens at once.
- 625 GiBweights in FP8
- 4people at 8,192 tokens on 32 GPUs
- not estimatedone person, memory-speed ceiling
- not estimatedper million tokens, busy, cheapest price listed
Try it yourself: change the setup and watch the memory fill
A live calculator for DeepSeek V3 on an RTX 4090: pick the number format, the conversation length, how many people and how many GPUs, and see the memory bar, the verdict, the speed and the cost change at once. It runs the same maths as this page, in your browser.
What these numbers assume
- vLLM's default of 92% of the GPU's memory (22.1 GiB of the 24 GiB the driver reports on an RTX 4090), with 2 GiB per GPU kept for working space.
- A conversation of 8,192 tokens (prompt plus answer) for the yes or no; other lengths are in the KV cache table.
- Speed is the best case: 80% of the rated memory speed (what llama.cpp reached on our rented RTX 4090) and 50% of the rated compute, for a 1,024-token prompt and a 256-token answer.
- Prices are on-demand, per GPU per hour, read on 13 November 2026, with the GPU busy all the time.
DeepSeek V3 is DeepSeek's model, read from deepseek-ai/DeepSeek-V3: 671 billion parameters, of which 37 billion are used for each token (a mixture of experts, 8 of 256 experts per layer), 61 layers, 1 KV head, and conversations of up to 163,840 tokens. The RTX 4090 has 24 GB of memory that it reads at 1,008 GB a second, and 165 trillion BF16 operations a second, 330 trillion in FP8. Source: NVIDIA Ada architecture whitepaper, appendix (FP32 accumulate, dense), saved as nvidia/ada-whitepaper.pdf.
Latent attention: each layer keeps one 576-number vector per token (kv_lora_rank 512 plus 64 for position).
Will the weights fit? DeepSeek V3 in each number format
The weights are the model itself: every parameter, stored in some number format. They must sit in GPU memory before anything else, and what is left over holds the KV cache, the notes the model keeps on every conversation. DeepSeek V3 is published in a compact format, so this page uses the published file size.
| Format | Weights | On one RTX 4090 | People at 8,192 tokens on one | Smallest setup that fits | One person, best case |
|---|---|---|---|---|---|
| FP8, as published | 625 GiB | Does not fit | 0 | 32 GPUs (TP 8, PP 4) | not estimated |
Why fewer bits make a model smaller and faster, and what it costs in quality, is taught in the lesson Number formats from 32 bits to 4.
How many people fit: the KV cache at each conversation length
Every token of every conversation keeps one compressed vector in every layer. For DeepSeek V3 that is:
61 layers x 576 numbers x 2 bytes = 70,272 bytes per token
On 32 RTX 4090 GPUs in 4 machines of 8 (tensor parallel 8, pipeline parallel 4) in FP8, the room left after the weights and the working space is shared by everyone using the model at once. Storing the cache in FP8 halves it, so about twice as many people fit. DeepSeek V3 uses latent attention: one compressed 576-number vector per token per layer instead of separate keys and values for every head, a much smaller cache than older designs.
| Tokens per conversation | KV cache per person (BF16) | People at once, BF16 cache | People at once, FP8 cache |
|---|---|---|---|
| 4,096 | 275 MiB | 8 | 16 |
| 8,192 | 549 MiB | 4 | 8 |
| 32,768 | 2.1 GiB | 1 | 2 |
| 131,072 | 8.6 GiB | 0 | 0 |
| 163,840 | 10.7 GiB | 0 | 0 |
How to read these numbers straight from a model's config file, and why long chats slow down, is taught in the lesson The KV cache, free to read.
How fast DeepSeek V3 writes on an RTX 4090
This page does not estimate speed for DeepSeek V3 on an RTX 4090. It needs 32 RTX 4090 GPUs in 4 machines of 8 (tensor parallel 8, pipeline parallel 4), and splitting a model across machines adds a wait between stages that a simple sum cannot show honestly. 8 H200 GPUs hold it inside one machine, and that page has a speed estimate.
The roofline behind this table, worked on paper and then measured on a rented GPU, is taught in the lesson When a GPU waits for memory and when it waits for maths.
What DeepSeek V3 costs per million tokens on a rented RTX 4090
None of the providers whose prices this site reads (RunPod, AWS and Google Cloud, on 13 November 2026) lists an RTX 4090 on demand, so there is no cost here.
Working out the cost per million tokens from a real benchmark, and comparing it with an API, is taught in the lesson Cost per million tokens.
Which GPU to pick for DeepSeek V3 instead
None of the GPUs on this site holds DeepSeek V3 in its full format on one card, so every choice is a split or a smaller format. The table is sorted by cost per token.
| GPU | Answer | People at 8,192 tokens | One person, best case | Per million tokens, busy |
|---|---|---|---|---|
| H200 | Needs 8 GPUs | 91 | 816 tok/s | $4.67 |
| L4 | Needs 40 GPUs | 28 | not estimated | no price |
| A10G | Needs 40 GPUs | 28 | not estimated | no price |
| L40S | Needs 16 GPUs | 1 | not estimated | no price |
| A100 40 GB | Needs 24 GPUs | 49 | not estimated | no price |
| A100 80 GB | Needs 16 GPUs | 121 | not estimated | no price |
| H100 | Needs 16 GPUs | 120 | not estimated | no price |
Learn to work these numbers out yourself
Every sum on this page is taught, then measured on a rented GPU, in the course Hands-On Inference Engineering. The lessons behind this page:
- Sizing GPU memory
- The KV cache (free to read)
- Number formats from 32 bits to 4
- Quantizing the KV cache
- Why newer models need a smaller cache
- Why writing is limited by memory speed
- When a GPU waits for memory and when it waits for maths
- Batching: serving many people at once
- Why split a model across GPUs
- Tensor parallelism
- Pipeline parallelism
- Mixture-of-experts models and expert parallelism
- Cost per million tokens
- Reading a GPU spec sheet
To change the assumptions, use the free GPU memory calculator, the latency estimator and the cost calculator, which run the same maths. To practise the trade-offs as decisions, play the free inference engineering game.
Questions people ask
Can DeepSeek V3 run on an RTX 4090?
Not on one RTX 4090. In FP8, the format it is published in, its weights take 625 GiB, and vLLM uses 22.1 GiB of each card, so it needs 32 RTX 4090 GPUs in 4 machines of 8 (tensor parallel 8, pipeline parallel 4). Split that way, there is room for 4 conversations of 8,192 tokens at once.
How much GPU memory does DeepSeek V3 need?
Its weights take 625 GiB in FP8. On top of that, every token of every conversation keeps 70,272 bytes of KV cache in BF16 (35,136 bytes in FP8), so one person at 8,192 tokens adds 549 MiB. Allow about 2 GiB more per GPU for working space.
How many people can use DeepSeek V3 at once on an RTX 4090?
With 32 RTX 4090 GPUs in 4 machines of 8 (tensor parallel 8, pipeline parallel 4) in FP8, the KV cache has room for 4 conversations of 8,192 tokens at once, or 8 if you store the cache in FP8 (--kv-cache-dtype fp8). Shorter conversations fit more people, longer ones fewer.
More: every GPU for DeepSeek V3, every model on an RTX 4090, or the full table of models and GPUs. Model sizes come from each model's config file on Hugging Face, GPU numbers from NVIDIA's datasheets (dense, without sparsity) and prices from RunPod, AWS and Google Cloud, all read on 13 November 2026.