> ## Documentation Index
> Fetch the complete documentation index at: https://docs.wandb.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# How much storage does each artifact version use?

Only files that change between two artifact versions incur storage costs.

<Frame>
  <img src="https://mintcdn.com/wb-21fd5541/wKCrMJZKG3PxyJhv/images/artifacts/artifacts-dedupe.PNG?fit=max&auto=format&n=wKCrMJZKG3PxyJhv&q=85&s=809a615e905c0c439375820e8a6bb5b3" alt="Artifact deduplication" width="1060" height="595" data-path="images/artifacts/artifacts-dedupe.PNG" />
</Frame>

Consider an image artifact named `animals` that contains two image files, `cat.png` and `dog.png`:

```text theme={null}
images
|-- cat.png (2MB) # Added in `v0`
|-- dog.png (1MB) # Added in `v0`
```

This artifact receives version `v0`.

When you add a new image, `rat.png`, W\&B creates a new artifact version, `v1`, with the following contents:

```text theme={null}
images
|-- cat.png (2MB) # Added in `v0`
|-- dog.png (1MB) # Added in `v0`
|-- rat.png (3MB) # Added in `v1`
```

Version `v1` tracks a total of 6 MB, but occupies only 3 MB of space because it shares the remaining 3 MB with `v0`. If you delete `v1`, you reclaim the 3 MB of storage associated with `rat.png`. If you delete `v0`, the storage costs of `cat.png` and `dog.png` transfer to `v1`, which increases its storage size to 6 MB.

***

<Badge stroke shape="pill" color="orange" size="md">[Artifacts](/support/models/tags/artifacts)</Badge><Badge stroke shape="pill" color="orange" size="md">[Storage](/support/models/tags/storage)</Badge>
