Sustained inference case study · 8 November 2026

A100 SXM 80 GB vs A40 for Llama 3.1 8B inference

The tested A100 completed 1,031 requests in about 7 minutes 50 seconds in each of three runs. The tested A40 completed 864 by the 15-minute deadline and had the lower estimated compute cost per output token.

We set a target of 1,000 successful completions within 15 minutes on one GPU. Both RunPod Secure configurations used Llama 3.1 8B Instruct in BF16 with vLLM 0.30.0, 2,000 input tokens, 500 output tokens and up to 32 concurrent requests.

Jump to benchmark results · See historical cost per million output tokens

Sustained benchmark results

With the same prompt seed (17), the A100 configuration delivered 2.29× the A40's observed output throughput. The A100 recorded zero failures across 3,093 measured requests. On the A40, the 32 requests still outstanding at the phase deadline were recorded as timeouts.

On narrower desktop layouts, scroll the table horizontally.

Measured repetitions at concurrency 32. The three A100 runs shared one pod.
GPU and prompt seedRunPod region Completed / issuedElapsed (s) Output tokens/s15-minute target
A40 · seed 17EU-SE-1864 / 896 900.02480.0Missed target
A100 SXM 80 GB · seed 17US-KS-21,031 / 1,031 469.571,097.8Met target
A100 SXM 80 GB · seed 29US-KS-21,031 / 1,031 470.731,095.1Met target
A100 SXM 80 GB · seed 43US-KS-21,031 / 1,031 469.391,098.2Met target

A40 · seed 17

EU-SE-1 · Missed target

Completed / issued
864 / 896
Elapsed
900.02 s
Output tokens/s
480.0

A100 SXM 80 GB · seed 17

US-KS-2 · Met target

Completed / issued
1,031 / 1,031
Elapsed
469.57 s
Output tokens/s
1,097.8

A100 SXM 80 GB · seed 29

US-KS-2 · Met target

Completed / issued
1,031 / 1,031
Elapsed
470.73 s
Output tokens/s
1,095.1

A100 SXM 80 GB · seed 43

US-KS-2 · Met target

Completed / issued
1,031 / 1,031
Elapsed
469.39 s
Output tokens/s
1,098.2

Throughput is successful output tokens divided by the full measured phase, including time spent waiting for outstanding requests to finish. The A100 stopped after clearing the request target and finishing its outstanding requests. The A40 ran to the deadline. Displayed times are rounded.

Cost trade-off

At the compute rates recorded on 8 November, the A40 cost about $0.34 per million successful output tokens at $0.59/hour. The A100 cost about $0.45 at $1.79/hour using its median measured throughput of 1,097.8 output tokens/s. For this workload, the faster configuration met the deadline at a higher estimated cost per output token.

We divided the hourly rate by 3,600 and by measured output tokens per second, then multiplied by one million. The estimates cover measured compute time. They exclude startup, stabilization, storage, idle time and tax. The historical rates are neither current quotes nor final billed totals. How we calculate cost per million output tokens.

What this comparison can tell you

Use these historical results to shortlist a configuration, then validate it against your own deadline, token shape and traffic pattern. See other measured Llama 3.1 8B workloads.

See which GPUs meet a first-token latency limit and compare their historical costs. The worked example uses a separate measured Llama 3.1 8B workload with 1,000 input and 250 output tokens.

Email us about your GPU decision or see how to discuss a scoped review.