All posts
6 min read

First look at Qwen3.8-27B: 23.0 tok/s on one R9700, 330 tok/s at 32 on four with vLLM

ModelQwen3.8-27BR9700Strix HaloW7900llama.cppvLLM

Qwen3.8-27B joined the board in November, and we measured it right away on R9700, W7900 and Strix Halo.

One R9700 with UD-Q4_K_M decodes 23.0 tok/s for one request; four R9700 cards with vLLM BF16 deliver 330 tok/s in total at 32. With 48GB, a single W7900 holds Q8_0.

The short answer: what to run on each card

  • R9700: for one user, vLLM BF16 on 4 cards at 32.7 tok/s; it also leads at 32 requests, 330 tok/s.
  • Strix Halo: for one user, llama.cpp UD-Q4_K_M at 10.7 tok/s; for many, vLLM BF16 at 53 tok/s with 32 requests.
  • W7900: for one user, llama.cpp UD-Q4_K_M at 27.6 tok/s; for many, llama.cpp Q8_0 at 85 tok/s with 32 requests.

Run it in three steps on Radeon AI PRO R9700

This reproduces one row of the board exactly: R9700, llama.cpp, UD-Q4_K_M. You need a Linux machine with the ROCm driver and Docker, and your user must be able to open /dev/kfd and /dev/dri (usually by joining the video and render groups).

Step 1: download the weights

pipx install huggingface_hub  # or pip install -U huggingface_hub inside a venv
# optional mirror: export HF_ENDPOINT=https://hf-mirror.com
hf download unsloth/Qwen3.8-27B-GGUF Qwen3.8-27B-UD-Q4_K_M.gguf --local-dir ~/models/Qwen3.8-27B

Step 2: start the server

The image is pinned to the version we measured, and the flags are the same:

docker run -d --name qwen3.8-27b \
  --device /dev/kfd --device /dev/dri --group-add video --group-add render \
  --security-opt seccomp=unconfined --ipc host \
  -v ~/models:/models -p 8000:8000 \
  -e HIP_VISIBLE_DEVICES=0 -e LD_LIBRARY_PATH=/app:/opt/rocm/lib \
  --entrypoint /bin/bash ghcr.io/inferstation/llama-rocm-r9700@sha256:5096deff2b8a02aa0b48b02e572bdbaf9bdc4e877da02252fca74a263a82f3b5 \
  -lc "exec llama-server -m /models/Qwen3.8-27B/Qwen3.8-27B-UD-Q4_K_M.gguf -ngl 999 \
    -fa on --host 0.0.0.0 --port 8000 -c 32768 -np 32 --cache-ram 0"

Watch docker logs -f qwen3.8-27b; the server is up when it prints “server is listening”.

Step 3: send a request

curl http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "local", "messages": [{"role": "user", "content": "Introduce yourself in one sentence."}], "max_tokens": 128}'

The answer is in choices[0].message.content. The endpoint is OpenAI-compatible, so Open WebUI, Cherry Studio or any agent framework works once you point it at http://localhost:8000/v1.

Another way: R9700 x4, vLLM, BF16

This reproduces one row of the board exactly: R9700 x4, vLLM, BF16. You need a Linux machine with the ROCm driver and Docker, and your user must be able to open /dev/kfd and /dev/dri (usually by joining the video and render groups).

Both setups use port 8000; stop the first one before switching (docker rm -f qwen3.8-27b).

Step 1: download the weights

pipx install huggingface_hub  # or pip install -U huggingface_hub inside a venv
# optional mirror: export HF_ENDPOINT=https://hf-mirror.com
hf download Qwen/Qwen3.8-27B --local-dir ~/models/Qwen3.8-27B

Step 2: start the server

The image is pinned to the version we measured, and the flags are the same:

docker run -d --name qwen3.8-27b-2 \
  --device /dev/kfd --device /dev/dri --group-add video --group-add render \
  --security-opt seccomp=unconfined --ipc host \
  -v ~/models:/models -p 8000:8000 \
  -e HIP_VISIBLE_DEVICES=0,1,2,3 -e NCCL_PROTO=Simple -e NCCL_P2P_DISABLE=1 -e TRITON_CACHE_DIR=/models/.triton-cache \
  --entrypoint /bin/bash ghcr.io/inferstation/vllm-rocm-r9700-main@sha256:2d3a6275b1000cc9dce4c105dae899edd95d77875ede0c4d5d9b9c53a29faaf1 \
  -lc "exec vllm serve /models/Qwen3.8-27B --served-model-name q38b --host 0.0.0.0 \
    --port 8000 --trust-remote-code --dtype bfloat16 --max-model-len 2304 \
    --max-num-seqs 32 --gpu-memory-utilization 0.85 --attention-backend TRITON_ATTN \
    --tensor-parallel-size 4"

Watch docker logs -f qwen3.8-27b-2; the server is up when it prints “Application startup complete”.

Step 3: send a request

curl http://localhost:8000/v1/chat/completions \
  -H "Content-Type: application/json" \
  -d '{"model": "q38b", "messages": [{"role": "user", "content": "Introduce yourself in one sentence."}], "max_tokens": 128}'

The answer is in choices[0].message.content. The endpoint is OpenAI-compatible, so Open WebUI, Cherry Studio or any agent framework works once you point it at http://localhost:8000/v1.

On other cards

These are the fastest single-request setups with reproduction steps on the other devices. Follow the matching recipe for each engine's weights and image.

Strix Halo (Radeon 8060S): Strix Halo, llama.cpp, UD-Q4_K_M, 10.7 tok/s for one request, 25 tok/s at 32.

docker run -d --name qwen3.8-27b \
  --device /dev/kfd --device /dev/dri --group-add video --group-add render \
  --security-opt seccomp=unconfined --ipc host \
  -v ~/models:/models -p 8000:8000 \
  -e LD_LIBRARY_PATH=/app \
  --entrypoint /bin/bash ghcr.io/inferstation/llama-rocm-halo@sha256:6f66cf5d50c6f3add8df323a1167df1e5f57822ef615f3c572c05fcbac7c45f2 \
  -lc "exec llama-server -m /models/Qwen3.8-27B/Qwen3.8-27B-UD-Q4_K_M.gguf -ngl 999 \
    -fa on --host 0.0.0.0 --port 8000 -c 32768 -np 32"

Radeon PRO W7900: W7900, llama.cpp, UD-Q4_K_M, 27.6 tok/s for one request, 81 tok/s at 32.

docker run -d --name qwen3.8-27b \
  --device /dev/kfd --device /dev/dri --group-add video --group-add render \
  --security-opt seccomp=unconfined --ipc host \
  -v ~/models:/models -p 8000:8000 \
  -e HIP_VISIBLE_DEVICES=0 -e LD_LIBRARY_PATH=/app:/opt/rocm/lib -e HSA_NO_SCRATCH_RECLAIM=1 -e HIP_FORCE_DEV_KERNARG=1 \
  --entrypoint /bin/bash ghcr.io/inferstation/llama-rocm-w7900:commit-29b52d398b29 \
  -lc "exec llama-server -m /models/Qwen3.8-27B/Qwen3.8-27B-UD-Q4_K_M.gguf -ngl 999 \
    -fa on --host 0.0.0.0 --port 8000 -c 32768 -np 32 --cache-ram 0"

The 48GB single-card advantage

R9700 has 32GB, so Q8_0 needs two cards and gives 15.3 tok/s. One W7900 holds Q8_0 and gives 20.1 tok/s for one request and 85 tok/s at 32.

The 4-bit build fits on one card of either: 27.6 tok/s on W7900, 23.0 on R9700.

Against Qwen3.6-27B, 4-bit speed on the same R9700 is about the same (24.1 against 23.0). Upgrading the model does not mean upgrading the card.

Measured results

Bold rows have the highest single-request throughput on each device. The 32-request column is total throughput; TTFT is time to first token for one request.

DeviceEngineWeightsGPUs1 req tok/s32 req tok/sTTFT msDate
R9700llama.cppUD-Q4_K_M123.0581,119Nov 2026
R9700llama.cppBF16210.647592Nov 2026
R9700llama.cppQ8_0215.3501,708Nov 2026
R9700vLLMBF16220.9119233Nov 2026
R9700vLLMBF16432.7330230Nov 2026
Strix Halollama.cppBF1613.8152,370Nov 2026
Strix Halollama.cppQ8_016.9222,029Nov 2026
Strix Halollama.cppUD-Q4_K_M110.7251,799Nov 2026
Strix HalovLLMBF1614.3531,000Nov 2026
W7900llama.cppQ8_0120.185827Nov 2026
W7900llama.cppUD-Q4_K_M127.681863Nov 2026
W7900llama.cppBF16212.4841,024Nov 2026

Things to watch

  • On Strix Halo, time to first token is 1.8 to 2.4 seconds. A dense 27B on Strix Halo suits batch work that is not in a hurry.
  • Multi-card setups need every card visible: set HIP_VISIBLE_DEVICES to 0,1 or 0,1,2,3 to match the card count.
  • If you get a permission error on /dev/kfd, add your user to the render and video groups and log in again.

Next steps

Every measured row's image and full command is on the Recipes pages; copy from there for other models and cards:

Deploying with a coding agent such as Claude Code or Codex? Have it call the AMD GPU Support Agent first.

How we measured

How we measure: llama-benchy sends streaming requests with a 512-token prompt and 128 generated tokens to the server's OpenAI-compatible endpoint, at 1, 4, 16 and 32 concurrent requests. Each point is the median of three runs after a warm-up. Prompts are text only.

Both throughput columns divide the total output tokens by elapsed wall time, including the wait for the first token. At 32 requests this is the total across all users, not a per-user streaming rate. TTFT is time to first token for one request. Some July 2026 runs used an earlier prompt policy, so their TTFT is not shown.

The leaderboard links each result to its device, weights and launch recipe. Compare like configurations; a change in both engine and quantization does not isolate the effect of either one.