# Interest rates

Each silo has its own interest rate contract set at deployment. To date, they've all followed a model using following variables:

*Utilization:* Amount of borrowed funds divided by amount of lent funds

*Base Rate*: Borrow rate when utilization is 0% (i.e. no funds are borrowed)

*Optimal Utilization*: A fixed utilization rate

*Optimal Rate*: Borrow rate when utilization is equal to optimal utilization

*Maximum Rate*: Borrow rate when utilization is 100% (i.e. all funds are borrowed)

If the utilization rate is less than or equal to the optimal utilization, then

`BorrowAPR = Base Rate + Utilization x ((Optimal Rate - Base Rate) / Optimal Utilization)`

If the utilization rate is greater than the optimal utilization, then

`BorrowAPR = Optimal Rate + ((Utilization - Optimal Utilization) x ((Maximum Rate - Optimal Rate) / (1 - Optimal Utilization)))`&#x20;

Here is a visual representation of this formula (courtesy of [Frax Finance](https://docs.frax.finance/fraxlend/advanced-concepts/interest-rates#linear-rate)):<br>

<figure><img src="https://1536242295-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FwEg1aWsXvtHbluJytfXg%2Fuploads%2Fq7rdWy0BWEYEgcivf5UK%2FLinear%20Interest%20Rate.png?alt=media&#x26;token=94acdc44-ecf9-4aed-9f6e-7977dfafc750" alt=""><figcaption></figcaption></figure>

### Fees

10% of interest paid by borrowers is collected as a fee. The remaining 90% is paid to lenders.


---

# Agent Instructions: 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.sturdy.finance/overview/interest-rates.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.
