> For the complete documentation index, see [llms.txt](https://learn.elara.finance/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.elara.finance/protocol/interest-rate-model.md).

# Interest rate model

ElaraLend implements a dynamic interest rate model that scales with the utilization rate, affecting both deposit and borrowing rates. This model is designed to maintain protocol solvency and encourage optimal capital efficiency.

## Key components

1. **Utilization rate:** The utilization rate is the ratio of borrowed assets to total supplied assets in a specific pool. It's a crucial factor in determining interest rates.
2. **Base rate:** A minimum interest rate applied even at low utilization.
3. **Slope:** Determines how quickly the interest rate increases as utilization rises.
4. **Kink point:** A predefined utilization rate threshold where the interest rate curve becomes steeper.

## How it works

1. **Supply interest rate**

* Increases as the utilization rate rises
* Encourages users to deposit assets when liquidity is needed

2. **Borrow interest rate**

* Also increases with utilization rate
* Discourages excessive borrowing when liquidity is low

3. **Kink mechanism**

* Below the kink point: interest rates increase gradually
* Above the kink point: interest rates rise more rapidly

4. **Real-time accrual**

* Interest accrues every second based on the current block timestamp

## Formula

For utilization rate (U) below or at kink (K):&#x20;

$$
rate = base rate + (U / K) \* slope1
$$

For U above K:&#x20;

$$
rate = base rate + slope1 + ((U - K) / (1 - K)) \* slope2
$$

Where slope2 > slope1, causing a steeper increase above the kink.

This model ensures that Elara can maintain a balance between attractive yields for suppliers and sustainable rates for borrowers while adapting to varying market conditions.


---

# 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://learn.elara.finance/protocol/interest-rate-model.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.
