FP8 and FP4: why AI chips do math with fewer digits
Reading guide Step 65 of 90 · AI chips
AI chip specs are full of labels such as FP16, FP8, and FP4. They describe how many bits the chip uses for each number, and they explain why each new chip seems so much faster than the last. Here is what they mean, and what is lost when the numbers get smaller.
Key takeaways
- Labels such as FP16, FP8, and FP4 say how many bits a chip uses for each number. Fewer bits mean rougher numbers but faster math and less memory.
- Each halving of the bits roughly doubles a chip’s peak speed: AMD’s MI355X is rated at 2.5 petaflops at FP16, 5 at FP8, and 10.1 at FP4.
- To keep 4-bit numbers usable, new formats scale small blocks of numbers separately. Nvidia says its NVFP4 loses 1 percent or less in accuracy on key tests.
- Check whether a spec counts sparsity, which usually doubles the figure, before comparing chips.
Every AI model is, underneath, a huge collection of numbers: the billions of parameters it learned, and the numbers that flow through it as it works. An AI chip spends nearly all its time multiplying and adding them. How many bits the chip uses to write down each number, its precision, decides how fast it can go and how much memory the model needs. That is why chip makers quote speeds at FP16, FP8, and FP4, and why the newest chips advertise the smallest numbers.
What the letters and numbers mean
FP stands for floating point, the way computers write numbers that can be very large or very small, much like scientific notation (3.2 × 105). The bits are split into three parts:
- a sign bit, for plus or minus;
- exponent bits, which set how big the number is, like the power of 10; and
- mantissa bits, which hold the digits, like the 3.2.
FP32, with 32 bits, was long the standard for science and early AI. FP16 and BF16 use 16; BF16 (“brain floating point,” from Google) keeps FP32’s exponent so it can cover the same range of sizes, with fewer digits. FP8 and FP4 go further. In Nvidia’s 4-bit format, each number has one sign bit, two exponent bits, and one mantissa bit, so it can only take a handful of values, roughly between −6 and 6, Nvidia explains.
Why fewer bits means faster chips
A multiplier built for small numbers is smaller and uses less energy, so a chip can fit more of them and run more at once. Moving smaller numbers in and out of memory is faster too. In practice, each halving of the bits roughly doubles a chip’s peak speed. AMD’s published figures for its MI355X show the pattern clearly:
This is a big part of why AI chips seem to leap ahead each year. Some of the gain comes from better chips, and some from counting in smaller numbers. When Nvidia compares a new chip at FP4 with an old one that could only do FP8, part of the jump is the change in precision. Our AI chips compared table uses dense FP8 so chips can be compared on the same terms.
Watch for one more trick. Many chips can skip multiplications by zero if the zeros fall in a fixed pattern, called sparsity. Figures “with sparsity” are usually twice the dense ones: AMD lists the MI355X at 2.5 petaflops of dense FP16 but 5 with sparsity, for example. Comparing a dense number with a sparse one makes one chip look twice as fast as it is.
How 4 bits can be enough
With only 16 possible values, an FP4 number cannot cover both very large and very small numbers. The fix is to share a scale factor across a small block of numbers that sit close together, and store each number in 4 bits relative to it, like a map that has its own scale in each corner.
- In October 2023, AMD, Arm, Intel, Meta, Microsoft, Nvidia, and Qualcomm agreed on a family of such “microscaling,” or MX, formats, including MXFP8, MXFP6, and MXFP4, TechPowerUp reported. MXFP4 shares one scale across blocks of 32 numbers.
- Nvidia’s own NVFP4, introduced with its Blackwell chips, uses smaller blocks of 16 with a more precise 8-bit scale, plus a second scale for the whole set of numbers. Nvidia says that fits the data more closely and reduces errors. It stores about 4.5 bits per number once the scales are counted, and cuts a model’s memory about 3.5 times compared with FP16 and 1.8 times compared with FP8.
Accuracy holds up surprisingly well. Converting the DeepSeek-R1 model from FP8 to NVFP4 cost 1 percent or less in accuracy on key language tests, and it scored 2 points higher on one math test, Nvidia says. These are Nvidia’s own results.
Training as well as answering
Low precision is easiest for inference, when a finished model answers questions. Training, when a model learns, is touchier, because small errors can build up. But that is changing too. China’s DeepSeek trained its large DeepSeek-V3 model mostly in FP8, and said it was the first to show this works on an extremely large model. It kept sensitive parts, such as the attention steps and the final output layer, in higher precision, and found its loss, a measure of error during training, stayed within 0.25 percent of a 16-bit run, according to its technical report. See Training vs. inference.
What it means for memory
Fewer bits per number means less memory per model. A model with 70 billion parameters needs about 140 GB just to hold them at FP16, 70 GB at FP8, and about 39 GB at NVFP4, by our arithmetic.
That might look like bad news for makers of HBM, such as SK hynix and Samsung. So far it has not been: AI companies have used the savings to run bigger models, longer conversations, and more users at once, and HBM is still in short supply. See the memory shortage.
Sources
- Nvidia: Introducing NVFP4 for efficient and accurate low-precision inference (June 24, 2025)
- AMD: Instinct MI355X specifications
- TechPowerUp: AMD, Arm, Intel, Meta, Microsoft, Nvidia, and Qualcomm standardize next-generation narrow precision data formats for AI (Oct. 18, 2023)
- DeepSeek-AI: DeepSeek-V3 technical report (arXiv)
FAQs
What does FP8 mean?
Floating point, 8 bits: a way of writing a number in 8 binary digits, with some bits for the size of the number and some for its digits. FP16 uses 16 bits and FP4 only 4. Fewer bits mean less precise numbers, but they take less memory and less work to compute.
Why do AI chips use lower precision?
Speed and memory. A chip can do roughly twice as many 8-bit calculations as 16-bit ones in the same time, and twice as many 4-bit ones again. AMD’s MI355X, for example, is rated at 2.5 petaflops at FP16, 5 at FP8, and 10.1 at FP4. A model stored in fewer bits also needs less memory.
Does lower precision make AI less accurate?
A little, if done carefully. Nvidia says converting the DeepSeek-R1 model from FP8 to its NVFP4 format cost 1 percent or less in accuracy on key tests. Chips keep some sensitive steps in higher precision, and they scale small blocks of numbers separately so 4 bits go further.
What is the difference between NVFP4 and MXFP4?
Both are 4-bit formats that share a scale factor across a small block of numbers. MXFP4, from an industry group including AMD, Intel, Nvidia, and Microsoft, uses blocks of 32 values. Nvidia’s NVFP4 uses blocks of 16 with a more precise scale, which Nvidia says reduces errors.
Why are FP4 numbers on spec sheets sometimes doubled?
Some figures count sparsity: a trick that skips calculations on numbers that are zero, in a fixed pattern. Peak speeds with sparsity are usually twice the dense figures. When comparing chips, check that both numbers are dense or both are sparse.