> For the complete documentation index, see [llms.txt](https://docs.matrix.farm/matrix/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.matrix.farm/matrix/protocol/fees.md).

# Fees

**Platform fees**

**0.1 % security fee on withdrawals (old vaults only)** which is reinvested in the strategy. This is done to prevent certain attacking techniques, including [sandwich attacks and other vault share manipulation vulnerabilities](https://medium.com/coinmonks/demystify-the-dark-forest-on-ethereum-sandwich-attacks-5a3aec9fa33e)

**0.45 % bounty fee -**  taken from the users' profit and sent to the user who calls the "reinvest function" (check the Bounty section) or the script automating it

**4.05 % performance fee -** taken from the profit users earn by using our platform and sent to our treasury contract

**Deposit fees**

Each pool could have a different deposit fee. Indeed, that one doesn't depend on Matrix, but instead, it depends by the farm provider (i.e., Spookyswap).


---

# 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:

```
GET https://docs.matrix.farm/matrix/protocol/fees.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
