# LLM Quantization: What fp8 and fp4 Do to Quality and Price

DevFeed: [LLM Quantization: What fp8 and fp4 Do to Quality and Price](<https://devfeed.tech/articles/llm-quantization-what-fp8-and-fp4-do-to-quality-and-price-129099.md>)

Original publisher: [Read original article](<https://openrouter.ai/blog/insights/llm-quantization/>)

Author: OpenRouter

Published: 2026-11-11T00:00:00Z

Content type: article

Language: en

Sources: [OpenRouter](<https://devfeed.tech/sources/openrouter.md>)

Topics: [quantization](<https://devfeed.tech/topics/quantization.md>), [Large Language Model](<https://devfeed.tech/topics/llm.md>), [LLM optimization](<https://devfeed.tech/topics/llm-optimization.md>), [Post-training optimization](<https://devfeed.tech/topics/post-training-optimization.md>)

Tags: [api](<https://devfeed.tech/tags/api.md>), [bf16](<https://devfeed.tech/tags/bf16.md>), [bits](<https://devfeed.tech/tags/bits.md>), [fp4](<https://devfeed.tech/tags/fp4.md>), [fp8](<https://devfeed.tech/tags/fp8.md>), [llm](<https://devfeed.tech/tags/llm.md>), [llm-quantization](<https://devfeed.tech/tags/llm-quantization.md>), [quality](<https://devfeed.tech/tags/quality.md>), [quantization](<https://devfeed.tech/tags/quantization.md>)

## AI overview

In an OpenRouter test of Qwen3.8 27B across six endpoints, scores on 240 exact-answer tasks ranged from 98.3% to 99.2% for fp16, fp8, and fp4, with overlapping confidence intervals; the test cannot rule out small gaps or generalize to other models and workloads. One fp4 endpoint scored lower on a separate 40-product set, but the difference was too uncertain to attribute to precision. Lower precision was often cheaper, though not consistently, and provider choice affected price and speed. To control precision, inspect endpoint offerings and set `provider.quantizations`; list every acceptable precision to give routing more fallback choices. Filters can fail if no endpoint matches, and pinning a sole endpoint can expose requests to its rate limits. The reported measurements are specific to October 20, 2026.

## Source excerpt

When you call an open-weight model through an API, several providers may serve it at different precisions, such as 16-bit bf16, 8-bit fp8 or 4-bit fp4. The precision can affect both the answers and the price. LLM quantization creates these versions by storing a model's weights in fewer bits, so the model needs less memory and hardware, at some cost in accuracy.