What this benchmark helps you decide
For a chat product, how evenly a reply streams can matter as much as how fast it finishes. On the A40, SGLang was the engine that kept streaming smooth under load, at the same cost per token as the others. A team that chose it for that reason needs to know whether the advantage survives a move to faster hardware, and what the move costs.
This result is for teams running interactive products on a self-hosted open model, deciding which engine and which 48 GB card to standardise on. It answers two plain questions: does SGLang still stream most smoothly on a faster card, and does the faster card pay for itself?
The test keeps the model, request shape, load generator, engine and cost formula from the SGLang A40 benchmark. The A40 and Ada runs took place on separate GPU rentals. vLLM and TensorRT-LLM ran on the same physical card the same evening, so the engine comparison on this page has no card-to-card variation in it.
Compare the same engine on the A40 in the SGLang A40 report or read the RTX 6000 Ada vs A40 comparison.
Why I ran this test
On the A40, SGLang's p99 inter-token latency at concurrency 64 was 44 milliseconds against 293 for vLLM, and a later cold check showed the gap was not a cache effect. I ran SGLang on the RTX 6000 Ada, after the A40 and on the same card as vLLM, to find out whether that difference belongs to the engine or to the hardware, and whether a faster card changes the cost answer.
- Why the RTX 6000 Ada: the same 48 GB as the A40, so the model and traffic fit the same way, on a newer, faster chip with FP8 support, at a GPU rate 85% higher. It is the card a team would consider when an A40 is no longer fast enough.
- Why on the same card as vLLM: on the A40 each engine had its own Pod, and the SGLang Pod was in a different region. Running all three engines one after another on this card makes the engine comparison as direct as it can be.
- Why a first-request probe: TensorRT-LLM's first request on the A40 waited about 96 seconds, and SGLang's first A40 sweep had one 7.6-second stall. A single request sent straight after start-up separates a warm-up stall from the results.
- Why a cold sweep as well: the A40 method reused prompts, so its figures describe a warm prefix cache. I ran the A40 method first, so this card compares like for like with the A40, then restarted the server and ran a third sweep with new prompts at every level, to show what unique traffic costs.
- Why engine defaults: defaults reflect where most teams begin, and they keep this test comparable with the A40 run.
Test setup
| Field | Value |
|---|---|
| Provider and location | RunPod Secure Cloud, on-demand, US-KS-3 |
| GPU and cost basis | NVIDIA RTX 6000 Ada Generation 48 GB at a rounded $1.11 per hour |
| Model | Qwen/Qwen2.5-7B-Instruct in BF16 |
| Serving engine | SGLang 0.5.23 with default settings, in its own virtual environment on NVIDIA's TensorRT-LLM 1.2.1 release image |
| Request shape | 512 input tokens and 256 output tokens |
| Load generation | vllm bench serve 0.34.0 on the same Pod as the server, using random prompts |
| Run order | One first-request probe, two sweeps with seed 0 (the A40 method), a server restart, then a cold sweep with a new seed at each level |
The $1.11 hourly basis comes from RunPod's billing record for this Pod: $1.0898 for the GPU and $0.0236 for the 120 GB container disk and 50 GB volume in each full hour, $1.1134 in total, rounded the same way as the A40's $0.60. The disk was larger than in the A40 tests because one Pod held all three engines. The whole run, all three engines included, cost $3.36. The billing record is in the downloads, with the Pod ID removed. All three engines ran on this same physical card, one at a time.
SGLang 0.5.23 depends on a pre-release package, flash-attn-4 (version 4.0.0b18 or later; 4.0.0b40 was installed). The first install attempt stopped on that dependency, and it was installed with pre-releases allowed for that package only. That cost about three minutes and changed nothing else. A team pinning SGLang 0.5.23 in production should expect the same.
SGLang reported 480,666 tokens of KV cache after loading, against 428,234 on the A40, with a static memory fraction of 0.853. Chunked prefill used 4,096 tokens per chunk, mixed chunks were off by default, and decode CUDA graphs were captured for batch sizes up to 32, as on the A40. The first start took about two minutes to become ready (121 seconds); the restart before the cold sweep took 46 seconds.
Repeatability, and a stall at the first cache hit
The probe request, sent straight after start-up, waited 167 milliseconds for its first token, so SGLang had no start-up stall. The full sweep then ran twice with identical settings. The second sweep supplies the main table, so it lines up with the A40 report. Output throughput agreed within 0.7% at concurrency 8, 32 and 64.
Concurrency 1 was 4% lower in the first sweep because one request stalled: p99 time to first token was 4.6 seconds against a median of 71 milliseconds, and the run took 9.0 seconds longer than its repeat. The server log shows which request it was: the first one whose prompt matched the probe's, so the first to reuse a cached prefix. It waited about 9 seconds before its prompt processing ran. On the A40, SGLang's one stall (7.6 seconds) came at concurrency 8, the first level whose prompts repeated earlier ones. The most likely reason is a one-off set-up step the first time SGLang serves a request from its cache; the log does not name the cause, so that is not a measured one.
SGLang's own counters show that the second sweep was no warmer than the first. At each level, the share of prompt tokens served from cache was the same in both sweeps (62% at concurrency 8, 26% at 32 and 50% at 64), which is the share repeated from the level just before. The most likely reason is that the cache filled up: 640 requests of 768 tokens need about 491,520 tokens, a little more than SGLang reserved, so the oldest prompts were evicted before the second sweep reached them.
| Concurrency | Sweep 1 tok/s | Sweep 2 tok/s |
|---|---|---|
| 1 | 56.68 | 59.03 |
| 8 | 432.29 | 434.96 |
| 32 | 1,229.34 | 1,237.72 |
| 64 | 2,041.43 | 2,042.17 |
Benchmark results
Swipe or scroll horizontally to compare every column.
| Concurrency | Requests | Output tok/s | Median TTFT | p99 TTFT | Median TPOT | p99 ITL | $ / 1M output (derived) | $ / 1K requests (derived) |
|---|---|---|---|---|---|---|---|---|
| 1 | 50 | 59.0 | 70 ms | 73 ms | 16.7 ms | 17.6 ms | $5.22 | $1.34 |
| 8 | 80 | 435.0 | 75 ms | 565 ms | 17.4 ms | 18.9 ms | $0.71 | $0.18 |
| 32 | 320 | 1,237.7 | 774 ms | 2,022 ms | 21.2 ms | 22.3 ms | $0.25 | $0.064 |
| 64 | 640 | 2,042.2 | 289 ms | 4,035 ms | 23.4 ms | 27.4 ms | $0.15 | $0.039 |
Every valid request completed and produced 256 output tokens. Median time per output token rose from 16.7 to 23.4 milliseconds across the four loads, against 27.8 to 35.6 on the A40, and p99 inter-token latency stayed under 28 milliseconds at every load. Against the A40's published figures, throughput was 66% higher at concurrency 1 and 40% higher at 64, and the derived cost per million output tokens was 12% higher at concurrency 1 and 32% higher at 64. As on the A40, p99 time to first token widened most, to about 4.0 seconds at full load. Those A40s were the slower configuration: a later A40 with ECC off, like this card, was about 20% faster at low load, and against it with new prompts the Ada's lead was 38% to 40% at concurrency 1 and 15% to 18% at 64. The RTX 6000 Ada vs A40 comparison has the detail.
What these figures include: a warm prefix cache
The test followed the A40 method: each load level reused the prompts of the level before it, and the second sweep repeated the first. SGLang's radix cache was on by default. Over the two standard sweeps it served 464,107 prompt tokens from cache against 652,572 processed fresh, about 42% of all prompt tokens, so the main table describes a warm cache. After a restart, which empties the cache, a cold sweep with new prompts at every level served 2,052 tokens from cache. The cold sweep is the realistic figure for traffic in which prompts do not repeat.
With cold prompts, throughput was the same as warm at concurrency 1, 6% lower at 8, 7% lower at 32 and 19% lower at 64, and the derived cost at full load rose from $0.151 to $0.187 per million output tokens. Median time to first token at concurrency 64 rose from 289 to 2,275 milliseconds. p99 inter-token latency barely moved, at 28 milliseconds at full load.
Swipe or scroll horizontally to compare every column.
| Concurrency | Requests | Output tok/s | Median TTFT | p99 TTFT | Median TPOT | p99 ITL | $ / 1M output (derived) | $ / 1K requests (derived) |
|---|---|---|---|---|---|---|---|---|
| 1 | 50 | 59.0 | 73 ms | 103 ms | 16.7 ms | 17.7 ms | $5.23 | $1.34 |
| 8 | 80 | 409.2 | 558 ms | 571 ms | 17.4 ms | 19.5 ms | $0.75 | $0.19 |
| 32 | 320 | 1,150.9 | 1,370 ms | 2,104 ms | 22.3 ms | 23.6 ms | $0.27 | $0.069 |
| 64 | 640 | 1,646.3 | 2,275 ms | 4,088 ms | 30.1 ms | 28.2 ms | $0.19 | $0.048 |
With cold prompts, SGLang was within 2.2% of vLLM and TensorRT-LLM on this card at every load, a tie. The warm table makes SGLang look 19% slower than vLLM at concurrency 32; that gap came from how much each engine's cache kept between sweeps, not from the engines, and it disappeared with cold prompts.
The warm and cold runs, with the engines' own cache counters, are in the prefix-cache check notes and its summary CSV.
Why SGLang kept streaming smooth on a faster card
On the RTX 6000 Ada, SGLang's p99 inter-token latency was 22 and 27 milliseconds at concurrency 32 and 64 in the warm run, and 24 and 28 with cold prompts. On the same card and traffic, vLLM's reached 277 and 287 milliseconds with cold prompts, and TensorRT-LLM's reached 153 at full load in the warm run. On the A40, SGLang's figures were 33 and 44. The faster card brought every gap down roughly in proportion; nothing new appeared in the tail.
The most likely reason is the scheduling default the A40 report described. SGLang's option to mix prompt processing and token generation in one batch, --enable-mixed-chunk, was off in this run as on the A40, so generation steps stay short and even. vLLM batches new prompt work into generation steps by default, and its slowest gaps stayed at almost the same size on both cards.
The trade-off sits at the start of a response. At concurrency 64 SGLang's p99 time to first token was 4.0 seconds warm and 4.1 cold. With cold prompts all three engines were within about 7% on that measure at concurrency 32 and 64, so the longer wait to start is not unique to SGLang. This test did not trace scheduler steps, so the explanation is the most likely cause rather than a measured one.
Self-hosted or API: where the break-even sits
On 20 November 2026, I recorded an OpenRouter list price of $0.10 per million input tokens and $0.20 per million output tokens for this model. A later check left the price unverified, so I use it here as a historical reference. The vLLM A40 report has the full note.
| Concurrency | Req/s | Self-hosted (derived) | API (historical reference) | API lower (modelled) | Cheaper |
|---|---|---|---|---|---|
| 1 | 0.23 | $1.34 | $0.10 | $0.046 | API |
| 8 | 1.70 | $0.18 | $0.10 | $0.046 | API |
| 32 | 4.83 | $0.064 | $0.10 | $0.046 | Depends on rate |
| 64 | 7.98 | $0.039 | $0.10 | $0.046 | Self-hosted |
The break-even depends on the hourly rate and the API price, not on the engine, so it matches the other two Ada tests. At the historical OpenRouter price I recorded on 20 November 2026, unverified on recheck, the rented Ada becomes cheaper above about 3.0 requests per second sustained, against 1.6 for the A40. At the modelled lower price of $0.04 input and $0.10 output per million tokens, the line is about 6.7 requests per second, against 3.6. With cold prompts SGLang reached 6.4 requests per second at full load, just below that lower line, so for unique traffic at the lower price the verdict at concurrency 64 would depend on the rate.
Idle hours still cost $1.11 each, while an API charges nothing between requests. The comparison also excludes the engineering time required to operate and monitor a server.
How the attributed cost was calculated
This isolates the rented GPU time, including the Pod's own disk, attached to one million output tokens. A production model also includes other storage, transfer, cold starts, idle capacity, retries, observability and engineering work. The methodology keeps measured, published and modelled evidence distinct.
What this result can support
- SGLang's smooth streaming is a property of the engine's defaults, not the card: its p99 inter-token latency stayed under 30 milliseconds at every load on the Ada, with warm and cold prompts, and under 45 on the A40.
- On cost per token, the faster card did not pay for itself: 40% more output at full load against an 85% higher hourly rate left the derived cost 32% higher than on the A40.
- Teams deploying SGLang should send at least one request that reuses a cached prefix before taking real traffic. A probe with a new prompt did not prevent a 9-second stall on the first cache hit.
- Benchmarks that repeat prompts measure the prefix cache as well as the engine, and how much they flatter depends on each engine's cache size. Test with traffic that matches how often your own prompts repeat.
Use the GPU memory estimator to examine model fit before choosing hardware.
Evidence boundary
The result covers one GPU type, one model, SGLang 0.5.23 with default settings and synthetic random prompts of fixed length, in BF16. The RTX 6000 Ada supports FP8, which this test did not use. The main table reflects a warm prefix cache; the cold table does not.
The comparison with the A40 crosses physical cards and regions: the SGLang A40 test ran in EU-SE-1 and this one in US-KS-3. The cause of the first cache-hit stall was not traced. The load generator shared the Pod's CPU. The API comparison uses a list price on one date, not a measured API run.
Read GPU billing explained to compare billing increments, minimum charges and stop events.
Where this test sits in the research
This test is part of the RTX 6000 Ada column of the research matrix. The model, request shape and cost formula stay fixed, so the card and the engine are the controlled changes.
- Same engine, other card: the SGLang A40 benchmark. The RTX 6000 Ada vs A40 comparison brings both cards together.
- Same card, other engines: vLLM ran on this card just before SGLang and TensorRT-LLM just after, with the same method.
| Serving engine | NVIDIA A40 48 GB | NVIDIA RTX 6000 Ada 48 GB |
|---|---|---|
| vLLM | Field test 001 | Field test 004 |
| SGLang | Field test 002 | This test |
| TensorRT-LLM | Field test 003 | Field test 006 |
Frequently asked questions about this benchmark
What did this SGLang RTX 6000 Ada benchmark measure?
It measured output throughput, time to first token, time per output token and inter-token latency while Qwen2.5-7B-Instruct ran through SGLang 0.5.23 on one rented NVIDIA RTX 6000 Ada, at concurrency 1, 8, 32 and 64 with 512-token inputs and 256-token outputs. It used the A40 method (a warm prefix cache) and then new prompts after a restart.
Did SGLang still stream most smoothly on the faster card?
Yes. At concurrency 64 its p99 inter-token latency was 27 milliseconds warm and 28 cold, against 283 to 287 for vLLM and 76 to 153 for TensorRT-LLM on the same card.
Was the RTX 6000 Ada cheaper per token than the A40?
No. With the same warm-cache method SGLang produced 40% more output at full load, but the $1.11 hourly rate is 85% higher than the A40's $0.60. Derived cost per million output tokens was $0.151 against $0.115.
Was SGLang faster than vLLM and TensorRT-LLM on this card?
Not in throughput. With cold prompts the three were within 2.2% at every load. In the warm run vLLM looked 19% faster at concurrency 32, but that came from its cache keeping more of the first sweep's prompts, and it vanished with cold prompts.
What was the 9-second stall?
In the first sweep, the first request that reused a cached prompt waited about 9 seconds before its prompt processing ran. A similar one-off stall appeared on the A40 at the first level with repeated prompts. The cause was not traced; warming a new server with a repeated prompt is a cheap precaution.
When was the rented RTX 6000 Ada cheaper than the API?
Using the historical OpenRouter price I recorded on 20 November 2026, unverified on recheck, the break-even was about 3.0 requests per second sustained, against 1.6 for the A40. The API was cheaper at the two lower load levels, concurrency 32 depended on the API rate, and the rented Ada was cheaper at concurrency 64.
Which costs are included?
The derived figures attribute the rounded $1.11 hourly GPU and disk rate to measured output. They exclude idle capacity, storage beyond the Pod's disks, transfer, retries, observability and engineering work.
Download and inspect the evidence
- Benchmark notes and method
- Download the summary CSV
- Second-sweep JSON at concurrency 1
- Second-sweep JSON at concurrency 8
- Second-sweep JSON at concurrency 32
- Second-sweep JSON at concurrency 64
- First-sweep JSON at concurrency 1
- First-sweep JSON at concurrency 8
- First-sweep JSON at concurrency 32
- First-sweep JSON at concurrency 64
- Cold-sweep JSON at concurrency 1
- Cold-sweep JSON at concurrency 8
- Cold-sweep JSON at concurrency 32
- Cold-sweep JSON at concurrency 64
- First-request probe JSON
- SGLang server log, first start
- SGLang server log, restart before the cold sweep
- Environment record: GPU
- Environment record: package list
- SGLang install log (pre-release dependency)
- RunPod billing record
- SHA-256 checksums
- Full raw archive for all three Ada engines (26 MB)
- Prefix-cache check notes (RTX 6000 Ada, warm and cold)
- Prefix-cache check summary CSV
- Qwen2.5-7B-Instruct model card
- OpenRouter model page (price not currently shown)
- Questions and corrections: data@compareaicost.com