# Interest Rate Model

The Open protocol uses a dynamic interest rate model that ensures that the interest offered to the liquidity providers is always lower than the interest gained from the borrowers. The variability between the interest rates of the borrowers and the liquidity providers ensures that the protocol is always profitable and can pay the liquidity providers on time.

Hashstack has made the following considerations while designing the Interest rate algorithm of the Open protocol -

* Providing stable returns
* Promoting even-play among lenders and borrowers.
* The interest rate truly reflects the supply and demand of the underlying asset.

The interest rate model depends on reserves utilization factor and is designed to be in 3 parts:

1. Optimal utilization $$(Ut\_{opt})$$: This is the ideal point for the utilization to be in. The curve is designed to vary linearly from a base borrow APR $$(APR\_{base}$$ \[at 0 $$Ut])$$ to a max Ideal APR $$(APR\_{Ut\_{opt}}$$ at optimal utilization.
2. Higher Utilization: When the utilization exceeds $$Ut\_{opt}$$, the APR is designed to increase rapidly to punish borrowing. This is done to ensure there is always enough un-used supply to cater for withdrawals.

<figure><img src="/files/JVTpxrOhNxvpKXBo5ypz" alt="" width="563"><figcaption></figcaption></figure>

$$Ut = \frac{Debt\_{total}}{Supply\_{total}}$$

$$APR\_{brw} = \left{ 	\begin{array}{ll} 		APR\_{base} + (\frac{Ut}{Ut\_{opt}}) \times (APR\_{Ut\_{opt}} - APR\_{base}) & ; Ut \leq Ut\_{opt} \ 		APR\_{opt} + (\frac{Ut - Ut\_{opt}}{100-Ut\_{opt}}) \times (APR\_{Ut\_{max}} - APR\_{opt}) & ; Ut > Ut\_{opt} 	\end{array} \right.$$

Where,

$$APR\_{brw} =$$ Borrow APR

$$Ut =$$ Current Utilization rate

$$APR\_{Ut\_{max}} =$$ APR at 100% Ut

(Other variables defined above)

#### Example Math

Assume the following parameters:

$$APR\_{base} = 2$$ (%)

$$APR\_{opt} = 20$$ (%)

$$APR\_{Ut\_{max}} = 100$$ (%)

$$Ut\_{opt} = 90$$ (%)

***

**Utilization: 10%**

Since $$Ut < Ut\_{opt},$$

$$APR\_{brw} = 2 + (\frac{10}{90}) \times (20-2)$$ = 4 %

***

**Utilization: 90%**

Since $$Ut = Ut\_{opt},$$

$$APR\_{brw} = 2 + (\frac{90}{90}) \times (20-2)$$ = 20 %

***

**Utilization: 95%**

Since $$Ut > Ut\_{opt},$$

$$APR\_{brw} = 20 + (\frac{95-90}{100-90}) \times (100-20)$$ = 60 %


---

# 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.hashstack.finance/risk/interest-rate-model.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.
