Dev.to AI πŸ€– Ai πŸ‘ 0 πŸ“– 5 min read

Qwen3.6-27b on 2 RTX 5060 Ti: 24 tok/s per second

It takes 19.5 s for Qwen3.6-27b to begin responding to a request, then it generates text 4.5 times faster than a person can read. This means that hand it a 100-page book and it starts answering after 19.5 seconds, then w

Qwen3.6-27b on 2 RTX 5060 Ti: 24 tok/s per second

It takes 19.5 s for Qwen3.6-27b to begin responding to a request, then it generates text 4.5 times faster than a person can read. This means that hand it a 100-page book and it starts answering after 19.5 seconds, then writes 4.5 times faster than you can read. Qwen3.6-27b is a sizable language model, falling into the category where models begin to show interesting capabilities for analysis and general knowledge. It runs on a computer with two NVIDIA GeForce RTX 5060 Ti cards working together.

The model needs 16.3 GB of graphics card memory to operate, almost using all available memory on the busiest card. Generating text from a short prompt occurs at a rate of 23.8 tokens per second. The initial delay before the first word appears is 541 ms.

Running Qwen3.6-27b consumes 3.43 kWh of electricity for every 1 million tokens generated. The model’s context windowβ€”the amount of text it remembersβ€”is substantial, at 225 k tokens.

Straight to the Results

Qwen3.6-27b is good for internal tools where cost and speed are not the primary concern.

  • Speed peaks at 946 tokens per second when processing short prompts, decreasing to 13 tokens per second with the full context.
  • Initial response time (TTFT) is quick at 541 ms for short prompts, but extends to 19.5 s when handling 32k-token prompts.
  • Energy consumption is 3.43 kWh per 1M tokens generated, equalling approximately 0.86 €.

The following table details performance measurements obtained using llama.cpp:

Metric 512-token prompt 32k-token prompt Full context (225280 tokens)
Prompt Processing (tok/s) 946.5 1678 883
TTFT 541 ms 19.5 s 255 s
Generation (tok/s) 23.8 21.3 13

Which Program Should You Run It With?

The same model was run with three common programs – llama.cpp, Ollama and vLLM – using their default settings. These are popular choices for running models on a personal computer.

llama.cpp Ollama vLLM
Writing speed, short prompt (tok/s) 24.0 23.7 39
Wait for first word, short prompt 541 ms 707 ms 380 ms
Wait for first word, 32k prompt 19.5 s 19.3 s 26 s
Longest context (tokens) 225k 131k 66k
Start-up time 2.6 s 8.0 s 70 s
Electricity (kWh per 1M tokens) 3.4 2.6 3.6

vLLM excels in speed and efficiency, achieving 39 tokens per second and using only 2.6 kWh per 1M tokens, but it uses a different model format (awq-AWQ-INT4) compared to llama.cpp and Ollama that use gguf-Q4_K_M. For the simplest setup, llama.cpp starts fastest at 2.6 s, while Ollama offers a balance with a good context length of 131k tokens. If you need to serve multiple users, vLLM's performance makes it the strongest contender.

Writing Speed as the Conversation Grows

Writing speed vs context size

As context length increases, decode speed generally decreases across all programs. Llama.cpp shows a more noticeable speed drop – its decode speed falls from 23.8 tokens per second at 512 tokens to 13 tokens per second at the largest context. Ollama and vLLM maintain higher speeds at larger contexts, with vLLM consistently offering the highest performance. Ollama’s bar is missing at the largest sizes because its maximum context is smaller than the other two programs. The first word takes over 4.3 minutes to appear when using the maximum context with llama.cpp.

At a 512 token context, Llama.cpp achieves a prompt processing speed of 946 tokens per second, while Ollama and vLLM do not provide this information. For 32k tokens, Llama.cpp processes prompts at 1678 tokens per second.

Llama.cpp, at maximum context, utilizes 16.3 GB of memory on the busiest graphics card.

Regarding energy consumption, Llama.cpp uses 0.37 kWh per 1M tokens at 512 context, 0.33 kWh per 1M tokens at 32k context, and 0.33 kWh per 1M tokens at max context. Ollama uses 0.36 kWh per 1M tokens at 512 context and 0.34 kWh per 1M tokens at 32k context. vLLM uses 0.37 kWh per 1M tokens at 512 context and 0.35 kWh per 1M tokens at 32k context.

When Many People Use It at Once

Total tokens per second vs simultaneous users (256 written each)

context size (min / median / max) 512 1024 4096
Users tested 1–16 1–8 1–4
TTFT (ms) 381 / 1895 / 4105 750 / 1892 / 4484 3021 / 4526 / 9025
Total output (t/s) 37 / 156 / 278 35 / 81 / 150 27 / 39 / 53
Per-user output (t/s) 24 / 33 / 39 28 / 35 / 39 25 / 31 / 39

Serving multiple people with a language model simultaneously requires more computing power, but programs like vLLM make it efficient. When 16 people each asked a short question (512 tokens) and received an answer (256 tokens), the system processed 278 tokens per second, a significant increase from the 37 tokens per second achieved with a single user. There was some variation in response times; half the users saw their first word within 4.1 seconds, while others waited up to 6 seconds. Despite this, each user still received responses at around 24 tokens per second. Even with longer questions, like those with 1024 tokens, the system continued to deliver reasonable speed – reaching a total of 61 tokens per second – and manageable wait times, and speeds remained solid when prompts grew to 4096 tokens. This means one computer with two graphics cards can support a team or a small application, depending on the length of requests.

The Test Bench

Throughout this series of tests, the hardware configuration will remain constant to ensure comparable results between different model runs. This allows us to focus on software performance differences more accurately.

Here's the hardware and software configuration used during testing:

Component Specification
CPU Intel Core Ultra 7 265K
Motherboard ASUS ROG MAXIMUS Z890 APEX Hovedkort - Intel Z890
RAM Kingston FURY Beast DDR5-5600 - 64 GB
GPU 2 Γ— MSI GeForce RTX RTX 5060 Ti (16 GB GDDR7 each, 32 GB in total)
System Linux 7.0.0-38-generic
llama.cpp version llama.cpp@b11960
Ollama version [email protected]
vLLM version [email protected]
Model compression (llama.cpp) gguf-Q4_K_M
Model compression (Ollama) gguf-Q4_K_M
Model compression (vLLM) awq-AWQ-INT4

Llama.cpp and Ollama automatically distribute the model across the two GPUs based on their internal logic, while vLLM splits the model evenly between both cards. While llama.cpp and Ollama use the same model compression (gguf-Q4_K_M), vLLM employs awq-AWQ-INT4, meaning the comparison between programs isn't entirely equivalent.

Conclusion

Response times with Qwen3.6-27B range from 541 ms to 255 s. Decoding speed fluctuates between 13.0 tok/s and 23.8 tok/s. The system consumes 3.4 kWh of energy per 1M tokens generated. For single-user operation, vLLM achieves a writing speed of 39.4 tok/s, while it manages a total throughput of 278 tok/s supporting 16 concurrent users. Based on these figures, vLLM is the choice for multiple users, while also offering the fastest writing speed for a single user.

Further reading

Every number, chart and caveat: the complete analysis.

πŸ“° Read the original article on Dev.to AI

Originally published by Dev.to AI. Aggregated on AIWithGhost for educational purposes β€” full credit and traffic to the original publisher.