GPT-2 Medium (FlashAttention) TPS calculator
Each card below is assessed against this model at the context length and minimum quality you choose. Speed is an estimate for a single request, calculated from the card's memory bandwidth and the size of the model once compressed.
Calculated for this model
818 cards we hold specifications for
Smallest card that fits
Tesla C1080
4 GB · Q8_0 · 104 tok/s
Fastest card
B200
9,544 tok/s · 180 GB
Which GPUs can run GPT-2 Medium (FlashAttention)?
Set the inputs, read the answer
A longer conversation needs more memory, which can push this model off smaller cards.
Hides cards that would only fit the model by compressing it below this point.
818 cards match
Calculating| Needs | Quantisation | Fit | |||||
|---|---|---|---|---|---|---|---|
|
9,544
tok/s
5,727–15,271 · low confidence |
B200 NVIDIA | 180 GB | 8,000 GB/s | Jan 2024 | 1.1 GB | Q8_0 | Comfortable |
|
9,544
tok/s
5,727–15,271 · low confidence |
B300 NVIDIA | 288 GB | 8,000 GB/s | Sep 2025 | 1.1 GB | Q8_0 | Comfortable |
|
7,621
tok/s
4,573–12,194 · low confidence |
Radeon Instinct MI350X AMD | 288 GB | 8,190 GB/s | Jan 2025 | 1.1 GB | Q8_0 | Comfortable |
|
7,621
tok/s
4,573–12,194 · low confidence |
Radeon Instinct MI355X AMD | 288 GB | 8,190 GB/s | Jan 2025 | 1.1 GB | Q8_0 | Comfortable |
|
6,095
tok/s
3,657–9,752 · low confidence |
Radeon Instinct MI300 AMD | 128 GB | 6,550 GB/s | Jan 2023 | 1.1 GB | Q8_0 | Comfortable |
|
5,834
tok/s
3,500–9,334 · low confidence |
H200 NVL NVIDIA | 141 GB | 4,890 GB/s | Nov 2024 | 1.1 GB | Q8_0 | Comfortable |
|
5,834
tok/s
3,500–9,334 · low confidence |
H200 SXM 141 GB NVIDIA | 141 GB | 4,890 GB/s | Nov 2024 | 1.1 GB | Q8_0 | Comfortable |
|
5,583
tok/s
3,350–8,933 · low confidence |
Radeon Instinct MI325X AMD | 256 GB | 6,000 GB/s | Oct 2024 | 1.1 GB | Q8_0 | Comfortable |
|
4,955
tok/s
2,973–7,928 · low confidence |
Radeon Instinct MI300A AMD | 128 GB | 5,325 GB/s | Dec 2023 | 1.1 GB | Q8_0 | Comfortable |
|
4,955
tok/s
2,973–7,928 · low confidence |
Radeon Instinct MI300X AMD | 192 GB | 5,325 GB/s | Dec 2023 | 1.1 GB | Q8_0 | Comfortable |
|
4,955
tok/s
2,973–7,928 · low confidence |
Radeon Instinct MI308X AMD | 192 GB | 5,325 GB/s | Dec 2023 | 1.1 GB | Q8_0 | Comfortable |
|
4,701
tok/s
2,820–7,521 · low confidence |
H100 NVL 94 GB NVIDIA | 94 GB | 3,940 GB/s | Mar 2023 | 1.1 GB | Q8_0 | Comfortable |
|
4,009
tok/s
2,405–6,414 · low confidence |
H100 PCIe 96 GB NVIDIA | 96 GB | 3,360 GB/s | Mar 2023 | 1.1 GB | Q8_0 | Comfortable |
|
4,009
tok/s
2,405–6,414 · low confidence |
H100 SXM5 80 GB NVIDIA | 80 GB | 3,360 GB/s | Oct 2022 | 1.1 GB | Q8_0 | Comfortable |
|
4,009
tok/s
2,405–6,414 · low confidence |
H100 SXM5 94 GB NVIDIA | 94 GB | 3,360 GB/s | Mar 2023 | 1.1 GB | Q8_0 | Comfortable |
|
4,009
tok/s
2,405–6,414 · low confidence |
H100 SXM5 96 GB NVIDIA | 96 GB | 3,360 GB/s | Mar 2023 | 1.1 GB | Q8_0 | Comfortable |
|
4,009
tok/s
2,405–6,414 · low confidence |
H800 SXM5 NVIDIA | 80 GB | 3,360 GB/s | Mar 2023 | 1.1 GB | Q8_0 | Comfortable |
|
3,052
tok/s
1,831–4,884 · low confidence |
Radeon Instinct MI250 AMD | 128 GB | 3,280 GB/s | Nov 2021 | 1.1 GB | Q8_0 | Comfortable |
|
3,052
tok/s
1,831–4,884 · low confidence |
Radeon Instinct MI250X AMD | 128 GB | 3,280 GB/s | Nov 2021 | 1.1 GB | Q8_0 | Comfortable |
|
2,544
tok/s
1,526–4,070 · low confidence |
Data Center GPU Max 1550 Intel | 128 GB | 3,280 GB/s | Jan 2023 | 1.1 GB | Q8_0 | Comfortable |
|
2,489
tok/s
1,494–3,983 · low confidence |
Data Center GPU Max Subsystem Intel | 128 GB | 3,210 GB/s | Jan 2023 | 1.1 GB | Q8_0 | Comfortable |
|
2,434
tok/s
1,460–3,894 · low confidence |
A100 SXM4 80 GB NVIDIA | 80 GB | 2,040 GB/s | Nov 2020 | 1.1 GB | Q8_0 | Comfortable |
|
2,434
tok/s
1,460–3,894 · low confidence |
A100X NVIDIA | 80 GB | 2,040 GB/s | Jun 2021 | 1.1 GB | Q8_0 | Comfortable |
|
2,434
tok/s
1,460–3,894 · low confidence |
A800 SXM4 80 GB NVIDIA | 80 GB | 2,040 GB/s | Aug 2022 | 1.1 GB | Q8_0 | Comfortable |
|
2,434
tok/s
1,460–3,894 · low confidence |
H100 CNX NVIDIA | 80 GB | 2,040 GB/s | Mar 2023 | 1.1 GB | Q8_0 | Comfortable |
Speeds are estimates for a single request — one conversation at a time — calculated from memory bandwidth, model size and quantisation. Real throughput varies with the inference runtime and its version. Figures published by hardware vendors measure many simultaneous requests and are much higher.
On record
Full specification
Everything on record for this model. Most of it describes how it was trained rather than how it runs — useful context for judging how much work went into it, and how it compares with models built at a different scale.
Origin
Who built this model, where, and when it was published.
- Organisation
- Stanford University,University at Buffalo
- Organisation type
- Academia,Academia
- Country
- United States of America
- Published
- 27 May 2022
- Authors
- Tri Dao, Daniel Y. Fu, Stefano Ermon, Atri Rudra, Christopher Ré
What it does
The problem areas the model was built for. A model can carry several of each.
- Domain
- Language
- Task
- Language modeling/generation
Size
How large the model is and how much data it was trained on. Parameters are the figure that decides whether it fits on a given graphics card.
- Parameters
- 355M
- Training data
- 10,130,000,000 tokens
- Batch size
- 512
GPT-2 Medium from here, aka GPT-2 355M: https://huggingface.co/openai-community/gpt2-medium
From OpenWebText
Training compute
The arithmetic performed to train the model, measured in floating-point operations. It is a measure of what the training run cost, not of how fast the finished model answers you.
- Training compute
- 8.9 × 10²⁰ FLOP
- How it was established
- Comparison with other models,Hardware
2.272e+21 (GPT-2 355M). 3x speedup claimed over the original implementation, but not clear how this interacts with overall training compute. Alternative data for calculation: 8x A100 80GB * 165.6 hours at 60% utilization (higher than average because FlashAttention-2 paper reports 72% utilization with larger models and FlashAttention-1 runs ~95% as fast as FA-2 on the smallest model then tested: GPT3-1.3B with 2K context, whereas this paper uses GPT2-355M with 1K context. Paper uses mixed precis…
The training run
What it physically took to train: which chips, how many, for how long, and what that drew from the wall.
- Training hardware
- NVIDIA A100 SXM4 40 GB
- Chips used
- 8
- Wall-clock time
- 166 hours
- Power draw
- 6.4 kW
6.9 days
Availability
Whether you can obtain the model and run it on your own hardware, which is what decides if any of the graphics-card figures on this page apply.
- Weights
- Open — downloadable
- Model access
- Open weights (unrestricted)
- Training code
- Open source
BSD-3-Clause license https://github.com/Dao-AILab/flash-attention
How it is classified
Labels the source dataset applies when tracking notable models, and how confident it is in the entry.
- Why it is tracked
- Highly cited,Historical significance
- Record confidence
- Confident
- Citations
- 4,295
Sources
Where this record came from and when it was last checked.
- Reference
- FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness
- Last updated
- 25 May 2026
The extremes
The ten fastest GPUs that run GPT-2 Medium (FlashAttention)
Ranked by estimated tokens per second, newest card first where speeds tie. Because generation is bound by memory bandwidth, this ordering follows bandwidth rather than any gaming benchmark.
- 01 B300 288 GB · 8,000 GB/s · Q8_0 9,544 tok/s
- 02 B200 180 GB · 8,000 GB/s · Q8_0 9,544 tok/s
- 03 Radeon Instinct MI350X 288 GB · 8,190 GB/s · Q8_0 7,621 tok/s
- 04 Radeon Instinct MI355X 288 GB · 8,190 GB/s · Q8_0 7,621 tok/s
- 05 Radeon Instinct MI300 128 GB · 6,550 GB/s · Q8_0 6,095 tok/s
- 06 H200 NVL 141 GB · 4,890 GB/s · Q8_0 5,834 tok/s
- 07 H200 SXM 141 GB 141 GB · 4,890 GB/s · Q8_0 5,834 tok/s
- 08 Radeon Instinct MI325X 256 GB · 6,000 GB/s · Q8_0 5,583 tok/s
- 09 Radeon Instinct MI300A 128 GB · 5,325 GB/s · Q8_0 4,955 tok/s
- 10 Radeon Instinct MI300X 192 GB · 5,325 GB/s · Q8_0 4,955 tok/s
The smallest GPUs that still run GPT-2 Medium (FlashAttention)
The cheapest route in, by memory capacity. A tight fit runs the model but leaves nothing spare for a longer conversation.
- 01 GeForce RTX 4010 4 GB · needs 1.1 GB · Q8_0 · comfortable 115 tok/s
- 02 RTX A400 4 GB · needs 1.1 GB · Q8_0 · comfortable 115 tok/s
- 03 RTX 500 Mobile Ada Generation 4 GB · needs 1.1 GB · Q8_0 · comfortable 153 tok/s
- 04 GeForce RTX 3050 A Mobile 4 GB · needs 1.1 GB · Q8_0 · comfortable 229 tok/s
- 05 Jetson Orin Nano 4 GB 4 GB · needs 1.1 GB · Q8_0 · comfortable 40.7 tok/s
- 06 Radeon RX 6450M 4 GB · needs 1.1 GB · Q8_0 · comfortable 119 tok/s
- 07 Radeon RX 6550M 4 GB · needs 1.1 GB · Q8_0 · comfortable 134 tok/s
- 08 Radeon RX 6550S 4 GB · needs 1.1 GB · Q8_0 · comfortable 119 tok/s
- 09 Arc A310 4 GB · needs 1.1 GB · Q8_0 · comfortable 96.2 tok/s
- 10 Arc Pro A30M 4 GB · needs 1.1 GB · Q8_0 · comfortable 99.3 tok/s
What the numbers mean
What you need to run it
Minimum card
Tesla C1080
Memory needed
1.1 GB
Fastest
9,544 tok/s
GPT-2 Medium (FlashAttention) reaches a parameter count of 355M. That is small enough that hardware is rarely the obstacle, including on cards several years old. The number of cards we track that can run it: 818.
The least hardware that works is Tesla C1080, with a memory capacity of 4 GB, running it at a compression of Q8_0 and producing around 104 tokens per second.
At the other end sits B200, generating roughly 9,544 tokens per second on the strength of a memory bandwidth of 8,000 GB/s.
What this model is
GPT-2 Medium (FlashAttention) was published by Stanford University,University at Buffalo, in the country recorded as United States of America, during May 2022. The publishing organisation is categorised as academia,Academia.
It works in the domain of Language, and is recorded as performing the task of language modeling/generation.
Published weights mean the model runs on your machine rather than someone else's, which is what makes the hardware question below answerable at all.
What decides the speed
Half the cards that hold it manage more than 268.0 tokens per second. Exceeding reading speed outright: 817 of them.
Being dense, it reads all of itself per token, which is why the ordering by speed below follows the ordering by memory bandwidth so closely.
Memory here is estimated from size rather than computed from the architecture, which is not recorded for this model — the numbers are indicative rather than exact.
Training and provenance
Producing it required arithmetic totalling around 8.9 × 10²⁰ FLOP, on hardware recorded as NVIDIA A100 SXM4 40 GB. That figure measures what producing the model cost, and has no bearing on how fast it answers.
The training set ran to roughly 10,130,000,000 tokens of text.
It is tracked in the underlying dataset for one reason in particular: highly cited,Historical significance.
Step by step
How to choose a GPU for GPT-2 Medium (FlashAttention)
The table above has already assessed every card we hold specifications for against this model. Getting to your answer takes six steps.
-
01
Check what it needs before anything else
Start from what it actually needs, which is the requirement of GPT-2 Medium (FlashAttention), needing around 1.1 GB at a compression of Q8_0. No amount of processing power compensates for a card that cannot hold it.
-
02
Set the context length you will work at
Set the context to what you will actually use. The cache grows with the conversation, and it is the usual reason a card that seemed fine stops fitting GPT-2 Medium (FlashAttention).
-
03
Set a quality floor
Compression is what makes a model fit smaller cards, at some cost in accuracy, reaching a compression of Q8_0 on the smallest card that fits. Setting a minimum quality drops the cards that only manage it by squeezing further than you would want, and holds the comparison at one level.
-
04
Rank by throughput rather than spec sheet
Ranking by tokens per second follows memory bandwidth rather than core counts, for GPT-2 Medium (FlashAttention). It will not match a gaming ordering, because generation is bound by memory bandwidth. The card topping the list is B200, at 9,544 tok/s.
-
05
Look at the headroom, not just the fit
The fit column separates cards that just manage it from those with room to spare, in the case of GPT-2 Medium (FlashAttention). Comfortable means you can grow the context later. That difference matters more than a few tokens per second, so buy for comfortable if you expect to.
-
06
See what else that card runs
Every card name links to its own page, which runs the same calculation across the whole model catalogue. A card is usually bought for more than one model, so it is worth a look before buying for GPT-2 Medium (FlashAttention).
Answers
GPT-2 Medium (FlashAttention) — common questions
GPT-2 Medium (FlashAttention)— would two GPUs run it faster?
Capacity adds across cards; throughput does not. The number of cards already holding it on their own: 818. So a second card is rarely the answer here.
GPT-2 Medium (FlashAttention)— why does the quantisation differ between cards?
Because capacity varies, so does how hard it has to be squeezed. The number of distinct levels in the table above: 1. Bigger cards get the more accurate version, and the quality floor above pins the comparison to one level.
GPT-2 Medium (FlashAttention)— how accurate are these speed estimates?
They are calculated from specifications rather than measured, and each carries a range. One example: 5,727–15,271 tok/s on B200. The same model and card vary by thirty to fifty per cent depending on the inference software and its version.
GPT-2 Medium (FlashAttention)— what GPU do I need to run it?
The smallest card in our catalogue that holds it is Tesla C1080, with a memory capacity of 4 GB. It runs the model at a compression of Q8_0 using about 1.1 GB, and produces roughly 104 tokens per second. The number of cards able to run it in total: 818.
GPT-2 Medium (FlashAttention)— how fast is it on a GPU?
It depends on the card. The quickest we calculate is B200, at about 9,544 tokens per second; the slowest that still runs it manages considerably less. Reading speed is around ten tokens per second, and the number of cards clearing that: 817.
GPT-2 Medium (FlashAttention)— how much VRAM does it need?
It needs about 1.1 GB at a compression of Q8_0, which is what the smallest card that runs it uses. Less compression needs more: the figures in the memory column above are recalculated for each card, because each one holds the least-compressed version it can.
GPT-2 Medium (FlashAttention)— can I run it on a GPU holding 8 GB?
Yes. The card CMP 170HX 8 GB, holding 8 GB, runs it at a compression of Q8_0, using about 1.1 GB and generating roughly 1,778 tokens per second. The fit is comfortable.
GPT-2 Medium (FlashAttention)— can I run it on a GPU holding 12 GB?
Yes. The card GeForce RTX 3080 Ti, holding 12 GB, runs it at a compression of Q8_0, using about 1.1 GB and generating roughly 1,089 tokens per second. The fit is comfortable.
GPT-2 Medium (FlashAttention)— can I run it on a GPU holding 16 GB?
Yes. The card Tesla V100 SXM2 16 GB, holding 16 GB, runs it at a compression of Q8_0, using about 1.1 GB and generating roughly 1,348 tokens per second. The fit is comfortable.
GPT-2 Medium (FlashAttention)— can I run it on a GPU holding 24 GB?
Yes. The card GeForce RTX 5090 D V2, holding 24 GB, runs it at a compression of Q8_0, using about 1.1 GB and generating roughly 1,599 tokens per second. The fit is comfortable.
GPT-2 Medium (FlashAttention)— is it open source?
Its weights are published, so it can be downloaded and run on your own hardware. Note that open weights is not the same as open source in the full sense — it says nothing about the training data, the training code, or the commercial terms attached.
GPT-2 Medium (FlashAttention)— how many parameters does it have?
It has a parameter count of 355M. GPT-2 Medium from here, aka GPT-2 355M: https://huggingface.co/openai-community/gpt2-medium. That figure is the total, and it is what decides how much memory the model needs — roughly half a gigabyte per billion at the compression most people use.
GPT-2 Medium (FlashAttention)— who created it?
It was published by Stanford University,University at Buffalo, based in United States of America, an organisation categorised as academia,Academia.
GPT-2 Medium (FlashAttention)— when was it released?
It was published in May 2022. Capability per parameter has improved considerably since, so a newer model of the same size is often the better use of the same hardware.
GPT-2 Medium (FlashAttention)— what is it used for?
It works in the domain of Language, and is recorded as handling the task of language modeling/generation. These are the areas it was designed around; they describe intent rather than a hard boundary.
GPT-2 Medium (FlashAttention)— where can I download it?
The weights are published, though we do not hold a repository link for it. This site calculates hardware requirements rather than hosting model files.
GPT-2 Medium (FlashAttention)— how much compute was used to train it?
Training consumed around 8.9 × 10²⁰ FLOP, on hardware recorded as NVIDIA A100 SXM4 40 GB. That measures what producing the model cost and says nothing about how quickly it answers once trained — inference speed comes from memory bandwidth, not from the training budget.
GPT-2 Medium (FlashAttention)— can I run it if it does not fit in my GPU?
Only by offloading, which is usually a false economy: the part held in system memory drags the whole thing down. Every figure here assumes the whole model is resident on the card.
The other direction
Looking at it from the other side?
This page starts from the model. If you already own a card and want to know everything it will run, start from the hardware instead.