> For the complete documentation index, see [llms.txt](https://brownfi.gitbook.io/brownfi-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://brownfi.gitbook.io/brownfi-docs/brownfi-v3/architecture-overview/pricing-model.md).

# Pricing Model

Every swap price in BrownFi is the result of 03 layers applied in sequence:

* Layer 1 - Reference price: The starting point is the global market price from the Oracle Gateway, not the pool's internal ratio. If the pool is imbalanced, the price is nudged to incentivise rebalancing traders. In V3 this incentive is capped at the trading fee level (bounded skew), so LPs never over-subsidise rebalancing. If the model detects sustained one-sided flow, the price can also shift to defend the pool (adverse selection protection).
* Layer 2 - Bid-ask spread: A fixed spread provides a stable baseline margin on every trade. A dynamic spread widens automatically when oracle sources diverge, so LPs earn higher fees exactly when market conditions are most uncertain.
* Layer 3 - Price impact. Larger trades move the execution price more than smaller ones. The scale of this impact is controlled by Kappa (K): lower K = deeper liquidity = less impact per dollar traded.

Kappa is the dial that sets capital efficiency. At K = 2 the pool behaves like Uniswap V2 (full range). As K decreases, liquidity concentrates around the oracle price, each dollar provides more depth and captures more fees. Unlike Uniswap V3 range positions, BrownFi liquidity never goes out-of-range because the oracle continuously re-anchors it to the market.

In V3, Kappa is also asymmetric: separate values for sell trades (KB) and buy trades (KQ) let operators respond to one-sided flow without adjusting both directions.

<figure><img src="/files/f4Ej0GrBXYjksk1nIeu7" alt=""><figcaption></figcaption></figure>


---

# 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://brownfi.gitbook.io/brownfi-docs/brownfi-v3/architecture-overview/pricing-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.
