# TensorRT-LLM Qwen2.5 7B on an NVIDIA RTX 6000 Ada

Measured: 24 November 2026

This directory preserves field test 006 of the Compare AI Cost
inference-engine research: TensorRT-LLM serving Qwen2.5-7B-Instruct on one
NVIDIA RTX 6000 Ada, with the same model, request shape, load generator and
cost formula as the A40 field tests. The report is at
[compareaicost.com/research/tensorrt-llm-qwen-7b-rtx-6000-ada-benchmark](https://www.compareaicost.com/research/tensorrt-llm-qwen-7b-rtx-6000-ada-benchmark); the
same engine on the A40 is at
[compareaicost.com/research/tensorrt-llm-qwen-7b-a40-benchmark](https://www.compareaicost.com/research/tensorrt-llm-qwen-7b-a40-benchmark).

## Configuration

- Provider: RunPod Secure Cloud, on-demand, US-KS-3
- Hardware: one NVIDIA RTX 6000 Ada Generation with 48 GB of GPU memory
  (driver 595.112.07). All three engines ran on this same card, one at a time.
- Cost basis: $1.11 per hour, rounded. The RunPod billing record shows $1.0898
  for the GPU and $0.0236 for disk in each full hour, $1.1134 in total.
- Image: `nvcr.io/nvidia/tensorrt-llm/release:1.2.1`
- Model: `Qwen/Qwen2.5-7B-Instruct` in BF16, downloaded from Hugging Face
- Load generator: `vllm bench serve` 0.34.0 in its own `uv` virtual
  environment on the same Pod, `--backend openai`, `/v1/completions`
- Request shape: random dataset, 512 input tokens and 256 output tokens,
  `random_range_ratio 0.0`
- Maximum concurrency: 1, 8, 32 and 64; prompts per level = max(10 x
  concurrency, 50)

## Run order

1. Start the server and wait for the health check.
2. One first-request probe: a single request with seed 0, on its own.
3. Two sweeps with seed 0 at every level (`sweep1`, then `sweep2`). This is
   the A40 method: each level reuses the prompts of the level before it, and
   the second sweep repeats the first, so the engine's prefix cache is warm.
   The second sweep supplies the published main table, so it lines up with
   the A40 reports.
4. Restart the server, which empties the cache.
5. One cold sweep with a new seed at each level (seed 1000 + concurrency), so
   every prompt is new. This is the figure for traffic that does not repeat.

- Serving engine: TensorRT-LLM 1.2.1 from the image, PyTorch backend, started
  with `trtllm-serve /workspace/models/qwen7b --host 127.0.0.1 --port 8001`
  and no other options (engine defaults). Served model name `qwen7b`.

## Server facts from the TensorRT-LLM log

- KV cache: 509,984 tokens reserved after loading 14.19 GB of weights. On the
  A40, TensorRT-LLM reserved 470,428.
- Chunked prefill: off, `max_num_tokens` 8,192
- KV cache block reuse (prefix caching): on
- Decode CUDA graphs captured for batch sizes 1 to 32, 64 and 128
- First start: about 75 seconds to pass the health check; restart about 55
  seconds
- The first-request probe waited about 81.3 seconds for its first token. On
  the A40 the same stall was about 96 seconds, inside the first sweep.
- The first restart attempt for the cold sweep failed because the previous
  process still held port 8001 (`environment/server_cold_failed_bind.log`).
  The cold sweep ran once the port was free; the failed attempt produced no
  results.

## Results

Second sweep (warm prefix cache, the A40 method):

| Concurrency | Output tok/s | Median TTFT ms | p99 TTFT ms | Median TPOT ms | p99 ITL ms | $ / 1M output (derived) |
|---|---|---|---|---|---|---|
| 1 | 58.5 | 53 | 67 | 17.0 | 20.9 | $5.27 |
| 8 | 445.3 | 64 | 120 | 17.7 | 21.9 | $0.69 |
| 32 | 1,230.5 | 1,050 | 2,069 | 20.1 | 26.2 | $0.25 |
| 64 | 2,076.9 | 335 | 2,111 | 26.8 | 153.2 | $0.15 |

Cold sweep (new prompts after a restart):

| Concurrency | Output tok/s | Median TTFT ms | p99 TTFT ms | Median TPOT ms | p99 ITL ms | $ / 1M output (derived) |
|---|---|---|---|---|---|---|
| 1 | 58.0 | 75 | 115 | 17.0 | 21.0 | $5.32 |
| 8 | 403.5 | 524 | 618 | 17.8 | 22.5 | $0.76 |
| 32 | 1,134.9 | 1,384 | 2,125 | 22.6 | 27.4 | $0.27 |
| 64 | 1,654.5 | 2,256 | 4,129 | 29.6 | 76.2 | $0.19 |

## Derived cost

- Cost per 1M output tokens = 1.11 x 1,000,000 / (output tokens per second x
  3,600)
- Cost per 1,000 requests = 1.11 x 256,000 / (output tokens per second x
  3,600)

These attribute rented GPU and disk time to measured output. They exclude idle
hours, transfer, retries, observability and engineering time.

## Files

- `ada_qwen7b_trtllm_sweep2_c*.json`: the second sweep, which supplies the main
  table
- `sweep1/ada_qwen7b_trtllm_sweep1_c*.json`: the first sweep
- `cold/ada_qwen7b_trtllm_cold_c*.json`: the cold sweep after the restart
- `ada_qwen7b_trtllm_first_request_probe.json`: the single probe request
- `summary.csv`: measured fields from every run plus derived GPU-cost figures
  at $1.11 per hour; `raw_file_sha256` is the hash of the full, unchanged
  export
- `environment/`: GPU record, `pip freeze`, and the server logs from the first
  start and the restart, plus the engine version and the failed first restart
- `evidence/runpod_billing_2026-11-24.json`: RunPod pod billing record for the
  shared Pod, pod ID replaced with a label

The JSON files here keep every summary field and the per-request `latencies`
and `queue_times` lists, the same shape as the A40 exports. This run also saved
each request's generated text and token timings, which made the files about
100 times larger, so those lists were removed here. The full, unchanged
exports are in
[`../rtx6000ada-qwen25-7b-raw-2026-11-24/ada_qwen7b_2026-11-24.tar.gz`](../rtx6000ada-qwen25-7b-raw-2026-11-24/README.md),
with the archive manifest at `ada-run/SHA256SUMS`. Use the
`raw_file_sha256` column in `summary.csv` to verify those full exports.
For the smaller JSON downloads listed in the same CSV, use this folder's
[`SHA256SUMS`](SHA256SUMS). Each manifest verifies the exact bytes of its
own set of files.

Every run reports zero failed requests and the full 256 output tokens per
request.
