> For the complete documentation index, see [llms.txt](https://docs.mithril.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mithril.ai/compute-and-storage/persistent-storage.md).

# Persistent storage

{% hint style="info" %}
Storage pricing can be found at [mithril.ai/pricing](https://mithril.ai/pricing). Mithril does not charge for ingress, egress, or network bandwidth.
{% endhint %}

While each instance comes with its own ephemeral storage (see details in [Instance types & specifications](/compute-and-storage/instance-types-and-specifications.md)), persistent storage provides a more reliable solution for storing critical, long-lived data and is preferable in cases where:

* You would otherwise pay significant egress costs to consistently stream data from a third-party provider.
* Your workloads would be accelerated by colocating your data.
* You are running training workloads on spot instances and need to checkpoint to mitigate the risk of preemption.

Mithril offers two options for persistent storage:

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>File shares</strong></td><td></td><td>File share storage provides you with a preformatted disk for file storage. This option is best for most use cases.</td><td><a href="/pages/RdprnL0Yl6B4vLsfAyjc">/pages/RdprnL0Yl6B4vLsfAyjc</a></td></tr><tr><td><strong>Block storage</strong></td><td></td><td>Block storage is an advanced option which provides you with a raw disk volume, giving you complete control over the filesystem.</td><td><a href="/pages/ARzw2YePZXNz7DMDVBC9">/pages/ARzw2YePZXNz7DMDVBC9</a></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.mithril.ai/compute-and-storage/persistent-storage.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
