Help & Support
Qwen3.8-27B server: measured speed and long prompts
What we measured on the Qwen3.8-27B server AMI with one and two users: sustained speed, and how prompt length and caching change time to first token.
These are our own measurements of the Qwen3.8-27B server AMI on one NVIDIA L40S, taken on 27 November 2026. They are single runs on one instance each, not averages over many runs, and they will differ with your prompts, your region and the instance. Use them to size and set timeouts, then test with your own traffic.
Test setup
- A
g6e.2xlargein us-east-1 (one L40S, 8 vCPUs). Theg6e.xlargehas the same GPU. - Requests went through the gateway at
/v1/chat/completionswith one API key, streaming, with the model's thinking left on (the default). - Token counts are the ones the server reports. Speed per request is output tokens divided by total request time, so it includes the wait for the first token.
- By default the gateway lets one API key have 2 requests in flight, so we tested one user and two users. An administrator can raise the limit under Traffic in the admin console.
Sustained traffic, 5 minutes
Each row group is one 5-minute run. Throughput stayed flat across the five minutes, and no request failed.
| 1 user | 2 users | |
|---|---|---|
| Short chats (up to 300 tokens out) | ||
| Requests completed | 52 | 101 |
| Output tokens per second, total | 51 | 99.5 |
| Output tokens per second, per request | 52 | 50 |
| Time to first token, median / 95th | 0.21 s / 0.22 s | 0.24 s / 0.28 s |
| Request time, median / 95th | 5.8 s / 6.8 s | 6.0 s / 6.9 s |
| Prompts of about 8,000 tokens (up to 200 tokens out) | ||
| Requests completed | 50 | 72 |
| Output tokens per second, total | 29.8 | 42 |
| Output tokens per second, per request | 29.7 | 21 |
| Time to first token, median / 95th | 2.6 s / 2.75 s | 2.7 s / 5.1 s |
| Request time, median / 95th | 6.2 s / 6.8 s | 8.6 s / 11.3 s |
With short prompts a second user doubles the total and costs the first user nothing. With 8,000-token prompts the second user's prompt processing competes with the first user's answer, so each user gets about 30 percent less speed and the slowest first tokens take twice as long.
Long prompts, new and repeated
Before the model can write the first token it has to read the whole prompt. The server keeps the start of recent prompts in a cache, so a prompt it has seen, or one that begins with text it has seen, is much faster. We sent each size three ways, one request at a time: a prompt the server had never seen, the same request again, and the same text with a different last line. Times are to the first token.
| Prompt tokens | New prompt | Same again | Same start, new last line |
|---|---|---|---|
| 1,050 | 0.44 s | 0.44 s | 0.44 s |
| 4,037 | 1.35 s | 0.87 s | 0.87 s |
| 15,992 | 5.3 s | 1.3 s | 1.3 s |
| 32,012 | 11.1 s | 0.9 s | 0.9 s |
| 63,992 | 25 s | 1.9 s | 1.9 s |
| 99,833 | 44 s | 1.9 s | 1.9 s |
| 130,528 | 64 s | 2.3 s | 2.3 s |
| 179,480 | 100 s | 2.2 s | 2.2 s |
| 239,122 | 155 s | 3.2 s | 3.2 s |
- A new prompt is read at about 3,000 tokens per second up to 32,000 tokens, slowing to about 1,500 at 240,000. A 100,000-token prompt waits about 45 seconds for its first token and a 240,000-token prompt about 2.5 minutes.
- If you ask many questions about the same long document, put the document first and the question last. After the first question the document comes from the cache and the first token takes 1 to 3 seconds.
- Set client and load balancer timeouts for the new-prompt case, and use streaming so the connection is not idle. No request failed or timed out at any length we tried. We did not test the full 262,144-token window; the largest prompt was 239,122 tokens.
Not covered
- Other instance types and GPUs, and 4 or 8 simultaneous requests through the gateway.
- Image input, thinking switched off, languages other than English.
Questions or a measurement that differs from ours: contact us. See also faster first boot.