---
title: "GPU image encoder: 30% smaller than WebP | Pivotal Space"
description: "For a high-traffic website, we wrote a GPU encoder that ships images 30% smaller than WebP, so pages load faster and the bandwidth bill shrinks."
url: https://www.pivotalspace.com/work/av1gpu/
---

Case study

# Images 30% smaller than WebP: faster pages and a lower bandwidth bill

For a photo-heavy website serving millions of images, we wrote a GPU encoder that is 12 times faster than the standard one. Images ship 30% smaller than WebP at the same quality, so every page loads faster and the bandwidth bill shrinks.

-   **30%:** smaller than WebP at the same quality, so every page loads faster
-   **86%:** smaller than the original JPEGs, so every page view costs less to serve
-   **12x:** faster than the standard encoder, at the same file size
-   **337:** megapixels encoded every second: months of work done in days

- **Our GPU encoder:** 337
- **Fastest CPU encoder:** 49
- **Standard encoder:** 29
- **The GPU’s built-in encoder:** 16

megapixels encoded per second: higher is faster

## The result: smaller images, faster pages, a lower bandwidth bill

For a photo-heavy, high-traffic website serving millions of images, we wrote a GPU image encoder, av1gpu, and converted the entire archive with it.

-   **Smaller images.** Photos now ship 30% smaller than WebP at the same quality, and 86% smaller than the original JPEGs.
-   **Faster pages.** Lighter images reach every visitor sooner, on every page.
-   **A lower bandwidth bill.** Every page view sends fewer bytes, so the bill shrinks with every image served.

## Months of conversion, done in days

AVIF is the modern image format that makes photos far smaller at the same quality. The catch is speed. The standard encoder, the software that converts images to AVIF, is slow, and converting millions of images with it would tie up a server for months.

Graphics cards have a built-in encoder, but it is designed for video. On still photos it is slow and its files are larger. So we wrote a new one.

-   **12 times faster than the standard encoder**, at the same file size.
-   **22 times faster than the graphics card’s built-in encoder**, with smaller files.
-   **337 megapixels a second**, so a job measured in months finished in days.

## A site that stayed fast the whole time

-   **Full speed for visitors during the conversion.** The encoder does its work on the graphics card and leaves the server’s processors free to serve the site.
-   **New uploads ready in a blink.** A new photo converts in under half a second.
-   **Every common format handled.** JPEG, PNG and WebP files go in, and a smaller AVIF file comes out.

## Tested bit for bit, so every photo comes out right

Speed is worthless if a photo comes out wrong, so correctness came first. Independent software opens every test image the encoder produces and compares it, bit for bit, with the picture the encoder intended.

av1gpu is open source and runs in production on the archive it was built for. Ask and we’ll send the benchmark method and data.

## What this means for you

-   **Make every page faster and cheaper to serve.** If your pages are heavy with images, smaller files speed up every view and cut the bandwidth bill. See [computer vision and image AI](https://www.pivotalspace.com/services/computer-vision/).
-   **Finish the job that is too slow or too costly on ordinary hardware.** We match the hardware and the code to the job, so it finishes sooner and costs less to run. See [private AI and hybrid infrastructure](https://www.pivotalspace.com/services/private-ai-infrastructure/).

![](/_astro/svc-private-ai-infrastructure.Z_TbMkOC_1L4gKi.jpg)

## Services behind this result

-   [Private AI & Hybrid Infrastructure](https://www.pivotalspace.com/services/private-ai-infrastructure/)Put AI to work on your most sensitive data without it leaving your control, at a monthly cost you see before you commit.
-   [Computer Vision & Image AI](https://www.pivotalspace.com/services/computer-vision/)Every image checked without adding reviewers, by a model proven on your own images and run in production for you.

[Request a free working session](https://www.pivotalspace.com/contact/?topic=private-ai-infrastructure)

The first 30-minute working session is free.

## Want a result like this one?

Tell us what you’re facing. An engineer replies within one business day, and in a free 30-minute session you’ll hear how we’d get you there, how long it takes and what it involves.

[Request a free working session](https://www.pivotalspace.com/contact/) [Call 415-967-3124](tel:+14159673124)

**Start a project:** use the form at https://www.pivotalspace.com/contact/, call 415-967-3124 or email admin@pivotalspace.com.
