Blog · November 16, 2026
Serving Llama 3.1 8B: the cheap L40S beats H100 and H200 per token today
Source: GPU Idle Radar (gpuidle.com/app/radar/, API https://api.gpuidle.com/v1/radar/table?gpu=…), captured 16 November 2026, 09:56 Europe/Madrid (CET, UTC+1).
The offers used here were last fetched by the Radar between 09:00 and 09:45 Europe/Madrid that morning. None were marked stale.
Our Llama 70B post needed 2 to 4 GPUs per replica. Most production traffic isn’t 70B, though: routing, extraction, classification, RAG answers and agents’ cheap steps run on 7–8B models that fit on one GPU. That changes the math. No tensor parallelism, no NVLink question, no “can I actually rent 4 of these on one node”. You rent one card, and the only question is how many tokens it pushes per dollar.
The formula
usd_per_million_output_tokens
= price_per_gpu_hour_usd × 1_000_000
/ (output_tokens_per_second × 3600)
- One GPU per replica (TP=1), as in the cited benchmark.
output_tokens_per_secondcomes only from the public benchmark below. We assume the GPU runs at 100% of that maximum-load figure, 24/7. Input tokens are not priced separately; their cost shows up as lower output throughput on prefill-heavy workloads.- Not a quote. Real serving depends on batch mix, engine version, context length and utilization.
Throughput source
NVIDIA TensorRT-LLM docs v0.19.0rc0, throughput table generated with TensorRT-LLM v0.17. Model: LLaMA v3.1 8B, TP=1. Method: trtllm-bench throughput, requests fed at an infinite rate (offline, maximum load), in-flight batching. Precision: FP8 on H200, H100 and L40S; FP16 on A100-SXM4-80GB. Source
The table is labelled “token throughput (tokens/second)”. The same page’s example output (3,000 requests, 128 in / 128 out) reports 23,405.9 tokens/s at 182.86 requests/s, which is exactly 128 tokens per request, so the figure counts output tokens.
Cross-check for H100 and H200 only: NVIDIA TensorRT-LLM performance overview (current docs), metric Total Output Throughput (tokens/sec), Llama-3.1-8B-Instruct-FP8, TP=1, H100 SXM 80GB (DGX H100) and H200 SXM 141GB (DGX H200). It has no L40S or A100 column. Source
We use four of NVIDIA’s input/output shapes as stand-ins for real workloads:
| Shape (input / output tokens) | Rough stand-in for |
|---|---|
| 128 / 2048 | short prompt, long generation |
| 1000 / 1000 | chat |
| 5000 / 500 | RAG answer, summarization |
| 20000 / 2000 | long-context work |
Which price we use
For each GPU: the cheapest live Radar on-demand offer marked available that is a 1-GPU listing, on a SKU that matches the benchmark card. Cheaper per-GPU prices on multi-GPU nodes, and prices with unknown availability, are disclosure rows only.
| GPU | Cheapest available 1-GPU offer ($/GPU-hour) | Provider, region |
|---|---|---|
| L40S | $0.4427 | Vast.ai, Ontario, CA |
| A100 80GB | $0.9400 | Vast.ai, Oklahoma, US |
| H100 SXM | $2.2022 | Vast.ai, Latvia |
| H200 | $3.6199 | Vast.ai, Japan |
| B200 | $6.2521 | Vast.ai, Oregon, US (no 8B benchmark, see below) |
All four headline prices happen to be Vast.ai marketplace listings: today no neocloud on the Radar has a cheaper in-stock single-GPU offer for these cards.
Llama 3.1 8B, $ per million output tokens
TensorRT-LLM v0.17, TP=1, prices above. Cheapest per row in bold.
| Shape | L40S (FP8) | A100 80GB (FP16) | H100 SXM (FP8) | H200 (FP8) |
|---|---|---|---|---|
| 128 / 2048 | $0.023 (5,365.81 tok/s) | $0.050 (5,255.99) | $0.029 (21,109.38) | $0.040 (25,398.86) |
| 1000 / 1000 | $0.030 (4,054.71) | $0.069 (3,786.83) | $0.040 (15,244.78) | $0.057 (17,537.96) |
| 5000 / 500 | $0.125 (981.20) | $0.316 (825.13) | $0.172 (3,559.36) | $0.252 (3,987.79) |
| 20000 / 2000 | $0.375 (327.97) | $0.791 (330.04) | $0.437 (1,401.31) | $0.557 (1,804.10) |
Cross-check with the current-docs numbers, same prices: H100 SXM $0.029 / $0.041 / $0.187 / $0.456 and H200 $0.044 / $0.059 / $0.268 / $0.590 for the same four shapes. The ranking doesn’t change.
The takeaway: an H100 does roughly 4× the tokens of an L40S on this benchmark, but today it costs about 5× as much per hour at the cheapest in-stock 1-GPU listing. For an 8B model at full load, the L40S is the cheapest card per token on every shape NVIDIA published, by 14% to 27% against the H100.
Where the H100 and H200 would win
Same formula, solved for the hourly price at which each card ties today’s L40S ($0.4427):
| Shape | H100 SXM ties L40S at | H200 ties L40S at |
|---|---|---|
| 128 / 2048 | $1.742/hr | $2.096/hr |
| 1000 / 1000 | $1.664/hr | $1.915/hr |
| 5000 / 500 | $1.606/hr | $1.799/hr |
| 20000 / 2000 | $1.892/hr | $2.435/hr |
Today’s Radar does have H100 SXM near or under those lines, just not as an in-stock single GPU:
| Case | $/GPU-hour | $/1M output tokens (128/2048 · 1000/1000 · 5000/500 · 20000/2000) | Why it’s not the headline |
|---|---|---|---|
| H100 SXM, Vast.ai Thailand, 4-GPU listing | $1.7872 | $0.024 · $0.033 · $0.139 · $0.354 | You rent 4 GPUs ($7.15/hr). Only worth it if you can fill 4 replicas |
| A100 80GB, Vast.ai Germany, 2-GPU listing | $0.5211 | $0.028 · $0.038 · $0.175 · $0.439 | 2-GPU listing |
| H100 SXM spot, Nebius eu-north1 | $0.8700 | $0.011 · $0.016 · $0.068 · $0.172 | Spot, availability unknown, can be reclaimed |
| H200 spot, Nebius eu-north1 | $2.1800 | $0.024 · $0.035 · $0.152 · $0.336 | Spot, availability unknown |
Nebius H100 spot at $0.87 would be the cheapest way to serve 8B on the whole board, about half the L40S cost per token, if you can live with interruptions and it’s actually there when you launch. See our spot vs on-demand post for how often that’s true.
Caveats
- Throughput is not latency. These are maximum-load batch numbers. An L40S gets its tokens per dollar with fewer, slower streams; per-user speed (tokens/s per request, TTFT) is not in the cited table and we don’t estimate it. If you have a latency SLO, the H100 may still be the right card.
- The precisions differ. A100 runs FP16 in the table; the others run FP8. A100 has no FP8 tensor cores, so this is close to how you would actually run it, but the row partly measures precision, not just hardware.
- Memory. L40S has 48 GB and A100 80 GB, against 80 GB (H100) and 141 GB (H200). The benchmark already reflects what fits in KV cache at these shapes; longer contexts or many concurrent long sessions could change the picture.
- 100% utilization. At 30% average utilization every row costs about 3.3× more. That’s usually the bigger lever than the GPU choice.
- One listing per GPU. The headline prices are single marketplace listings and can disappear within hours (the cheapest A100 80GB on 12 November was gone by 13 November).
- The H100 price is an SXM listing matched to a DGX H100 SXM benchmark. The cheapest in-stock H100 PCIe 1-GPU listing was $2.6689 (Vast.ai, Nova Scotia), and we didn’t apply PCIe prices to SXM throughput.
- No B200, A100 40GB or MI300X row. NVIDIA’s cited tables have no Llama 8B number for B200 (B200 appears only for FP4 70B and 405B) or for A100 40GB, so we don’t compute those. MI300X is not a Radar GPU (
/v1/radar/table?gpu=MI300Xreturns HTTP 422). - No vLLM or SGLang numbers. This post uses only TensorRT-LLM published figures; other engines will give different throughput.
Prices move. Check the GPU Radar and the provider’s own checkout before you rent.
Is your small-model fleet on the right card?
If you serve 7–8B models on H100s because that’s what the cluster had, you may be paying for headroom you don’t use. Send us your GPU type, price and traffic shape and we’ll check your $/token against live prices.
Sources
- GPU Idle Radar,
GET https://api.gpuidle.com/v1/radar/table?gpu={H100,A100,L40S,H200,B200}and/v1/radar/summary, generated 2026-11-16T08:56Z (09:56 CET). - NVIDIA TensorRT-LLM v0.19.0rc0 docs, Performance Overview (data from v0.17): https://nvidia.github.io/TensorRT-LLM/0.19.0rc0/performance/perf-overview.html
- NVIDIA TensorRT-LLM current docs, Performance Overview: https://nvidia.github.io/TensorRT-LLM/performance/perf-overview.html