# Market Mechanics

The Grid is a real-time spot market for AI inference. This section explains how the market actually works: how the central limit order book matches buyers and sellers, how prices form from competing bids and asks, how Scheduled Sweeps move purchased Units into consumption, and why this design produces better pricing and stronger capacity signals than fixed-price inference APIs.<br>

* [**Central Limit Order Book and Scheduled Sweeps**](https://thegrid.ai/docs/introduction/market-mechanics/central-limit-order-book-clob-and-scheduled-sweeps) – Explains how The Grid’s single central limit order book continuously matches bids and asks for each Instrument, and how periodic Scheduled Sweeps move Units into Consumption to tightly couple real-time trading with short-term delivery.
* [**Order Types**](https://thegrid.ai/docs/introduction/market-mechanics/order-types) - Describes available limit and market orders and how they behave when interacting with the book.&#x20;
* [**Lifecycle of a Unit**](https://thegrid.ai/docs/introduction/market-mechanics/lifecycle-of-a-unit) - Traces a Unit from issuance through trading, sweeping into Consumption, usage, and eventual expiry.&#x20;
* [**Design Advantages**](https://thegrid.ai/docs/introduction/market-mechanics/design-advantages) - Explains why we chose this particular market design, and compares its advantages to the status quo of how AI inference is consumed.


---

# 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://thegrid.ai/docs/introduction/market-mechanics.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.
