> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tulipai.app/llms.txt
> Use this file to discover all available pages before exploring further.

# Trade model credits

> Buy and sell canonical model credits through Tulip's Uniswap v4 markets.

Each model credit trades against USDG in one canonical Uniswap v4 pool. Tulip's frontend obtains a quote from the official v4 Quoter and submits the swap through Permit2 and the Universal Router.

## Before you trade

Confirm:

* Your wallet is on Robinhood Chain, chain ID `4663`.
* You selected the intended model and pinned revision.
* You have native gas.
* You hold USDG to buy, or model credits to sell.

<img src="https://mintcdn.com/tulip-deb4c703/nT1XruOdz2fXLJp_/images/app/model-market-details.png?fit=max&auto=format&n=nT1XruOdz2fXLJp_&q=85&s=03f08943337603b538770a1aefcc3421" alt="Model market details and swap panel" width="2076" height="1313" data-path="images/app/model-market-details.png" />

*Review live market data and the swap panel before trading.*

## Buy credits

<Steps>
  <Step title="Open a market">
    Select a market from **Explore**. Review the market cap, provider availability, current LP fee, and model link.
  </Step>

  <Step title="Enter USDG">
    In **Swap**, choose USDG as the pay token and enter an amount. The panel shows the quoted credits and minimum received.
  </Step>

  <Step title="Approve spending">
    The first trade may require an ERC-20 approval to Permit2 and a Permit2 allowance for the Universal Router.
  </Step>

  <Step title="Submit the swap">
    Confirm the route, fee, price impact, and minimum received in your wallet. Wait for the transaction receipt before starting another trade from the same nonce.
  </Step>
</Steps>

## Sell credits

Switch the pay token to the model credit. Enter an amount or use the percentage controls. The quote shows the USDG expected from the pool.

Sells can receive only real USDG already held by the position. A new or thin market may not support a large sell even when the displayed credit balance is high.

## Price impact and slippage

The launch position spans a broad price range. A trade moves the pool price along that range. Your minimum received protects the transaction from adverse movement between quote and execution.

If the market moves beyond your tolerance, the router reverts instead of completing at a worse amount.

<Info>
  Market charts and recent swaps come from the Tulip indexer. Indexer downtime can hide telemetry but cannot block a swap or change execution.
</Info>

## Swap fees

The pool charges the model creator's current native LP fee. The creator may schedule a change within the factory's protocol-wide bounds, but it cannot activate until the one-hour safety delay passes. Read [Fees](/protocol/fees) before trading.
