Token Bench Log

RTX 3090 vs 4090 vs 5090 for local LLMs

On CUDA, the RTX 5090 is the fastest of the three at 290.02 tokens/s, 56 % ahead of the RTX 4090 and 83 % ahead of the RTX 3090. The rows on Vulkan, no flash attention, give the same order. The makers rate the three at 350, 450, 575 W.

158.16 to 290.02 tokens/s

CUDA, shared llama.cpp test, one poster for each row

Cited measurement

350 to 575 W

the makers’ ratings, each in its own label

Maker’s rating

134 to 453 W

estimated while generating

Estimate

Speed against watts

RTX 3090, RTX 4090 and RTX 5090: speed and wattsRTX 3090: 164.05 tokens/s (Vulkan); estimate 134 to 276 W; rated 350 W. RTX 4090: 187.97 tokens/s (Vulkan); estimate 173 to 355 W; rated 450 W. RTX 5090: 263.63 tokens/s (Vulkan); estimate 221 to 453 W; rated 575 W.Tokens/s, VulkanWattsestimaterating0200400600 W0300RTX 3090134 to 276350164.05RTX 4090173 to 355450187.97RTX 5090221 to 453575263.63
Speed: the shared llama.cpp test (Llama 2 7B Q4_0, tg128; Vulkan rows: no flash attention), one row for each card, so a small gap means little. Watts: the estimated range and the maker’s rating. All speeds on Vulkan.

Cost for a million tokens

per kWh

The three cards at an example 0.3 per kWh; type your price.

The three cards: Cost per hour generating at 0.3 per kWh
RTX 3090: 0.0402 to 0.0828; RTX 4090: 0.0519 to 0.106; RTX 5090: 0.0663 to 0.13600.1000.200RTX 30900.0402 to 0.0828RTX 40900.0519 to 0.106RTX 50900.0663 to 0.136
The three cards: Cost per million tokens at 0.3 per kWh
RTX 3090 (CUDA): 0.0706 to 0.145; RTX 4090 (CUDA): 0.0774 to 0.159; RTX 5090 (CUDA): 0.0635 to 0.13000.1000.200RTX 3090CUDA0.0706 to 0.145RTX 4090CUDA0.0774 to 0.159RTX 5090CUDA0.0635 to 0.130

Cost uses the estimated watts and the CUDA speed above; the PC, idle hours and fixed charges are left out. Calculator.

The figures

The three cards, one row each: speed on two backends, watts and energy for each token
CardSpeed on CUDASpeed on VulkanMaker’s ratingEstimated GPU watts
RTX 309024 GB video memory158.16 tokens/sCUDA, llama.cpp discussion 15013, @m18coppolaCited measurement164.05 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 3090”Cited measurement350 WGraphics Card Power, maker’s pageMaker’s rating134 to 276 Wabout 0.85 to 1.7 joules for each token on CUDAEstimate
RTX 409024 GB video memory186.21 tokens/sCUDA, llama.cpp discussion 15013, @lhlCited measurement187.97 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 4090”Cited measurement450 WTotal Graphics Power, maker’s pageMaker’s rating173 to 355 Wabout 0.93 to 1.9 joules for each token on CUDAEstimate
RTX 509032 GB video memory290.02 tokens/sCUDA, llama.cpp discussion 15013, @totaldevCited measurement263.63 tokens/sVulkan, llama.cpp discussion 10879 (Vulkan scoreboard), row “Nvidia RTX 5090”Cited measurement575 WTotal Graphics Power, maker’s pageMaker’s rating221 to 453 Wabout 0.76 to 1.6 joules for each token on CUDAEstimate

Watts: 38 to 79 % of each rating, how the band is set. The energy for each token is the estimated watts divided by the speed, so it is a range as well.

What 32 GB adds to 24 GB

By the same sum as the 24 GB and 32 GB pages, a 24 GB card holds Q4_0 models up to about 35 to 40 B parameters and a 32 GB card about 49 to 54 B. Estimate

The sum is the shared test file’s size for each parameter plus 1 to 4 GB for the context. How much VRAM for each model size.

A server is a different test

RTX 5090 also has two rows from a study of a vLLM server answering many requests at once: 309 W (API-c128) and 353 W (RAG-8k), with Qwen3-8B. Cited measurement

That is a batched server (Knoop and Holtmann, arXiv 2601.09527 (CC BY 4.0)), not one person typing. It is shown apart and never mixed with the single-user range above.

What this page cannot say

  • What any of the three costs to buy, or whether one is in stock. The site holds no prices.
  • Speed for any model other than the shared Llama 2 7B test.
  • The effect of a longer context, or of two cards in one PC.
  • Which card is better for you. Each speed is one poster’s row, so a gap of a few percent is not a result.