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

# The decision by the end date

While a loan runs, its page is one card for the borrower. Collect the USDG, pay back, let the vault keep it, cash out, or extend.

This is the product's signature moment. Open the loan from Portfolio, by its card under **Loans** or its date on the **Agenda**. The head names the loan in words, `12.5 NVDA for 1,814.88 USDG`, under a way back to Portfolio. The figures below are the example before the origination fee.

## While the loan runs

The first time you open a running loan, one question sits above its card: *On 8 Sep 16:40 UTC, what should happen?* **Pay back**, **Extend by itself** or **Let the vault keep it**. Extend by itself opens its sheet (see [Extend](#extend)); the other two only close the question, since neither needs anything now. It is asked once per loan, in this browser, and not at all on a loan already set to extend or settle by itself.

Until repayment closes, the borrower reads one card:

* **Time left**: a countdown to the end (`ends 8 Sep 16:40 UTC`) and the term as a bar. On the current engine repayment closes when the term ends. On the two earlier V2 engines it closes when the 48-hour grace window ends, and the card counts down to that.
* **The payoff curve** you saw when borrowing, with a dot at today's price: flat at **Keep** (the USDG you received) up to the bend, then rising at **Pay** (the cap, with the NVDA back). Only the price on the end date counts. Above it, [**No liquidation**](https://docs.gage.cash/start-here/no-liquidation.md) opens its sentence on a tap: nothing can touch your NVDA before the end date, whatever its price does; until then, pay back the cap to take it back, or keep the USDG.
* **One sentence**: `Your NVDA is worth 2,280.00 USDG today. Taking it back costs 1,824.00 USDG.`
* **Collect X USDG**, first, while the loan still holds the USDG it paid you.
* **Pay back 1,824.00 USDG**. It approves the USDG if needed, repays the lenders, then takes the NVDA back to your wallet: one signature where your wallet can send a batch, else one step at a time. It is the amber button while the collateral is worth at least the cap. In the loan's last day **Extend** sits beside it. While the collateral is worth less than the cap, keeping the USDG is the better outcome and the card has no button: it says *Keeping the USDG needs nothing from you. Or pay back 1,824.00 USDG*, the payback a quiet link. If your wallet is short, the card says how much is missing.
* Under the buttons, the loan's sGAGE (`+ n sGAGE · yours either way`, taken on Portfolio) and **Details**: borrowed, to pay back, what it costs (what you repay less what landed, the fee included), the fixed cost, the fee, when it was funded, when repayment closes, the collateral and its LTV.
* **Or cash out**: sell the collateral through a supported route, repay the cap and keep the rest, in one transaction. A 0.5% fee applies to the cash left after the cap and financing costs. If the sale cannot cover the cap, the whole transaction fails and the loan stays open. Where a token has no route, the card says why instead.
* **Settles itself**, on a 1-day NVDA loan with auto-settle on: the card says from when gage sells the NVDA, in the loan's last 15 minutes. See [1-day NVDA loans](https://docs.gage.cash/borrow/one-day.md).

Beside the card, **What happens next**: `Until 8 Sep 16:40 UTC · Pay back any time.`, then `If not paid back · The vault keeps 12.5 NVDA. You keep 1,814.88 USDG.`

Letting the vault keep it needs no transaction and is a legitimate outcome, not a failure: do nothing, and when repayment closes the lenders claim the collateral. There is no button for it.

## Extend

In the loan's last day, the card adds **Extend** beside **Pay back**, and Portfolio's agenda offers **Extend** beside **Pay back**. One transaction repays the running loan and opens a new loan of the same size on the same pledge, at the lowest fixed cost a vault takes at that moment. The sheet shows one figure, what you pay or receive now (the old cap against what the new loan pays out), then the new cap and its date, `Then pay back 1,824.00 USDG by 15 Oct.`, with the terms behind **Details**. Only the wallet that holds the reclaim right can extend, and not while the right is offered for sale. A private loan is not extended (see [Borrow privately](https://docs.gage.cash/borrow/private.md)). If today's price moves while you look, the sheet asks you to check the new figures and extend again.

An extension is a new loan, and it pays what any new loan pays: the 1% origination fee and the fixed cost, from which the vaults pay their execution fee. Nothing is waived.

**Extend by itself** leaves a standing instruction on chain. Set it when you borrow, with Review's **Extend by itself before it ends**, or from the loan's page: **extend by itself**, then **Turn on**. gage's keeper then extends the loan in its last six hours, at the lowest price vaults take, into a new loan of the same size and term. **Pay at most** is the most each roll may cost, fixed cost and fee together; it starts at twice today's cost, and the contract refuses a roll that costs more. The instruction moves to each new loan, up to four rolls, and ends sooner with a roll by hand, **turn off** on the loan's page, a sale of the reclaim right, or its end date. The card says *Extends by itself: each new loan costs at most …* with **change** and **turn off**; Portfolio shows it with **change**, and says when what you approved or hold falls short of what your rolls need: **approve** covers every loan extending by itself in one signature.

It is best effort. If a roll cannot happen, because no vault takes the loan within your amount or at all, the loan ends as any other: pay back by the end date, or the vault keeps the collateral. The deadline stays yours to keep.

A roll opens the new loan in the same generation of contracts. When a newer generation replaces it, the earlier one becomes withdraw-only and rolls nothing more; gage does not retire a generation while an instruction on it still stands, and contacts its borrower first. A loan in a withdraw-only generation still repays, cashes out or ends as before, with no grace period. Its page says why for the loan's whole run, and Portfolio's agenda in its last day, where Extend would be: *Its vault no longer lends, so it can't be extended.*

Extending works on loans lent in USDG, GLD, NVDA, HIMS and frxUSD. A loan lent in a stock token extends in that token: what you pay or receive, and **Pay at most**, are amounts of it.

## When repayment closes

The card gives way to the claim. On the current engine the page reads `TERM ENDED · 8 Sep 16:40 UTC`: *Repayment closed when the term ended. The lenders claim the collateral.* On the two earlier V2 engines it reads `GRACE ENDED · 10 Sep 16:40 UTC`: *You can still reclaim until the lender's claim goes through*, with the reclaim and walk-away cards side by side and **Cash out** and **Do nothing** under the head.

## The timeline

| Moment         | What it is                                                                                                 | Who can act                                                         |
| -------------- | ---------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- |
| **Funded**     | The loan is funded whole: on the current engine, by vaults in one transaction. `expiry = funded + term`    | The borrower may reclaim at any time before expiry                  |
| **Term ends**  | `expiry`, the date and time on the loan. On the current engine, repayment closes and the lenders may claim | The lenders claim, in two steps. The borrower can no longer reclaim |
| **Grace ends** | V2 engines only: 48 hours after the term                                                                   | Until then only the borrower can act; then the lenders claim        |

{% hint style="danger" %}
If you miss the deadline, the lenders keep your collateral. gage sends no reminders: [put the date in your calendar](https://docs.gage.cash/borrow/reminders.md). The clock on the loan's page is the one that counts.
{% endhint %}

## The lender's view of the same page

On the earlier engines, where wallets lent directly, the lender sees a clock, `EXPIRY IN` with "The borrower decides before expiry. If they do nothing, the collateral is yours to claim the moment the term ends," or on a V2 engine after the term, `BORROWER DECIDES IN` with "Nothing to do until grace ends." Then two cards, for one quarter of the example:

* **IF THEY RECLAIM · YOU ARE PAID** 456.00 USDG: 453.72 you funded + 2.28 fixed return · 0.50% for 7 days. It is credited to you on the engine; Portfolio's **Now** lists it and **Collect all** takes it.
* **IF THEY WALK AWAY** you hold 3.125 NVDA, its value now beside what you funded. Then a two-step claim when the term ends: release the collateral for all four lenders (one transaction, anyone can do it), then receive your share to your wallet. LP collateral is unwound into its two tokens. **You may end up holding the collateral instead of USDG.**

Rewards for the loan are theirs either way.

## After the decision

* **Paid back.** The collateral is back in your wallet. If the token is paused around a corporate action, receiving it waits until it resumes and Portfolio's **Now** lists it meanwhile; the loan's state does not wait.
* **Claimed.** Each lender receives their share of the collateral as the token, to keep or to swap outside gage.
* Each side keeps the sGAGE earned so far. See [The drip](https://docs.gage.cash/rewards/the-drip.md).


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.gage.cash/borrow/the-decision.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
