Skip to main content

Usage and Billing

For AI agents: see llms.txt for the complete documentation index. Markdown versions are available by adding .md to a page URL or requesting Accept: text/markdown.

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 has an AI Gateway section that shows daily spend per project. Open it from the AI Gateway card on the usage summary.

AI Gateway daily spend on the team usage page

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 for the rest of the page.

How billing works

We charge the same rates as OpenRouter. Price per token depends on the model, when you use it, and whether the tokens are cached. The charge appears as an AI Gateway line item on your Convex invoice, in dollars.

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.