Home

    ---
    title: apogee-ai-cost
    description: Cost-aware router that picks the cheapest model meeting a quality bar.
    ---

    # apogee-ai-cost

    > Cost-aware router that picks the cheapest model meeting a quality bar.

    ## What is in this package

    | Capability | What you get |

| --- | --- | | CostAwareRouter | Chooses cheapest model above a quality bar | | Budget caps | Hard / soft caps per tenant or per request | | Serving bridge | Maps decisions to apogee-ai-serving's tier router |

    ## Install

    ```bash
    pip install apogee-ai-cost
    ```

    ## Where it fits

    This package is part of the [Apogee Framework](/framework/) ecosystem. It can be used:

    - **Standalone** — install and use directly via `pip` (or `npm` for `@apogee/ai-ui-react`).
    - **As a plugin** — generated projects detect it and register matching CLI subcommands automatically.

    See the [framework's modules overview](/framework/modules/overview/) for how all 28 packages fit together.

    ## Read next

    - [Installation](getting-started/installation.md)
    - [Quickstart](getting-started/quickstart.md)
    - [Reference](reference/index.md)