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

# Usage and Billing

> See what your AI Gateway requests cost and how Bijection bills them

The gateway records the project and function behind every request automatically.
You don't need to set anything up.

## Seeing your usage

The [team usage page](https://console.bijection.com) has an
AI Gateway section that shows daily spend per project. Open it from the AI
Gateway card on the usage summary.

<Frame>
  <img src="https://mintcdn.com/bijection-95ba84d3/f-zeSQU2ke_jvHT0/screenshots/pages_team_usage_ai_gateway.png?fit=max&auto=format&n=f-zeSQU2ke_jvHT0&q=85&s=d8175de09212d8be3eb721f1a672c6e2" alt="AI Gateway daily spend on the team usage page" width="1626" height="800" data-path="screenshots/pages_team_usage_ai_gateway.png" />
</Frame>

To see which functions spent the money, scroll to the breakdown by function and
pick the **AI** tab. It lists spend per function.

See the [usage page docs](/dashboard/teams/teams#usage) for the rest of the
page.

## Usage limits

Set daily or monthly AI Gateway limits for a cloud deployment from **Settings →
Usage Limits**. Choose the **AI Gateway** metric and set a disable threshold in
dollars. Production and preview deployments also support warning thresholds.
Reaching the disable threshold disables the whole deployment, not just AI
Gateway requests.

<Frame>
  <img src="https://mintcdn.com/bijection-95ba84d3/f-zeSQU2ke_jvHT0/screenshots/pages_project_deployment_settings_usage_limits.png?fit=max&auto=format&n=f-zeSQU2ke_jvHT0&q=85&s=896d1f92fe9884aaa08f9d6e38d4ce0f" alt="Deployment usage limits, including AI Gateway spending thresholds" width="3024" height="2440" data-path="screenshots/pages_project_deployment_settings_usage_limits.png" />
</Frame>

See [Usage limits](/production/usage-limits) for thresholds and reset
windows.

## How billing works

We charge the same rates as [OpenRouter](https://openrouter.ai/models). Price
per token depends on the model, when you use it, and whether the tokens are
cached. Image and video prices depend on the model and generation options, such
as resolution and duration. Cancelling a video request after submission can
still incur its generation cost. The charge appears as an AI Gateway line item
on your Bijection invoice, in dollars.

[Spending limits](/dashboard/teams/teams#spending-limits) apply to AI
Gateway spend like any other usage. Set a limit on the team billing page to cap
what your team pays per month.

Requests from a project-connected local deployment are attributed to that
project's team and count toward the same team spending limit. Local deployments
do not have a separate deployment-level live usage meter. Spending-limit state
is checked when the gateway credential is minted, so an in-flight request or an
already issued short-lived credential may finish after the limit is reached.
