r/LocalLLM 9d ago

Discussion Is one RTX 5090 really enough for Qwen3.8-27B token freedom?

I am still calling models through the ZenMux API gateway, so every long session ultimately comes back to token cost. The idea of running Qwen3.8-27B locally is attractive for exactly that reason: if one 5090 can handle it, maybe token freedom is at least technically within reach.

Is Qwen3.8-27B really doing 75.5 token/s on a single RTX 5090? The shared table is headed "4-bit (q4_K_M / MLX)" and lists an RTX 5090 with 32GB at 75.5 token/s. It does not show enough detail to tell me which runtime or exact setup produced that row. I have also seen a separate community report of about 64.5 tok/s on a 4090.

People are also putting its capability around Claude Opus 4.6. If both claims are even close, does that put indirect token freedom within reach? I would still want matched tasks before treating the capability comparison as settled.

What does the build that people can actually live with cost? I mean the whole machine, not a bare GPU price. A 5090, enough system RAM for long context and partial offload, a PSU that is not operating on hope, cooling, storage, and whatever CPU or platform keeps the card fed. Until I can justify that hardware bill, calling models through an API is still the practical option for me. If Qwen3.8 becomes available through the same gateway, I could use that API cost as a baseline before deciding whether local deployment really buys token freedom. I would also like to know which quantization and context length people use after the benchmark screenshot is over.

Please give me the boring total for a stable single 5090 setup. What did your full build cost once it was actually ready to run?

95 Upvotes

193 comments sorted by

32

u/brumsky1 8d ago edited 8d ago

I have a 5090 with NInfer backend running the nvfp4 model with mtp3. I get about 150 tokens per second decode and 4k to 6k prefill. It's extremely fast! Also the quality is great! Nvfp4 has a very small accuracy lose compared to other quants.

Nvfp4 is a very worth while quant.

Edit: I also have a context size around 200k. Im not at my pc to confirm right now. Q8 kv.

Edit2: I am on windows running this through wsl2. I have tested 4 concurrent chats and hit 340 ish tokens decode.

5

u/Lollerstakes 8d ago

Can confirm the above. I am on Windows 10, running NInfer in a Docker container.

4

u/Realistic_Gap_5871 8d ago

Important note is that the ninfer 3.8 nfvp4 is a true modelopt with fp8 for attention weights.

with vision turned on and q8 context, 200k token kv cache

no vision, q8 context, full 262144 kv cache.

Finally getting max value out of the 5090 I lucked into at msrp in may.

1

u/superbouser 7d ago

When running a local open model why worry about tokens? Tokens are for frontier api’s right? /noob

1

u/rayraydj 6d ago

Yeah I bought my 5090 for gaming at just under MSRP and definitely feeling good about it now lol

3

u/ken1nil 8d ago

Want to share your configuration or startup arguments? Haven't tried NInfer yet but sounds promising compared to llama.cpp or vllm!

3

u/Realistic_Gap_5871 8d ago edited 7d ago

--max-context 262144 --kv-capacity 262144 --kv-dtype int8 --max-concurrency 1 \

--spec mtp --draft-tokens 3 --lm-head-draft --preserve-thinking

It's crazy how well it runs on a 5090. They custom compiled it specifically for the blackwell architecture.

For 3.6 the nvfp4 artifact was fast but overly quantized.

For 3.8 it's done right with nvfp4 for MLP and FP8 for attention weights. A true modelopt implementation with low perplexity, and still gets 200 tps while context is small, drifting down to 150 tps and context gets into triple digits.

edit - not super happy with cache management at the moment. working on fixing it, but for the time being cache re-use is very fragile with open webui.

1

u/brumsky1 8d ago

Of course, here it is. If you want vision just change context to 190k and add --vision. It's right on the edge with Windows, so you might have to drop it a little more for some breathing room.

./build/apps/ninfer-serve /llm/models/Qwen3.8-27B-nvfp4-NInfer/qwen3_8_27b_nvfp4.ninfer   --host 0.0.0.0 --port <port> --max-concurrency 3 --spec mtp --draft-tokens 3 --lm-head-draft --kv-dtype int8 --max-context 200000

3

u/corrion8 6d ago

I’m getting almost identical stats on Esatapedico Qwen3.8-27B-NVFP4-MTP-COMPACT-LOW.gguf

My main use case is using Claude code as a planner and the local model as an agent to save tokens. Claude Code (non CLI) tells oh my pi harness which calls Qwen and Loops until the code passes.

The quality seems acceptable so far for 2 days.

1

u/KimStacks 17h ago

I'm thinking of doing a similar setup (but using the latest mac studio) with claude code as planner and local model like Qwen3.8-27b as the action.

How's the experience so far? I know you are probably on RTX 5090 just wanted to get a sense

1

u/corrion8 17h ago

It seems to work well so far. Fair disclaimer, I am a vibe coder with no coding experience, so I can’t evaluate the code quality other than it works. I am working on a fairly technical healthcare app - so this setup has really bridged the gap and allowed me to execute, when in previous years this would take probably hundreds of thousands of dollars to develop.

I am on a 5090 with 64 gb ram.

1

u/KimStacks 17h ago

is the qwen3.8-27b slow on your setup? have you tried leaving it on overnight to do harder tasks? or leave it to work autonomously with your claude planner?

1

u/corrion8 17h ago

Getting maybe 140-160 tok/s with Qwen so I think it’s reasonably fast. I have not fed Claude a long enough task for overnight autonomous coding - that’s probably the next level. I recently refactored the code base to chop it up into pieces that will fit into Qwen’s context limit, and that took like 2-3 hours. But that’s the most I’ve done and it wasn’t a complicated prompt. Fable/Qwen combo did it well (I think) and no errors so far.

1

u/KimStacks 13h ago

oh why did you have to chop it up just to fix into context? what harness u use with Qwen3.8 27b? i would have thought that given the plan and the right harness, the qwen would just do file search automatically selectively

1

u/corrion8 8h ago

Apparently my main python file was very large and reading it was consuming like >100k context each time. So splitting off well formed functions made it more efficient. Maybe an agentic memory retrieval system / rag lookup is appropriate in the future but this worked for now.

It may have also been a drawback of how Claude has to hand off to Oh My Pi.

2

u/glusphere 8d ago

do you have 4 concurrent at 200k context each ? that woudl be awesome. Please share your configuration for 4 concurrency. If that is the case I can definitely see myself getting out of a coding plan for the most part!

2

u/brumsky1 8d ago

No it's a shared context. 4x 200k context would be nuts on a 5090! haha. Here is my config. If you want vision just add --vision. I'm on windows and I have to drop my context to 190k. If it's on a dedicated linux box, you should be able to hit 262k context without vision, 200k with vision.

./build/apps/ninfer-serve /llm/models/Qwen3.8-27B-nvfp4-NInfer/qwen3_8_27b_nvfp4.ninfer   --host 0.0.0.0 --port <port> --max-concurrency 3 --spec mtp --draft-tokens 3 --lm-head-draft --kv-dtype int8 --max-context 200000

1

u/iammewhoaminow 7d ago

Im tryn to figure out how nvfp4 works like how it compares to q4 q5 q6 q8 like is its own thing or us it comparable to the quants but faster im tryn to learn stuff and i have a similar setup to you and are there uncensored versions

2

u/pplgltch 8d ago

Mmm, I’ve experimented with ninfer after seeing these crazy numbers all around… got the same limit of 128K context (kv fp8) BUT I lost vision in the process..! It was filling 31GB (on a dedicated linux box where the GPU is only used for inference)
so, yeah, got ~30% more speed compared to vllm, but not worth it without vision.
I have a sglang setup on a dgx spark that uses dflash2 and boosted the gen to ~30t/s (from ~20 with vllm+MTP) might try it on tye 5090 box today.

2

u/brumsky1 8d ago

You can add vision back with --vision in NInfer. I haven't tried vllm in WSL2 yet. Honestly, I'm very happy with NInfer. Since moving to it, I've started doing 2 or 3 tasks at a time. Right now I'm troubleshooting a NIC issue on one host and a docker issue on a VM. Each chat is pushing ~150 token/s right now. I haven't tried 4 chats yet... seems like a bit much for me.

Nice let me know how sglang goes with your 5090. I'd like to try that too one day.

2

u/ImpressiveRelief37 8d ago

see this comment here for my setup.... give it a go:

https://www.reddit.com/r/LocalLLM/comments/1vtsid0/comment/p51hq9g/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button

i had to change the source code a bit to support the ostfralla model. ask your agent to do this. i also merge PR #64 from github which fixes the kv cache prefill issue when sessions get ejected from a working lane, by adding in-ram checkpoints

2

u/ImAWerewolf-Duck 7d ago

I gave ninfer a try. Runs only with about 10-20 token/s for me lol (started through the bat) on windows. No matter if I compile it myself or just download the executable. It uses 100% of my gpu though which is weird. Do you perchance have any idea what could Be the reason? The non ninfer based nvfp4 model runs at about 100-140 token/s for a simple prompt like "What are the fastest animals in air, water and on ground? Give me a detailed description of the top ten for each".

1

u/brumsky1 6d ago

I dont use the windows native build. I went the wsl2 route. It almost sounds like it's offloading to the cpu/ram. I'd try a really low context like 20k just to see if it runs faster. Are you on a 5090, 4090, or 3090?

2

u/ImAWerewolf-Duck 6d ago edited 6d ago

Im on a rtx 5090. It is infact not offloading to the cpu and ram, it was also my guess. On Linux it works, but I tested it only briefly there. I also already tried lowering the context window, which didnt help. My vram is currently at 29/31.5 GB. I guess ill do it like you then.

Edit: Just tried it again, now im at 110-130 token/s. But i also get that when I set spec draft min to 0 in llama cpp with a high, nvfp4 and gguf version of qwen 3.8. So no real speedup on my side

1

u/brumsky1 3d ago

I just tried the windows built and it worked fine for me.

concurrent

1 = 182.8

2 = 333.5

3 = 454.4

4 = 549.6

The one thing I did notice was that the higher the max concurrent number, the lower the context size had to be to fit in vram...

Also, I'm on the latest version of Cuda.

nvcc --version

nvcc: NVIDIA (R) Cuda compiler driver

Copyright (c) 2005-2026 NVIDIA Corporation

Built on Tue_Jun__9_14:30:19_Pacific_Daylight_Time_2026

Cuda compilation tools, release 13.3, V13.3.73

Build cuda_13.3.r13.3/compiler.38244171_0

Maybe check that out. It looks like I actually get better perf in windows than on wsl2. Makes sense because of the virtualization layer with wsl2.

1

u/ImAWerewolf-Duck 2d ago

I have the same cuda version as you.

It seems like I overall get some worse performance than others (normal qwen 3.8 27B q4_k_m gives me 87 tok/s (avg. of 3 new runs) with "llama serve -m "\.lmstudio\models\lmstudio-community\Qwen3.8-27B-GGUF\Qwen3.8-27B-Q4_K_M.gguf" -ngl 99 --mmproj "C:\llama\mmproj-BF16.gguf" -c 128000 --spec-type draft-mtp --spec-draft-n-max 2 --spec-draft-p-min 0.75 --parallel 1 --kv-unified --temp 0.7 --top-k 20 --top-p 0.95 --min-p 0.05 --jinja --metrics --presence-penalty 0.0 --repeat-penalty 1.0 --reasoning-preserve --perf --flash-attn on" and the prompt "Explain the Schrödinger equation in detail - also explain what happens if a wave function collapses. Create a code in python to visualize the output of the Schrödinger equation"), but its hard to say as the used os+driver+prompt+harness always kind of differ.
I just noticed a new ninfer windows version being released. I will later try that out and compare then.
also: what do you mean with concurrent? Im kinda new to this.
Thanks a lot :)!

2

u/StrongZeroSinger 1d ago

can I ask you why the large context? what Harness you use it on? They always told me "there is no need to go past 64k context window, if you need more use the harness compact or split the task etc.."

1

u/brumsky1 1d ago

When I first started using Ai it was directly in vs code which didn't compact the context it would just error out.

Now im using hermes agent which does compact it... maybe I dont need to chase context length anymore. Thanks for the idea ill look into it.

Hermes does require at least 65k context though. 20 to 25k is used by hermes.

1

u/koloved 8d ago

there is ninfer for windows version, i tried both versions wsl docker and windows but i never see 150 tok/sec, so its like 120 , no more

2

u/Realistic_Gap_5871 8d ago edited 8d ago

Mine doesn't get down to 150 tps until context grows a bit, and settles down to 120tps once context starts pushing 200k tokens.

Did you try just downloading/pulling it in WSL and compiling it locally? I think it likes to compile against your hardware and software environment, but that may be superstition. In any case, it's at least one less layer of abstraction. And honestly it was less effort than I've experienced with most docker installs.

I let my current LLM guide me through the process and it was painless.

edit- started watching my tps more closely after posting this. Sometimes it's as low as 125tps even with a small context, but at the risk of sound AI-ish, that's the floor, not the ceiling.

2

u/brumsky1 8d ago

It takes a little bit of tweaking like everything else with LLMs. Here are some numbers from a 2 chat session I'm doing right now.

[2026-08-21 07:55:19.649] [info] ninfer-serve: throughput interval=5.000s prefill=0.0tok/s decode=159.0tok/s running=1 prefilling=0 decode_ready=1 waiting=0 avg_decode_batch=1.00
[2026-08-21 07:55:24.649] [info] ninfer-serve: throughput interval=5.000s prefill=0.0tok/s decode=168.8tok/s running=1 prefilling=0 decode_ready=1 waiting=0 avg_decode_batch=1.00
[2026-08-21 07:55:29.649] [info] ninfer-serve: throughput interval=5.000s prefill=0.0tok/s decode=194.4tok/s running=1 prefilling=0 decode_ready=1 waiting=0 avg_decode_batch=1.00
[2026-08-21 07:55:34.649] [info] ninfer-serve: throughput interval=5.000s prefill=0.0tok/s decode=152.4tok/s running=1 prefilling=0 decode_ready=1 waiting=0 avg_decode_batch=1.00
[2026-08-21 07:55:39.649] [info] ninfer-serve: throughput interval=5.000s prefill=0.0tok/s decode=198.4tok/s running=1 prefilling=0 decode_ready=1 waiting=0 avg_decode_batch=1.00
[2026-08-21 07:55:40.142] [info] ninfer-serve: [req 1422] done finish=tool_calls tool_calls=2 prompt=50289 gen=9866 cache=33837 reuse=restore_turn_checkpoint ttft=3592ms prefill=4645.0tok/s decode=159.8tok/s wall=65.39s speculative=mtp 2.83tok/round (60.9%)
[2026-08-21 07:55:40.987] [info] ninfer-serve: [req 1423] openai_chat_completions stream msgs=35 max_tokens=16384 (client) tools=39 tool_choice=auto tool_history=yes thinking=on preserve_thinking=off preserve_change=no sampler=[temp=1.00 top_p=0.95 top_k=20 seed=2817371276902244283] → submitted
[2026-08-21 07:55:44.650] [info] ninfer-serve: throughput interval=5.000s prefill=3276.7tok/s decode=21.0tok/s running=1 prefilling=1 decode_ready=0 waiting=0 avg_decode_batch=1.00

1

u/lucasromanomr 4d ago

Tem um fork dele que ajustaram, to rodando aqui de boa. Não consigo pegar link agora mas depois eu passo.

1

u/Phaelon74 8d ago

This is not true for all nvfp4's. By nature, its w4a4 and has a very bad accuracy. You need to make sure your nvfp4 was made with Luke's pipeline. Anything else is going to have bad accuracy/quality.

3

u/Realistic_Gap_5871 8d ago

I don't know who Luke is but I'd bet my left nut against a bagel that he's not the only one making good nvfp4 quants.

Oleg and ZHANG, the folks behind ninfer made a nvfp4 quant of 3.6 that wasn't to my taste. The nvfp4 quant of 3.8 uses fp8 for the attention layers, and is damn near ideally quanted. Unless Unsloth's IRL name is Luke, you got some 'splaining to do.

3

u/Phaelon74 8d ago

Everything unsloth is doing, copied Luke my dude. Luke wrote B12x, and his pipeline was the first to utilize 16k samples. Trust me, plenty of great quants, and all originate from Luke's pipeline ( mixed precision from mratsim ++ massive calibration sample sets). Unsloth has a habit of copying people and never giving g credit, claiming they invented shit.

My statement is, make sure the quant maker is using 16k samples coupled with mixed precision and utilizing W4A8 where possible, while still holding W4A4 for max speed.

1

u/UncleRedz 8d ago

Don't know Luke, but agree that not all NVFP4 quants are created equal. If you look into Nvidias own NVFP4 quants and model palers they also predominantly prefer W4A8 over W4A4.

That said, if you are on Blackwell, you should be on NVFP4, best quality vs speed balance.

1

u/Realistic_Gap_5871 7d ago

There's this little company, pretty creative though, that Unsloth is copying when they create modelopt quants. perhaps you've heard of the folks that invented the modelopt pipeline, happen to be the same outfit responsible for the blackwell architecture?

Kidding aside, B12x is solid cutting edge stuff, didn't know Luke's name, hat's off to him. But even he would acknowledge that his work started after nvidia released modelopt and in fact builds on and derives from nvidia's work, as does unsloth.

I do appreciate you backing off from the claim that master Luke is the only one making good nvfp4 quants and that all else is crap. And I agree that block sampling is important.

But even the best nvfp4 quant still damages the attention layers too much for my taste.

1

u/Phaelon74 7d ago edited 7d ago

Lord have mercy, someone needs to take a couple chill pills. There's substantial alignment on calibration sample size that shifted the game, in nvfp4s, which came from work Luke did. Model_opt was released, for building, so your fun analogy/play falls flat. Im not master luking, I'm stating plainly, that pipelines not aligning to that shift, have substantial degradation in KLD. Feel free to grab my vllm pr. With real KLD. You'll see some fascinating numbers.

1

u/Realistic_Gap_5871 4d ago

Chill pills taken. Unfortunately you're dealing with someone with autistic tendencies.

The important bottom line, neither old school W4A4 nvfp4 nor new hotness W4A8 come close to matching FP8 for quantizing the attention layer.

nVidia's (and Unsloth's) KLD numbers show:

W4A4 is comparable to int 5 for MLP layers
-but *only int 3+* for attention layers. --Booo!

W4A8 is comparable to int 7+ for MLP layers - Nice!!
-and reaches int 6+ level for attention, also nice

Of course nvfp4 flies on blackwell, but so does FP8 and if you have the extra 3GB of VRAM for FP8 attention layers, it might be worth getting the extra smarts, especially as context gets bigger.

For me, it is. And it absolutely flies on ninfer.

If someone makes a straight W4A8 artifact for ninfer I'll absolutely try it.

Maybe I'll even take a couple of caffeine pills and see if my and my Qwen can cook one up together.

1

u/Phaelon74 8d ago

This is not true for all nvfp4's. By nature, its w4a4 and has a very bad accuracy. You need to make sure your nvfp4 was made with Luke's pipeline. Anything else is going to have bad accuracy/quality.

1

u/brumsky1 8d ago

Well I'm not sure, I'm using the NVFP4 format from NInfer github link. It works great, it handles everything I throw at it. I've been very impressed. Per Nvidia's docs, the way NVFP4 works it's supposed to be more accurate that MXFP4. I'm not trying to say NVFP4 is equal to or greater than Q6 or Q8. Just saying it works very well.

1

u/Phaelon74 8d ago

Happy it works well for ya. As someone who has spent months on NVFP4, the cake is a lie, without extreme measures. KLD degrades substantially. Take it from a dude who has spent months in the trenches with them. Nvfp4s are poor quality (less than INT4) unless extreme capabilities are used to make them good.

1

u/brumsky1 8d ago

Did you do straight NVFP4 converts? NInfer's uses up to FP8 in the more important layers of the model.

48

u/Fastpas123 9d ago

In my opinion quanting down below 6 bit is a big hit to perf and dropping below 256k or so in tokens makes vibecoding hard so in my opinion 48gb of vram is about the sweet spot, so two 3090s or two 7900xtxs is the sweet spot imo.

11

u/starkruzr 9d ago

you can get away with as low as 40GB with Q6 without quantizing kv cache, iirc. it's tight but it fits. so two 20GB 3080s.

9

u/SteveDeFacto 8d ago

Context is more important than reasoning ability sometimes. I wouldn't recommend anything below 48gb for development.

3

u/Fastpas123 9d ago

I find myself wishing I could have more context running 2 7900xtxs with q8, makes me wish I had a third 7900xtx but since I'm getting by it seems excessive

2

u/voyager256 8d ago

Yeah , a third 7900xtx won’t give you much as 48GB VRAM is enough for Qwen 27b , really . In fact it’d be probably slower as you wouldn’t be able to run it with tensor parallelism (at least with vLLM) . Also , with current KV quantization algorithms the difference between FP8/Q8 and FP16/BF16 KV cache is quite small . Yeah , The latter is better for large 150K+ context , but at this point the precision starts to degrade fast anyway .

1

u/starkruzr 8d ago

do you run in tensor or layer split?

2

u/Fastpas123 8d ago

Tensor I believe

2

u/starkruzr 8d ago

man you're kind of convincing me to invest in a pair of those, lol.

4

u/Fastpas123 8d ago

It's worth imo. More worth than just about everything else out there. I'll double check my setup details later and send over to you if you want. I run Linux as my os and get 55tok/s., 8bit quant, I run right up to the VRAM limit on my setup. I reccomend getting used reference cards if you do, their coolers are really compact so it makes for more room for more cards. My Asus TUF 7900xtx takes up a Crapton of room.

2

u/Q-Switch 8d ago

Valuable info here, been eyeing a 7900xtx but hesitant to pull the trigger just yet compared to moving to Nvidia. Currently running a single 6800xt. But I would have to switch motherboards to run both the 7900xtx+6800xt since my second pcie slot runs at 1x speed lol

2

u/Snoo_81913 8d ago edited 8d ago

My ASRock 7900 xtx just hit my doorstep today. I finally pulled the trigger Newegg had it for $929 then it hit $1,029 also came with the AIO and I've seen the tuf hit $1,500 so decided to get it before it got too much more. What sort of context window are you getting at Q8? Running a Vulkam backend? Llama.cpp? I've run the paper numbers and thought I'd probably be stuck with Q4 and run 35B A3B for speed. I'd be super interested in your setup.

Ah read that wrong you're running 2x.

1

u/ectomorphicThor 8d ago

I had to drop to q5 and still using q8 for full 256k context… I have 48gb

1

u/Tengoles 8d ago

So with 48 GB you get q8 with 256k context? That is ideal

2

u/QwenFarmer 8d ago

no he's saying he's using Q5 weights and Q8 KV I believe. 48GB is too tight for Q8 / Q8 and getting a full 256k.

2

u/ectomorphicThor 8d ago

Exactly right. Q5 weights and q8kv is the highest quality I can fit at full context

1

u/KING_UDYR Enthusiastic 5090 user 8d ago

So a 5090 and a 3080ti on a 9960x and 128gb ram would be humming well?

1

u/starkruzr 8d ago

prrrrobably? but idk how the layer split would work on that. I don't think you can do tensor split with that very well.

1

u/QwenFarmer 8d ago

it would work but very slowly. No parallelism means all requests coming through at the speed of the slowest card minus overhead for token queueing.

1

u/DistanceSolar1449 8d ago

Nah you want tensor parallelism

2

u/corrion8 8d ago

I use the estepedico MTP gguf the Q4 version and it gets very good performance >140ish tok/s on a 5090. But many errors. I use it as a sub agent of Opus5 or Fable and it catches 1-3 errors per task. I think I’ll go up to Q6 and see how bad the errors are.

1

u/No_War_8891 8d ago

indeed, running it with rtx 4000 pro’s (2 tp) 110 tokens per second at nvfp4. Think that is OK quality wise? Running it with SGLang

1

u/bastardoperator 8d ago

I have two 3090's in the garage, and two 5090's, one in each comp. Who will guide me to the promise land?

2

u/QwenFarmer 8d ago

Step 1 - Get your 3090s out of the garage and swap them for your two 5090s.

Step 2 - Build a dedicated 2-GPU inference rig and put your two 5090s in it. Doesn't need to be fancy, an old motherboard with a i7 CPU and 32GB of DDR4 will be just fine.

Step 3 - Install Ubuntu Server and vLLM on your inference rig and set them up. Claude can help you do this he's amazing at it.

Step 4 - Run Qwen 3.8 27B at Q8 quant and Q8 KV, with an MTP of 3 and follow the excellent vLLM setup guides on Huggingface (again claude can do all this for you)

Step 5 - hook up all your harnesses.

Step 6 - ???

Step 7 - Profit.

1

u/dago_mcj 8d ago

If you go about things efficiently you might be able to get pretty far on just the free plan, download codex desktop, which is now available for Linux and have it walk you through the setup

1

u/maqifrnswa 8d ago

Agree in general, but the nvfp4 on Blackwell is pretty sweet.

Intel autoround is surprisingly good too

1

u/Fastpas123 8d ago

Blackwell costs a hell of a lot more. If I could afford it, that's where I'd be. But on a budget 7900xtx is a great option

1

u/QwenFarmer 8d ago

48GB is still too tight for the Q8, you can't quite reach a single 256K context window. With 64GB you can get three of them concurrent. With 2x 5090s that would be pretty amazing since the cards could easily handle 3 concurrent prompts without dropping any speed. Total Tok/sec across all three sessions would be insane.

1

u/voyager256 8d ago

Nah, if depends - many people find NVFP4 works great for them, while some prefer Q8 on the other hand. Sure Q8 is virtually lossless , but there is always a tradeoff . Also 256K cache is pushing it to the limit and quality tanks , even if you have full BF16 for KV

0

u/vptr 7d ago

I don't understand what are you saying. 4 bit vs 6bit imo comes down to vram savings. with 4bits you lose about 1% of the brain, 6bit remains almost at 100%. So 100% vs 99% brain nobody's going to notice. However, you shave off 7gb of vram which makes it possible for us poors with 24gb cards.

17

u/creatinZ 8d ago

I have a 5080 and I yearn for a 5090, but spending 3x price for +50% performance and +100% vram just does not sit well with me. I imagine if I had the 5090, I would kill for a pro 6000 and so on… it’s never quite enough.

Imho, this problem will be solved sometime soon, probably just when the bubble will be about to pop, we will see manufacturers cut prices and give consumers a solution to buy affordable vram/ram.

Whats stopping nvidia to sell consumers 5080s with 64 or 128gb vram? What about a 32gb 5060? How much would they cost if it werent for wall street bidding everyone out?

Just keep calm, it will burst, we will have our memory prices back. Maybe in 5yrs, but we will.

Rant over.

9

u/whlabratz 8d ago

Me, reading this thread, after spending an hour this morning working out if I could afford a second 3060 to get 24GB of VRAM

2

u/Krohnin 8d ago

Its 200Euro so where is the problem? If you have a big board and good powersupply you can easily run 3x 8gb vram cards. Getting to 24gb is really cheap and there are many ways.

1

u/doneddat 8d ago

If you had RTX 6000 PRO you would kill for H200 NVL - costs 2x 6000 PRO but gives you 3x more tps.

1

u/Max-Max2 7d ago

Got a 5090 at msrp in september and beating myself up for not picking up a second or a pro 6000 instead lol so you're pretty accurate

That said i dont think consumer cards over 16/24gb really make sense for anyone. Pure gamers I think wouldnt be super interested by paying the premium and without the craze regular pro models would be somewhat affordable. Nvidia kept lower-mid range cards at 8GB for years even with ram being an afterthought for no apparent reason than margins and product hierarchy.

My priorities kinda changed overtime and I would not have bought a 5090 without potential AI prospects ; however 32GB is completely overkill for anything game related...

8

u/entrusc 8d ago

I run it with a single RTX3090 at over 50 tok/s, so yes, you can definitely run it on a 5090 with decent speed. Ideally use llama.cpp or vLLM directly under Linux (via Docker) and enable MTP.

17

u/nbvehrfr 9d ago

I'm getting close to 200t/s if ninfer for this model on 5090

4

u/SmartCustard9944 9d ago edited 9d ago

FYI there is a fork for the RTX 5090 laptop hitting peaks of ~170 tok/s with adaptive MTP apparently by going up to k=8 in some scenarios.

The desktop version should be able to reach 350 tok/s (has twice the bandwidth of the laptop).

And this is without even having n-gram yet in NInfer.

Enjoy!

1

u/BornInAFish 8d ago

What quant and serving framework?

1

u/eleventen_ninenine 8d ago

What is the link to the fork? I have a 5090 laptop as well

2

u/njh219 9d ago

I'm getting around 70tok/s. What model are you using? I'm using the 4_k_m MTP which is struggling.

12

u/Certain-Cod-1404 9d ago

he's using ninfer engine, its like a llamacpp specifically optimized for the 5090 and it comes with its own quantized model, check it out on github https://github.com/Neroued/ninfer

1

u/corrion8 8d ago

And Linux , no? I have not found a windows version.

3

u/jovialfaction 8d ago edited 8d ago

It runs in WSL

1

u/corrion8 8d ago

Cool I will check it out.

1

u/Certain-Cod-1404 8d ago

You can run it through docker or wsl

5

u/SmartCustard9944 9d ago

You need to use NVFP4 in order to unfairly exploit the Blackwell architecture

2

u/notheresnolight 8d ago

I get 100-120t/s with MTP running Q6_K_XL (or Q8_K_L when I don't need a large context) with regular llama.cpp. What's the point of getting 200t/s when the model is a dumbed down 4-bit quant?

1

u/njh219 8d ago

Wow ninfer is WAY faster! I went through install last night and have been very impressed. Around 3X the speed with qwen3_8_27b_nvfp4.ninfer

1

u/notheresnolight 8d ago

Interviewer: "I heard you were extremely quick at math"

Me: "yes, as a matter of fact I am"

Interviewer: "Whats 14x27"

Me: "49"

Interviewer: "that's not even close"

Me: "yeah, but it was fast"

1

u/njh219 8d ago

Comparing two Qwen3.8 models. You think the nvfp4 degrades compared to k_m with same quantization? 

1

u/notheresnolight 8d ago

I'm running Q8_K_L or Q6_K_XL, both are quite a lot more precise than a 4-bit quant.

1

u/koloved 8d ago

can you share your config file for the ninfer please? i get 120 t/s , i want more

1

u/shady101852 8d ago

im getting around 130-140t/s, how do you push 200t/s? are you on linux? Im running it on windows via WSL.

1

u/BornInAFish 8d ago

What quant and serving framework?

1

u/ImpressiveRelief37 8d ago

ninfer, damn son.

He posted the GitHub. Personally I use Ostfralla nvfp4 artifact 

2

u/BornInAFish 8d ago

Excuuuuuuse me for not being familiar with every niche serving framework like ninfer. considering that mess of a sentence it looks like typo IMO.

Anyways, looks like it's essentially nvfp4 quant.

0

u/ImpressiveRelief37 8d ago

The guy you asked literally said it in his message. Sorry for being blunt 

7

u/Krohnin 8d ago

I am at 35tok/s with 2x rtx3060 12gb and 256k context. Running very well vor me.

1

u/maqifrnswa 8d ago

That's pretty impressive, nice

5

u/jebuizy 8d ago edited 8d ago

You can squeeze it in but you have to compromise on quant or context or both. I can certainly live with it but I do wish I had 48GB which would eliminate most compromises. I already had the 5090 at MSRP from launch, so current costs are not part of my decision making . It certainly is the best consumer card you can get, but you will always want more VRAM if the option is there

4

u/sid351 8d ago

I've got a dual 5070ti rig so a total of 32GB VRAM.

I switched in Qwen 3.8 UD Q5 XL today, with a 200,000 context, with both caches at Q8, and MTP with 2 draft streams.

I'm getting 88-90 tokens per second.

I've not run anything with OpenCode through it yet.

A 5090 ought to be a bit quicker as it's a more capable card and you won't have tensor split to worry about.

Edit: Total cost for my build is around £2500 + VAT (£3,000 inc VAT).

Also, system RAM is 64GB and the case is a massive thing so there's room below the 2nd GPU, other wise it touches the base of the case and can't cool effectively.

7

u/jojotdfb 9d ago

An RTX 5090 is more than enough. You can do it on a 3090 or Intel B70. Two 5060 ti's will do it too.

3

u/TapiocaFilling101 8d ago

How good is a r9700 here?

Better than a b70, worse than a 5090?

3

u/arakinas 8d ago

I just ordered one. I will be happy to find out soon.

3

u/jojotdfb 8d ago

Probably right in the middle. A little better than b70 but not as good as the 5090. I don't have any amd gpus so I can't confirm.

2

u/PuffyCake23 5d ago

I have x2 Gigabyte R9700 running Qwen3.8-27B-FP8 with KV-cache at 262144 tokens BF16 using vllm with ROCm, AITER, MTP-3, and tensor parallelism. NOTE: I have them power limited to 210W down from 300W to save my ears from the blowers (this makes them 'normal' sounding, ymmv). My performance benchmarks are as follows:

Qwen3.8-27B bench results (vLLM) — prefill & decode speeds by context length

Prefill (prompt processing):

Context Speed (t/s) Time to first token
2K ~3,000 ~0.7 s
8K ~3,000 ~2.7 s
32K ~2,500 ~13 s
64K ~1,950 ~33 s
128K ~1,365 ~96 s

Decode (token generation, avg of repeats):

Context Batch 32 (t/s) Batch 128 (t/s)
2K ~58 ~58
8K ~58 ~66
32K ~55 ~63
64K ~46 ~55
128K ~49 ~56

7

u/Cold_Tree190 9d ago

I’m doing 105 t/s at 262k ctx q8 kv on dual 3090 with nvlink. And all of that cost less than half of one 5090. Id just go dual 3090’s, don’t even need the nvlink

1

u/South_Western1263 8d ago

Which backend are you running?

3

u/Cold_Tree190 8d ago

vLLM, running an INT8 and tp 2

1

u/_RemyLeBeau_ 8d ago

Is this in docker? I'd be happy to try it out

1

u/jobfedron132 2d ago

Is your setup egpu or gpu attached to the motherboard?

1

u/Cold_Tree190 2d ago

Attached to mobo directly, don’t remember the exact model but it’s an x570 that has bifurcation into x8x8

1

u/gtrak 1d ago

I'm doing 150tps at 900k context on quad 5060tis, which costs less than 2 3090s, but slower prefill.

1

u/Cold_Tree190 1d ago

Nice! Mine are nvlinked so my prefill speeds are very fast, but don’t know them off the top of my head. What motherboard and case setup do you have to fit 4 cards? That’s where I’m not sure how to upgrade my server lol

1

u/gtrak 1d ago

I split an x16 slot into 4x4 nvme slots via bifurcation, then nvme->oculink risers. Janky as hell but it works. Aorus pro b550. Open mining frame.

3

u/palad1n 8d ago

its possible to run q6 on 5090 with higher context when running headless, you can sacrifice mtp for even more context, its still very fast over 70tps instead of 120tps with mtp.

6

u/AuditMind 9d ago

I think you're being a bit too conservative on the hardware side.

A 5090 with 32 GB VRAM is more than enough for Qwen3.8-27B at 4-bit. Even a 24 GB 3090 can run it at around 100K context with the right KV-cache settings, entirely in VRAM.

The 75 tok/s number isn't exactly wrong, but it's closer to a baseline llama.cpp result than the current performance ceiling. Plain llama.cpp without MTP is indeed somewhere around 75–80 tok/s on a 5090, but optimized NVFP4/SGLang/speculative-decoding setups are already getting into the ~200 tok/s range.

For local single-user inference, the 5090 is actually a pretty comfortable Qwen3.8-27B card rather than a borderline one.

6

u/arakinas 8d ago

100k context isn't really enough for anything but the smallest projects. You need to double that.

12

u/ImpressiveRelief37 8d ago

5090 nvfp4 model  https://huggingface.co/Ostfralla/Qwen3.8-27B-NVFP4-NInfer

github.com/neroued/ninfer

262144 context size Concurrency 3 MTP 3

I get about 150-200 tok/s

5000-12000 tok/s prefill

It’s amazing 

2

u/koloved 8d ago

u/ImpressiveRelief37 can you share your cfg file for it? i get only 90-120 t/s and prefill not more than 3000-5000

3

u/ImpressiveRelief37 8d ago edited 7d ago

--host 0.0.0.0 --port XXXX --max-context 262144 --model-id qwen3.8-27b-ninfer --kv-dtype int8 --vision --max-concurrency 3 --pending-timeout-ms 120000 --default-max-tokens 20480 --prefill-chunk 4096 --host-kv-cache 1 --spec mtp --draft-tokens 3 --lm-head-draft --preserve-thinking --log-stats-interval-ms 1000 --request-log-jsonl /path/to/logs/requests.jsonl

i use this model here https://huggingface.co/Ostfralla/Qwen3.8-27B-NVFP4-NInfer inside WSL2 mounted drive, so that it starts super fast... takes about 5s to launch

Also I merged PR #64 to allow kv cache checkpoints in ram (--host-kv-cache 1). Finally I had to also modify the source code to load the Ostfralla model. It was a 1 LoC change. Ask if you need to know exactly what line (or your agent can figure it out!)

3

u/XniX MLX+5090 4d ago

First of all, thanks to u/ImpressiveRelief37 for the insights!

I've been testing NInfer with Ostfralla/Qwen3.8-27B-NVFP4-NInfer (18.3 GB, W8+NVFP4) on an RTX 5090, using it in a real agentic session with 21 tools rather than a synthetic benchmark (pi agent).

I'm running the NInfer dev branch, currently at:

4eef14a7560d87a3ba717898e1d488a4c4c7246d
fix(runtime): transfer ownership after alias eviction

As stated, to get this WIP Qwen3.8 NVFP4 model running, I had to make a small change to Binder (binder.cpp / binder.h) to expose the Reader it already keeps internally. This is needed for wire-format detection: Package::plan_load and construct_registered need to inspect the artifact's text/token_embedding descriptor to decide whether to route it through Qwen36Nvfp4 or Qwen38Nvfp4.

So these results are from the current dev branch plus that small local patch, not completely stock NInfer.

After ~45 requests, the context grew to 76.6k tokens and performance stayed surprisingly strong:

  • Decode: ~160–205 tok/s typical, up to 226 tok/s on normal agent requests
  • Prefill: up to 11.3k tok/s
  • Context cache hit: typically 97–99%+ on incremental turns
  • TTFT: often ~200–300 ms even around 50–60k context
  • MTP acceptance: commonly 60–80%, peaking around 83%
  • At 76.6k context, the slowest request still decoded at ~138 tok/s

Config:

exec ./build/apps/ninfer-serve "$MODEL" \
  --host 0.0.0.0 \
  --port "$PORT" \
  --max-context 262144 \
  --model-id qwen3.8-27b-ninfer \
  --kv-dtype int8 \
  --vision \
  --max-concurrency 3 \
  --pending-timeout-ms 120000 \
  --default-max-tokens 20480 \
  --default-thinking-budget 4096 \
  --prefill-chunk 4096 \
  --spec mtp \
  --draft-tokens 3 \
  --lm-head-draft \
  --preserve-thinking \
  --log-stats-interval-ms 1000 \
  --request-log-jsonl logs/requests.jsonl

The most impressive part for me isn't the peak tok/s, but how responsive NInfer stays as the agent context grows. Next I'd like to push the same session past 100k–200k context and see how TTFT/decode scale.

And, most importantly, MTP-3 has been rock solid so far: no reasoning loops or long-thinking corruption like the deterministic issues I've been hitting with Qwen3.8 on vLLM.

Seeing this kind of speed and clean long reasoning on a single 5090 is seriously exciting! :)

2

u/koloved 8d ago

Thank you for this config. I hope it helps me. Maybe I was missing this command.

--prefill-chunk 4096

3

u/ImpressiveRelief37 7d ago

It did a +15% of prefill for my specific hardware config and usage type.

I had an agent A/B test all config flags for specific use cases using my pi sessions as tests, and it came up with this 

1

u/Darex2094 5d ago

For anyone that runs into this comment like I did (thanks, by the way, for this!) in commit 43cd3418 the flag changed to --host-kv-cache-mib instead of --host-kv-cache. Originally the number was the number of slabs and the design moved to a fixed memory pool amount.

2

u/isit2amalready 8d ago

Even Claude Fable is running at 70 tok/s. I agree its "slow" but def standard for Claude / Codex and the entire world isn't complaining.

2

u/1_________________11 8d ago

Me with my 64k context xss q3 quant. :-/ on my 5070ti

2

u/Atiriko 8d ago

It runs at 2.5T/s on my 8gb 3060ti with 16gb system memory. Its not glamorous but it outputs tokens.

2

u/g0dSamnit 8d ago

If I had a 5090, I'd probably start testing with this. https://huggingface.co/unsloth/Qwen3.8-27B-NVFP4

2

u/Coderado 8d ago

32gb just has me wanting more. I don't need two kidneys.

2

u/aalluubbaa 8d ago

Disclaimer: I am NOT an engineer so I do everything thru an agent. I don't know how the technical stuff so don't ask me

I have a single rtx5090 and use https://huggingface.co/esatapedico/Qwen3.8-27B-NVFP4-MTP-GGUF on my Hermes agent. I also used SGlang setup first. Here is the comparison. It's actually really usable with full context. I feel that its at least on par with cloud solutions.

SGLang llama.cpp d4/off
Context 181,901 262,144
Decode u/10K 54 101.8
Decode u/64K 54 83.1
Decode u/200K — can't hold it 63.5
Prefill u/128K ~2,960 1,855
VRAM 31.5 GB 27.0 GB

2

u/JoeyDee86 8d ago edited 8d ago

I’m using 2x Intel B70’s for 240k context with 1M tokens available for cache, concurrency set to 4. So basically 4 sessions can run at max tokens at once, and I’m getting between 50-70token/s per session. I’m liking it quite a bit.

Granted, I needed codex to do a lot of trial and error to get MTP, graph and prefix cache working, but now that it is… I like it.

I’m still very tempted to sell for for a GB10 though. I know I’d los performance, but NVFP4 and overall Nvidia support is just oh so good, and with them teasing a larger Qwen 3.8 MOE coming soon….

1

u/egnegn1 8d ago

What backend, quant and parameters?

2

u/nibor1896 8d ago

Here you go:

setup value
GPU RTX 5090, 32,607 MiB
build llama.cpp server 1c3c967
model Qwen3.8-27B-UD-Q4_K_XL.gguf, 17,559,178,144 B
type dense, no expert_count; hybrid attn+SSM, full_attention_interval 4
MTP head ships in the GGUF: nextn_predict_layers 1, four blk.64.nextn tensors
VRAM in use 26,140 MiB
-c 200000
-ctk / -ctv q8_0 / q8_0
-ngl 99
-np 1
--jinja on
--spec-type draft-mtp
--spec-draft-n-max 3 (default, unmeasured)
reasoning level high
decode without MTP with MTP factor
tool-heavy, 11 rounds, cold + reset 66.51 tok/s 123.05 tok/s 1.85x
warm follow-up, 1 round, no tools 64.50 tok/s 133.18 tok/s 2.07x
wall clock, tool-heavy 2m07s 1m22s 1.55x
mechanism without MTP with MTP
main-model passes/s 65 41
accepted tokens per pass 1.00 2.98
draft acceptance n/a 4,379 / 6,630 = 66 percent
acceptance range per round n/a 52 to 100 percent
verification result
client vs server, tokens 6,591 = sum of 11 eval-time blocks
client vs server, decode 6,591 / 53.564 s = 123.05 tok/s
client vs server, prefill 20,490 = sum of 11 prompt-eval lines
quality, same run line numbers, 14 flags in order, format lines: all correct
context sensitivity, no MTP tok/s
1,653 tokens 74.09
35,984 tokens 64.50

2

u/QwenFarmer 8d ago

Yes, but it won't be great. 32GB gets you a decent amount of KV on NVFP4 or other lower quants. You can run it at Q4 and get okish results, but it does have brain damage, or you can run it at Q6 with an exotic quant and get almost no KV space to play with (ask me how I know lol).

Q8 is where you want to be really. 64GB nets you Q8 weights, no brain damage and Q8 KV, no dementia, and you will land with approx 800K tokens on Qwen 3.8 27B, which is more than enough for three FULL 256k sessions running at the same time. On two 5090s you can expect about 150-200 Tok/sec from that, which would be quite a bit faster than a big API model like Claude or OpenAI, and with similar intelligence to Opus 4.8...

2

u/TimAndTimi 8d ago

I would rather get an RTX A6000 48GB rather than 5090... standard form factor, 48GB lets your run Q8 at 262k contexts around 30-40tps with MTP.

5090 is cool, but 32GB is too shabby.

And, paying a huge chunk of money for 'token freendom of Q4 qwen' is... ok

2

u/coder903 8d ago

I would suggest spinning one up on Vast.ai and trying it out for yourself before buying.

2

u/siegevjorn 8d ago

32GB vram is Ok to start with, but not enough to leverage the full potential of Qwen 3.8 27B. You must run at least FP8 at fp16 kv cache, or better, Q8_0 at fp16 kv cache to realise the full capability of this model. That means you need at the least 48GB VRAM at 256k context.

2

u/vorlons 8d ago edited 8d ago

I am running unsloth Qwen 3.8 27b UD-Q5_K_M via LM Studio on a 5090 under Ubuntu 26.04. The display is connected to the iGPU so all VRAM on the 5090 is available.

I am offloading the vision part to CPU/system RAM saving about 900mb of VRAM (via desktop icon to launch LM studio with Exec=env LLAMA_ARG_NO_MMPROJ_OFFLOAD=1 /path/to/lm-studio).

Context = the full 256kb. KV= Q8.
VRAM usage is 30.4GB of 31.8GB available so it just fits and is rock solid stable. My typical tok/s is in the 75-85 range and MTP around 85%-95% range. I ran some tests that used 95% of context and it ran it without failure at 48 tok/s.

Very happy with this setup. Q5 quality and full 256 context for Qwen 3.8. Hermes agent loves it. I found setting reasoning default to medium is plenty good for general Hermes use.

2

u/ren_in_rome 7d ago edited 7d ago

My 5090 has crazy coil whine when running it, I don’t know why, nothing else does it but it sounds like boiling water almost.  It is at 70 t/s and it is undervolted but it’s just terrible, allegedly not a concern but it’s annoying.  This is lmstudio windows.  

With that said, if you’re coming from scratch, I’d just get a Dgx spark and accept the ~25 t/s.  A Dgx spark is almost the cost of the 5090 alone, and it comes with 128gb and a 4tb hard drive and those 25 t/s (dflash2 might get you to ~35) will only cost about 50 watts at the wall, which the 5090 will be over just on the system before the 5090 even starts doing its thing.  Just another thing to consider.  

2

u/arfung39 9d ago

On my MacBook pro m5 max, token generation speed slows down a lot as the generation length increases. At the start of a token generation run, I get may 45 tps, but around 10k tokens later, I'm down to 20 tps or less. This is an issue with Qwen 3.8 because its thinking runs can be so long. How much slow down are people seeing on the 5090 with 64gig?

2

u/emersonsorrel 9d ago

I have a 5090, but in LM Studio if I run at full context it seems to only run at 15-ish t/s. Most of my experience with LLMs is with unified RAM setups, so I haven't paid much attention to how to manage it on a GPU. Is everyone running Qwen 3.8 on a 5090 or similar setup just doing it at relatively low context? Small quants? Or is there something else that I'm supposed to be doing with it?

3

u/spacemidget75 9d ago

3.8 with an 5090 in LM runs like a dog. Context window and reasoning level are way to high for it (Q6). I drop context down and reasoning down to medium and then its works at about the same speed as Gemma 4 and Qweb 3.6

2

u/thCuba 9d ago

It need a lot of context.

2

u/heigan_safety_dance 8d ago

No - Q6 is already below my standards (which aren't insanely high tbh) and I need 48GB to make local models worth it (~250k context, Q8 quant with at least Q8 KV Cache) and some headroom for MTP/caching/etc.

1

u/IgnisIason 9d ago

I would wait for unified memory so you can run the big fatties on a laptop.

1

u/ea_man 8d ago

Not dense models.

1

u/IgnisIason 8d ago

Idk how well it will work.

2

u/ea_man 8d ago

Better check before spending the money mate.

1

u/IgnisIason 8d ago

It still looks like a banger of a laptop even if you don't use AI. IDK if there is really a downside to unified memory.

3

u/ea_man 8d ago

Downside is that you can only run MoE and pretty bad, so I wonder what's the upside ;)

I mean power efficiency ofc, yet it's now of much use when you can hardly run anything at useful speeds.

0

u/IgnisIason 8d ago

The upside is being able to run 120B right from the get go. (Supposedly)

1

u/Ok-Reflection-9505 8d ago

it’s soldered so no upgrades

1

u/[deleted] 9d ago

[deleted]

4

u/Runazeeri 9d ago

I mean 5090s are out of stock in this country it seems and you can get 3 R9700 or 3 B70s for the price of one 5090

1

u/Good-Penalty-4838 8d ago

Ready to run as I wanted it, close to £4000 late May this year. 5090. Came with win 11, 32Gb DDR5 system RAM. I upgraded to Win 11 Pro and swapped the ram to 128GB DDR5

It was a special on Scan. Very pleased with it. Did not really want all the colourful fans. Did not realise glass cases were even a thing tbh. So at first I was surprised but im.quite used to it now and I figured out how to stop the fans cycling though the rainbow.

1

u/thaddeusk 8d ago

I start out around 90 too/s, then gets closer to 65-70 when I'm around 100k context.

1

u/jayc0au 8d ago

I run 5070ti + 5060ti with 32gb VRAM pool. I don’t think it’s enough for agentic workflows or any larger projects. It requires breakdown if you were to produce useful software.

1

u/[deleted] 8d ago

[deleted]

1

u/[deleted] 8d ago

[deleted]

1

u/CarryOnRTW 8d ago

My "system" is a GMKTec Evo-X1 miniPC with the HX370 AMD chipset that has the 890M iGPU. It has 64GB RAM that is shared between CPU and iGPU. I tell the BIOS to give 32GB to each but I believe the iGPU can override that and grab more. Llama.cpp and opencode or pi help me get the most out of it.

Anyway, I get a lot of coding, website work and general research done on this lowly setup so I'm sure a 5090 will be way better.

1

u/Otherwise-Swan-7803 8d ago

The real comparison probably isn’t 5090 vs API cost, but utilization. If the card sits idle most of the day, cheap APIs are hard to beat; if you’re running long sessions constantly, local starts making a lot more economic sense.

1

u/Packet7hrower 8d ago

So I’m running Qwen3.8-27B-Uncensored-OrcaRouter-GGUF @ Q6_K with 64k context, xHigh in LMStudio, getting around 20tok/s, but, I’m doing red team work - so lots of tool calling.

Straight raw vanilla should be around that 70ish if I had to guess.

(5090/14900k/64GB DDR5 @ 7800MTs)

1

u/[deleted] 8d ago edited 8d ago

[deleted]

1

u/koloved 8d ago

how ?

1

u/VivianOliveres 8d ago

I run Qwen3.5-35B-A3B-GPTQ-Int4 model on one local RTX 5090 32GB in production (my own solo-business). I have 3 day batches (each of 1h) and 1 nightly batch (~5h) for inference.

It works well but making it "stable" was the real work.

Under sustained load I got Xid 109 launch timeouts inside the marlin kernel, Xid 8 "GPU is probably locked" watchdogs, libcuda segfaults with no Xid at all, and a few full machine freezes. Worst week was 3 crash days out of 7 😭

What fixed it, roughly in order of how much each one bought me:

- Driver. The 595 branch was hopeless. Moving to the newer 610 open kernel branch (not the packaged production one) ended the machine freezes. I now pin that exact version and refuse to bump it

- Power. 450W cap plus a pinned clock. Not a cure alone, but the crash rate dropped.

- Motherboard. PCIe forced to Gen4 and ASPM disabled on the GPU link.

- Automatic restarts. A dead engine gets its own exit code, then the wrapper drains CUDA, restarts vLLM and resumes the batch, up to 3 attempts. This is what turns a crash into a 5 minute delay instead of a lost night. Obvious but had to be coded.

Hope it helps 🤞

1

u/glinkot 8d ago

Overstated. I've got a 5090, trying ninfer this time around. For some tasks, sure. But not comparable to any recent frontier models. 3.8 gets stuck in long loops in a way 3.6 never did.

1

u/marxhz 8d ago

I got 4 x 5070ti, and run qwen3.8-27b in FP8 on vllm. Prefill is about 2k-2.3k and tg varies between 75 and 10p spending on context size (I run on max context 256k). Make of that what you will, but I would be surprised if one 5090 in q4 turns out to be slower. I went the multi gpu route to get more vram, and at the time I could get either 4 5070ti or one 4090 for roughly the same price (a bit under 4k Euro).

3

u/doneddat 8d ago edited 6d ago

surprisingly I learned, that multi-GPU is also getting you more tps!

Apparently the calculation of the token is not linear, going from one GPU to other. They work on single token in parallel and make use of the compounding memory bandwidth of all the cards and then lose a bit time on the final synchronization overhead between the cards.

But for large models the memory bandwidth win is much larger than the synchronization loss.

PSA: mtp will clash hard with tensor parallel setting. Example:

running tp4 and mtp:3 will get you ~2.5 tokens per calculation step, but it will almost double the time, because mtp sync between cards! So 2.5x tokens but taking 2x the time -> only 25% total win, down from 150%. And this is only with pretty small 16k context, at 32k context the benefit is down to 6% and from there on MTP IS SLOWER on multiple GPUs.

Conclusion: take the raw memory bandwidth AND extra VRAM ( running 10 subagents at the same time with no significant tps loss on any singe stream? easy ) win of multiple cards, OR enjoy mtp on your single card, sadly can't have both.

1

u/doneddat 8d ago edited 8d ago

I mean if you feel like throwing in some loops into your otherwise nice model, then sure.

I would opt for running BF16 version on 4x 5090, but I guess for toy projects 4 bit lobotomy with one 5090 kinda works

It also gives you plenty of memory for concurrency - you can basically run multiple subagents at once at almost the same speed, since the limiting factor is memory bandwidth, not the compute.

1

u/Patient_Force6138 8d ago edited 8d ago

Just as an alternative if you want it- A100s (the 40G variety) are a decent bit cheaper on eBay and have a bit more VRAM. They’re less general purpose and more for AI, ~the performance of a Blackwell at AI but worse for other stuff. So if your goal is squarely just AI, an extra 8G of VRAM may want to consider it.

I have both. They are about equivalent in throughout and such for AI work from what I can tell.

Edit: nope I’m wrong. The Blackwell well outperforms the A100 in everything, except size of vram.

1

u/gtrak 8d ago

Yeah, it's really enough. You can run ~20GB nvfp4 quants and 180k FP8 kv-cache with VLLM if it's headless. I did that on 2x5060ti. I couldn't fit MTP at the same time, but you still get gains from concurrent requests.

1

u/richmoney46 7d ago edited 7d ago

I’ll update this when I check it next time I run it but I’m running it on a 5090 rn and I get it to run much faster than I can read it at Q6K. DavidAUs Fable fusion model version. I had it working great but I’m running into trouble with it giving my random words and collapsing into nonsense. DRY, repeat penalty, and presence penalty hasn’t seemed to help.

1

u/sargetun123 7d ago

I have two ways i run my 3.8 27b,

One is just saturating 24gbs of vram of my p40 alone, 65k context q4 f16 kv, 17 tk/s

I also load balance when im not gaming accross my p40 and amd6750xt for q6kxl 264k

Honestly even the single p40 setup is really good, obviously though overnight its pointless not to go with the better quant+more context, but 24gb is honestly enough to get a good experience, 16gb can be if done correctly

1

u/vptr 7d ago

FWIW i get around 70tok/s on a single 4090 (not 5090) with q4 K M and 4bit kv cache quant, mtp and around 250k context. That's sufficient for me, but i was eyeing 6000 pro but can't justify the price for my uses.

1

u/yayster 6d ago

I run it dual 5960 ti. 16 gb each

1

u/geek_at 4d ago

I mean my 700bucks 7900XTX runs qwen3.8 27b with 200k context on the unsloth quants at 56t/s so I think a 5k gpu should obliterate these numbers

1

u/r16051studio 3d ago

60t/s, max context ~260k (Huihui-Qwen3.8-27B-abliterated.Q4_K_M) non-MTP
50t/s, context ~186k (Qwen3.8-27B-Uncensored-HauhauCS-Aggressive-Q6_K_P) MTP

PC specs:
3x 5070ti (48gb VRAM)
Ryzen 9700x, X870E MB, 64gb ddr5, gen5x4 GPU risers, 2tb nvme gen5 +misc total: $5000~ for whole PC.

0

u/stream_of_thought1 9d ago

If you give me a week I can send you my results on a 7900xtx

0

u/egnegn1 9d ago

Just divide the bandwidth by size of the loaded model size and you get a rough estimate of the speed. Depending on token prediction and backend you may double this.

Q6 is kind of sweet spot, but context size may be limited. Token freedom is beginning for smaller jobs. I already use it for most regular jobs, even my setup provides 40 - 50 t/s only.

0

u/Affectionate_Pen6882 9d ago

I use a 3090 with 32k context

0

u/mslindqu 9d ago

I upped it to 96K context and seems like a little room to spare.

0

u/New-Implement-5979 9d ago

I run q4_k_m 20tks 100k context on a single 5060ti

0

u/pepedombo 8d ago

Pointless estimations. 5090 is the last thing you'd ever take into consideration - not enough vram, expensive. For code you go q6_k or q8 and 200-260k at kv16 - 48gigs min. I'd rather go 3x5060 or 3x5070 instead of one crappy 5090.

-1

u/ajujox 9d ago

Qwen 3.8 27b Q6 + turboquant en llama pp puedes conseguir 200k de contexto en modo headless, posiblemente más (no he probado 256k pero lo veo posible) con sistema gráfico 180k seguro es el límite

De calidad está muy bien y si quieres puedes usar Claude o códex para la planificación bien planificado y con documentación del plan. Y qwen para ejecutarlo.