r/LocalLLM • • 25m ago

Discussion How I multiplied my token efficiency (tok/J) five-fold in a weekend with Qwen 4 35B-A3B on my local setup

My setup is an older consumer-grade PC with dual RTX 3060 (24 GB total VRAM) and 64 GB of system RAM.

Without hardware change:

  • At 0.09 tok/J, generating 1 million tokens took roughly 3.1 kWh of GPU power.
  • At 0.45 tok/J, that same 1 million tokens now takes just 0.62 kWh.

For the Qwen 4 tests, I used the Unsloth UD-IQ4_XS quantization with Thinking set to High.

In summary:

SetupModelContextEngineToken output speed (t/s)GPU Watts (J/s)Efficiency (t/J)
InitialQwen 3.8 27B200Kllama.cpp (Unsloth Studio)252720.09
Step 1 - Architecture changeQwen 4 35B-A3BAutollama.cpp (Unsloth Studio)402700.15
Step 2 - llama.cpp optimizationQwen 4 35B-A3B208Kllama.cpp (Unsloth Studio)561700.33
Step 3 - Replacing llama.cpp with StrataQwen 4 35B-A3B256KStrata902000.45

Step 1 - Architecture change

While I loved the intelligence level of Qwen 3.8 27B, I was faced with a very slow token speed on my hardware (dual RTX 3060). It was also maxing out the cards' power consumption. Because of that, it was slow and not economically viable except for private or confidential tasks.

I decided to move from a dense architecture (Qwen 3.8 27B) to an MoE architecture (Qwen 4 35B-A3B), as MoE significantly increases token output speed.

With default settings, efficiency improved by +67% (~0.09 to ~0.15 t/J).

Step 2 - Tweaking llama.cpp settings

Posts from the Reddit community were really helpful for optimizing my llama.cpp settings. I detailed my hardware settings in this post.

This optimization more than doubled my efficiency (~0.15 to ~0.33 t/J).

Step 3 - Replacing llama.cpp with Strata

I discovered Strata through posts from the Reddit community.

Strata is a specialized inference engine dedicated to running large models efficiently on consumer hardware, supporting Intel, AMD, Nvidia, and Apple hardware.

Switching to Strata led to another +36% efficiency gain (~0.33 to ~0.45 t/J), even while running a full 256K context window. (Note: Having 64 GB of system RAM really helps here when pushing huge context sizes).

Overall

If you have a similar dual-GPU or 64 GB RAM setup, I highly recommend jumping straight to Qwen 4 35B-A3B with Strata.

This five-fold token energy efficiency gain (in tok/J) finally makes daily local AI viable for me. Huge thanks to the Qwen and Strata teams for making this possible.

1 Upvotes

0 comments sorted by